Преглед изворни кода

Update missingDimensionStrategy documentation

Coses #4466
Guy Carmeli пре 6 година
родитељ
комит
b6d3c8b4a2
1 измењених фајлова са 7 додато и 2 уклоњено
  1. 7
    2
      docs/docs/Installing.md

+ 7
- 2
docs/docs/Installing.md Прегледај датотеку

@@ -248,7 +248,7 @@ android {
248 248
         applicationId "com.yourproject"
249 249
         minSdkVersion rootProject.ext.minSdkVersion
250 250
         targetSdkVersion rootProject.ext.targetSdkVersion
251
-+        missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57"
251
++        missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57" // See note below!
252 252
         versionCode 1
253 253
         versionName "1.0"
254 254
         ...
@@ -257,7 +257,12 @@ android {
257 257
 }
258 258
 ```
259 259
 
260
-RNN only support react-native 0.51 (`"reactNative51"`), 0.55 (`"reactNative55"`), and 0.56 (`"reactNative56"`),
260
+!>Important note about `missingDimensionStrategy`<Br>
261
+>`reactNative51` - RN 0.54.x and below<Br>
262
+>`reactNative55` - RN 0.55.x<Br>
263
+>`reactNative56` - RN 0.56.x<Br>
264
+>`reactNative57` - RN 0.57.0 - 0.57.4<Br>
265
+>`reactNative57_5` - RN 0.57.5 and above<Br>
261 266
 
262 267
 Now we need to instruct gradle how to build that flavor. To do so here two solutions:
263 268