Skip to content

Commit 40c1f34

Browse files
author
wicked-tc130
authored
Merge pull request #655 from jpush/dev
更新package.json;更新example
2 parents 78f4146 + 0d37a23 commit 40c1f34

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
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",

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
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": "..",
@@ -25,7 +25,7 @@
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": [
@@ -35,7 +35,7 @@
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
},
@@ -91,7 +91,7 @@
9191
},
9292
"rnpm": {
9393
"android": {
94-
"packageInstance": "new JPushPackage(!BuildConfig.DEBUG, !BuildConfig.DEBUG)"
94+
"packageInstance": "new JPushPackage()"
9595
},
9696
"ios": {
9797
"sharedLibraries": [

scripts/patch.js

Whitespace-only changes.

scripts/recipes.js

Whitespace-only changes.

0 commit comments

Comments
 (0)