Skip to content

Commit 6da5918

Browse files
author
Richard Hua
authored
Upgrade example app to React Native 0.39 (#630)
* Upgrade example app to [email protected] * Fix formatting * Update README.md to reflect new compatibility
1 parent 32032f1 commit 6da5918

File tree

8 files changed

+73
-50
lines changed

8 files changed

+73
-50
lines changed

Examples/CodePushDemoApp/.flowconfig

+9-23
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
11
[ignore]
2-
3-
# We fork some components by platform.
2+
; We fork some components by platform
43
.*/*[.]android.js
54

6-
# Ignore templates with `@flow` in header
7-
.*/local-cli/generator.*
8-
9-
# Ignore malformed json
10-
.*/node_modules/y18n/test/.*\.json
11-
12-
# Ignore the website subdir
13-
<PROJECT_ROOT>/website/.*
14-
15-
# Ignore BUCK generated dirs
5+
; Ignore "BUCK" generated dirs
166
<PROJECT_ROOT>/\.buckd/
177

18-
# Ignore unexpected extra @providesModule
19-
.*/node_modules/commoner/test/source/widget/share.js
8+
; Ignore unexpected extra "@providesModule"
209
.*/node_modules/.*/node_modules/fbjs/.*
2110

22-
# Ignore duplicate module providers
23-
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
11+
; Ignore duplicate module providers
12+
; For RN Apps installed via npm, "Libraries" folder is inside
13+
; "node_modules/react-native" but in the source repo it is in the root
2414
.*/Libraries/react-native/React.js
2515
.*/Libraries/react-native/ReactNative.js
26-
.*/node_modules/jest-runtime/build/__tests__/.*
2716

2817
[include]
2918

@@ -35,9 +24,6 @@ flow/
3524
[options]
3625
module.system=haste
3726

38-
esproposal.class_static_fields=enable
39-
esproposal.class_instance_fields=enable
40-
4127
experimental.strict_type_args=true
4228

4329
munge_underscores=true
@@ -49,11 +35,11 @@ suppress_type=$FlowIssue
4935
suppress_type=$FlowFixMe
5036
suppress_type=$FixMe
5137

52-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
53-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
38+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-5]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
39+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-5]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
5440
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
5541

5642
unsafe.enable_getters_and_setters=true
5743

5844
[version]
59-
^0.33.0
45+
^0.35.0
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -text

Examples/CodePushDemoApp/.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ DerivedData
2222
*.xcuserstate
2323
project.xcworkspace
2424

25-
# Android/IJ
25+
# Android/IntelliJ
2626
#
27-
*.iml
27+
build/
2828
.idea
2929
.gradle
3030
local.properties
31+
*.iml
3132

3233
# node.js
3334
#

Examples/CodePushDemoApp/android/app/src/main/java/com/codepushdemoapp/MainApplication.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ protected boolean getUseDeveloperSupport() {
3030
protected List<ReactPackage> getPackages() {
3131
return Arrays.<ReactPackage>asList(
3232
new MainReactPackage(),
33-
new CodePush("deployment-key-here", MainApplication.this, BuildConfig.DEBUG) );
33+
new CodePush("deployment-key-here", MainApplication.this, BuildConfig.DEBUG)
34+
);
3435
}
3536
};
3637

Examples/CodePushDemoApp/iOS/CodePushDemoApp.xcodeproj/project.pbxproj

+54-21
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2525
549D09D81D528D0A00C95E36 /* libCodePush.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 549D09CD1D528CDB00C95E36 /* libCodePush.a */; };
2626
549D09DA1D528D4D00C95E36 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 549D09D91D528D4D00C95E36 /* libz.tbd */; };
27+
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
2728
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
2829
/* End PBXBuildFile section */
2930

@@ -98,6 +99,20 @@
9899
remoteGlobalIDString = 134814201AA4EA6300B7C361;
99100
remoteInfo = CodePush;
100101
};
102+
5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
103+
isa = PBXContainerItemProxy;
104+
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
105+
proxyType = 2;
106+
remoteGlobalIDString = 134814201AA4EA6300B7C361;
107+
remoteInfo = RCTAnimation;
108+
};
109+
5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
110+
isa = PBXContainerItemProxy;
111+
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
112+
proxyType = 2;
113+
remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
114+
remoteInfo = "RCTAnimation-tvOS";
115+
};
101116
78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
102117
isa = PBXContainerItemProxy;
103118
containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
@@ -115,29 +130,30 @@
115130
/* End PBXContainerItemProxy section */
116131

117132
/* Begin PBXFileReference section */
118-
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = main.jsbundle; path = main.jsbundle; sourceTree = "<group>"; };
119-
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = ../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj; sourceTree = "<group>"; };
120-
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = ../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj; sourceTree = "<group>"; };
121-
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = ../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj; sourceTree = "<group>"; };
122-
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = ../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj; sourceTree = "<group>"; };
123-
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = ../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj; sourceTree = "<group>"; };
133+
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
134+
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
135+
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
136+
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
137+
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
138+
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
124139
00E356EE1AD99517003FC87E /* CodePushDemoAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CodePushDemoAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
125140
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
126141
00E356F21AD99517003FC87E /* CodePushDemoAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CodePushDemoAppTests.m; sourceTree = "<group>"; };
127-
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = ../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj; sourceTree = "<group>"; };
128-
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = ../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj; sourceTree = "<group>"; };
142+
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
143+
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
129144
13B07F961A680F5B00A75B9A /* CodePushDemoApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CodePushDemoApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
130145
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = CodePushDemoApp/AppDelegate.h; sourceTree = "<group>"; };
131146
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = CodePushDemoApp/AppDelegate.m; sourceTree = "<group>"; };
132147
13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
133148
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = CodePushDemoApp/Images.xcassets; sourceTree = "<group>"; };
134149
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = CodePushDemoApp/Info.plist; sourceTree = "<group>"; };
135150
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = CodePushDemoApp/main.m; sourceTree = "<group>"; };
136-
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = ../node_modules/react-native/React/React.xcodeproj; sourceTree = "<group>"; };
151+
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
137152
549D09C81D528CDB00C95E36 /* CodePush.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CodePush.xcodeproj; path = ../../../ios/CodePush.xcodeproj; sourceTree = "<group>"; };
138153
549D09D91D528D4D00C95E36 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
139-
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = ../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj; sourceTree = "<group>"; };
140-
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = ../node_modules/react-native/Libraries/Text/RCTText.xcodeproj; sourceTree = "<group>"; };
154+
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
155+
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
156+
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
141157
/* End PBXFileReference section */
142158

143159
/* Begin PBXFrameworksBuildPhase section */
@@ -155,6 +171,7 @@
155171
files = (
156172
549D09DA1D528D4D00C95E36 /* libz.tbd in Frameworks */,
157173
549D09D81D528D0A00C95E36 /* libCodePush.a in Frameworks */,
174+
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
158175
146834051AC3E58100842450 /* libReact.a in Frameworks */,
159176
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
160177
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
@@ -266,10 +283,12 @@
266283
name = Products;
267284
sourceTree = "<group>";
268285
};
269-
549D09C91D528CDB00C95E36 /* Products */ = {
286+
5E91572E1DD0AC6500FF2AA8 /* Products */ = {
270287
isa = PBXGroup;
271288
children = (
272289
549D09CD1D528CDB00C95E36 /* libCodePush.a */,
290+
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
291+
5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */,
273292
);
274293
name = Products;
275294
sourceTree = "<group>";
@@ -286,6 +305,7 @@
286305
isa = PBXGroup;
287306
children = (
288307
549D09C81D528CDB00C95E36 /* CodePush.xcodeproj */,
308+
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
289309
146833FF1AC3E56700842450 /* React.xcodeproj */,
290310
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
291311
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
@@ -404,6 +424,10 @@
404424
ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
405425
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
406426
},
427+
{
428+
ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
429+
ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
430+
},
407431
{
408432
ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
409433
ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
@@ -513,6 +537,20 @@
513537
remoteRef = 549D09CC1D528CDB00C95E36 /* PBXContainerItemProxy */;
514538
sourceTree = BUILT_PRODUCTS_DIR;
515539
};
540+
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
541+
isa = PBXReferenceProxy;
542+
fileType = archive.ar;
543+
path = libRCTAnimation.a;
544+
remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
545+
sourceTree = BUILT_PRODUCTS_DIR;
546+
};
547+
5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = {
548+
isa = PBXReferenceProxy;
549+
fileType = archive.ar;
550+
path = "libRCTAnimation-tvOS.a";
551+
remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
552+
sourceTree = BUILT_PRODUCTS_DIR;
553+
};
516554
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
517555
isa = PBXReferenceProxy;
518556
fileType = archive.ar;
@@ -562,7 +600,6 @@
562600
runOnlyForDeploymentPostprocessing = 0;
563601
shellPath = /bin/sh;
564602
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
565-
showEnvVarsInLog = 1;
566603
};
567604
/* End PBXShellScriptBuildPhase section */
568605

@@ -644,11 +681,9 @@
644681
DEAD_CODE_STRIPPING = NO;
645682
HEADER_SEARCH_PATHS = (
646683
"$(inherited)",
647-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
648-
"$(SRCROOT)/../node_modules/react-native/React/**",
649684
"$(SRCROOT)/../../../ios/**",
650685
);
651-
INFOPLIST_FILE = "CodePushDemoApp/Info.plist";
686+
INFOPLIST_FILE = CodePushDemoApp/Info.plist;
652687
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
653688
OTHER_LDFLAGS = (
654689
"$(inherited)",
@@ -667,11 +702,9 @@
667702
CURRENT_PROJECT_VERSION = 1;
668703
HEADER_SEARCH_PATHS = (
669704
"$(inherited)",
670-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
671-
"$(SRCROOT)/../node_modules/react-native/React/**",
672705
"$(SRCROOT)/../../../ios/**",
673706
);
674-
INFOPLIST_FILE = "CodePushDemoApp/Info.plist";
707+
INFOPLIST_FILE = CodePushDemoApp/Info.plist;
675708
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
676709
OTHER_LDFLAGS = (
677710
"$(inherited)",
@@ -719,8 +752,8 @@
719752
GCC_WARN_UNUSED_VARIABLE = YES;
720753
HEADER_SEARCH_PATHS = (
721754
"$(inherited)",
722-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
723755
"$(SRCROOT)/../node_modules/react-native/React/**",
756+
"$(SRCROOT)/../node_modules/react-native/ReactCommon/**",
724757
);
725758
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
726759
MTL_ENABLE_DEBUG_INFO = YES;
@@ -759,8 +792,8 @@
759792
GCC_WARN_UNUSED_VARIABLE = YES;
760793
HEADER_SEARCH_PATHS = (
761794
"$(inherited)",
762-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
763795
"$(SRCROOT)/../node_modules/react-native/React/**",
796+
"$(SRCROOT)/../node_modules/react-native/ReactCommon/**",
764797
);
765798
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
766799
MTL_ENABLE_DEBUG_INFO = NO;

Examples/CodePushDemoApp/iOS/CodePushDemoApp/Info.plist

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<key>NSLocationWhenInUseUsageDescription</key>
4040
<string></string>
4141
<key>NSAppTransportSecurity</key>
42+
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
4243
<dict>
4344
<key>NSExceptionDomains</key>
4445
<dict>

Examples/CodePushDemoApp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dependencies": {
99
"babel-preset-react-native-stage-0": "1.0.1",
1010
"react": "15.4.0",
11-
"react-native": "0.38.0",
11+
"react-native": "0.39.0",
1212
"react-native-code-push": "file:../../"
1313
}
1414
}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ We try our best to maintain backwards compatability of our plugin with previous
5353
| v0.29-v0.30 | v1.13.0+ *(RN refactored native hosting code)* |
5454
| v0.31-v0.33 | v1.14.6+ *(RN refactored native hosting code)* |
5555
| v0.34-v0.35 | v1.15.0+ *(RN refactored native hosting code)* |
56-
| v0.36-v0.38 | v1.16.0+ *(RN refactored resume handler)* |
57-
| v0.39+ | TBD :) We work hard to respond to new RN releases, but they do occasionally break us. We will update this chart with each RN release, so that users can check to see what our "official" support is.
56+
| v0.36-v0.39 | v1.16.0+ *(RN refactored resume handler)* |
57+
| v0.40+ | TBD :) We work hard to respond to new RN releases, but they do occasionally break us. We will update this chart with each RN release, so that users can check to see what our "official" support is.
5858

5959
## Supported Components
6060

0 commit comments

Comments
 (0)