Skip to content

Commit 15c37db

Browse files
committed
chore: Modify applicationId.
1 parent 43c08e7 commit 15c37db

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

example/android/app/_BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ android_library(
3535

3636
android_build_config(
3737
name = "build_config",
38-
package = "com.example",
38+
package = "com.uiwjs.react.example.wechat",
3939
)
4040

4141
android_resource(
4242
name = "res",
43-
package = "com.example",
43+
package = "com.uiwjs.react.example.wechat",
4444
res = "src/main/res",
4545
)
4646

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ android {
129129
}
130130

131131
defaultConfig {
132-
applicationId "com.example"
132+
applicationId "com.uiwjs.react.example.wechat"
133133
minSdkVersion rootProject.ext.minSdkVersion
134134
targetSdkVersion rootProject.ext.targetSdkVersion
135135
versionCode 1

example/android/app/src/debug/java/com/example/ReactNativeFlipper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
55
* directory of this source tree.
66
*/
7-
package com.example;
7+
package com.uiwjs.react.example.wechat;
88

99
import android.content.Context;
1010
import com.facebook.flipper.android.AndroidFlipperClient;

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example">
2+
package="com.uiwjs.react.example.wechat">
33

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

example/android/app/src/main/java/com/example/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example;
1+
package com.uiwjs.react.example.wechat;
22

33
import com.facebook.react.ReactActivity;
44

example/android/app/src/main/java/com/example/MainApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example;
1+
package com.uiwjs.react.example.wechat;
22

33
import android.app.Application;
44
import android.content.Context;
@@ -62,7 +62,7 @@ private static void initializeFlipper(
6262
We use reflection here to pick up the class that initializes Flipper,
6363
since Flipper library is not available in release mode
6464
*/
65-
Class<?> aClass = Class.forName("com.example.ReactNativeFlipper");
65+
Class<?> aClass = Class.forName("com.uiwjs.react.example.wechat.ReactNativeFlipper");
6666
aClass
6767
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
6868
.invoke(null, context, reactInstanceManager);

0 commit comments

Comments
 (0)