Browse Source

dont rely on global react-native

Daniel Zlotin 8 years ago
parent
commit
b3cf38ce2a

+ 4
- 0
android/app/src/main/java/com/reactnativenavigation/Config.java View File

1
+package com.reactnativenavigation;
2
+
3
+public class Config {
4
+}

+ 1
- 1
playground/package.json View File

4
   "private": true,
4
   "private": true,
5
   "scripts": {
5
   "scripts": {
6
     "quickinstall": "node ./scripts/quickInstall.js",
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
     "xcode": "open ios/playground.xcodeproj",
8
     "xcode": "open ios/playground.xcodeproj",
9
     "android": "cd android && ./gradlew installDebug",
9
     "android": "cd android && ./gradlew installDebug",
10
     "uninstall-android": "cd android && ./gradlew uninstallAll",
10
     "uninstall-android": "cd android && ./gradlew uninstallAll",