Skip to content

Commit

Permalink
udpate to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminlinux committed Jul 31, 2017
1 parent 4b26731 commit 1c4337b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ react-native link

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

Expand Down
24 changes: 12 additions & 12 deletions example/ios/PushDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@
remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
remoteInfo = "RCTAnimation-tvOS";
};
622E77F91E87B01C0031D997 /* PBXContainerItemProxy */ = {
626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */;
containerPortal = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 6280980A1CEDC407000D3A81;
remoteInfo = RCTJPushModule;
Expand Down Expand Up @@ -259,6 +259,7 @@
00E356EE1AD99517003FC87E /* PushDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PushDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* PushDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PushDemoTests.m; sourceTree = "<group>"; };
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>"; };
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* PushDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PushDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -269,7 +270,6 @@
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = PushDemo/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = PushDemo/main.m; sourceTree = "<group>"; };
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
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>"; };
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; };
2D02E47B1E0B4A5D006451C7 /* PushDemo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PushDemo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E4901E0B4A5D006451C7 /* PushDemo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "PushDemo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -470,10 +470,10 @@
name = Products;
sourceTree = "<group>";
};
622E77F01E87B01C0031D997 /* Products */ = {
626F95AB1F2F0071009C6BB5 /* Products */ = {
isa = PBXGroup;
children = (
622E77FA1E87B01C0031D997 /* libRCTJPushModule.a */,
626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -501,7 +501,7 @@
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */,
0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */,
);
name = Libraries;
sourceTree = "<group>";
Expand Down Expand Up @@ -693,8 +693,8 @@
ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
},
{
ProductGroup = 622E77F01E87B01C0031D997 /* Products */;
ProjectRef = 1C51DA594A4145D4A9187F92 /* RCTJPushModule.xcodeproj */;
ProductGroup = 626F95AB1F2F0071009C6BB5 /* Products */;
ProjectRef = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */;
},
{
ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
Expand Down Expand Up @@ -897,11 +897,11 @@
remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
622E77FA1E87B01C0031D997 /* libRCTJPushModule.a */ = {
626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRCTJPushModule.a;
remoteRef = 622E77F91E87B01C0031D997 /* PBXContainerItemProxy */;
remoteRef = 626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
Expand Down Expand Up @@ -1111,7 +1111,7 @@
DEVELOPMENT_TEAM = RL64Y54S9V;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule",
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/",
);
INFOPLIST_FILE = PushDemo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -1135,7 +1135,7 @@
DEVELOPMENT_TEAM = RL64Y54S9V;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule",
"$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/",
);
INFOPLIST_FILE = PushDemo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jpush-react-native",
"version": "1.7.1",
"version": "2.0.0",
"description": "a jpush plugin for react native application",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1c4337b

Please sign in to comment.