1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore: Modify applicationId.

This commit is contained in:
jaywcjlove
2020-07-31 17:37:01 +08:00
parent 43c08e759c
commit 15c37db766
6 changed files with 8 additions and 8 deletions

View File

@@ -35,12 +35,12 @@ android_library(
android_build_config(
name = "build_config",
package = "com.example",
package = "com.uiwjs.react.example.wechat",
)
android_resource(
name = "res",
package = "com.example",
package = "com.uiwjs.react.example.wechat",
res = "src/main/res",
)

View File

@@ -129,7 +129,7 @@ android {
}
defaultConfig {
applicationId "com.example"
applicationId "com.uiwjs.react.example.wechat"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1

View File

@@ -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.example;
package com.uiwjs.react.example.wechat;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example">
package="com.uiwjs.react.example.wechat">
<uses-permission android:name="android.permission.INTERNET" />

View File

@@ -1,4 +1,4 @@
package com.example;
package com.uiwjs.react.example.wechat;
import com.facebook.react.ReactActivity;

View File

@@ -1,4 +1,4 @@
package com.example;
package com.uiwjs.react.example.wechat;
import android.app.Application;
import android.content.Context;
@@ -62,7 +62,7 @@ public class MainApplication extends Application implements ReactApplication {
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.example.ReactNativeFlipper");
Class<?> aClass = Class.forName("com.uiwjs.react.example.wechat.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);