Browse Source

fixing playground

Daniel Zlotin 8 years ago
parent
commit
2c54470c34
33 changed files with 165 additions and 641 deletions
  1. 10
    10
      playground/commands.json
  2. 1
    1
      playground/index.android.js
  3. 1
    1
      playground/index.ios.js
  4. 0
    115
      playground/ios/example.xcodeproj/xcshareddata/xcschemes/example_Detox.xcscheme
  5. 0
    105
      playground/ios/example.xcodeproj/xcshareddata/xcschemes/example_release.xcscheme
  6. 52
    254
      playground/ios/playground.xcodeproj/project.pbxproj
  7. 18
    18
      playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme
  8. 0
    0
      playground/ios/playground/AppDelegate.h
  9. 1
    1
      playground/ios/playground/AppDelegate.m
  10. 10
    6
      playground/ios/playground/Base.lproj/LaunchScreen.xib
  11. 10
    0
      playground/ios/playground/Images.xcassets/AppIcon.appiconset/Contents.json
  12. 8
    10
      playground/ios/playground/Info.plist
  13. 0
    0
      playground/ios/playground/main.m
  14. 1
    1
      playground/ios/playgroundTests/Info.plist
  15. 0
    1
      playground/ios/playgroundTests/RNNViewControllerTests.m
  16. 2
    2
      playground/ios/playgroundTests/playgroundTests.m
  17. 4
    5
      playground/package.json
  18. 5
    0
      playground/scripts/postinstall.js
  19. 4
    4
      playground/src/__screens/CollapsingTopBarScreen.android.js
  20. 8
    8
      playground/src/__screens/FirstTabScreen.js
  21. 0
    0
      playground/src/__screens/LightBoxScreen.js
  22. 2
    2
      playground/src/__screens/ModalScreen.js
  23. 0
    0
      playground/src/__screens/NotificationScreen.js
  24. 3
    3
      playground/src/__screens/PushedScreen.js
  25. 1
    1
      playground/src/__screens/SecondTabScreen.js
  26. 1
    1
      playground/src/__screens/SideMenu.js
  27. 7
    7
      playground/src/__screens/StyledScreen.js
  28. 0
    0
      playground/src/__screens/index.android.js
  29. 0
    0
      playground/src/__screens/index.ios.js
  30. 7
    82
      playground/src/app.js
  31. 3
    0
      playground/src/index.js
  32. 3
    2
      src/index.js
  33. 3
    1
      src/index.test.js

+ 10
- 10
playground/commands.json View File

1
 {
1
 {
2
   "singleScreenApp": {
2
   "singleScreenApp": {
3
-    "screen": {
3
+    "container": {
4
       "key": "com.example.FirstTabScreen"
4
       "key": "com.example.FirstTabScreen"
5
     }
5
     }
6
   },
6
   },
7
   "tabBasedApp": {
7
   "tabBasedApp": {
8
     "tabs": [{
8
     "tabs": [{
9
-             "screen": {
9
+             "container": {
10
               "key": "com.example.FirstTabScreen"
10
               "key": "com.example.FirstTabScreen"
11
              }
11
              }
12
              }, {
12
              }, {
13
-             "screen": {
13
+             "container": {
14
               "key": "com.example.SecondTabScreen"
14
               "key": "com.example.SecondTabScreen"
15
              }
15
              }
16
              }, {
16
              }, {
17
-             "screen": {
17
+             "container": {
18
               "key": "com.example.FirstTabScreen"
18
               "key": "com.example.FirstTabScreen"
19
              }
19
              }
20
              }]
20
              }]
21
   },
21
   },
22
   "singleWithLeftSideMenu": {
22
   "singleWithLeftSideMenu": {
23
-    "screen": {
23
+    "container": {
24
       "key": "com.example.MyScreen"
24
       "key": "com.example.MyScreen"
25
     },
25
     },
26
     "sideMenu": {
26
     "sideMenu": {
30
     }
30
     }
31
   },
31
   },
32
   "singleWithRightSideMenu": {
32
   "singleWithRightSideMenu": {
33
-    "screen": {
33
+    "container": {
34
       "key": "com.example.MyScreen"
34
       "key": "com.example.MyScreen"
35
     },
35
     },
36
     "sideMenu": {
36
     "sideMenu": {
40
     }
40
     }
41
   },
41
   },
42
   "singleWithBothMenus": {
42
   "singleWithBothMenus": {
43
-    "screen": {
43
+    "container": {
44
       "key": "com.example.MyScreen"
44
       "key": "com.example.MyScreen"
45
     },
45
     },
46
     "sideMenu": {
46
     "sideMenu": {
54
   },
54
   },
55
   "tabBasedWithSideMenu": {
55
   "tabBasedWithSideMenu": {
56
     "tabs": [{
56
     "tabs": [{
57
-             "screen": {
57
+             "container": {
58
               "key": "com.example.FirstTabScreen"
58
               "key": "com.example.FirstTabScreen"
59
              }
59
              }
60
              }, {
60
              }, {
61
-             "screen": {
61
+             "container": {
62
               "key": "com.example.SecondTabScreen"
62
               "key": "com.example.SecondTabScreen"
63
              }
63
              }
64
              }, {
64
              }, {
65
-             "screen": {
65
+             "container": {
66
               "key": "com.example.FirstTabScreen"
66
               "key": "com.example.FirstTabScreen"
67
              }
67
              }
68
              }],
68
              }],

+ 1
- 1
playground/index.android.js View File

1
-import App from './src/app';
1
+require('./src/index');

+ 1
- 1
playground/index.ios.js View File

1
-import App from './src/app';
1
+require('./src/index');

+ 0
- 115
playground/ios/example.xcodeproj/xcshareddata/xcschemes/example_Detox.xcscheme View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Scheme
3
-   LastUpgradeVersion = "0620"
4
-   version = "1.3">
5
-   <BuildAction
6
-      parallelizeBuildables = "YES"
7
-      buildImplicitDependencies = "YES">
8
-      <BuildActionEntries>
9
-         <BuildActionEntry
10
-            buildForTesting = "YES"
11
-            buildForRunning = "YES"
12
-            buildForProfiling = "YES"
13
-            buildForArchiving = "YES"
14
-            buildForAnalyzing = "YES">
15
-            <BuildableReference
16
-               BuildableIdentifier = "primary"
17
-               BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
-               BuildableName = "example.app"
19
-               BlueprintName = "example"
20
-               ReferencedContainer = "container:example.xcodeproj">
21
-            </BuildableReference>
22
-         </BuildActionEntry>
23
-         <BuildActionEntry
24
-            buildForTesting = "YES"
25
-            buildForRunning = "YES"
26
-            buildForProfiling = "NO"
27
-            buildForArchiving = "NO"
28
-            buildForAnalyzing = "YES">
29
-            <BuildableReference
30
-               BuildableIdentifier = "primary"
31
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
32
-               BuildableName = "exampleTests.xctest"
33
-               BlueprintName = "exampleTests"
34
-               ReferencedContainer = "container:example.xcodeproj">
35
-            </BuildableReference>
36
-         </BuildActionEntry>
37
-      </BuildActionEntries>
38
-   </BuildAction>
39
-   <TestAction
40
-      buildConfiguration = "Debug"
41
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43
-      shouldUseLaunchSchemeArgsEnv = "YES">
44
-      <Testables>
45
-         <TestableReference
46
-            skipped = "NO">
47
-            <BuildableReference
48
-               BuildableIdentifier = "primary"
49
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
50
-               BuildableName = "exampleTests.xctest"
51
-               BlueprintName = "exampleTests"
52
-               ReferencedContainer = "container:example.xcodeproj">
53
-            </BuildableReference>
54
-         </TestableReference>
55
-      </Testables>
56
-      <MacroExpansion>
57
-         <BuildableReference
58
-            BuildableIdentifier = "primary"
59
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
60
-            BuildableName = "example.app"
61
-            BlueprintName = "example"
62
-            ReferencedContainer = "container:example.xcodeproj">
63
-         </BuildableReference>
64
-      </MacroExpansion>
65
-      <AdditionalOptions>
66
-      </AdditionalOptions>
67
-   </TestAction>
68
-   <LaunchAction
69
-      buildConfiguration = "Debug_Detox"
70
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
71
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
72
-      launchStyle = "0"
73
-      useCustomWorkingDirectory = "NO"
74
-      ignoresPersistentStateOnLaunch = "NO"
75
-      debugDocumentVersioning = "YES"
76
-      debugServiceExtension = "internal"
77
-      allowLocationSimulation = "YES">
78
-      <BuildableProductRunnable
79
-         runnableDebuggingMode = "0">
80
-         <BuildableReference
81
-            BuildableIdentifier = "primary"
82
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
83
-            BuildableName = "example.app"
84
-            BlueprintName = "example"
85
-            ReferencedContainer = "container:example.xcodeproj">
86
-         </BuildableReference>
87
-      </BuildableProductRunnable>
88
-      <AdditionalOptions>
89
-      </AdditionalOptions>
90
-   </LaunchAction>
91
-   <ProfileAction
92
-      buildConfiguration = "Release"
93
-      shouldUseLaunchSchemeArgsEnv = "YES"
94
-      savedToolIdentifier = ""
95
-      useCustomWorkingDirectory = "NO"
96
-      debugDocumentVersioning = "YES">
97
-      <BuildableProductRunnable
98
-         runnableDebuggingMode = "0">
99
-         <BuildableReference
100
-            BuildableIdentifier = "primary"
101
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
102
-            BuildableName = "example.app"
103
-            BlueprintName = "example"
104
-            ReferencedContainer = "container:example.xcodeproj">
105
-         </BuildableReference>
106
-      </BuildableProductRunnable>
107
-   </ProfileAction>
108
-   <AnalyzeAction
109
-      buildConfiguration = "Debug">
110
-   </AnalyzeAction>
111
-   <ArchiveAction
112
-      buildConfiguration = "Release"
113
-      revealArchiveInOrganizer = "YES">
114
-   </ArchiveAction>
115
-</Scheme>

+ 0
- 105
playground/ios/example.xcodeproj/xcshareddata/xcschemes/example_release.xcscheme View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Scheme
3
-   LastUpgradeVersion = "0620"
4
-   version = "1.3">
5
-   <BuildAction
6
-      parallelizeBuildables = "YES"
7
-      buildImplicitDependencies = "YES">
8
-      <BuildActionEntries>
9
-         <BuildActionEntry
10
-            buildForTesting = "YES"
11
-            buildForRunning = "YES"
12
-            buildForProfiling = "YES"
13
-            buildForArchiving = "YES"
14
-            buildForAnalyzing = "YES">
15
-            <BuildableReference
16
-               BuildableIdentifier = "primary"
17
-               BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
-               BuildableName = "example.app"
19
-               BlueprintName = "example"
20
-               ReferencedContainer = "container:example.xcodeproj">
21
-            </BuildableReference>
22
-         </BuildActionEntry>
23
-         <BuildActionEntry
24
-            buildForTesting = "YES"
25
-            buildForRunning = "YES"
26
-            buildForProfiling = "NO"
27
-            buildForArchiving = "NO"
28
-            buildForAnalyzing = "YES">
29
-            <BuildableReference
30
-               BuildableIdentifier = "primary"
31
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
32
-               BuildableName = "exampleTests.xctest"
33
-               BlueprintName = "exampleTests"
34
-               ReferencedContainer = "container:example.xcodeproj">
35
-            </BuildableReference>
36
-         </BuildActionEntry>
37
-      </BuildActionEntries>
38
-   </BuildAction>
39
-   <TestAction
40
-      buildConfiguration = "Release"
41
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43
-      shouldUseLaunchSchemeArgsEnv = "YES">
44
-      <Testables>
45
-      </Testables>
46
-      <MacroExpansion>
47
-         <BuildableReference
48
-            BuildableIdentifier = "primary"
49
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
50
-            BuildableName = "example.app"
51
-            BlueprintName = "example"
52
-            ReferencedContainer = "container:example.xcodeproj">
53
-         </BuildableReference>
54
-      </MacroExpansion>
55
-      <AdditionalOptions>
56
-      </AdditionalOptions>
57
-   </TestAction>
58
-   <LaunchAction
59
-      buildConfiguration = "Release"
60
-      selectedDebuggerIdentifier = ""
61
-      selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
62
-      launchStyle = "0"
63
-      useCustomWorkingDirectory = "NO"
64
-      ignoresPersistentStateOnLaunch = "NO"
65
-      debugDocumentVersioning = "YES"
66
-      debugServiceExtension = "internal"
67
-      allowLocationSimulation = "YES">
68
-      <BuildableProductRunnable
69
-         runnableDebuggingMode = "0">
70
-         <BuildableReference
71
-            BuildableIdentifier = "primary"
72
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
73
-            BuildableName = "example.app"
74
-            BlueprintName = "example"
75
-            ReferencedContainer = "container:example.xcodeproj">
76
-         </BuildableReference>
77
-      </BuildableProductRunnable>
78
-      <AdditionalOptions>
79
-      </AdditionalOptions>
80
-   </LaunchAction>
81
-   <ProfileAction
82
-      buildConfiguration = "Release"
83
-      shouldUseLaunchSchemeArgsEnv = "YES"
84
-      savedToolIdentifier = ""
85
-      useCustomWorkingDirectory = "NO"
86
-      debugDocumentVersioning = "YES">
87
-      <BuildableProductRunnable
88
-         runnableDebuggingMode = "0">
89
-         <BuildableReference
90
-            BuildableIdentifier = "primary"
91
-            BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
92
-            BuildableName = "example.app"
93
-            BlueprintName = "example"
94
-            ReferencedContainer = "container:example.xcodeproj">
95
-         </BuildableReference>
96
-      </BuildableProductRunnable>
97
-   </ProfileAction>
98
-   <AnalyzeAction
99
-      buildConfiguration = "Release">
100
-   </AnalyzeAction>
101
-   <ArchiveAction
102
-      buildConfiguration = "Release"
103
-      revealArchiveInOrganizer = "YES">
104
-   </ArchiveAction>
105
-</Scheme>

playground/ios/example.xcodeproj/project.pbxproj → playground/ios/playground.xcodeproj/project.pbxproj View File

12
 		00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
12
 		00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13
 		00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
13
 		00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14
 		00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
14
 		00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15
-		00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
15
+		00E356F31AD99517003FC87E /* playgroundTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* playgroundTests.m */; };
16
 		133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
16
 		133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17
 		139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
17
 		139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18
 		139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
18
 		139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
21
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
21
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
22
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23
 		146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
23
 		146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24
-		263617451E1151D300D88A13 /* commands.json in Resources */ = {isa = PBXBuildFile; fileRef = 2636F1D51E114FF5007ABB09 /* commands.json */; };
25
 		2636F1CD1E11309B007ABB09 /* RNNViewControllerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */; };
24
 		2636F1CD1E11309B007ABB09 /* RNNViewControllerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */; };
26
-		2636F1D61E114FF5007ABB09 /* commands.json in Resources */ = {isa = PBXBuildFile; fileRef = 2636F1D51E114FF5007ABB09 /* commands.json */; };
27
 		2647D65F1DB175C200B23722 /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2647D65E1DB175B300B23722 /* libReactNativeNavigation.a */; };
25
 		2647D65F1DB175C200B23722 /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2647D65E1DB175B300B23722 /* libReactNativeNavigation.a */; };
28
 		7B9B39861DEB4091004A6281 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B9B39631DEB4076004A6281 /* libRCTAnimation.a */; };
26
 		7B9B39861DEB4091004A6281 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B9B39631DEB4076004A6281 /* libRCTAnimation.a */; };
29
 		832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
27
 		832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
180
 /* End PBXContainerItemProxy section */
178
 /* End PBXContainerItemProxy section */
181
 
179
 
182
 /* Begin PBXFileReference section */
180
 /* Begin PBXFileReference section */
183
-		008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
184
 		00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
181
 		00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
185
 		00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
182
 		00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
186
 		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
183
 		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
187
 		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
184
 		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
188
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
185
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
189
-		00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
186
+		00E356EE1AD99517003FC87E /* playgroundTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = playgroundTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
190
 		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
187
 		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
191
-		00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = "<group>"; };
188
+		00E356F21AD99517003FC87E /* playgroundTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = playgroundTests.m; sourceTree = "<group>"; };
192
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
189
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
193
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
190
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
194
-		13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
195
-		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = "<group>"; };
196
-		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = "<group>"; };
191
+		13B07F961A680F5B00A75B9A /* playground.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = playground.app; sourceTree = BUILT_PRODUCTS_DIR; };
192
+		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
193
+		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
197
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
194
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
198
-		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = "<group>"; };
199
-		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = "<group>"; };
200
-		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = "<group>"; };
195
+		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
196
+		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
197
+		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
201
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
198
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
202
 		2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNViewControllerTests.m; sourceTree = "<group>"; };
199
 		2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNViewControllerTests.m; sourceTree = "<group>"; };
203
-		2636F1D51E114FF5007ABB09 /* commands.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = commands.json; path = "../node_modules/react-native-navigation/example/commands.json"; sourceTree = "<group>"; };
204
 		2647D6591DB175B300B23722 /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = "../node_modules/react-native-navigation/ios/ReactNativeNavigation.xcodeproj"; sourceTree = "<group>"; };
200
 		2647D6591DB175B300B23722 /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = "../node_modules/react-native-navigation/ios/ReactNativeNavigation.xcodeproj"; sourceTree = "<group>"; };
205
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
201
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
206
 		7B9B395C1DEB4076004A6281 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
202
 		7B9B395C1DEB4076004A6281 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
279
 			name = Products;
275
 			name = Products;
280
 			sourceTree = "<group>";
276
 			sourceTree = "<group>";
281
 		};
277
 		};
282
-		00E356EF1AD99517003FC87E /* exampleTests */ = {
278
+		00E356EF1AD99517003FC87E /* playgroundTests */ = {
283
 			isa = PBXGroup;
279
 			isa = PBXGroup;
284
 			children = (
280
 			children = (
285
-				00E356F21AD99517003FC87E /* exampleTests.m */,
281
+				00E356F21AD99517003FC87E /* playgroundTests.m */,
286
 				2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */,
282
 				2636F1CC1E11309B007ABB09 /* RNNViewControllerTests.m */,
287
 				00E356F01AD99517003FC87E /* Supporting Files */,
283
 				00E356F01AD99517003FC87E /* Supporting Files */,
288
 			);
284
 			);
289
-			path = exampleTests;
285
+			path = playgroundTests;
290
 			sourceTree = "<group>";
286
 			sourceTree = "<group>";
291
 		};
287
 		};
292
 		00E356F01AD99517003FC87E /* Supporting Files */ = {
288
 		00E356F01AD99517003FC87E /* Supporting Files */ = {
315
 			name = Products;
311
 			name = Products;
316
 			sourceTree = "<group>";
312
 			sourceTree = "<group>";
317
 		};
313
 		};
318
-		13B07FAE1A68108700A75B9A /* example */ = {
314
+		13B07FAE1A68108700A75B9A /* playground */ = {
319
 			isa = PBXGroup;
315
 			isa = PBXGroup;
320
 			children = (
316
 			children = (
321
-				2636F1D51E114FF5007ABB09 /* commands.json */,
322
-				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
323
 				13B07FAF1A68108700A75B9A /* AppDelegate.h */,
317
 				13B07FAF1A68108700A75B9A /* AppDelegate.h */,
324
 				13B07FB01A68108700A75B9A /* AppDelegate.m */,
318
 				13B07FB01A68108700A75B9A /* AppDelegate.m */,
325
 				13B07FB51A68108700A75B9A /* Images.xcassets */,
319
 				13B07FB51A68108700A75B9A /* Images.xcassets */,
327
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
321
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
328
 				13B07FB71A68108700A75B9A /* main.m */,
322
 				13B07FB71A68108700A75B9A /* main.m */,
329
 			);
323
 			);
330
-			name = example;
324
+			path = playground;
331
 			sourceTree = "<group>";
325
 			sourceTree = "<group>";
332
 		};
326
 		};
333
 		146834001AC3E56700842450 /* Products */ = {
327
 		146834001AC3E56700842450 /* Products */ = {
396
 		83CBB9F61A601CBA00E9B192 = {
390
 		83CBB9F61A601CBA00E9B192 = {
397
 			isa = PBXGroup;
391
 			isa = PBXGroup;
398
 			children = (
392
 			children = (
399
-				13B07FAE1A68108700A75B9A /* example */,
393
+				13B07FAE1A68108700A75B9A /* playground */,
400
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
394
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
401
-				00E356EF1AD99517003FC87E /* exampleTests */,
395
+				00E356EF1AD99517003FC87E /* playgroundTests */,
402
 				83CBBA001A601CBA00E9B192 /* Products */,
396
 				83CBBA001A601CBA00E9B192 /* Products */,
403
 			);
397
 			);
404
 			indentWidth = 2;
398
 			indentWidth = 2;
408
 		83CBBA001A601CBA00E9B192 /* Products */ = {
402
 		83CBBA001A601CBA00E9B192 /* Products */ = {
409
 			isa = PBXGroup;
403
 			isa = PBXGroup;
410
 			children = (
404
 			children = (
411
-				13B07F961A680F5B00A75B9A /* example.app */,
412
-				00E356EE1AD99517003FC87E /* exampleTests.xctest */,
405
+				13B07F961A680F5B00A75B9A /* playground.app */,
406
+				00E356EE1AD99517003FC87E /* playgroundTests.xctest */,
413
 			);
407
 			);
414
 			name = Products;
408
 			name = Products;
415
 			sourceTree = "<group>";
409
 			sourceTree = "<group>";
417
 /* End PBXGroup section */
411
 /* End PBXGroup section */
418
 
412
 
419
 /* Begin PBXNativeTarget section */
413
 /* Begin PBXNativeTarget section */
420
-		00E356ED1AD99517003FC87E /* exampleTests */ = {
414
+		00E356ED1AD99517003FC87E /* playgroundTests */ = {
421
 			isa = PBXNativeTarget;
415
 			isa = PBXNativeTarget;
422
-			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
416
+			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "playgroundTests" */;
423
 			buildPhases = (
417
 			buildPhases = (
424
 				00E356EA1AD99517003FC87E /* Sources */,
418
 				00E356EA1AD99517003FC87E /* Sources */,
425
 				00E356EB1AD99517003FC87E /* Frameworks */,
419
 				00E356EB1AD99517003FC87E /* Frameworks */,
430
 			dependencies = (
424
 			dependencies = (
431
 				00E356F51AD99517003FC87E /* PBXTargetDependency */,
425
 				00E356F51AD99517003FC87E /* PBXTargetDependency */,
432
 			);
426
 			);
433
-			name = exampleTests;
427
+			name = playgroundTests;
434
 			productName = exampleTests;
428
 			productName = exampleTests;
435
-			productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
429
+			productReference = 00E356EE1AD99517003FC87E /* playgroundTests.xctest */;
436
 			productType = "com.apple.product-type.bundle.unit-test";
430
 			productType = "com.apple.product-type.bundle.unit-test";
437
 		};
431
 		};
438
-		13B07F861A680F5B00A75B9A /* example */ = {
432
+		13B07F861A680F5B00A75B9A /* playground */ = {
439
 			isa = PBXNativeTarget;
433
 			isa = PBXNativeTarget;
440
-			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
434
+			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */;
441
 			buildPhases = (
435
 			buildPhases = (
442
 				13B07F871A680F5B00A75B9A /* Sources */,
436
 				13B07F871A680F5B00A75B9A /* Sources */,
443
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
437
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
449
 			);
443
 			);
450
 			dependencies = (
444
 			dependencies = (
451
 			);
445
 			);
452
-			name = example;
446
+			name = playground;
453
 			productName = "Hello World";
447
 			productName = "Hello World";
454
-			productReference = 13B07F961A680F5B00A75B9A /* example.app */;
448
+			productReference = 13B07F961A680F5B00A75B9A /* playground.app */;
455
 			productType = "com.apple.product-type.application";
449
 			productType = "com.apple.product-type.application";
456
 		};
450
 		};
457
 /* End PBXNativeTarget section */
451
 /* End PBXNativeTarget section */
467
 						CreatedOnToolsVersion = 6.2;
461
 						CreatedOnToolsVersion = 6.2;
468
 						TestTargetID = 13B07F861A680F5B00A75B9A;
462
 						TestTargetID = 13B07F861A680F5B00A75B9A;
469
 					};
463
 					};
464
+					13B07F861A680F5B00A75B9A = {
465
+						ProvisioningStyle = Manual;
466
+					};
470
 				};
467
 				};
471
 			};
468
 			};
472
-			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
469
+			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "playground" */;
473
 			compatibilityVersion = "Xcode 3.2";
470
 			compatibilityVersion = "Xcode 3.2";
474
 			developmentRegion = English;
471
 			developmentRegion = English;
475
 			hasScannedForEncodings = 0;
472
 			hasScannedForEncodings = 0;
532
 			);
529
 			);
533
 			projectRoot = "";
530
 			projectRoot = "";
534
 			targets = (
531
 			targets = (
535
-				13B07F861A680F5B00A75B9A /* example */,
536
-				00E356ED1AD99517003FC87E /* exampleTests */,
532
+				13B07F861A680F5B00A75B9A /* playground */,
533
+				00E356ED1AD99517003FC87E /* playgroundTests */,
537
 			);
534
 			);
538
 		};
535
 		};
539
 /* End PBXProject section */
536
 /* End PBXProject section */
686
 			isa = PBXResourcesBuildPhase;
683
 			isa = PBXResourcesBuildPhase;
687
 			buildActionMask = 2147483647;
684
 			buildActionMask = 2147483647;
688
 			files = (
685
 			files = (
689
-				2636F1D61E114FF5007ABB09 /* commands.json in Resources */,
690
 			);
686
 			);
691
 			runOnlyForDeploymentPostprocessing = 0;
687
 			runOnlyForDeploymentPostprocessing = 0;
692
 		};
688
 		};
694
 			isa = PBXResourcesBuildPhase;
690
 			isa = PBXResourcesBuildPhase;
695
 			buildActionMask = 2147483647;
691
 			buildActionMask = 2147483647;
696
 			files = (
692
 			files = (
697
-				263617451E1151D300D88A13 /* commands.json in Resources */,
698
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
693
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
699
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
694
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
700
 			);
695
 			);
738
 			isa = PBXSourcesBuildPhase;
733
 			isa = PBXSourcesBuildPhase;
739
 			buildActionMask = 2147483647;
734
 			buildActionMask = 2147483647;
740
 			files = (
735
 			files = (
741
-				00E356F31AD99517003FC87E /* exampleTests.m in Sources */,
736
+				00E356F31AD99517003FC87E /* playgroundTests.m in Sources */,
742
 				2636F1CD1E11309B007ABB09 /* RNNViewControllerTests.m in Sources */,
737
 				2636F1CD1E11309B007ABB09 /* RNNViewControllerTests.m in Sources */,
743
 			);
738
 			);
744
 			runOnlyForDeploymentPostprocessing = 0;
739
 			runOnlyForDeploymentPostprocessing = 0;
757
 /* Begin PBXTargetDependency section */
752
 /* Begin PBXTargetDependency section */
758
 		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
753
 		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
759
 			isa = PBXTargetDependency;
754
 			isa = PBXTargetDependency;
760
-			target = 13B07F861A680F5B00A75B9A /* example */;
755
+			target = 13B07F861A680F5B00A75B9A /* playground */;
761
 			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
756
 			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
762
 		};
757
 		};
763
 /* End PBXTargetDependency section */
758
 /* End PBXTargetDependency section */
769
 				13B07FB21A68108700A75B9A /* Base */,
764
 				13B07FB21A68108700A75B9A /* Base */,
770
 			);
765
 			);
771
 			name = LaunchScreen.xib;
766
 			name = LaunchScreen.xib;
772
-			path = example;
773
 			sourceTree = "<group>";
767
 			sourceTree = "<group>";
774
 		};
768
 		};
775
 /* End PBXVariantGroup section */
769
 /* End PBXVariantGroup section */
793
 					"$(SRCROOT)/../node_modules/react-native/React/**",
787
 					"$(SRCROOT)/../node_modules/react-native/React/**",
794
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
788
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
795
 				);
789
 				);
796
-				INFOPLIST_FILE = exampleTests/Info.plist;
790
+				INFOPLIST_FILE = playgroundTests/Info.plist;
797
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
791
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
798
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
792
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
799
 				PRODUCT_NAME = "$(TARGET_NAME)";
793
 				PRODUCT_NAME = "$(TARGET_NAME)";
800
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
794
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground";
801
 			};
795
 			};
802
 			name = Debug;
796
 			name = Debug;
803
 		};
797
 		};
816
 					"$(SRCROOT)/../node_modules/react-native/React/**",
810
 					"$(SRCROOT)/../node_modules/react-native/React/**",
817
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
811
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
818
 				);
812
 				);
819
-				INFOPLIST_FILE = exampleTests/Info.plist;
813
+				INFOPLIST_FILE = playgroundTests/Info.plist;
820
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
814
 				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
821
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
815
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
822
 				PRODUCT_NAME = "$(TARGET_NAME)";
816
 				PRODUCT_NAME = "$(TARGET_NAME)";
823
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
817
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground";
824
 			};
818
 			};
825
 			name = Release;
819
 			name = Release;
826
 		};
820
 		};
829
 			buildSettings = {
823
 			buildSettings = {
830
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
824
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
831
 				DEAD_CODE_STRIPPING = NO;
825
 				DEAD_CODE_STRIPPING = NO;
826
+				DEVELOPMENT_TEAM = "";
832
 				HEADER_SEARCH_PATHS = (
827
 				HEADER_SEARCH_PATHS = (
833
 					"$(inherited)",
828
 					"$(inherited)",
834
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
829
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
835
 					"$(SRCROOT)/../node_modules/react-native/React/**",
830
 					"$(SRCROOT)/../node_modules/react-native/React/**",
836
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
831
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
837
 				);
832
 				);
838
-				INFOPLIST_FILE = example/Info.plist;
833
+				INFOPLIST_FILE = playground/Info.plist;
839
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
834
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
840
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
835
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
841
 				OTHER_LDFLAGS = (
836
 				OTHER_LDFLAGS = (
842
 					"-ObjC",
837
 					"-ObjC",
843
 					"-l\"c++\"",
838
 					"-l\"c++\"",
844
 				);
839
 				);
845
-				PRODUCT_NAME = example;
840
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativenavigation.playground;
841
+				PRODUCT_NAME = playground;
846
 			};
842
 			};
847
 			name = Debug;
843
 			name = Debug;
848
 		};
844
 		};
850
 			isa = XCBuildConfiguration;
846
 			isa = XCBuildConfiguration;
851
 			buildSettings = {
847
 			buildSettings = {
852
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
848
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
849
+				DEVELOPMENT_TEAM = "";
853
 				HEADER_SEARCH_PATHS = (
850
 				HEADER_SEARCH_PATHS = (
854
 					"$(inherited)",
851
 					"$(inherited)",
855
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
852
 					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
856
 					"$(SRCROOT)/../node_modules/react-native/React/**",
853
 					"$(SRCROOT)/../node_modules/react-native/React/**",
857
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
854
 					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
858
 				);
855
 				);
859
-				INFOPLIST_FILE = example/Info.plist;
856
+				INFOPLIST_FILE = playground/Info.plist;
860
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
857
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
861
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
858
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
862
 				OTHER_LDFLAGS = (
859
 				OTHER_LDFLAGS = (
863
 					"-ObjC",
860
 					"-ObjC",
864
 					"-l\"c++\"",
861
 					"-l\"c++\"",
865
 				);
862
 				);
866
-				PRODUCT_NAME = example;
863
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativenavigation.playground;
864
+				PRODUCT_NAME = playground;
867
 			};
865
 			};
868
 			name = Release;
866
 			name = Release;
869
 		};
867
 		};
870
-		2C24A1398D388E120DDC2CA1 /* Debug_Detox */ = {
871
-			isa = XCBuildConfiguration;
872
-			buildSettings = {
873
-				ALWAYS_SEARCH_USER_PATHS = NO;
874
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
875
-				CLANG_CXX_LIBRARY = "libc++";
876
-				CLANG_ENABLE_MODULES = YES;
877
-				CLANG_ENABLE_OBJC_ARC = YES;
878
-				CLANG_WARN_BOOL_CONVERSION = YES;
879
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
880
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
881
-				CLANG_WARN_EMPTY_BODY = YES;
882
-				CLANG_WARN_ENUM_CONVERSION = YES;
883
-				CLANG_WARN_INT_CONVERSION = YES;
884
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
885
-				CLANG_WARN_UNREACHABLE_CODE = YES;
886
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
887
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
888
-				COPY_PHASE_STRIP = NO;
889
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
890
-				GCC_C_LANGUAGE_STANDARD = gnu99;
891
-				GCC_DYNAMIC_NO_PIC = NO;
892
-				GCC_OPTIMIZATION_LEVEL = 0;
893
-				GCC_PREPROCESSOR_DEFINITIONS = (
894
-					"DEBUG=1",
895
-					"$(inherited)",
896
-				);
897
-				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
898
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
899
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
900
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
901
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
902
-				GCC_WARN_UNUSED_FUNCTION = YES;
903
-				GCC_WARN_UNUSED_VARIABLE = YES;
904
-				HEADER_SEARCH_PATHS = (
905
-					"$(inherited)",
906
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
907
-					"$(SRCROOT)/../node_modules/react-native/React/**",
908
-				);
909
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
910
-				MTL_ENABLE_DEBUG_INFO = YES;
911
-				ONLY_ACTIVE_ARCH = YES;
912
-				OTHER_LDFLAGS = "";
913
-				SDKROOT = iphoneos;
914
-			};
915
-			name = Debug_Detox;
916
-		};
917
-		5627D4C51CEC610E1744267F /* Debug_Detox */ = {
918
-			isa = XCBuildConfiguration;
919
-			buildSettings = {
920
-				BUNDLE_LOADER = "$(TEST_HOST)";
921
-				FRAMEWORK_SEARCH_PATHS = (
922
-					"$(SDKROOT)/Developer/Library/Frameworks",
923
-					"$(inherited)",
924
-				);
925
-				GCC_PREPROCESSOR_DEFINITIONS = (
926
-					"DEBUG=1",
927
-					"$(inherited)",
928
-				);
929
-				HEADER_SEARCH_PATHS = (
930
-					"$(inherited)",
931
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
932
-					"$(SRCROOT)/../node_modules/react-native/React/**",
933
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
934
-				);
935
-				INFOPLIST_FILE = exampleTests/Info.plist;
936
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
937
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
938
-				PRODUCT_NAME = "$(TARGET_NAME)";
939
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
940
-			};
941
-			name = Debug_Detox;
942
-		};
943
 		83CBBA201A601CBA00E9B192 /* Debug */ = {
868
 		83CBBA201A601CBA00E9B192 /* Debug */ = {
944
 			isa = XCBuildConfiguration;
869
 			isa = XCBuildConfiguration;
945
 			buildSettings = {
870
 			buildSettings = {
1028
 			};
953
 			};
1029
 			name = Release;
954
 			name = Release;
1030
 		};
955
 		};
1031
-		96FA810D67E56FD9D43906E6 /* Release_Detox */ = {
1032
-			isa = XCBuildConfiguration;
1033
-			buildSettings = {
1034
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1035
-				DEPLOY_DETOX_FRAMEWORK = YES;
1036
-				FRAMEWORK_SEARCH_PATHS = (
1037
-					"$(inherited)",
1038
-					"$(PROJECT_DIR)/../node_modules/detox",
1039
-				);
1040
-				HEADER_SEARCH_PATHS = (
1041
-					"$(inherited)",
1042
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1043
-					"$(SRCROOT)/../node_modules/react-native/React/**",
1044
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
1045
-				);
1046
-				INFOPLIST_FILE = example/Info.plist;
1047
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1048
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1049
-				OTHER_LDFLAGS = (
1050
-					"-ObjC",
1051
-					"-l\"c++\"",
1052
-					"-framework",
1053
-					Detox,
1054
-				);
1055
-				PRODUCT_NAME = example;
1056
-			};
1057
-			name = Release_Detox;
1058
-		};
1059
-		BEB8EFA9FD7A9DCE32773C1C /* Debug_Detox */ = {
1060
-			isa = XCBuildConfiguration;
1061
-			buildSettings = {
1062
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1063
-				DEAD_CODE_STRIPPING = NO;
1064
-				DEPLOY_DETOX_FRAMEWORK = YES;
1065
-				FRAMEWORK_SEARCH_PATHS = (
1066
-					"$(inherited)",
1067
-					"$(PROJECT_DIR)/../node_modules/detox",
1068
-				);
1069
-				HEADER_SEARCH_PATHS = (
1070
-					"$(inherited)",
1071
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1072
-					"$(SRCROOT)/../node_modules/react-native/React/**",
1073
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
1074
-				);
1075
-				INFOPLIST_FILE = example/Info.plist;
1076
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1077
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1078
-				OTHER_LDFLAGS = (
1079
-					"-ObjC",
1080
-					"-l\"c++\"",
1081
-					"-framework",
1082
-					Detox,
1083
-				);
1084
-				PRODUCT_NAME = example;
1085
-			};
1086
-			name = Debug_Detox;
1087
-		};
1088
-		E53E50BD43A56CF67FAAD3A5 /* Release_Detox */ = {
1089
-			isa = XCBuildConfiguration;
1090
-			buildSettings = {
1091
-				BUNDLE_LOADER = "$(TEST_HOST)";
1092
-				COPY_PHASE_STRIP = NO;
1093
-				FRAMEWORK_SEARCH_PATHS = (
1094
-					"$(SDKROOT)/Developer/Library/Frameworks",
1095
-					"$(inherited)",
1096
-				);
1097
-				HEADER_SEARCH_PATHS = (
1098
-					"$(inherited)",
1099
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1100
-					"$(SRCROOT)/../node_modules/react-native/React/**",
1101
-					"$(SRCROOT)/../node_modules/react-native-navigation/ios/**",
1102
-				);
1103
-				INFOPLIST_FILE = exampleTests/Info.plist;
1104
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
1105
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1106
-				PRODUCT_NAME = "$(TARGET_NAME)";
1107
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1108
-			};
1109
-			name = Release_Detox;
1110
-		};
1111
-		EAA4DC359BE7739594666868 /* Release_Detox */ = {
1112
-			isa = XCBuildConfiguration;
1113
-			buildSettings = {
1114
-				ALWAYS_SEARCH_USER_PATHS = NO;
1115
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1116
-				CLANG_CXX_LIBRARY = "libc++";
1117
-				CLANG_ENABLE_MODULES = YES;
1118
-				CLANG_ENABLE_OBJC_ARC = YES;
1119
-				CLANG_WARN_BOOL_CONVERSION = YES;
1120
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
1121
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1122
-				CLANG_WARN_EMPTY_BODY = YES;
1123
-				CLANG_WARN_ENUM_CONVERSION = YES;
1124
-				CLANG_WARN_INT_CONVERSION = YES;
1125
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1126
-				CLANG_WARN_UNREACHABLE_CODE = YES;
1127
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1128
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1129
-				COPY_PHASE_STRIP = YES;
1130
-				ENABLE_NS_ASSERTIONS = NO;
1131
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
1132
-				GCC_C_LANGUAGE_STANDARD = gnu99;
1133
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1134
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1135
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
1136
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1137
-				GCC_WARN_UNUSED_FUNCTION = YES;
1138
-				GCC_WARN_UNUSED_VARIABLE = YES;
1139
-				HEADER_SEARCH_PATHS = (
1140
-					"$(inherited)",
1141
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
1142
-					"$(SRCROOT)/../node_modules/react-native/React/**",
1143
-				);
1144
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1145
-				MTL_ENABLE_DEBUG_INFO = NO;
1146
-				OTHER_LDFLAGS = "";
1147
-				SDKROOT = iphoneos;
1148
-				VALIDATE_PRODUCT = YES;
1149
-			};
1150
-			name = Release_Detox;
1151
-		};
1152
 /* End XCBuildConfiguration section */
956
 /* End XCBuildConfiguration section */
1153
 
957
 
1154
 /* Begin XCConfigurationList section */
958
 /* Begin XCConfigurationList section */
1155
-		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
959
+		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "playgroundTests" */ = {
1156
 			isa = XCConfigurationList;
960
 			isa = XCConfigurationList;
1157
 			buildConfigurations = (
961
 			buildConfigurations = (
1158
 				00E356F61AD99517003FC87E /* Debug */,
962
 				00E356F61AD99517003FC87E /* Debug */,
1159
 				00E356F71AD99517003FC87E /* Release */,
963
 				00E356F71AD99517003FC87E /* Release */,
1160
-				5627D4C51CEC610E1744267F /* Debug_Detox */,
1161
-				E53E50BD43A56CF67FAAD3A5 /* Release_Detox */,
1162
 			);
964
 			);
1163
 			defaultConfigurationIsVisible = 0;
965
 			defaultConfigurationIsVisible = 0;
1164
-			defaultConfigurationName = Release;
966
+			defaultConfigurationName = Debug;
1165
 		};
967
 		};
1166
-		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
968
+		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */ = {
1167
 			isa = XCConfigurationList;
969
 			isa = XCConfigurationList;
1168
 			buildConfigurations = (
970
 			buildConfigurations = (
1169
 				13B07F941A680F5B00A75B9A /* Debug */,
971
 				13B07F941A680F5B00A75B9A /* Debug */,
1170
 				13B07F951A680F5B00A75B9A /* Release */,
972
 				13B07F951A680F5B00A75B9A /* Release */,
1171
-				BEB8EFA9FD7A9DCE32773C1C /* Debug_Detox */,
1172
-				96FA810D67E56FD9D43906E6 /* Release_Detox */,
1173
 			);
973
 			);
1174
 			defaultConfigurationIsVisible = 0;
974
 			defaultConfigurationIsVisible = 0;
1175
-			defaultConfigurationName = Release;
975
+			defaultConfigurationName = Debug;
1176
 		};
976
 		};
1177
-		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = {
977
+		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "playground" */ = {
1178
 			isa = XCConfigurationList;
978
 			isa = XCConfigurationList;
1179
 			buildConfigurations = (
979
 			buildConfigurations = (
1180
 				83CBBA201A601CBA00E9B192 /* Debug */,
980
 				83CBBA201A601CBA00E9B192 /* Debug */,
1181
 				83CBBA211A601CBA00E9B192 /* Release */,
981
 				83CBBA211A601CBA00E9B192 /* Release */,
1182
-				2C24A1398D388E120DDC2CA1 /* Debug_Detox */,
1183
-				EAA4DC359BE7739594666868 /* Release_Detox */,
1184
 			);
982
 			);
1185
 			defaultConfigurationIsVisible = 0;
983
 			defaultConfigurationIsVisible = 0;
1186
-			defaultConfigurationName = Release;
984
+			defaultConfigurationName = Debug;
1187
 		};
985
 		};
1188
 /* End XCConfigurationList section */
986
 /* End XCConfigurationList section */
1189
 	};
987
 	};

playground/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme → playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme View File

15
             <BuildableReference
15
             <BuildableReference
16
                BuildableIdentifier = "primary"
16
                BuildableIdentifier = "primary"
17
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
17
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
-               BuildableName = "example.app"
19
-               BlueprintName = "example"
20
-               ReferencedContainer = "container:example.xcodeproj">
18
+               BuildableName = "playground.app"
19
+               BlueprintName = "playground"
20
+               ReferencedContainer = "container:playground.xcodeproj">
21
             </BuildableReference>
21
             </BuildableReference>
22
          </BuildActionEntry>
22
          </BuildActionEntry>
23
          <BuildActionEntry
23
          <BuildActionEntry
29
             <BuildableReference
29
             <BuildableReference
30
                BuildableIdentifier = "primary"
30
                BuildableIdentifier = "primary"
31
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
31
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
32
-               BuildableName = "exampleTests.xctest"
33
-               BlueprintName = "exampleTests"
34
-               ReferencedContainer = "container:example.xcodeproj">
32
+               BuildableName = "playgroundTests.xctest"
33
+               BlueprintName = "playgroundTests"
34
+               ReferencedContainer = "container:playground.xcodeproj">
35
             </BuildableReference>
35
             </BuildableReference>
36
          </BuildActionEntry>
36
          </BuildActionEntry>
37
       </BuildActionEntries>
37
       </BuildActionEntries>
47
             <BuildableReference
47
             <BuildableReference
48
                BuildableIdentifier = "primary"
48
                BuildableIdentifier = "primary"
49
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
49
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
50
-               BuildableName = "exampleTests.xctest"
51
-               BlueprintName = "exampleTests"
52
-               ReferencedContainer = "container:example.xcodeproj">
50
+               BuildableName = "playgroundTests.xctest"
51
+               BlueprintName = "playgroundTests"
52
+               ReferencedContainer = "container:playground.xcodeproj">
53
             </BuildableReference>
53
             </BuildableReference>
54
          </TestableReference>
54
          </TestableReference>
55
       </Testables>
55
       </Testables>
57
          <BuildableReference
57
          <BuildableReference
58
             BuildableIdentifier = "primary"
58
             BuildableIdentifier = "primary"
59
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
59
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
60
-            BuildableName = "example.app"
61
-            BlueprintName = "example"
62
-            ReferencedContainer = "container:example.xcodeproj">
60
+            BuildableName = "playground.app"
61
+            BlueprintName = "playground"
62
+            ReferencedContainer = "container:playground.xcodeproj">
63
          </BuildableReference>
63
          </BuildableReference>
64
       </MacroExpansion>
64
       </MacroExpansion>
65
       <AdditionalOptions>
65
       <AdditionalOptions>
80
          <BuildableReference
80
          <BuildableReference
81
             BuildableIdentifier = "primary"
81
             BuildableIdentifier = "primary"
82
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
82
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
83
-            BuildableName = "example.app"
84
-            BlueprintName = "example"
85
-            ReferencedContainer = "container:example.xcodeproj">
83
+            BuildableName = "playground.app"
84
+            BlueprintName = "playground"
85
+            ReferencedContainer = "container:playground.xcodeproj">
86
          </BuildableReference>
86
          </BuildableReference>
87
       </BuildableProductRunnable>
87
       </BuildableProductRunnable>
88
       <AdditionalOptions>
88
       <AdditionalOptions>
99
          <BuildableReference
99
          <BuildableReference
100
             BuildableIdentifier = "primary"
100
             BuildableIdentifier = "primary"
101
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
101
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
102
-            BuildableName = "example.app"
103
-            BlueprintName = "example"
104
-            ReferencedContainer = "container:example.xcodeproj">
102
+            BuildableName = "playground.app"
103
+            BlueprintName = "playground"
104
+            ReferencedContainer = "container:playground.xcodeproj">
105
          </BuildableReference>
105
          </BuildableReference>
106
       </BuildableProductRunnable>
106
       </BuildableProductRunnable>
107
    </ProfileAction>
107
    </ProfileAction>

playground/ios/example/AppDelegate.h → playground/ios/playground/AppDelegate.h View File


playground/ios/example/AppDelegate.m → playground/ios/playground/AppDelegate.m View File

32
   /*
32
   /*
33
   // original RN bootstrap - remove this part
33
   // original RN bootstrap - remove this part
34
   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
34
   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
35
-                                                      moduleName:@"example"
35
+                                                      moduleName:@"playground"
36
                                                initialProperties:nil
36
                                                initialProperties:nil
37
                                                    launchOptions:launchOptions];
37
                                                    launchOptions:launchOptions];
38
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
38
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

playground/ios/example/Base.lproj/LaunchScreen.xib → playground/ios/playground/Base.lproj/LaunchScreen.xib View File

1
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
3
+    <device id="retina4_7" orientation="portrait">
4
+        <adaptation id="fullscreen"/>
5
+    </device>
3
     <dependencies>
6
     <dependencies>
4
         <deployment identifier="iOS"/>
7
         <deployment identifier="iOS"/>
5
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
8
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
6
         <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
9
         <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
10
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7
     </dependencies>
11
     </dependencies>
8
     <objects>
12
     <objects>
9
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
13
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
22
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
                     <nil key="highlightedColor"/>
23
                     <nil key="highlightedColor"/>
20
                 </label>
24
                 </label>
21
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="example" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
22
-                    <rect key="frame" x="20" y="140" width="441" height="43"/>
25
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="react-native-navigation playground" textAlignment="center" lineBreakMode="middleTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
26
+                    <rect key="frame" x="20" y="118.5" width="440" height="86"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
27
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
28
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
25
                     <nil key="highlightedColor"/>
29
                     <nil key="highlightedColor"/>
26
                 </label>
30
                 </label>
27
             </subviews>
31
             </subviews>
28
-            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
32
+            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
29
             <constraints>
33
             <constraints>
30
                 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
34
                 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31
                 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
35
                 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>

playground/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json → playground/ios/playground/Images.xcassets/AppIcon.appiconset/Contents.json View File

1
 {
1
 {
2
   "images" : [
2
   "images" : [
3
+    {
4
+      "idiom" : "iphone",
5
+      "size" : "20x20",
6
+      "scale" : "2x"
7
+    },
8
+    {
9
+      "idiom" : "iphone",
10
+      "size" : "20x20",
11
+      "scale" : "3x"
12
+    },
3
     {
13
     {
4
       "idiom" : "iphone",
14
       "idiom" : "iphone",
5
       "size" : "29x29",
15
       "size" : "29x29",

playground/ios/example/Info.plist → playground/ios/playground/Info.plist View File

7
 	<key>CFBundleExecutable</key>
7
 	<key>CFBundleExecutable</key>
8
 	<string>$(EXECUTABLE_NAME)</string>
8
 	<string>$(EXECUTABLE_NAME)</string>
9
 	<key>CFBundleIdentifier</key>
9
 	<key>CFBundleIdentifier</key>
10
-	<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
10
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
 	<key>CFBundleInfoDictionaryVersion</key>
11
 	<key>CFBundleInfoDictionaryVersion</key>
12
 	<string>6.0</string>
12
 	<string>6.0</string>
13
 	<key>CFBundleName</key>
13
 	<key>CFBundleName</key>
22
 	<string>1</string>
22
 	<string>1</string>
23
 	<key>LSRequiresIPhoneOS</key>
23
 	<key>LSRequiresIPhoneOS</key>
24
 	<true/>
24
 	<true/>
25
+	<key>NSAppTransportSecurity</key>
26
+	<dict>
27
+		<key>NSAllowsArbitraryLoads</key>
28
+		<true/>
29
+	</dict>
30
+	<key>NSLocationWhenInUseUsageDescription</key>
31
+	<string></string>
25
 	<key>UILaunchStoryboardName</key>
32
 	<key>UILaunchStoryboardName</key>
26
 	<string>LaunchScreen</string>
33
 	<string>LaunchScreen</string>
27
 	<key>UIRequiredDeviceCapabilities</key>
34
 	<key>UIRequiredDeviceCapabilities</key>
31
 	<key>UISupportedInterfaceOrientations</key>
38
 	<key>UISupportedInterfaceOrientations</key>
32
 	<array>
39
 	<array>
33
 		<string>UIInterfaceOrientationPortrait</string>
40
 		<string>UIInterfaceOrientationPortrait</string>
34
-		<string>UIInterfaceOrientationLandscapeLeft</string>
35
-		<string>UIInterfaceOrientationLandscapeRight</string>
36
 	</array>
41
 	</array>
37
 	<key>UIViewControllerBasedStatusBarAppearance</key>
42
 	<key>UIViewControllerBasedStatusBarAppearance</key>
38
 	<true/>
43
 	<true/>
39
-	<key>NSLocationWhenInUseUsageDescription</key>
40
-	<string></string>
41
-	<key>NSAppTransportSecurity</key>
42
-	<dict>
43
-		<key>NSAllowsArbitraryLoads</key>
44
-		<true/>
45
-	</dict>
46
 </dict>
44
 </dict>
47
 </plist>
45
 </plist>

playground/ios/example/main.m → playground/ios/playground/main.m View File


playground/ios/exampleTests/Info.plist → playground/ios/playgroundTests/Info.plist View File

7
 	<key>CFBundleExecutable</key>
7
 	<key>CFBundleExecutable</key>
8
 	<string>$(EXECUTABLE_NAME)</string>
8
 	<string>$(EXECUTABLE_NAME)</string>
9
 	<key>CFBundleIdentifier</key>
9
 	<key>CFBundleIdentifier</key>
10
-	<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
10
+	<string>org.reactjs.native.playground.$(PRODUCT_NAME:rfc1034identifier)</string>
11
 	<key>CFBundleInfoDictionaryVersion</key>
11
 	<key>CFBundleInfoDictionaryVersion</key>
12
 	<string>6.0</string>
12
 	<string>6.0</string>
13
 	<key>CFBundleName</key>
13
 	<key>CFBundleName</key>

playground/ios/exampleTests/RNNViewControllerTests.m → playground/ios/playgroundTests/RNNViewControllerTests.m View File

1
 //
1
 //
2
 //  RNNViewControllerTests.m
2
 //  RNNViewControllerTests.m
3
-//  example
4
 //
3
 //
5
 //  Created by Ran Greenberg on 26/12/2016.
4
 //  Created by Ran Greenberg on 26/12/2016.
6
 //  Copyright © 2016 Facebook. All rights reserved.
5
 //  Copyright © 2016 Facebook. All rights reserved.

playground/ios/exampleTests/exampleTests.m → playground/ios/playgroundTests/playgroundTests.m View File

18
 #define TIMEOUT_SECONDS 240
18
 #define TIMEOUT_SECONDS 240
19
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
19
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
20
 
20
 
21
-@interface exampleTests : XCTestCase
21
+@interface playgroundTests : XCTestCase
22
 
22
 
23
 @end
23
 @end
24
 
24
 
25
-@implementation exampleTests
25
+@implementation playgroundTests
26
 
26
 
27
 
27
 
28
 
28
 

+ 4
- 5
playground/package.json View File

3
   "version": "1.0.0",
3
   "version": "1.0.0",
4
   "private": true,
4
   "private": true,
5
   "scripts": {
5
   "scripts": {
6
-    "postinstall": "rm -rf node_modules/react-native-navigation/node_modules && rm -rf node_modules/react-native-navigation/playground",
7
-    "start": "watchman watch-del-all && (adb reverse tcp:8081 tcp:8081 || true) && node node_modules/react-native/local-cli/cli.js start --reset-cache",
6
+    "postinstall": "node ./scripts/postinstall.js",
7
+    "start": "adb reverse tcp:8081 tcp:8081; watchman watch-del-all; react-native start --reset-cache",
8
     "xcode": "open ios/playground.xcodeproj",
8
     "xcode": "open ios/playground.xcodeproj",
9
-    "android": "cd android && ./gradlew installDebug",
10
-    "e2e": "node ./scripts/e2e.ios.js"
9
+    "android": "cd android && ./gradlew installDebug"
11
   },
10
   },
12
   "dependencies": {
11
   "dependencies": {
13
     "react-native": "0.38.0",
12
     "react-native": "0.38.0",
25
     },
24
     },
26
     "ios-simulator": {
25
     "ios-simulator": {
27
       "app": "ios/DerivedData/playground/Build/Products/Debug_Detox-iphonesimulator/playground.app",
26
       "app": "ios/DerivedData/playground/Build/Products/Debug_Detox-iphonesimulator/playground.app",
28
-      "device": "iPhone 7, iOS 10.1"
27
+      "device": "iPhone 7, iOS 10.2"
29
     }
28
     }
30
   }
29
   }
31
 }
30
 }

+ 5
- 0
playground/scripts/postinstall.js View File

1
+const cp = (`child_process`);
2
+
3
+cp.execSync(`rm yarn.lock `);
4
+cp.execSync(`rm -rf node_modules/react-native-navigation/node_modules`);
5
+cp.execSync(`rm -rf node_modules/react-native-navigation/playground`);

playground/src/screens/CollapsingTopBarScreen.android.js → playground/src/__screens/CollapsingTopBarScreen.android.js View File

79
   onPushPress() {
79
   onPushPress() {
80
     this.props.navigator.push({
80
     this.props.navigator.push({
81
       title: "More",
81
       title: "More",
82
-      screen: "example.PushedScreen"
82
+      container: "example.PushedScreen"
83
     });
83
     });
84
   }
84
   }
85
   onPushStyledPress() {
85
   onPushStyledPress() {
86
     this.props.navigator.push({
86
     this.props.navigator.push({
87
       title: "Styled",
87
       title: "Styled",
88
-      screen: "example.StyledScreen"
88
+      container: "example.StyledScreen"
89
     });
89
     });
90
   }
90
   }
91
   onPushStyled2Press () {
91
   onPushStyled2Press () {
92
     this.props.navigator.push({
92
     this.props.navigator.push({
93
       title: "Styled",
93
       title: "Styled",
94
       titleImage: require('../../img/two.png'),
94
       titleImage: require('../../img/two.png'),
95
-      screen: "example.StyledScreen"
95
+      container: "example.StyledScreen"
96
     });
96
     });
97
   }
97
   }
98
   onModalPress() {
98
   onModalPress() {
99
     this.props.navigator.showModal({
99
     this.props.navigator.showModal({
100
       title: "Modal",
100
       title: "Modal",
101
-      screen: "example.ModalScreen"
101
+      container: "example.ModalScreen"
102
     });
102
     });
103
   }
103
   }
104
 
104
 

playground/src/screens/FirstTabScreen.js → playground/src/__screens/FirstTabScreen.js View File

97
   onPushPress() {
97
   onPushPress() {
98
     this.props.navigator.push({
98
     this.props.navigator.push({
99
       title: "More",
99
       title: "More",
100
-      screen: "com.example.PushedScreen"
100
+      container: "com.example.PushedScreen"
101
     });
101
     });
102
   }
102
   }
103
 
103
 
104
   onPushStyledPress() {
104
   onPushStyledPress() {
105
     this.props.navigator.push({
105
     this.props.navigator.push({
106
       title: "Styled",
106
       title: "Styled",
107
-      screen: "com.example.StyledScreen"
107
+      container: "com.example.StyledScreen"
108
     });
108
     });
109
   }
109
   }
110
 
110
 
111
   onModalPress() {
111
   onModalPress() {
112
     this.props.navigator.showModal({
112
     this.props.navigator.showModal({
113
       title: "Modal",
113
       title: "Modal",
114
-      screen: "com.example.ModalScreen"
114
+      container: "com.example.ModalScreen"
115
     });
115
     });
116
   }
116
   }
117
 
117
 
118
   onLightBoxPress() {
118
   onLightBoxPress() {
119
     this.props.navigator.showLightBox({
119
     this.props.navigator.showLightBox({
120
-      screen: "com.example.LightBoxScreen",
120
+      container: "com.example.LightBoxScreen",
121
       style: {
121
       style: {
122
         backgroundBlur: "dark"
122
         backgroundBlur: "dark"
123
       },
123
       },
129
 
129
 
130
   onInAppNotificationPress() {
130
   onInAppNotificationPress() {
131
     this.props.navigator.showInAppNotification({
131
     this.props.navigator.showInAppNotification({
132
-      screen: "com.example.NotificationScreen"
132
+      container: "com.example.NotificationScreen"
133
     });
133
     });
134
   }
134
   }
135
 
135
 
136
   onStartSingleScreenApp() {
136
   onStartSingleScreenApp() {
137
     Navigation.startSingleScreenApp({
137
     Navigation.startSingleScreenApp({
138
-      screen: {
139
-        screen: 'com.example.FirstTabScreen'
138
+      container: {
139
+        container: 'com.example.FirstTabScreen'
140
       },
140
       },
141
       drawer: {
141
       drawer: {
142
         left: {
142
         left: {
143
-          screen: 'com.example.SideMenu'
143
+          container: 'com.example.SideMenu'
144
         }
144
         }
145
       }
145
       }
146
     });
146
     });

playground/src/screens/LightBoxScreen.js → playground/src/__screens/LightBoxScreen.js View File


playground/src/screens/ModalScreen.js → playground/src/__screens/ModalScreen.js View File

50
   onPushPress() {
50
   onPushPress() {
51
     this.props.navigator.push({
51
     this.props.navigator.push({
52
       title: "More",
52
       title: "More",
53
-      screen: "com.example.PushedScreen"
53
+      container: "com.example.PushedScreen"
54
     });
54
     });
55
   }
55
   }
56
   onPushStyledPress() {
56
   onPushStyledPress() {
57
     this.props.navigator.push({
57
     this.props.navigator.push({
58
       title: "More",
58
       title: "More",
59
-      screen: "com.example.StyledScreen"
59
+      container: "com.example.StyledScreen"
60
     });
60
     });
61
   }
61
   }
62
   onClosePress() {
62
   onClosePress() {

playground/src/screens/NotificationScreen.js → playground/src/__screens/NotificationScreen.js View File


playground/src/screens/PushedScreen.js → playground/src/__screens/PushedScreen.js View File

42
   onPushPress() {
42
   onPushPress() {
43
     this.props.navigator.push({
43
     this.props.navigator.push({
44
       title: "More",
44
       title: "More",
45
-      screen: "example.PushedScreen"
45
+      container: "example.PushedScreen"
46
     });
46
     });
47
   }
47
   }
48
   onPushStyledPress() {
48
   onPushStyledPress() {
49
     this.props.navigator.push({
49
     this.props.navigator.push({
50
       title: "More",
50
       title: "More",
51
-      screen: "com.example.StyledScreen"
51
+      container: "com.example.StyledScreen"
52
     });
52
     });
53
   }
53
   }
54
   onPopPress() {
54
   onPopPress() {
60
   onResetToPress() {
60
   onResetToPress() {
61
     this.props.navigator.resetTo({
61
     this.props.navigator.resetTo({
62
       title: "New Root",
62
       title: "New Root",
63
-      screen: "com.example.ThirdTabScreen"
63
+      container: "com.example.ThirdTabScreen"
64
     });
64
     });
65
   }
65
   }
66
 }
66
 }

playground/src/screens/SecondTabScreen.js → playground/src/__screens/SecondTabScreen.js View File

109
       if (parts[0] == 'tab2') {
109
       if (parts[0] == 'tab2') {
110
         this.props.navigator.resetTo({
110
         this.props.navigator.resetTo({
111
           title: "Replaced Root",
111
           title: "Replaced Root",
112
-          screen: parts[1],
112
+          container: parts[1],
113
           animated: true
113
           animated: true
114
         });
114
         });
115
         this.props.navigator.switchToTab();
115
         this.props.navigator.switchToTab();

playground/src/screens/SideMenu.js → playground/src/__screens/SideMenu.js View File

41
     this._toggleDrawer();
41
     this._toggleDrawer();
42
     this.props.navigator.showModal({
42
     this.props.navigator.showModal({
43
       title: "Modal",
43
       title: "Modal",
44
-      screen: "example.ModalScreen"
44
+      container: "example.ModalScreen"
45
     });
45
     });
46
   }
46
   }
47
 
47
 

playground/src/screens/StyledScreen.js → playground/src/__screens/StyledScreen.js View File

45
           <TouchableOpacity onPress={ this.onPopPress.bind(this) }>
45
           <TouchableOpacity onPress={ this.onPopPress.bind(this) }>
46
             <Text style={styles.button}>Pop Screen</Text>
46
             <Text style={styles.button}>Pop Screen</Text>
47
           </TouchableOpacity>
47
           </TouchableOpacity>
48
-  
48
+
49
           <TouchableOpacity onPress={ this.onSetSubtitlePress.bind(this) }>
49
           <TouchableOpacity onPress={ this.onSetSubtitlePress.bind(this) }>
50
             <Text style={styles.button}>Set Subtitle</Text>
50
             <Text style={styles.button}>Set Subtitle</Text>
51
           </TouchableOpacity>
51
           </TouchableOpacity>
52
-  
52
+
53
           <TouchableOpacity onPress={ this.onSetTitleImagePress.bind(this) }>
53
           <TouchableOpacity onPress={ this.onSetTitleImagePress.bind(this) }>
54
             <Text style={styles.button}>Set Title Image</Text>
54
             <Text style={styles.button}>Set Title Image</Text>
55
           </TouchableOpacity>
55
           </TouchableOpacity>
66
   onPushPress() {
66
   onPushPress() {
67
     this.props.navigator.push({
67
     this.props.navigator.push({
68
       title: "More",
68
       title: "More",
69
-      screen: "com.example.PushedScreen"
69
+      container: "com.example.PushedScreen"
70
     });
70
     });
71
   }
71
   }
72
   onPushStyledPress() {
72
   onPushStyledPress() {
73
     this.props.navigator.push({
73
     this.props.navigator.push({
74
       title: "More",
74
       title: "More",
75
-      screen: "com.example.StyledScreen"
75
+      container: "com.example.StyledScreen"
76
     });
76
     });
77
   }
77
   }
78
   onPopPress() {
78
   onPopPress() {
79
     this.props.navigator.pop();
79
     this.props.navigator.pop();
80
   }
80
   }
81
-  
81
+
82
   onSetSubtitlePress() {
82
   onSetSubtitlePress() {
83
     if (Platform.OS === 'android') {
83
     if (Platform.OS === 'android') {
84
       this.props.navigator.setSubTitle({
84
       this.props.navigator.setSubTitle({
96
       })
96
       })
97
     }
97
     }
98
   }
98
   }
99
-  
99
+
100
   onSetTitleImagePress() {
100
   onSetTitleImagePress() {
101
     this.props.navigator.setTitle({
101
     this.props.navigator.setTitle({
102
       title: 'title',
102
       title: 'title',
103
       titleImage: require('../../img/one.png'),
103
       titleImage: require('../../img/one.png'),
104
     })
104
     })
105
   }
105
   }
106
-  
106
+
107
 }
107
 }
108
 
108
 
109
 const styles = StyleSheet.create({
109
 const styles = StyleSheet.create({

playground/src/screens/index.android.js → playground/src/__screens/index.android.js View File


playground/src/screens/index.ios.js → playground/src/__screens/index.ios.js View File


+ 7
- 82
playground/src/app.js View File

1
-import {
2
-  Platform
3
-} from 'react-native';
4
-import {Navigation} from 'react-native-navigation';
1
+import Navigation from 'react-native-navigation';
5
 
2
 
6
-// screen related book keeping
7
-import {registerScreens} from './screens';
8
-registerScreens();
9
-
10
-const createTabs = () => {
11
-  let tabs = [
12
-    {
13
-      label: 'One',
14
-      screen: 'com.example.FirstTabScreen',
15
-      icon: require('../img/one.png'),
16
-      selectedIcon: require('../img/one_selected.png'),
17
-      title: 'Screen One',
18
-      navigatorStyle: {
19
-          tabBarHidden: true
20
-      }
21
-    },
22
-    {
23
-      label: 'Two',
24
-      screen: 'com.example.SecondTabScreen',
25
-      icon: require('../img/two.png'),
26
-      selectedIcon: require('../img/two_selected.png'),
27
-      title: 'Screen Two',
28
-      navigatorStyle: {
29
-        tabBarBackgroundColor: '#4dbce9',
30
-      }
31
-    }
32
-  ];
33
-  if (Platform.OS === 'android') {
34
-    tabs.push({
35
-      label: 'Collapsing',
36
-      screen: 'example.CollapsingTopBarScreen',
37
-      icon: require('../img/one.png'),
38
-      title: 'Collapsing',
39
-    });
40
-  }
41
-  return tabs;
42
-};
43
-
44
-import * as Commands from './../node_modules/react-native-navigation/src2/commands/valid-commands';
45
-//Navigation.startApp(Commands.singleScreenApp);
46
-//Navigation.startApp(Commands.tabBasedApp);
47
-//Navigation.startApp(Commands.singleWithSideMenu);
48
-//Navigation.startApp(Commands.singleWithRightSideMenu);
49
-//Navigation.startApp(Commands.singleWithBothMenus);
50
-//Navigation.startApp(Commands.tabBasedWithSideMenu);
51
-
52
-// this will start our app
53
-Navigation.startTabBasedApp({
54
-  tabs: createTabs(),
55
-  appStyle: {
56
-    tabBarBackgroundColor: '#0f2362',
57
-    tabBarButtonColor: '#ffffff',
58
-    tabBarSelectedButtonColor: '#63d7cc',
59
-  },
60
-  drawer: {
61
-    left: {
62
-      screen: 'com.example.SideMenu'
3
+export function start() {
4
+  Navigation.startApp({
5
+    container: {
6
+      key: 'com.example.WelcomeScreen'
63
     }
7
     }
64
-  }
65
-});
66
-//Navigation.startSingleScreenApp({
67
-//  screen: {
68
-//    screen: 'com.example.FirstTabScreen',
69
-//    title: 'Navigation',
70
-//    navigatorStyle: {
71
-//      navBarBackgroundColor: '#4dbce9',
72
-//      navBarTextColor: '#ffff00',
73
-//      navBarSubtitleTextColor: '#ff0000',
74
-//      navBarButtonColor: '#ffffff',
75
-//      statusBarTextColorScheme: 'light',
76
-//      tabBarHidden: true
77
-//    }
78
-//  },
79
-//  drawer: {
80
-//    left: {
81
-//      screen: 'com.example.SideMenu'
82
-//    }
83
-//  }
84
-//});
8
+  });
9
+}
85
 
10
 

+ 3
- 0
playground/src/index.js View File

1
+import {start} from './app';
2
+
3
+start();

+ 3
- 2
src/index.js View File

1
-import * as Navigation from './Navigation';
1
+import * as _Navigation from './Navigation';
2
 
2
 
3
-export default Navigation;
3
+export default _Navigation;
4
+export const Navigation = _Navigation;

+ 3
- 1
src/index.test.js View File

1
 import Navigation from './index';
1
 import Navigation from './index';
2
+import {Navigation as inner} from './index';
2
 
3
 
3
 describe('index', () => {
4
 describe('index', () => {
4
   let uut;
5
   let uut;
7
     uut = require('./index').default;
8
     uut = require('./index').default;
8
   });
9
   });
9
 
10
 
10
-  it('exposes Navigation as default', () => {
11
+  it('exposes Navigation as default or as object', () => {
11
     expect(uut.startApp).toBeInstanceOf(Function);
12
     expect(uut.startApp).toBeInstanceOf(Function);
12
     expect(Navigation.startApp).toBeInstanceOf(Function);
13
     expect(Navigation.startApp).toBeInstanceOf(Function);
14
+    expect(inner.startApp).toBeInstanceOf(Function);
13
   });
15
   });
14
 });
16
 });