diff --git a/README.md b/README.md index fd9149e8..e88236af 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,8 @@ npm install jpush-react-native --save ``` Add Files to "your project name" - node_modules/jcore-react-native/ios/RCTJCoreModule/ - node_modules/jpush-react-native/ios/RCTJPushModule/ + node_modules/jcore-react-native/ios/RCTJCoreModule.xcodeproj + node_modules/jpush-react-native/ios/RCTJPushModule.xcodeproj ``` * Capabilities @@ -89,22 +89,28 @@ npm install jpush-react-native --save libz.tbd libresolv.tbd UserNotifications.framework - + libRCTJCoreModule.a + libRCTJPushModule.a ``` ## 3. 引用 ### 3.1 Android -参考:[MainApplication.java](https://github.com/jpush/jpush-react-native/tree/master/example/android/app/src/main/java/com/example/MainApplication) +参考:[MainApplication.java](https://github.com/jpush/jpush-react-native/tree/master/example/android/app/src/main/java/com/example/MainApplication.java) ### 3.2 iOS -参考:[AppDelegate.m](https://github.com/jpush/jpush-react-native/tree/master/example/ios/PushDemo/AppDelegate.m) +参考:[AppDelegate.m](https://github.com/jpush/jpush-react-native/tree/master/example/ios/example/AppDelegate.m) ## 4. API 详见:[index.js](https://github.com/jpush/jpush-react-native/blob/master/index.js) +## 5. 其他 +* 集成前务必将example工程跑通 +* JPush3.5.5&&JCore1.3.5属于重构版本,API主要缺少本地通知,如有紧急需求请前往[极光社区](https://community.jiguang.cn/c/question) +* 目前react-native link和pod install还不完善,待下个版本完成 + \ No newline at end of file diff --git a/example/ios/PushDemo-tvOS/Info.plist b/example/ios/example-tvOS/Info.plist similarity index 100% rename from example/ios/PushDemo-tvOS/Info.plist rename to example/ios/example-tvOS/Info.plist diff --git a/example/ios/PushDemo-tvOSTests/Info.plist b/example/ios/example-tvOSTests/Info.plist similarity index 100% rename from example/ios/PushDemo-tvOSTests/Info.plist rename to example/ios/example-tvOSTests/Info.plist diff --git a/example/ios/PushDemo.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj similarity index 71% rename from example/ios/PushDemo.xcodeproj/project.pbxproj rename to example/ios/example.xcodeproj/project.pbxproj index acbb3d84..a7bd1e1d 100644 --- a/example/ios/PushDemo.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -12,7 +12,7 @@ 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; - 0A792A6DF82A46168B86F479 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 63ECFB2ED7004752BBCF8EFB /* CoreGraphics.framework */; }; + 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; @@ -20,8 +20,8 @@ 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; + 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; - 1D5EB42550524C85877207F3 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89D0AB2008B442929D3F394C /* SystemConfiguration.framework */; }; 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; @@ -32,21 +32,16 @@ 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; - 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; - 2DCD954D1E0B4F2C00145EB5 /* PushDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* PushDemoTests.m */; }; - 506C0A0BA2884B1986A0F1CE /* libRCTJCoreModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 778ED37F5DB1437D836B468F /* libRCTJCoreModule.a */; }; - 564D0D604F8F4F1188346046 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8EAF34D6BC9B4C498B955709 /* Security.framework */; }; - 5E0D9D2770B14FE3ABE83C24 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86CBDFAD319F42309899ECDB /* CFNetwork.framework */; }; + 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; + 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; + 5CE6A03123289EAF0082E533 /* libRCTJCoreModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE6A00D23289E0D0082E533 /* libRCTJCoreModule.a */; }; + 5CE6A03223289EB50082E533 /* libRCTJPushModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE6A03023289E470082E533 /* libRCTJPushModule.a */; }; + 5CE6A03423289ED10082E533 /* UserNotifications.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE6A03323289ED10082E533 /* UserNotifications.framework */; }; + 5CE6A03623289EDE0082E533 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE6A03523289EDE0082E533 /* libz.tbd */; }; + 5CE6A03823289EE80082E533 /* libresolv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE6A03723289EE80082E533 /* libresolv.tbd */; }; 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; - 63D768E78E014676B3D3BCF0 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF4B8B2EACC14094BB3CEC79 /* UIKit.framework */; }; - 6601F06A24F048D5B81F31CE /* libRCTJPushModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AD7EEA68397B44A5B8C9F892 /* libRCTJPushModule.a */; }; - 6D8FC734065E49F48624606E /* UserNotifications.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DDBA399CDB14B9A8524C3C6 /* UserNotifications.framework */; }; - 7ABFF1BE4F094C759C0821A9 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A20B95836FB34A61A809E2FF /* CoreFoundation.framework */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; - A6E121F259C1464BA920062C /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B506CF1C9DA5401D8DF66D90 /* CoreTelephony.framework */; }; - BC885925AA2643C4BFC4FB53 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = F053B0A474094B799C6E2B20 /* libz.tbd */; }; - C663F8C22D504402957A3836 /* libresolv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 937655417F324073AA1EE713 /* libresolv.tbd */; }; - EE833F5F5D5742B2948DF522 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 68296063447D496F840FE8CE /* Foundation.framework */; }; + ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -85,6 +80,13 @@ remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; remoteInfo = RCTVibration; }; + 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 13B07F861A680F5B00A75B9A; + remoteInfo = example; + }; 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; @@ -111,7 +113,28 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; - remoteInfo = "PushDemo-tvOS"; + remoteInfo = "example-tvOS"; + }; + 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = ADD01A681E09402E00F6D226; + remoteInfo = "RCTBlob-tvOS"; + }; + 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; + remoteInfo = fishhook; + }; + 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; + remoteInfo = "fishhook-tvOS"; }; 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -190,103 +213,103 @@ remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; remoteInfo = "cxxreact-tvOS"; }; - 5CAF6C072327F2F100B5A09F /* PBXContainerItemProxy */ = { + 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; - remoteInfo = jsi; + remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; + remoteInfo = jschelpers; }; - 5CAF6C092327F2F100B5A09F /* PBXContainerItemProxy */ = { + 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; - remoteInfo = jsiexecutor; + remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; + remoteInfo = "jschelpers-tvOS"; }; - 5CAF6C0B2327F2F100B5A09F /* PBXContainerItemProxy */ = { + 5C40BD5A2328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; - remoteInfo = "jsi-tvOS"; + remoteGlobalIDString = EBF21BDC1FC498900052F4D5; + remoteInfo = jsinspector; }; - 5CAF6C0D2327F2F100B5A09F /* PBXContainerItemProxy */ = { + 5C40BD5C2328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; - remoteInfo = "jsiexecutor-tvOS"; + remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; + remoteInfo = "jsinspector-tvOS"; }; - 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { + 5C40BD5E2328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 134814201AA4EA6300B7C361; - remoteInfo = RCTAnimation; + remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; + remoteInfo = "third-party"; }; - 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { + 5C40BD602328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 2D2A28201D9B03D100D4039D; - remoteInfo = "RCTAnimation-tvOS"; + remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; + remoteInfo = "third-party-tvOS"; }; - 626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */ = { + 5C40BD622328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 6280980A1CEDC407000D3A81; - remoteInfo = RCTJPushModule; + remoteGlobalIDString = 139D7E881E25C6D100323FB7; + remoteInfo = "double-conversion"; }; - 6279623A212124B400CFE32D /* PBXContainerItemProxy */ = { + 5C40BD642328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EBF21BDC1FC498900052F4D5; - remoteInfo = jsinspector; + remoteGlobalIDString = 3D383D621EBD27B9005632C8; + remoteInfo = "double-conversion-tvOS"; }; - 6279623C212124B400CFE32D /* PBXContainerItemProxy */ = { + 5C40BD662328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; - remoteInfo = "jsinspector-tvOS"; + remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; + remoteInfo = privatedata; }; - 62796271212124D500CFE32D /* PBXContainerItemProxy */ = { + 5C40BD682328921100517F30 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 8358380823CC4D39A0CCA3E3 /* RCTJCoreModule.xcodeproj */; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 6212E9B41F3990DC00BDF51A; - remoteInfo = RCTJCoreModule; + remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; + remoteInfo = "privatedata-tvOS"; }; - 62EDFB4D2019B8C000C0628D /* PBXContainerItemProxy */ = { + 5CE6A00C23289E0D0082E533 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + containerPortal = 5CE6A00023289E0D0082E533 /* RCTJCoreModule.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; - remoteInfo = "third-party"; + remoteGlobalIDString = 6212E9B41F3990DC00BDF51A; + remoteInfo = RCTJCoreModule; }; - 62EDFB4F2019B8C000C0628D /* PBXContainerItemProxy */ = { + 5CE6A02F23289E470082E533 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + containerPortal = 5CE6A02B23289E470082E533 /* RCTJPushModule.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; - remoteInfo = "third-party-tvOS"; + remoteGlobalIDString = 6280980A1CEDC407000D3A81; + remoteInfo = RCTJPushModule; }; - 62EDFB512019B8C000C0628D /* PBXContainerItemProxy */ = { + 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 139D7E881E25C6D100323FB7; - remoteInfo = "double-conversion"; + remoteGlobalIDString = 134814201AA4EA6300B7C361; + remoteInfo = RCTAnimation; }; - 62EDFB532019B8C000C0628D /* PBXContainerItemProxy */ = { + 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; proxyType = 2; - remoteGlobalIDString = 3D383D621EBD27B9005632C8; - remoteInfo = "double-conversion-tvOS"; + remoteGlobalIDString = 2D2A28201D9B03D100D4039D; + remoteInfo = "RCTAnimation-tvOS"; }; 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -302,6 +325,13 @@ remoteGlobalIDString = 58B5119B1A9E6C1200147676; remoteInfo = RCTText; }; + ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 358F4ED71D1E81A9004DF814; + remoteInfo = RCTBlob; + }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -311,46 +341,54 @@ 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; + 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* PushDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PushDemoTests.m; sourceTree = ""; }; - 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 = ""; }; + 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* PushDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PushDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = PushDemo/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = PushDemo/AppDelegate.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; }; 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = PushDemo/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = PushDemo/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = PushDemo/main.m; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; - 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; }; + 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 5CE6A00023289E0D0082E533 /* RCTJCoreModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJCoreModule.xcodeproj; path = "../node_modules/jcore-react-native/ios/RCTJCoreModule.xcodeproj"; sourceTree = ""; }; + 5CE6A02B23289E470082E533 /* RCTJPushModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTJPushModule.xcodeproj; path = "../node_modules/jpush-react-native/ios/RCTJPushModule.xcodeproj"; sourceTree = ""; }; + 5CE6A03323289ED10082E533 /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; }; + 5CE6A03523289EDE0082E533 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; + 5CE6A03723289EE80082E533 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; }; + 5CE6A03923289EF00082E533 /* example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = example.entitlements; path = example/example.entitlements; sourceTree = ""; }; 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; - 623D30881E8BE2B200E12ADF /* PushDemo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = PushDemo.entitlements; path = PushDemo/PushDemo.entitlements; sourceTree = ""; }; - 63ECFB2ED7004752BBCF8EFB /* CoreGraphics.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 68296063447D496F840FE8CE /* Foundation.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 778ED37F5DB1437D836B468F /* libRCTJCoreModule.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTJCoreModule.a; sourceTree = ""; }; 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; - 8358380823CC4D39A0CCA3E3 /* RCTJCoreModule.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTJCoreModule.xcodeproj; path = "../node_modules/jcore-react-native/ios/RCTJCoreModule.xcodeproj"; sourceTree = ""; }; - 86CBDFAD319F42309899ECDB /* CFNetwork.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; - 89D0AB2008B442929D3F394C /* SystemConfiguration.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - 8EAF34D6BC9B4C498B955709 /* Security.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; - 937655417F324073AA1EE713 /* libresolv.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; }; - A20B95836FB34A61A809E2FF /* CoreFoundation.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; - AD7EEA68397B44A5B8C9F892 /* libRCTJPushModule.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTJPushModule.a; sourceTree = ""; }; - AF4B8B2EACC14094BB3CEC79 /* UIKit.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - B506CF1C9DA5401D8DF66D90 /* CoreTelephony.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; - F053B0A474094B799C6E2B20 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; + ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 00E356EB1AD99517003FC87E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 5CE6A03823289EE80082E533 /* libresolv.tbd in Frameworks */, + 5CE6A03623289EDE0082E533 /* libz.tbd in Frameworks */, + 5CE6A03423289ED10082E533 /* UserNotifications.framework in Frameworks */, + 5CE6A03223289EB50082E533 /* libRCTJPushModule.a in Frameworks */, + 5CE6A03123289EAF0082E533 /* libRCTJCoreModule.a in Frameworks */, + ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, + 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 146834051AC3E58100842450 /* libReact.a in Frameworks */, 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, @@ -362,19 +400,6 @@ 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, - 6601F06A24F048D5B81F31CE /* libRCTJPushModule.a in Frameworks */, - BC885925AA2643C4BFC4FB53 /* libz.tbd in Frameworks */, - 6D8FC734065E49F48624606E /* UserNotifications.framework in Frameworks */, - A6E121F259C1464BA920062C /* CoreTelephony.framework in Frameworks */, - 564D0D604F8F4F1188346046 /* Security.framework in Frameworks */, - 5E0D9D2770B14FE3ABE83C24 /* CFNetwork.framework in Frameworks */, - 7ABFF1BE4F094C759C0821A9 /* CoreFoundation.framework in Frameworks */, - 1D5EB42550524C85877207F3 /* SystemConfiguration.framework in Frameworks */, - EE833F5F5D5742B2948DF522 /* Foundation.framework in Frameworks */, - 63D768E78E014676B3D3BCF0 /* UIKit.framework in Frameworks */, - C663F8C22D504402957A3836 /* libresolv.tbd in Frameworks */, - 0A792A6DF82A46168B86F479 /* CoreGraphics.framework in Frameworks */, - 506C0A0BA2884B1986A0F1CE /* libRCTJCoreModule.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -382,7 +407,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, + 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, @@ -445,13 +470,13 @@ name = Products; sourceTree = ""; }; - 00E356EF1AD99517003FC87E /* PushDemoTests */ = { + 00E356EF1AD99517003FC87E /* exampleTests */ = { isa = PBXGroup; children = ( - 00E356F21AD99517003FC87E /* PushDemoTests.m */, + 00E356F21AD99517003FC87E /* exampleTests.m */, 00E356F01AD99517003FC87E /* Supporting Files */, ); - path = PushDemoTests; + path = exampleTests; sourceTree = ""; }; 00E356F01AD99517003FC87E /* Supporting Files */ = { @@ -476,14 +501,16 @@ children = ( 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, + 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, + 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, ); name = Products; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* PushDemo */ = { + 13B07FAE1A68108700A75B9A /* example */ = { isa = PBXGroup; children = ( - 623D30881E8BE2B200E12ADF /* PushDemo.entitlements */, + 5CE6A03923289EF00082E533 /* example.entitlements */, 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, @@ -492,7 +519,7 @@ 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 13B07FB71A68108700A75B9A /* main.m */, ); - name = PushDemo; + name = example; sourceTree = ""; }; 146834001AC3E56700842450 /* Products */ = { @@ -504,50 +531,52 @@ 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, - 6279623B212124B400CFE32D /* libjsinspector.a */, - 6279623D212124B400CFE32D /* libjsinspector-tvOS.a */, - 62EDFB4E2019B8C000C0628D /* libthird-party.a */, - 62EDFB502019B8C000C0628D /* libthird-party.a */, - 62EDFB522019B8C000C0628D /* libdouble-conversion.a */, - 62EDFB542019B8C000C0628D /* libdouble-conversion.a */, - 5CAF6C082327F2F100B5A09F /* libjsi.a */, - 5CAF6C0A2327F2F100B5A09F /* libjsiexecutor.a */, - 5CAF6C0C2327F2F100B5A09F /* libjsi-tvOS.a */, - 5CAF6C0E2327F2F100B5A09F /* libjsiexecutor-tvOS.a */, + 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, + 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, + 5C40BD5B2328921100517F30 /* libjsinspector.a */, + 5C40BD5D2328921100517F30 /* libjsinspector-tvOS.a */, + 5C40BD5F2328921100517F30 /* libthird-party.a */, + 5C40BD612328921100517F30 /* libthird-party.a */, + 5C40BD632328921100517F30 /* libdouble-conversion.a */, + 5C40BD652328921100517F30 /* libdouble-conversion.a */, + 5C40BD672328921100517F30 /* libprivatedata.a */, + 5C40BD692328921100517F30 /* libprivatedata-tvOS.a */, ); name = Products; sourceTree = ""; }; - 5E91572E1DD0AC6500FF2AA8 /* Products */ = { + 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( - 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, - 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, + 5CE6A03723289EE80082E533 /* libresolv.tbd */, + 5CE6A03523289EDE0082E533 /* libz.tbd */, + 5CE6A03323289ED10082E533 /* UserNotifications.framework */, + 2D16E6891FA4F8E400B85C8A /* libReact.a */, ); - name = Products; + name = Frameworks; sourceTree = ""; }; - 620034F11F6D642900FF482D /* Recovered References */ = { + 5CE6A00123289E0D0082E533 /* Products */ = { isa = PBXGroup; children = ( - AD7EEA68397B44A5B8C9F892 /* libRCTJPushModule.a */, - 778ED37F5DB1437D836B468F /* libRCTJCoreModule.a */, + 5CE6A00D23289E0D0082E533 /* libRCTJCoreModule.a */, ); - name = "Recovered References"; + name = Products; sourceTree = ""; }; - 626F95AB1F2F0071009C6BB5 /* Products */ = { + 5CE6A02C23289E470082E533 /* Products */ = { isa = PBXGroup; children = ( - 626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */, + 5CE6A03023289E470082E533 /* libRCTJPushModule.a */, ); name = Products; sourceTree = ""; }; - 6279626E212124D500CFE32D /* Products */ = { + 5E91572E1DD0AC6500FF2AA8 /* Products */ = { isa = PBXGroup; children = ( - 62796272212124D500CFE32D /* libRCTJCoreModule.a */, + 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, + 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, ); name = Products; sourceTree = ""; @@ -564,9 +593,12 @@ 832341AE1AAA6A7D00B99B32 /* Libraries */ = { isa = PBXGroup; children = ( + 5CE6A02B23289E470082E533 /* RCTJPushModule.xcodeproj */, + 5CE6A00023289E0D0082E533 /* RCTJCoreModule.xcodeproj */, 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 146833FF1AC3E56700842450 /* React.xcodeproj */, 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, + ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, @@ -575,8 +607,6 @@ 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, - 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */, - 8358380823CC4D39A0CCA3E3 /* RCTJCoreModule.xcodeproj */, ); name = Libraries; sourceTree = ""; @@ -593,51 +623,61 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* PushDemo */, + 13B07FAE1A68108700A75B9A /* example */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* PushDemoTests */, + 00E356EF1AD99517003FC87E /* exampleTests */, 83CBBA001A601CBA00E9B192 /* Products */, - FA9ACBC428EA49849937D198 /* Frameworks */, - 620034F11F6D642900FF482D /* Recovered References */, + 2D16E6871FA4F8E400B85C8A /* Frameworks */, ); indentWidth = 2; sourceTree = ""; tabWidth = 2; + usesTabs = 0; }; 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* PushDemo.app */, - 2D02E47B1E0B4A5D006451C7 /* PushDemo-tvOS.app */, - 2D02E4901E0B4A5D006451C7 /* PushDemo-tvOSTests.xctest */, + 13B07F961A680F5B00A75B9A /* example.app */, + 00E356EE1AD99517003FC87E /* exampleTests.xctest */, + 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */, + 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */, ); name = Products; sourceTree = ""; }; - FA9ACBC428EA49849937D198 /* Frameworks */ = { + ADBDB9201DFEBF0600ED6528 /* Products */ = { isa = PBXGroup; children = ( - F053B0A474094B799C6E2B20 /* libz.tbd */, - 1DDBA399CDB14B9A8524C3C6 /* UserNotifications.framework */, - B506CF1C9DA5401D8DF66D90 /* CoreTelephony.framework */, - 8EAF34D6BC9B4C498B955709 /* Security.framework */, - 86CBDFAD319F42309899ECDB /* CFNetwork.framework */, - A20B95836FB34A61A809E2FF /* CoreFoundation.framework */, - 89D0AB2008B442929D3F394C /* SystemConfiguration.framework */, - 68296063447D496F840FE8CE /* Foundation.framework */, - AF4B8B2EACC14094BB3CEC79 /* UIKit.framework */, - 937655417F324073AA1EE713 /* libresolv.tbd */, - 63ECFB2ED7004752BBCF8EFB /* CoreGraphics.framework */, + ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, + 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, ); - name = Frameworks; + name = Products; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 13B07F861A680F5B00A75B9A /* PushDemo */ = { + 00E356ED1AD99517003FC87E /* exampleTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "PushDemo" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; + buildPhases = ( + 00E356EA1AD99517003FC87E /* Sources */, + 00E356EB1AD99517003FC87E /* Frameworks */, + 00E356EC1AD99517003FC87E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 00E356F51AD99517003FC87E /* PBXTargetDependency */, + ); + name = exampleTests; + productName = exampleTests; + productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 13B07F861A680F5B00A75B9A /* example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; buildPhases = ( 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, @@ -648,14 +688,14 @@ ); dependencies = ( ); - name = PushDemo; + name = example; productName = "Hello World"; - productReference = 13B07F961A680F5B00A75B9A /* PushDemo.app */; + productReference = 13B07F961A680F5B00A75B9A /* example.app */; productType = "com.apple.product-type.application"; }; - 2D02E47A1E0B4A5D006451C7 /* PushDemo-tvOS */ = { + 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "PushDemo-tvOS" */; + buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */; buildPhases = ( 2D02E4771E0B4A5D006451C7 /* Sources */, 2D02E4781E0B4A5D006451C7 /* Frameworks */, @@ -666,14 +706,14 @@ ); dependencies = ( ); - name = "PushDemo-tvOS"; - productName = "PushDemo-tvOS"; - productReference = 2D02E47B1E0B4A5D006451C7 /* PushDemo-tvOS.app */; + name = "example-tvOS"; + productName = "example-tvOS"; + productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */; productType = "com.apple.product-type.application"; }; - 2D02E48F1E0B4A5D006451C7 /* PushDemo-tvOSTests */ = { + 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "PushDemo-tvOSTests" */; + buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */; buildPhases = ( 2D02E48C1E0B4A5D006451C7 /* Sources */, 2D02E48D1E0B4A5D006451C7 /* Frameworks */, @@ -684,9 +724,9 @@ dependencies = ( 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, ); - name = "PushDemo-tvOSTests"; - productName = "PushDemo-tvOSTests"; - productReference = 2D02E4901E0B4A5D006451C7 /* PushDemo-tvOSTests.xctest */; + name = "example-tvOSTests"; + productName = "example-tvOSTests"; + productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -695,16 +735,19 @@ 83CBB9F71A601CBA00E9B192 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 610; + LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { + 00E356ED1AD99517003FC87E = { + CreatedOnToolsVersion = 6.2; + DevelopmentTeam = S8MV3YTR8H; + ProvisioningStyle = Manual; + TestTargetID = 13B07F861A680F5B00A75B9A; + }; 13B07F861A680F5B00A75B9A = { DevelopmentTeam = 8X2A38Q9VD; ProvisioningStyle = Manual; SystemCapabilities = { - com.apple.BackgroundModes = { - enabled = 0; - }; com.apple.Push = { enabled = 1; }; @@ -721,7 +764,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "PushDemo" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -742,6 +785,10 @@ ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; }, + { + ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; + ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; + }, { ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; @@ -751,12 +798,12 @@ ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; }, { - ProductGroup = 6279626E212124D500CFE32D /* Products */; - ProjectRef = 8358380823CC4D39A0CCA3E3 /* RCTJCoreModule.xcodeproj */; + ProductGroup = 5CE6A00123289E0D0082E533 /* Products */; + ProjectRef = 5CE6A00023289E0D0082E533 /* RCTJCoreModule.xcodeproj */; }, { - ProductGroup = 626F95AB1F2F0071009C6BB5 /* Products */; - ProjectRef = 0EBB224694BA4F2BBC00C271 /* RCTJPushModule.xcodeproj */; + ProductGroup = 5CE6A02C23289E470082E533 /* Products */; + ProjectRef = 5CE6A02B23289E470082E533 /* RCTJPushModule.xcodeproj */; }, { ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; @@ -789,9 +836,10 @@ ); projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* PushDemo */, - 2D02E47A1E0B4A5D006451C7 /* PushDemo-tvOS */, - 2D02E48F1E0B4A5D006451C7 /* PushDemo-tvOSTests */, + 13B07F861A680F5B00A75B9A /* example */, + 00E356ED1AD99517003FC87E /* exampleTests */, + 2D02E47A1E0B4A5D006451C7 /* example-tvOS */, + 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */, ); }; /* End PBXProject section */ @@ -853,6 +901,27 @@ remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libRCTBlob-tvOS.a"; + remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libfishhook.a; + remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libfishhook-tvOS.a"; + remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -930,102 +999,102 @@ remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CAF6C082327F2F100B5A09F /* libjsi.a */ = { + 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libjsi.a; - remoteRef = 5CAF6C072327F2F100B5A09F /* PBXContainerItemProxy */; + path = libjschelpers.a; + remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CAF6C0A2327F2F100B5A09F /* libjsiexecutor.a */ = { + 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libjsiexecutor.a; - remoteRef = 5CAF6C092327F2F100B5A09F /* PBXContainerItemProxy */; + path = libjschelpers.a; + remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CAF6C0C2327F2F100B5A09F /* libjsi-tvOS.a */ = { + 5C40BD5B2328921100517F30 /* libjsinspector.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libjsi-tvOS.a"; - remoteRef = 5CAF6C0B2327F2F100B5A09F /* PBXContainerItemProxy */; + path = libjsinspector.a; + remoteRef = 5C40BD5A2328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CAF6C0E2327F2F100B5A09F /* libjsiexecutor-tvOS.a */ = { + 5C40BD5D2328921100517F30 /* libjsinspector-tvOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libjsiexecutor-tvOS.a"; - remoteRef = 5CAF6C0D2327F2F100B5A09F /* PBXContainerItemProxy */; + path = "libjsinspector-tvOS.a"; + remoteRef = 5C40BD5C2328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { + 5C40BD5F2328921100517F30 /* libthird-party.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libRCTAnimation.a; - remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; + path = "libthird-party.a"; + remoteRef = 5C40BD5E2328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { + 5C40BD612328921100517F30 /* libthird-party.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libRCTAnimation.a; - remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; + path = "libthird-party.a"; + remoteRef = 5C40BD602328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 626F95B51F2F0071009C6BB5 /* libRCTJPushModule.a */ = { + 5C40BD632328921100517F30 /* libdouble-conversion.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libRCTJPushModule.a; - remoteRef = 626F95B41F2F0071009C6BB5 /* PBXContainerItemProxy */; + path = "libdouble-conversion.a"; + remoteRef = 5C40BD622328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 6279623B212124B400CFE32D /* libjsinspector.a */ = { + 5C40BD652328921100517F30 /* libdouble-conversion.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libjsinspector.a; - remoteRef = 6279623A212124B400CFE32D /* PBXContainerItemProxy */; + path = "libdouble-conversion.a"; + remoteRef = 5C40BD642328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 6279623D212124B400CFE32D /* libjsinspector-tvOS.a */ = { + 5C40BD672328921100517F30 /* libprivatedata.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libjsinspector-tvOS.a"; - remoteRef = 6279623C212124B400CFE32D /* PBXContainerItemProxy */; + path = libprivatedata.a; + remoteRef = 5C40BD662328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 62796272212124D500CFE32D /* libRCTJCoreModule.a */ = { + 5C40BD692328921100517F30 /* libprivatedata-tvOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = libRCTJCoreModule.a; - remoteRef = 62796271212124D500CFE32D /* PBXContainerItemProxy */; + path = "libprivatedata-tvOS.a"; + remoteRef = 5C40BD682328921100517F30 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 62EDFB4E2019B8C000C0628D /* libthird-party.a */ = { + 5CE6A00D23289E0D0082E533 /* libRCTJCoreModule.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libthird-party.a"; - remoteRef = 62EDFB4D2019B8C000C0628D /* PBXContainerItemProxy */; + path = libRCTJCoreModule.a; + remoteRef = 5CE6A00C23289E0D0082E533 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 62EDFB502019B8C000C0628D /* libthird-party.a */ = { + 5CE6A03023289E470082E533 /* libRCTJPushModule.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libthird-party.a"; - remoteRef = 62EDFB4F2019B8C000C0628D /* PBXContainerItemProxy */; + path = libRCTJPushModule.a; + remoteRef = 5CE6A02F23289E470082E533 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 62EDFB522019B8C000C0628D /* libdouble-conversion.a */ = { + 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libdouble-conversion.a"; - remoteRef = 62EDFB512019B8C000C0628D /* PBXContainerItemProxy */; + path = libRCTAnimation.a; + remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 62EDFB542019B8C000C0628D /* libdouble-conversion.a */ = { + 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libdouble-conversion.a"; - remoteRef = 62EDFB532019B8C000C0628D /* PBXContainerItemProxy */; + path = libRCTAnimation.a; + remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { @@ -1042,9 +1111,23 @@ remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libRCTBlob.a; + remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ + 00E356EC1AD99517003FC87E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 13B07F8E1A680F5B00A75B9A /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1084,7 +1167,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { isa = PBXShellScriptBuildPhase; @@ -1098,11 +1181,19 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 00E356EA1AD99517003FC87E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 13B07F871A680F5B00A75B9A /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1125,16 +1216,21 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2DCD954D1E0B4F2C00145EB5 /* PushDemoTests.m in Sources */, + 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 13B07F861A680F5B00A75B9A /* example */; + targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; + }; 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 2D02E47A1E0B4A5D006451C7 /* PushDemo-tvOS */; + target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */; targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -1146,35 +1242,74 @@ 13B07FB21A68108700A75B9A /* Base */, ); name = LaunchScreen.xib; - path = PushDemo; + path = example; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 00E356F61AD99517003FC87E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = S8MV3YTR8H; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = exampleTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; + }; + name = Debug; + }; + 00E356F71AD99517003FC87E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Manual; + COPY_PHASE_STRIP = NO; + DEVELOPMENT_TEAM = S8MV3YTR8H; + INFOPLIST_FILE = exampleTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; + }; + name = Release; + }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = PushDemo/PushDemo.entitlements; + CODE_SIGN_ENTITLEMENTS = example/example.entitlements; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = 8X2A38Q9VD; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/", - "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule", - ); - INFOPLIST_FILE = PushDemo/Info.plist; + INFOPLIST_FILE = example/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.jmessage.sdk; - PRODUCT_NAME = PushDemo; - PROVISIONING_PROFILE_SPECIFIER = "com.jmessage.sdk-dev"; + PRODUCT_BUNDLE_IDENTIFIER = io.jiguang.hxhg; + PRODUCT_NAME = example; + PROVISIONING_PROFILE_SPECIFIER = JIGUANGSDK; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -1183,24 +1318,20 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = PushDemo/PushDemo.entitlements; + CODE_SIGN_ENTITLEMENTS = example/example.entitlements; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 8X2A38Q9VD; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/", - "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule", - ); - INFOPLIST_FILE = PushDemo/Info.plist; + INFOPLIST_FILE = example/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.jmessage.sdk; - PRODUCT_NAME = PushDemo; - PROVISIONING_PROFILE_SPECIFIER = "com.jmessage.sdk-dev"; + PRODUCT_BUNDLE_IDENTIFIER = io.jiguang.hxhg; + PRODUCT_NAME = example; + PROVISIONING_PROFILE_SPECIFIER = JIGUANGSDK; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; @@ -1214,31 +1345,17 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = ""; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule", - "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule", - ); - INFOPLIST_FILE = "PushDemo-tvOS/Info.plist"; + INFOPLIST_FILE = "example-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.PushDemo-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; TVOS_DEPLOYMENT_TARGET = 9.2; @@ -1254,31 +1371,17 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; GCC_NO_COMMON_BLOCKS = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule", - "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule", - ); - INFOPLIST_FILE = "PushDemo-tvOS/Info.plist"; + INFOPLIST_FILE = "example-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.PushDemo-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; TVOS_DEPLOYMENT_TARGET = 9.2; @@ -1296,17 +1399,12 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "PushDemo-tvOSTests/Info.plist"; + INFOPLIST_FILE = "example-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.PushDemo-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PushDemo-tvOS.app/PushDemo-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Debug; @@ -1322,17 +1420,12 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "PushDemo-tvOSTests/Info.plist"; + INFOPLIST_FILE = "example-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - "\"$(SRCROOT)/$(TARGET_NAME)\"", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.PushDemo-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PushDemo-tvOS.app/PushDemo-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Release; @@ -1371,6 +1464,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule/", + "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/", + ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -1406,6 +1503,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../node_modules/jcore-react-native/ios/RCTJCoreModule/", + "$(SRCROOT)/../node_modules/jpush-react-native/ios/RCTJPushModule/", + ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; @@ -1416,7 +1517,16 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "PushDemo" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00E356F61AD99517003FC87E /* Debug */, + 00E356F71AD99517003FC87E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -1425,7 +1535,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "PushDemo-tvOS" */ = { + 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4971E0B4A5E006451C7 /* Debug */, @@ -1434,7 +1544,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "PushDemo-tvOSTests" */ = { + 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4991E0B4A5E006451C7 /* Debug */, @@ -1443,7 +1553,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "PushDemo" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo-tvOS.xcscheme b/example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme similarity index 79% rename from example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo-tvOS.xcscheme rename to example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme index ca584260..a36391c9 100644 --- a/example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo-tvOS.xcscheme +++ b/example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme @@ -29,9 +29,9 @@ + BuildableName = "example-tvOS.app" + BlueprintName = "example-tvOS" + ReferencedContainer = "container:example.xcodeproj"> + BuildableName = "example-tvOSTests.xctest" + BlueprintName = "example-tvOSTests" + ReferencedContainer = "container:example.xcodeproj"> @@ -61,9 +61,9 @@ + BuildableName = "example-tvOSTests.xctest" + BlueprintName = "example-tvOSTests" + ReferencedContainer = "container:example.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "example-tvOS.app" + BlueprintName = "example-tvOS" + ReferencedContainer = "container:example.xcodeproj"> @@ -94,9 +94,9 @@ + BuildableName = "example-tvOS.app" + BlueprintName = "example-tvOS" + ReferencedContainer = "container:example.xcodeproj"> @@ -113,9 +113,9 @@ + BuildableName = "example-tvOS.app" + BlueprintName = "example-tvOS" + ReferencedContainer = "container:example.xcodeproj"> diff --git a/example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo.xcscheme b/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme similarity index 80% rename from example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo.xcscheme rename to example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme index d745bdc0..eae95137 100644 --- a/example/ios/PushDemo.xcodeproj/xcshareddata/xcschemes/PushDemo.xcscheme +++ b/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme @@ -29,9 +29,9 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> + BuildableName = "exampleTests.xctest" + BlueprintName = "exampleTests" + ReferencedContainer = "container:example.xcodeproj"> @@ -61,9 +61,9 @@ + BuildableName = "exampleTests.xctest" + BlueprintName = "exampleTests" + ReferencedContainer = "container:example.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> @@ -94,9 +94,9 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> @@ -113,9 +113,9 @@ + BuildableName = "example.app" + BlueprintName = "example" + ReferencedContainer = "container:example.xcodeproj"> diff --git a/example/ios/PushDemo/AppDelegate.h b/example/ios/example/AppDelegate.h similarity index 100% rename from example/ios/PushDemo/AppDelegate.h rename to example/ios/example/AppDelegate.h diff --git a/example/ios/PushDemo/AppDelegate.m b/example/ios/example/AppDelegate.m similarity index 97% rename from example/ios/PushDemo/AppDelegate.m rename to example/ios/example/AppDelegate.m index fd5c52fe..304b1641 100644 --- a/example/ios/PushDemo/AppDelegate.m +++ b/example/ios/example/AppDelegate.m @@ -18,11 +18,8 @@ @implementation AppDelegate -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - - [JPUSHService setDebugMode]; - - // JPush初始化配置 +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ + // JPush初始化配置 [JPUSHService setupWithOption:launchOptions appKey:@"129c21dc4cb5e6f6de194003" channel:@"dev" apsForProduction:YES]; // Apns @@ -35,7 +32,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( [defaultCenter addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil]; // 地理围栏 [JPUSHService registerLbsGeofenceDelegate:self withLaunchOptions:launchOptions]; - // ReactNative环境配置 NSURL *jsCodeLocation = [NSURL URLWithString:@"http://10.224.36.16:8081/index.bundle?platform=ios&dev=true"]; RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation @@ -71,7 +67,7 @@ - (void)application:(UIApplication *)application didReceiveRemoteNotification: //ios 4 本地通知 todo - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification{ NSDictionary *userInfo = notification.userInfo; - NSLog(@"iOS 4 本地通知"); + NSLog(@"iOS 4 本地通知"); [[NSNotificationCenter defaultCenter] postNotificationName:J_LOCAL_NOTIFICATION_EVENT object:userInfo]; } diff --git a/example/ios/PushDemo/Base.lproj/LaunchScreen.xib b/example/ios/example/Base.lproj/LaunchScreen.xib similarity index 93% rename from example/ios/PushDemo/Base.lproj/LaunchScreen.xib rename to example/ios/example/Base.lproj/LaunchScreen.xib index 6c085bba..9e04807a 100644 --- a/example/ios/PushDemo/Base.lproj/LaunchScreen.xib +++ b/example/ios/example/Base.lproj/LaunchScreen.xib @@ -18,7 +18,7 @@ -