Skip to content

Commit 1c4337b

Browse files
committed
udpate to 2.0.0
1 parent 4b26731 commit 1c4337b

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ react-native link
4141

4242
- 在 iOS 工程中如果找不到头文件可能要在 TARGETS-> BUILD SETTINGS -> Search Paths -> Header Search Paths 添加如下路径
4343
```
44-
$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule
44+
$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule
4545
```
4646
- 在 xcode8 之后需要点开推送选项: TARGETS -> Capabilities -> Push Notification 设为 on 状态
4747

example/ios/PushDemo.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@
226226
remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
227227
remoteInfo = "RCTAnimation-tvOS";
228228
};
229-
622E77F91E87B01C0031D997 /* PBXContainerItemProxy */ = {
229+
626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */ = {
230230
isa = PBXContainerItemProxy;
231-
containerPortal = 1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */;
231+
containerPortal = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */;
232232
proxyType = 2;
233233
remoteGlobalIDString = 6280980A1CEDC407000D3A81;
234234
remoteInfo = RCTJPushModule;
@@ -259,6 +259,7 @@
259259
00E356EE1AD99517003FC87E /* PushDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PushDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
260260
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
261261
00E356F21AD99517003FC87E /* PushDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PushDemoTests.m; sourceTree = "<group>"; };
262+
0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTJPushModule.xcodeproj; path = "../node_modules/jpush-react-native/ios/RCTJPushModule.xcodeproj"; sourceTree = "<group>"; };
262263
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
263264
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
264265
13B07F961A680F5B00A75B9A /* PushDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PushDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -269,7 +270,6 @@
269270
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = PushDemo/Info.plist; sourceTree = "<group>"; };
270271
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = PushDemo/main.m; sourceTree = "<group>"; };
271272
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
272-
1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTJPushModule.xcodeproj; path = "../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule.xcodeproj"; sourceTree = "<group>"; };
273273
1DDBA399CDB14B9A8524C3C6 /* UserNotifications.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
274274
2D02E47B1E0B4A5D006451C7 /* PushDemo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PushDemo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
275275
2D02E4901E0B4A5D006451C7 /* PushDemo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "PushDemo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -470,10 +470,10 @@
470470
name = Products;
471471
sourceTree = "<group>";
472472
};
473-
622E77F01E87B01C0031D997 /* Products */ = {
473+
626F95AB1F2F0071009C6BB5 /* Products */ = {
474474
isa = PBXGroup;
475475
children = (
476-
622E77FA1E87B01C0031D997 /* libRCTJPushModule.a */,
476+
626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */,
477477
);
478478
name = Products;
479479
sourceTree = "<group>";
@@ -501,7 +501,7 @@
501501
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
502502
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
503503
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
504-
1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */,
504+
0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */,
505505
);
506506
name = Libraries;
507507
sourceTree = "<group>";
@@ -693,8 +693,8 @@
693693
ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
694694
},
695695
{
696-
ProductGroup = 622E77F01E87B01C0031D997 /* Products */;
697-
ProjectRef = 1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */;
696+
ProductGroup = 626F95AB1F2F0071009C6BB5 /* Products */;
697+
ProjectRef = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */;
698698
},
699699
{
700700
ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
@@ -897,11 +897,11 @@
897897
remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
898898
sourceTree = BUILT_PRODUCTS_DIR;
899899
};
900-
622E77FA1E87B01C0031D997 /* libRCTJPushModule.a */ = {
900+
626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */ = {
901901
isa = PBXReferenceProxy;
902902
fileType = archive.ar;
903903
path = libRCTJPushModule.a;
904-
remoteRef = 622E77F91E87B01C0031D997 /* PBXContainerItemProxy */;
904+
remoteRef = 626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */;
905905
sourceTree = BUILT_PRODUCTS_DIR;
906906
};
907907
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
@@ -1111,7 +1111,7 @@
11111111
DEVELOPMENT_TEAM = RL64Y54S9V;
11121112
HEADER_SEARCH_PATHS = (
11131113
"$(inherited)",
1114-
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule",
1114+
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/",
11151115
);
11161116
INFOPLIST_FILE = PushDemo/Info.plist;
11171117
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -1135,7 +1135,7 @@
11351135
DEVELOPMENT_TEAM = RL64Y54S9V;
11361136
HEADER_SEARCH_PATHS = (
11371137
"$(inherited)",
1138-
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule",
1138+
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/",
11391139
);
11401140
INFOPLIST_FILE = PushDemo/Info.plist;
11411141
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jpush-react-native",
3-
"version": "1.7.1",
3+
"version": "2.0.0",
44
"description": "a jpush plugin for react native application",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)