Kaynağa Gözat

dont rely on global react-native

Daniel Zlotin 8 yıl önce
ebeveyn
işleme
b3cf38ce2a

+ 4
- 0
android/app/src/main/java/com/reactnativenavigation/Config.java Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+package com.reactnativenavigation;
2
+
3
+public class Config {
4
+}

+ 1
- 1
playground/package.json Dosyayı Görüntüle

@@ -4,7 +4,7 @@
4 4
   "private": true,
5 5
   "scripts": {
6 6
     "quickinstall": "node ./scripts/quickInstall.js",
7
-    "start": "adb reverse tcp:8081 tcp:8081; watchman watch-del-all; react-native start",
7
+    "start": "adb reverse tcp:8081 tcp:8081; watchman watch-del-all; node ./node_modules/react-native/local-cli/cli.js start",
8 8
     "xcode": "open ios/playground.xcodeproj",
9 9
     "android": "cd android && ./gradlew installDebug",
10 10
     "uninstall-android": "cd android && ./gradlew uninstallAll",