Skip to content

Commit

Permalink
Update: 패키지이름변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroCho committed Jan 14, 2022
1 parent 5376086 commit 36295ca
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ch4/android/app/_BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.fooddeliveryapp",
package = "com.zerocho.fooddeliveryapp",
)

android_resource(
name = "res",
package = "com.fooddeliveryapp",
package = "com.zerocho.fooddeliveryapp",
res = "src/main/res",
)

Expand Down
2 changes: 1 addition & 1 deletion ch4/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion

defaultConfig {
applicationId "com.fooddeliveryapp"
applicationId "com.zerocho.fooddeliveryapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.fooddeliveryapp;
package com.zerocho.fooddeliveryapp;

import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
Expand Down
5 changes: 4 additions & 1 deletion ch4/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.fooddeliveryapp">
package="com.zerocho.fooddeliveryapp">

<uses-permission android:name="android.permission.INTERNET" />

Expand All @@ -10,6 +10,9 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<meta-data
android:name="com.naver.maps.map.CLIENT_ID"
android:value="c5i0qvf959" />
<activity
android:name=".MainActivity"
android:label="@string/app_name"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.fooddeliveryapp;
package com.zerocho.fooddeliveryapp;

import com.facebook.react.ReactActivity;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.fooddeliveryapp;
package com.zerocho.fooddeliveryapp;

import android.app.Application;
import android.content.Context;

import com.facebook.react.BuildConfig;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
Expand Down Expand Up @@ -62,7 +64,7 @@ private static void initializeFlipper(
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.fooddeliveryapp.ReactNativeFlipper");
Class<?> aClass = Class.forName("com.zerocho.fooddeliveryapp.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
Expand Down

0 comments on commit 36295ca

Please sign in to comment.