Skip to content

Commit 0d37a23

Browse files
author
詹强
committed
更新example
1 parent fbaad80 commit 0d37a23

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515

1616
public 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

example/ios/PushDemo/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
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",

0 commit comments

Comments
 (0)