File tree Expand file tree Collapse file tree 9 files changed +23
-10
lines changed Expand file tree Collapse file tree 9 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ npx react-native init MyApp --template react-native-template-typescript
3131
3232### Usage with older versions of React Native
3333
34- #### e.g. ` react-native@0.64 .x `
34+ #### e.g. ` react-native@0.65 .x `
3535
3636``` sh
37- npx react-native init MyApp --template react-native-template-typescript@6.6 .*
37+ npx react-native init MyApp --template react-native-template-typescript@6.7 .*
3838```
3939
4040See the below table to find out which version of the template to use.
@@ -43,6 +43,7 @@ See the below table to find out which version of the template to use.
4343
4444| React Native | Template |
4545| ------------ | -------- |
46+ | 0.66 | 6.8.\* |
4647| 0.65 | 6.7.\* |
4748| 0.64 | 6.6.\* |
4849| 0.63 | 6.5.\* |
Original file line number Diff line number Diff line change 2828.gradle
2929local.properties
3030*.iml
31+ *.hprof
3132
3233# node.js
3334#
Original file line number Diff line number Diff line change @@ -120,6 +120,11 @@ def jscFlavor = 'org.webkit:android-jsc:+'
120120 */
121121def enableHermes = project. ext. react. get(" enableHermes" , false );
122122
123+ /**
124+ * Architectures to build native code for in debug.
125+ */
126+ def nativeArchitectures = project. getProperties(). get(" reactNativeDebugArchitectures" )
127+
123128android {
124129 ndkVersion rootProject. ext. ndkVersion
125130
@@ -151,6 +156,11 @@ android {
151156 buildTypes {
152157 debug {
153158 signingConfig signingConfigs. debug
159+ if (nativeArchitectures) {
160+ ndk {
161+ abiFilters nativeArchitectures. split(' ,' )
162+ }
163+ }
154164 }
155165 release {
156166 // Caution! In production, you need to generate your own keystore file.
@@ -186,7 +196,7 @@ dependencies {
186196 implementation " androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
187197
188198 debugImplementation(" com.facebook.flipper:flipper:${ FLIPPER_VERSION} " ) {
189- exclude group :' com.facebook.fbjni'
199+ exclude group :' com.facebook.fbjni'
190200 }
191201
192202 debugImplementation(" com.facebook.flipper:flipper-network-plugin:${ FLIPPER_VERSION} " ) {
Original file line number Diff line number Diff line change 33 <!-- Base application theme. -->
44 <style name =" AppTheme" parent =" Theme.AppCompat.DayNight.NoActionBar" >
55 <!-- Customize your theme here. -->
6- <item name =" android:textColor" >#000000</item >
76 </style >
87
98</resources >
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ buildscript {
66 minSdkVersion = 21
77 compileSdkVersion = 30
88 targetSdkVersion = 30
9- ndkVersion = " 20.1.5948944 "
9+ ndkVersion = " 21.4.7075529 "
1010 }
1111 repositories {
1212 google()
1313 mavenCentral()
1414 }
1515 dependencies {
16- classpath(" com.android.tools.build:gradle:4.2.1 " )
16+ classpath(" com.android.tools.build:gradle:4.2.2 " )
1717 // NOTE: Do not place your application dependencies here; they belong
1818 // in the individual module build.gradle files
1919 }
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ android.useAndroidX=true
2525android.enableJetifier =true
2626
2727# Version of flipper SDK to use with React Native
28- FLIPPER_VERSION =0.93 .0
28+ FLIPPER_VERSION =0.99 .0
Original file line number Diff line number Diff line change 583583 "$(inherited)",
584584 );
585585 LIBRARY_SEARCH_PATHS = (
586+ "\"$(SDKROOT)/usr/lib/swift\"",
586587 "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
587588 "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
588589 "\"$(inherited)\"",
641642 "$(inherited)",
642643 );
643644 LIBRARY_SEARCH_PATHS = (
645+ "\"$(SDKROOT)/usr/lib/swift\"",
644646 "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
645647 "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
646648 "\"$(inherited)\"",
Original file line number Diff line number Diff line change @@ -25,5 +25,6 @@ target 'HelloWorld' do
2525
2626 post_install do |installer |
2727 react_native_post_install ( installer )
28+ __apply_Xcode_12_5_M1_post_install_workaround ( installer )
2829 end
2930end
Original file line number Diff line number Diff line change 1111 },
1212 "dependencies" : {
1313 "react" : " 17.0.2" ,
14- "react-native" : " 0.65.1 "
14+ "react-native" : " 0.66.0 "
1515 },
1616 "devDependencies" : {
1717 "@babel/core" : " ^7.12.9" ,
2323 "babel-jest" : " ^26.6.3" ,
2424 "eslint" : " ^7.14.0" ,
2525 "jest" : " ^26.6.3" ,
26- "metro-react-native-babel-preset" : " ^0.66.0" ,
27- "react-native-codegen" : " ^0.0.7" ,
26+ "metro-react-native-babel-preset" : " ^0.66.2" ,
2827 "react-test-renderer" : " 17.0.2" ,
2928 "typescript" : " ^3.8.3"
3029 },
You can’t perform that action at this time.
0 commit comments