File tree Expand file tree Collapse file tree 6 files changed +7
-9
lines changed
android/app/src/main/java/com/pushdemo Expand file tree Collapse file tree 6 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1515
1616public class MainApplication extends Application implements ReactApplication {
1717
18- private boolean SHUTDOWN_TOAST = false ;
19- private boolean SHUTDOWN_LOG = false ;
20-
2118 private final ReactNativeHost mReactNativeHost = new ReactNativeHost (this ) {
2219
2320 @ Override
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3737 [JPUSHService registerLbsGeofenceDelegate: self withLaunchOptions: launchOptions];
3838
3939 // ReactNative环境配置
40- NSURL *jsCodeLocation = [NSURL URLWithString: @" http://10.224.38.249 :8081/index.bundle?platform=ios&dev=true" ];
40+ NSURL *jsCodeLocation = [NSURL URLWithString: @" http://10.224.36.16 :8081/index.bundle?platform=ios&dev=true" ];
4141 RCTRootView *rootView = [[RCTRootView alloc ] initWithBundleURL: jsCodeLocation
4242 moduleName: @" ReactNative-JPush"
4343 initialProperties: nil
Original file line number Diff line number Diff line change 88 "test" : " jest"
99 },
1010 "dependencies" : {
11+ "core-js" : " ^3.2.1" ,
1112 "jcore-react-native" : " ^1.2.12" ,
1213 "jpush-react-native" : " 2.5.5" ,
1314 "react" : " 16.2.0" ,
Original file line number Diff line number Diff line change 77 "escapedName" : " jpush-react-native" ,
88 "name" : " jpush-react-native" ,
99 "rawSpec" : " file:.." ,
10- "spec" : " /Users/wicked/github/react-native/JPush-Copy " ,
10+ "spec" : " /Users/wicked/github/react-native/JPush" ,
1111 "type" : " directory"
1212 },
13- " /Users/wicked/github/react-native/JPush-Copy /example"
13+ " /Users/wicked/github/react-native/JPush/example"
1414 ]
1515 ],
1616 "_from" : " .." ,
2525 "escapedName" : " jpush-react-native" ,
2626 "name" : " jpush-react-native" ,
2727 "rawSpec" : " file:.." ,
28- "spec" : " /Users/wicked/github/react-native/JPush-Copy " ,
28+ "spec" : " /Users/wicked/github/react-native/JPush" ,
2929 "type" : " directory"
3030 },
3131 "_requiredBy" : [
3535 "_shasum" : " 1683f2e2a896772c28225467137213400769c32c" ,
3636 "_shrinkwrap" : null ,
3737 "_spec" : " jpush-react-native@file:.." ,
38- "_where" : " /Users/wicked/github/react-native/JPush-Copy /example" ,
38+ "_where" : " /Users/wicked/github/react-native/JPush/example" ,
3939 "author" : {
4040 "name" : " KenChoi, huminiOS"
4141 },
9191 },
9292 "rnpm" : {
9393 "android" : {
94- "packageInstance" : " new JPushPackage(!BuildConfig.DEBUG, !BuildConfig.DEBUG )"
94+ "packageInstance" : " new JPushPackage()"
9595 },
9696 "ios" : {
9797 "sharedLibraries" : [
You can’t perform that action at this time.
0 commit comments