Browse Source

Migrate project to workspace (#5675)

* Migrate project to workspace

This commit moves all unit tests to the playground workspace

* Fix ios unit tests

* Build pods before testing

* Build typescript before running iOS tests

* Remove xcode 10 support
Guy Carmeli 5 years ago
parent
commit
cb63997372
46 changed files with 957 additions and 834 deletions
  1. 0
    4
      lib/ios/ReactNativeNavigation.m
  2. 13
    10
      package.json
  3. 1
    1
      playground/android/build.gradle
  4. 1
    1
      playground/android/gradle/wrapper/gradle-wrapper.properties
  5. 0
    0
      playground/ios/NavigationTests/Info.plist
  6. 0
    0
      playground/ios/NavigationTests/Options/RNNTestNoColor.m
  7. 0
    0
      playground/ios/NavigationTests/RNNBasePresenterTest.m
  8. 5
    5
      playground/ios/NavigationTests/RNNCommandsHandlerTest.m
  9. 0
    0
      playground/ios/NavigationTests/RNNComponentPresenterTest.m
  10. 0
    0
      playground/ios/NavigationTests/RNNControllerFactoryTest.m
  11. 0
    0
      playground/ios/NavigationTests/RNNDotIndicatorPresenterTest.m
  12. 0
    0
      playground/ios/NavigationTests/RNNExternalComponentStoreTest.m
  13. 0
    0
      playground/ios/NavigationTests/RNNFontAttributesCreatorTest.m
  14. 2
    1
      playground/ios/NavigationTests/RNNLayoutManagerTest.m
  15. 0
    0
      playground/ios/NavigationTests/RNNModalManagerTest.m
  16. 2
    2
      playground/ios/NavigationTests/RNNNavigationControllerTest.m
  17. 0
    0
      playground/ios/NavigationTests/RNNNavigationOptionsTest.m
  18. 0
    0
      playground/ios/NavigationTests/RNNNavigationStackManagerTest.m
  19. 0
    0
      playground/ios/NavigationTests/RNNOptionsTest.h
  20. 0
    0
      playground/ios/NavigationTests/RNNOverlayManagerTest.m
  21. 1
    1
      playground/ios/NavigationTests/RNNRootViewControllerTest.m
  22. 0
    0
      playground/ios/NavigationTests/RNNSideMenuControllerTest.m
  23. 0
    0
      playground/ios/NavigationTests/RNNSideMenuParserTest.m
  24. 0
    0
      playground/ios/NavigationTests/RNNSideMenuPresenterTest.m
  25. 0
    0
      playground/ios/NavigationTests/RNNStackPresenterTest.m
  26. 0
    0
      playground/ios/NavigationTests/RNNTabBarControllerTest.m
  27. 0
    0
      playground/ios/NavigationTests/RNNTabBarPresenterTest.m
  28. 1
    1
      playground/ios/NavigationTests/RNNTestRootViewCreator.h
  29. 0
    0
      playground/ios/NavigationTests/RNNTestRootViewCreator.m
  30. 0
    0
      playground/ios/NavigationTests/RNNTransitionStateHolderTest.m
  31. 0
    0
      playground/ios/NavigationTests/UINavigationController+RNNOptionsTest.m
  32. 0
    0
      playground/ios/NavigationTests/UITabBarController+RNNOptionsTest.m
  33. 0
    0
      playground/ios/NavigationTests/UIViewController+LayoutProtocolTest.m
  34. 0
    0
      playground/ios/NavigationTests/UIViewController+RNNOptionsTest.m
  35. 0
    0
      playground/ios/NavigationTests/utils/RNNTestBase.h
  36. 0
    0
      playground/ios/NavigationTests/utils/RNNTestBase.m
  37. 51
    0
      playground/ios/Podfile
  38. 354
    0
      playground/ios/Podfile.lock
  39. 467
    733
      playground/ios/playground.xcodeproj/project.pbxproj
  40. 15
    61
      playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme
  41. 13
    7
      playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground_release.xcscheme
  42. 10
    0
      playground/ios/playground.xcworkspace/contents.xcworkspacedata
  43. 8
    0
      playground/ios/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  44. 1
    1
      playground/ios/playground/AppDelegate.m
  45. 4
    0
      scripts/test-e2e.js
  46. 8
    6
      scripts/test-unit.js

+ 0
- 4
lib/ios/ReactNativeNavigation.m View File

68
 - (UIWindow *)initializeKeyWindow {
68
 - (UIWindow *)initializeKeyWindow {
69
 	UIWindow* keyWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
69
 	UIWindow* keyWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
70
 	if (@available(iOS 13.0, *)) {
70
 	if (@available(iOS 13.0, *)) {
71
-#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
72
 		keyWindow.backgroundColor = [UIColor systemBackgroundColor];
71
 		keyWindow.backgroundColor = [UIColor systemBackgroundColor];
73
-#else
74
-		keyWindow.backgroundColor = [UIColor whiteColor];
75
-#endif
76
 	} else {
72
 	} else {
77
 		keyWindow.backgroundColor = [UIColor whiteColor];
73
 		keyWindow.backgroundColor = [UIColor whiteColor];
78
 	}
74
 	}

+ 13
- 10
package.json View File

21
   "scripts": {
21
   "scripts": {
22
     "build": "rm -rf ./lib/dist && tsc",
22
     "build": "rm -rf ./lib/dist && tsc",
23
     "watch": "rm -rf ./lib/dist && tsc --watch",
23
     "watch": "rm -rf ./lib/dist && tsc --watch",
24
-    "xcode": "open playground/ios/playground.xcodeproj",
24
+    "xcode": "open playground/ios/playground.xcworkspace",
25
     "install-android": "node ./scripts/install-android",
25
     "install-android": "node ./scripts/install-android",
26
     "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
26
     "uninstall-android": "cd playground/android && ./gradlew uninstallAll",
27
     "clean": "node ./scripts/clean",
27
     "clean": "node ./scripts/clean",
30
     "start-windows": "node ./scripts/start-windows",
30
     "start-windows": "node ./scripts/start-windows",
31
     "pretest-js": "npm run build",
31
     "pretest-js": "npm run build",
32
     "test-js": "node ./scripts/test-js",
32
     "test-js": "node ./scripts/test-js",
33
+    "pod-install": "pod install --project-directory=playground/ios",
33
     "test-unit-ios": "node ./scripts/test-unit --ios",
34
     "test-unit-ios": "node ./scripts/test-unit --ios",
34
     "test-unit-android": "node ./scripts/test-unit --android",
35
     "test-unit-android": "node ./scripts/test-unit --android",
35
     "pretest-e2e-android": "npm run build",
36
     "pretest-e2e-android": "npm run build",
61
     "@babel/plugin-proposal-export-default-from": "7.2.0",
62
     "@babel/plugin-proposal-export-default-from": "7.2.0",
62
     "@babel/plugin-proposal-export-namespace-from": "7.2.0",
63
     "@babel/plugin-proposal-export-namespace-from": "7.2.0",
63
     "@types/hoist-non-react-statics": "^3.0.1",
64
     "@types/hoist-non-react-statics": "^3.0.1",
64
-    "@types/jest": "23.x.x",
65
+    "@react-native-community/eslint-config": "0.0.3",
66
+    "babel-jest": "24.9.x",
67
+    "@types/jest": "24.x.x",
65
     "@types/lodash": "4.x.x",
68
     "@types/lodash": "4.x.x",
66
     "@types/react": "16.x.x",
69
     "@types/react": "16.x.x",
67
     "@types/react-native": "0.57.7",
70
     "@types/react-native": "0.57.7",
69
     "detox": "14.x.x",
72
     "detox": "14.x.x",
70
     "react-native-ui-lib": "3.24.2",
73
     "react-native-ui-lib": "3.24.2",
71
     "handlebars": "4.x.x",
74
     "handlebars": "4.x.x",
72
-    "jest": "24.0.0-alpha.6",
73
-    "metro-react-native-babel-preset": "0.52.x",
74
-    "react": "16.8.6",
75
-    "react-native": "0.60.0",
75
+    "jest": "24.9.x",
76
+    "metro-react-native-babel-preset": "0.57.x",
77
+    "react": "16.9.0",
78
+    "react-native": "0.61.4",
76
     "react-native-typescript-transformer": "1.2.12",
79
     "react-native-typescript-transformer": "1.2.12",
77
     "react-native-view-overflow": "0.0.4",
80
     "react-native-view-overflow": "0.0.4",
78
     "react-native-keyboard-tracking-view": "5.x.x",
81
     "react-native-keyboard-tracking-view": "5.x.x",
79
     "react-redux": "5.x.x",
82
     "react-redux": "5.x.x",
80
-    "react-test-renderer": "16.6.1",
83
+    "react-test-renderer": "16.9.x",
81
     "redux": "3.x.x",
84
     "redux": "3.x.x",
82
     "remx": "2.x.x",
85
     "remx": "2.x.x",
83
     "semver": "5.x.x",
86
     "semver": "5.x.x",
133
       },
136
       },
134
       "ios.sim.debug": {
137
       "ios.sim.debug": {
135
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
138
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
136
-        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
139
+        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -workspace playground/ios/playground.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
137
         "type": "ios.simulator",
140
         "type": "ios.simulator",
138
         "name": "iPhone 11"
141
         "name": "iPhone 11"
139
       },
142
       },
140
       "ios.sim.release": {
143
       "ios.sim.release": {
141
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
144
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
142
-        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
145
+        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -workspace playground/ios/playground.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
143
         "type": "ios.simulator",
146
         "type": "ios.simulator",
144
         "name": "iPhone 11"
147
         "name": "iPhone 11"
145
       },
148
       },
169
       }
172
       }
170
     }
173
     }
171
   }
174
   }
172
-}
175
+}

+ 1
- 1
playground/android/build.gradle View File

11
         jcenter()
11
         jcenter()
12
     }
12
     }
13
     dependencies {
13
     dependencies {
14
-        classpath 'com.android.tools.build:gradle:3.4.1'
14
+        classpath 'com.android.tools.build:gradle:3.4.2'
15
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
15
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
16
 
16
 
17
         // NOTE: Do not place your application dependencies here; they belong
17
         // NOTE: Do not place your application dependencies here; they belong

+ 1
- 1
playground/android/gradle/wrapper/gradle-wrapper.properties View File

3
 distributionPath=wrapper/dists
3
 distributionPath=wrapper/dists
4
 zipStoreBase=GRADLE_USER_HOME
4
 zipStoreBase=GRADLE_USER_HOME
5
 zipStorePath=wrapper/dists
5
 zipStorePath=wrapper/dists
6
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
6
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip

lib/ios/ReactNativeNavigationTests/Info.plist → playground/ios/NavigationTests/Info.plist View File


lib/ios/ReactNativeNavigationTests/Options/RNNTestNoColor.m → playground/ios/NavigationTests/Options/RNNTestNoColor.m View File


lib/ios/ReactNativeNavigationTests/RNNBasePresenterTest.m → playground/ios/NavigationTests/RNNBasePresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m → playground/ios/NavigationTests/RNNCommandsHandlerTest.m View File

1
 #import <XCTest/XCTest.h>
1
 #import <XCTest/XCTest.h>
2
 #import <objc/runtime.h>
2
 #import <objc/runtime.h>
3
-#import "RNNCommandsHandler.h"
4
-#import "RNNNavigationOptions.h"
3
+#import <ReactNativeNavigation/RNNCommandsHandler.h>
4
+#import <ReactNativeNavigation/RNNNavigationOptions.h>
5
 #import "RNNTestRootViewCreator.h"
5
 #import "RNNTestRootViewCreator.h"
6
-#import "RNNComponentViewController.h"
7
-#import "RNNStackController.h"
8
-#import "RNNErrorHandler.h"
6
+#import <ReactNativeNavigation/RNNComponentViewController.h>
7
+#import <ReactNativeNavigation/RNNStackController.h>
8
+#import <ReactNativeNavigation/RNNErrorHandler.h>
9
 #import <OCMock/OCMock.h>
9
 #import <OCMock/OCMock.h>
10
 #import "RNNLayoutManager.h"
10
 #import "RNNLayoutManager.h"
11
 
11
 

lib/ios/ReactNativeNavigationTests/RNNComponentPresenterTest.m → playground/ios/NavigationTests/RNNComponentPresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNControllerFactoryTest.m → playground/ios/NavigationTests/RNNControllerFactoryTest.m View File


lib/ios/ReactNativeNavigationTests/RNNDotIndicatorPresenterTest.m → playground/ios/NavigationTests/RNNDotIndicatorPresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNExternalComponentStoreTest.m → playground/ios/NavigationTests/RNNExternalComponentStoreTest.m View File


lib/ios/ReactNativeNavigationTests/RNNFontAttributesCreatorTest.m → playground/ios/NavigationTests/RNNFontAttributesCreatorTest.m View File


lib/ios/ReactNativeNavigationTests/RNNLayoutManagerTest.m → playground/ios/NavigationTests/RNNLayoutManagerTest.m View File

2
 #import <XCTest/XCTest.h>
2
 #import <XCTest/XCTest.h>
3
 #import <OCMock/OCMock.h>
3
 #import <OCMock/OCMock.h>
4
 #import "RNNLayoutManager.h"
4
 #import "RNNLayoutManager.h"
5
-#import "UIViewController+LayoutProtocol.m"
5
+#import "UIViewController+LayoutProtocol.h"
6
 
6
 
7
 @interface RNNLayoutManagerTest : XCTestCase
7
 @interface RNNLayoutManagerTest : XCTestCase
8
 
8
 
29
 	UIApplication* sharedApplication = [OCMockObject mockForClass:[UIApplication class]];
29
 	UIApplication* sharedApplication = [OCMockObject mockForClass:[UIApplication class]];
30
 	id mockedApplicationClass = OCMClassMock([UIApplication class]);
30
 	id mockedApplicationClass = OCMClassMock([UIApplication class]);
31
 	OCMStub(ClassMethod([mockedApplicationClass sharedApplication])).andReturn(sharedApplication);
31
 	OCMStub(ClassMethod([mockedApplicationClass sharedApplication])).andReturn(sharedApplication);
32
+	OCMStub(sharedApplication.keyWindow).andReturn(_firstWindow);
32
 	OCMStub([sharedApplication windows]).andReturn(windows);
33
 	OCMStub([sharedApplication windows]).andReturn(windows);
33
 }
34
 }
34
 
35
 

lib/ios/ReactNativeNavigationTests/RNNModalManagerTest.m → playground/ios/NavigationTests/RNNModalManagerTest.m View File


lib/ios/ReactNativeNavigationTests/RNNNavigationControllerTest.m → playground/ios/NavigationTests/RNNNavigationControllerTest.m View File

1
 #import <XCTest/XCTest.h>
1
 #import <XCTest/XCTest.h>
2
 #import <OCMock/OCMock.h>
2
 #import <OCMock/OCMock.h>
3
-#import "RNNStackController.h"
4
-#import "RNNComponentViewController.h"
3
+#import <ReactNativeNavigation/RNNStackController.h>
4
+#import <ReactNativeNavigation/RNNComponentViewController.h>
5
 #import "RNNTestRootViewCreator.h"
5
 #import "RNNTestRootViewCreator.h"
6
 
6
 
7
 @interface RNNNavigationControllerTest : XCTestCase
7
 @interface RNNNavigationControllerTest : XCTestCase

lib/ios/ReactNativeNavigationTests/RNNNavigationOptionsTest.m → playground/ios/NavigationTests/RNNNavigationOptionsTest.m View File


lib/ios/ReactNativeNavigationTests/RNNNavigationStackManagerTest.m → playground/ios/NavigationTests/RNNNavigationStackManagerTest.m View File


lib/ios/ReactNativeNavigationTests/RNNOptionsTest.h → playground/ios/NavigationTests/RNNOptionsTest.h View File


lib/ios/ReactNativeNavigationTests/RNNOverlayManagerTest.m → playground/ios/NavigationTests/RNNOverlayManagerTest.m View File


lib/ios/ReactNativeNavigationTests/RNNRootViewControllerTest.m → playground/ios/NavigationTests/RNNRootViewControllerTest.m View File

1
 #import <XCTest/XCTest.h>
1
 #import <XCTest/XCTest.h>
2
 #import <OCMock/OCMock.h>
2
 #import <OCMock/OCMock.h>
3
-#import "RNNComponentViewController.h"
3
+#import <ReactNativeNavigation/RNNComponentViewController.h>
4
 #import "RNNReactRootViewCreator.h"
4
 #import "RNNReactRootViewCreator.h"
5
 #import "RNNTestRootViewCreator.h"
5
 #import "RNNTestRootViewCreator.h"
6
 #import <React/RCTConvert.h>
6
 #import <React/RCTConvert.h>

lib/ios/ReactNativeNavigationTests/RNNSideMenuControllerTest.m → playground/ios/NavigationTests/RNNSideMenuControllerTest.m View File


lib/ios/ReactNativeNavigationTests/RNNSideMenuParserTest.m → playground/ios/NavigationTests/RNNSideMenuParserTest.m View File


lib/ios/ReactNativeNavigationTests/RNNSideMenuPresenterTest.m → playground/ios/NavigationTests/RNNSideMenuPresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNStackPresenterTest.m → playground/ios/NavigationTests/RNNStackPresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNTabBarControllerTest.m → playground/ios/NavigationTests/RNNTabBarControllerTest.m View File


lib/ios/ReactNativeNavigationTests/RNNTabBarPresenterTest.m → playground/ios/NavigationTests/RNNTabBarPresenterTest.m View File


lib/ios/ReactNativeNavigationTests/RNNTestRootViewCreator.h → playground/ios/NavigationTests/RNNTestRootViewCreator.h View File

1
 #import <Foundation/Foundation.h>
1
 #import <Foundation/Foundation.h>
2
-#import "RNNComponentViewCreator.h"
2
+#import <ReactNativeNavigation/RNNComponentViewCreator.h>
3
 
3
 
4
 @interface RNNTestRootViewCreator : NSObject <RNNComponentViewCreator>
4
 @interface RNNTestRootViewCreator : NSObject <RNNComponentViewCreator>
5
 
5
 

lib/ios/ReactNativeNavigationTests/RNNTestRootViewCreator.m → playground/ios/NavigationTests/RNNTestRootViewCreator.m View File


lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m → playground/ios/NavigationTests/RNNTransitionStateHolderTest.m View File


lib/ios/ReactNativeNavigationTests/UINavigationController+RNNOptionsTest.m → playground/ios/NavigationTests/UINavigationController+RNNOptionsTest.m View File


lib/ios/ReactNativeNavigationTests/UITabBarController+RNNOptionsTest.m → playground/ios/NavigationTests/UITabBarController+RNNOptionsTest.m View File


lib/ios/ReactNativeNavigationTests/UIViewController+LayoutProtocolTest.m → playground/ios/NavigationTests/UIViewController+LayoutProtocolTest.m View File


lib/ios/ReactNativeNavigationTests/UIViewController+RNNOptionsTest.m → playground/ios/NavigationTests/UIViewController+RNNOptionsTest.m View File


lib/ios/ReactNativeNavigationTests/utils/RNNTestBase.h → playground/ios/NavigationTests/utils/RNNTestBase.h View File


lib/ios/ReactNativeNavigationTests/utils/RNNTestBase.m → playground/ios/NavigationTests/utils/RNNTestBase.m View File


+ 51
- 0
playground/ios/Podfile View File

1
+# Uncomment the next line to define a global platform for your project
2
+platform :ios, '10.0'
3
+# require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
4
+use_frameworks!
5
+
6
+def all_pods
7
+  # Pods for playground
8
+  pod 'FBLazyVector', :path => "../../node_modules/react-native/Libraries/FBLazyVector"
9
+  pod 'FBReactNativeSpec', :path => "../../node_modules/react-native/Libraries/FBReactNativeSpec"
10
+  pod 'RCTRequired', :path => "../../node_modules/react-native/Libraries/RCTRequired"
11
+  pod 'RCTTypeSafety', :path => "../../node_modules/react-native/Libraries/TypeSafety"
12
+  pod 'React', :path => '../../node_modules/react-native/'
13
+  pod 'React-Core', :path => '../../node_modules/react-native/'
14
+  pod 'React-CoreModules', :path => '../../node_modules/react-native/React/CoreModules'
15
+  pod 'React-Core/DevSupport', :path => '../../node_modules/react-native/'
16
+  pod 'React-RCTActionSheet', :path => '../../node_modules/react-native/Libraries/ActionSheetIOS'
17
+  pod 'React-RCTAnimation', :path => '../../node_modules/react-native/Libraries/NativeAnimation'
18
+  pod 'React-RCTBlob', :path => '../../node_modules/react-native/Libraries/Blob'
19
+  pod 'React-RCTImage', :path => '../../node_modules/react-native/Libraries/Image'
20
+  pod 'React-RCTLinking', :path => '../../node_modules/react-native/Libraries/LinkingIOS'
21
+  pod 'React-RCTNetwork', :path => '../../node_modules/react-native/Libraries/Network'
22
+  pod 'React-RCTSettings', :path => '../../node_modules/react-native/Libraries/Settings'
23
+  pod 'React-RCTText', :path => '../../node_modules/react-native/Libraries/Text'
24
+  pod 'React-RCTVibration', :path => '../../node_modules/react-native/Libraries/Vibration'
25
+  pod 'React-Core/RCTWebSocket', :path => '../../node_modules/react-native/'
26
+
27
+  pod 'React-cxxreact', :path => '../../node_modules/react-native/ReactCommon/cxxreact'
28
+  pod 'React-jsi', :path => '../../node_modules/react-native/ReactCommon/jsi'
29
+  pod 'React-jsiexecutor', :path => '../../node_modules/react-native/ReactCommon/jsiexecutor'
30
+  pod 'React-jsinspector', :path => '../../node_modules/react-native/ReactCommon/jsinspector'
31
+  pod 'ReactCommon/jscallinvoker', :path => "../../node_modules/react-native/ReactCommon"
32
+  pod 'ReactCommon/turbomodule/core', :path => "../../node_modules/react-native/ReactCommon"
33
+  pod 'Yoga', :path => '../../node_modules/react-native/ReactCommon/yoga'
34
+
35
+  pod 'DoubleConversion', :podspec => '../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
36
+  pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
37
+  pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'
38
+  
39
+  pod 'ReactNativeNavigation', :path => '../../'
40
+  pod 'ReactNativeKeyboardTrackingView', :path => '../../node_modules/react-native-keyboard-tracking-view'
41
+end
42
+
43
+target 'playground' do
44
+  all_pods
45
+end
46
+
47
+target 'NavigationTests' do
48
+  all_pods
49
+  pod 'OCMock'
50
+end
51
+

+ 354
- 0
playground/ios/Podfile.lock View File

1
+PODS:
2
+  - boost-for-react-native (1.63.0)
3
+  - DoubleConversion (1.1.6)
4
+  - FBLazyVector (0.61.4)
5
+  - FBReactNativeSpec (0.61.4):
6
+    - Folly (= 2018.10.22.00)
7
+    - RCTRequired (= 0.61.4)
8
+    - RCTTypeSafety (= 0.61.4)
9
+    - React-Core (= 0.61.4)
10
+    - React-jsi (= 0.61.4)
11
+    - ReactCommon/turbomodule/core (= 0.61.4)
12
+  - Folly (2018.10.22.00):
13
+    - boost-for-react-native
14
+    - DoubleConversion
15
+    - Folly/Default (= 2018.10.22.00)
16
+    - glog
17
+  - Folly/Default (2018.10.22.00):
18
+    - boost-for-react-native
19
+    - DoubleConversion
20
+    - glog
21
+  - glog (0.3.5)
22
+  - OCMock (3.4.3)
23
+  - RCTRequired (0.61.4)
24
+  - RCTTypeSafety (0.61.4):
25
+    - FBLazyVector (= 0.61.4)
26
+    - Folly (= 2018.10.22.00)
27
+    - RCTRequired (= 0.61.4)
28
+    - React-Core (= 0.61.4)
29
+  - React (0.61.4):
30
+    - React-Core (= 0.61.4)
31
+    - React-Core/DevSupport (= 0.61.4)
32
+    - React-Core/RCTWebSocket (= 0.61.4)
33
+    - React-RCTActionSheet (= 0.61.4)
34
+    - React-RCTAnimation (= 0.61.4)
35
+    - React-RCTBlob (= 0.61.4)
36
+    - React-RCTImage (= 0.61.4)
37
+    - React-RCTLinking (= 0.61.4)
38
+    - React-RCTNetwork (= 0.61.4)
39
+    - React-RCTSettings (= 0.61.4)
40
+    - React-RCTText (= 0.61.4)
41
+    - React-RCTVibration (= 0.61.4)
42
+  - React-Core (0.61.4):
43
+    - Folly (= 2018.10.22.00)
44
+    - glog
45
+    - React-Core/Default (= 0.61.4)
46
+    - React-cxxreact (= 0.61.4)
47
+    - React-jsi (= 0.61.4)
48
+    - React-jsiexecutor (= 0.61.4)
49
+    - Yoga
50
+  - React-Core/CoreModulesHeaders (0.61.4):
51
+    - Folly (= 2018.10.22.00)
52
+    - glog
53
+    - React-Core/Default
54
+    - React-cxxreact (= 0.61.4)
55
+    - React-jsi (= 0.61.4)
56
+    - React-jsiexecutor (= 0.61.4)
57
+    - Yoga
58
+  - React-Core/Default (0.61.4):
59
+    - Folly (= 2018.10.22.00)
60
+    - glog
61
+    - React-cxxreact (= 0.61.4)
62
+    - React-jsi (= 0.61.4)
63
+    - React-jsiexecutor (= 0.61.4)
64
+    - Yoga
65
+  - React-Core/DevSupport (0.61.4):
66
+    - Folly (= 2018.10.22.00)
67
+    - glog
68
+    - React-Core/Default (= 0.61.4)
69
+    - React-Core/RCTWebSocket (= 0.61.4)
70
+    - React-cxxreact (= 0.61.4)
71
+    - React-jsi (= 0.61.4)
72
+    - React-jsiexecutor (= 0.61.4)
73
+    - React-jsinspector (= 0.61.4)
74
+    - Yoga
75
+  - React-Core/RCTActionSheetHeaders (0.61.4):
76
+    - Folly (= 2018.10.22.00)
77
+    - glog
78
+    - React-Core/Default
79
+    - React-cxxreact (= 0.61.4)
80
+    - React-jsi (= 0.61.4)
81
+    - React-jsiexecutor (= 0.61.4)
82
+    - Yoga
83
+  - React-Core/RCTAnimationHeaders (0.61.4):
84
+    - Folly (= 2018.10.22.00)
85
+    - glog
86
+    - React-Core/Default
87
+    - React-cxxreact (= 0.61.4)
88
+    - React-jsi (= 0.61.4)
89
+    - React-jsiexecutor (= 0.61.4)
90
+    - Yoga
91
+  - React-Core/RCTBlobHeaders (0.61.4):
92
+    - Folly (= 2018.10.22.00)
93
+    - glog
94
+    - React-Core/Default
95
+    - React-cxxreact (= 0.61.4)
96
+    - React-jsi (= 0.61.4)
97
+    - React-jsiexecutor (= 0.61.4)
98
+    - Yoga
99
+  - React-Core/RCTImageHeaders (0.61.4):
100
+    - Folly (= 2018.10.22.00)
101
+    - glog
102
+    - React-Core/Default
103
+    - React-cxxreact (= 0.61.4)
104
+    - React-jsi (= 0.61.4)
105
+    - React-jsiexecutor (= 0.61.4)
106
+    - Yoga
107
+  - React-Core/RCTLinkingHeaders (0.61.4):
108
+    - Folly (= 2018.10.22.00)
109
+    - glog
110
+    - React-Core/Default
111
+    - React-cxxreact (= 0.61.4)
112
+    - React-jsi (= 0.61.4)
113
+    - React-jsiexecutor (= 0.61.4)
114
+    - Yoga
115
+  - React-Core/RCTNetworkHeaders (0.61.4):
116
+    - Folly (= 2018.10.22.00)
117
+    - glog
118
+    - React-Core/Default
119
+    - React-cxxreact (= 0.61.4)
120
+    - React-jsi (= 0.61.4)
121
+    - React-jsiexecutor (= 0.61.4)
122
+    - Yoga
123
+  - React-Core/RCTSettingsHeaders (0.61.4):
124
+    - Folly (= 2018.10.22.00)
125
+    - glog
126
+    - React-Core/Default
127
+    - React-cxxreact (= 0.61.4)
128
+    - React-jsi (= 0.61.4)
129
+    - React-jsiexecutor (= 0.61.4)
130
+    - Yoga
131
+  - React-Core/RCTTextHeaders (0.61.4):
132
+    - Folly (= 2018.10.22.00)
133
+    - glog
134
+    - React-Core/Default
135
+    - React-cxxreact (= 0.61.4)
136
+    - React-jsi (= 0.61.4)
137
+    - React-jsiexecutor (= 0.61.4)
138
+    - Yoga
139
+  - React-Core/RCTVibrationHeaders (0.61.4):
140
+    - Folly (= 2018.10.22.00)
141
+    - glog
142
+    - React-Core/Default
143
+    - React-cxxreact (= 0.61.4)
144
+    - React-jsi (= 0.61.4)
145
+    - React-jsiexecutor (= 0.61.4)
146
+    - Yoga
147
+  - React-Core/RCTWebSocket (0.61.4):
148
+    - Folly (= 2018.10.22.00)
149
+    - glog
150
+    - React-Core/Default (= 0.61.4)
151
+    - React-cxxreact (= 0.61.4)
152
+    - React-jsi (= 0.61.4)
153
+    - React-jsiexecutor (= 0.61.4)
154
+    - Yoga
155
+  - React-CoreModules (0.61.4):
156
+    - FBReactNativeSpec (= 0.61.4)
157
+    - Folly (= 2018.10.22.00)
158
+    - RCTTypeSafety (= 0.61.4)
159
+    - React-Core/CoreModulesHeaders (= 0.61.4)
160
+    - React-RCTImage (= 0.61.4)
161
+    - ReactCommon/turbomodule/core (= 0.61.4)
162
+  - React-cxxreact (0.61.4):
163
+    - boost-for-react-native (= 1.63.0)
164
+    - DoubleConversion
165
+    - Folly (= 2018.10.22.00)
166
+    - glog
167
+    - React-jsinspector (= 0.61.4)
168
+  - React-jsi (0.61.4):
169
+    - boost-for-react-native (= 1.63.0)
170
+    - DoubleConversion
171
+    - Folly (= 2018.10.22.00)
172
+    - glog
173
+    - React-jsi/Default (= 0.61.4)
174
+  - React-jsi/Default (0.61.4):
175
+    - boost-for-react-native (= 1.63.0)
176
+    - DoubleConversion
177
+    - Folly (= 2018.10.22.00)
178
+    - glog
179
+  - React-jsiexecutor (0.61.4):
180
+    - DoubleConversion
181
+    - Folly (= 2018.10.22.00)
182
+    - glog
183
+    - React-cxxreact (= 0.61.4)
184
+    - React-jsi (= 0.61.4)
185
+  - React-jsinspector (0.61.4)
186
+  - React-RCTActionSheet (0.61.4):
187
+    - React-Core/RCTActionSheetHeaders (= 0.61.4)
188
+  - React-RCTAnimation (0.61.4):
189
+    - React-Core/RCTAnimationHeaders (= 0.61.4)
190
+  - React-RCTBlob (0.61.4):
191
+    - React-Core/RCTBlobHeaders (= 0.61.4)
192
+    - React-Core/RCTWebSocket (= 0.61.4)
193
+    - React-jsi (= 0.61.4)
194
+    - React-RCTNetwork (= 0.61.4)
195
+  - React-RCTImage (0.61.4):
196
+    - React-Core/RCTImageHeaders (= 0.61.4)
197
+    - React-RCTNetwork (= 0.61.4)
198
+  - React-RCTLinking (0.61.4):
199
+    - React-Core/RCTLinkingHeaders (= 0.61.4)
200
+  - React-RCTNetwork (0.61.4):
201
+    - React-Core/RCTNetworkHeaders (= 0.61.4)
202
+  - React-RCTSettings (0.61.4):
203
+    - React-Core/RCTSettingsHeaders (= 0.61.4)
204
+  - React-RCTText (0.61.4):
205
+    - React-Core/RCTTextHeaders (= 0.61.4)
206
+  - React-RCTVibration (0.61.4):
207
+    - React-Core/RCTVibrationHeaders (= 0.61.4)
208
+  - ReactCommon/jscallinvoker (0.61.4):
209
+    - DoubleConversion
210
+    - Folly (= 2018.10.22.00)
211
+    - glog
212
+    - React-cxxreact (= 0.61.4)
213
+  - ReactCommon/turbomodule/core (0.61.4):
214
+    - DoubleConversion
215
+    - Folly (= 2018.10.22.00)
216
+    - glog
217
+    - React-Core (= 0.61.4)
218
+    - React-cxxreact (= 0.61.4)
219
+    - React-jsi (= 0.61.4)
220
+    - ReactCommon/jscallinvoker (= 0.61.4)
221
+  - ReactNativeKeyboardTrackingView (5.6.1):
222
+    - React
223
+  - ReactNativeNavigation (3.7.0):
224
+    - React
225
+  - Yoga (1.14.0)
226
+
227
+DEPENDENCIES:
228
+  - DoubleConversion (from `../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
229
+  - FBLazyVector (from `../../node_modules/react-native/Libraries/FBLazyVector`)
230
+  - FBReactNativeSpec (from `../../node_modules/react-native/Libraries/FBReactNativeSpec`)
231
+  - Folly (from `../../node_modules/react-native/third-party-podspecs/Folly.podspec`)
232
+  - glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`)
233
+  - OCMock
234
+  - RCTRequired (from `../../node_modules/react-native/Libraries/RCTRequired`)
235
+  - RCTTypeSafety (from `../../node_modules/react-native/Libraries/TypeSafety`)
236
+  - React (from `../../node_modules/react-native/`)
237
+  - React-Core (from `../../node_modules/react-native/`)
238
+  - React-Core/DevSupport (from `../../node_modules/react-native/`)
239
+  - React-Core/RCTWebSocket (from `../../node_modules/react-native/`)
240
+  - React-CoreModules (from `../../node_modules/react-native/React/CoreModules`)
241
+  - React-cxxreact (from `../../node_modules/react-native/ReactCommon/cxxreact`)
242
+  - React-jsi (from `../../node_modules/react-native/ReactCommon/jsi`)
243
+  - React-jsiexecutor (from `../../node_modules/react-native/ReactCommon/jsiexecutor`)
244
+  - React-jsinspector (from `../../node_modules/react-native/ReactCommon/jsinspector`)
245
+  - React-RCTActionSheet (from `../../node_modules/react-native/Libraries/ActionSheetIOS`)
246
+  - React-RCTAnimation (from `../../node_modules/react-native/Libraries/NativeAnimation`)
247
+  - React-RCTBlob (from `../../node_modules/react-native/Libraries/Blob`)
248
+  - React-RCTImage (from `../../node_modules/react-native/Libraries/Image`)
249
+  - React-RCTLinking (from `../../node_modules/react-native/Libraries/LinkingIOS`)
250
+  - React-RCTNetwork (from `../../node_modules/react-native/Libraries/Network`)
251
+  - React-RCTSettings (from `../../node_modules/react-native/Libraries/Settings`)
252
+  - React-RCTText (from `../../node_modules/react-native/Libraries/Text`)
253
+  - React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`)
254
+  - ReactCommon/jscallinvoker (from `../../node_modules/react-native/ReactCommon`)
255
+  - ReactCommon/turbomodule/core (from `../../node_modules/react-native/ReactCommon`)
256
+  - ReactNativeKeyboardTrackingView (from `../../node_modules/react-native-keyboard-tracking-view`)
257
+  - ReactNativeNavigation (from `../../`)
258
+  - Yoga (from `../../node_modules/react-native/ReactCommon/yoga`)
259
+
260
+SPEC REPOS:
261
+  https://github.com/cocoapods/specs.git:
262
+    - boost-for-react-native
263
+    - OCMock
264
+
265
+EXTERNAL SOURCES:
266
+  DoubleConversion:
267
+    :podspec: "../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
268
+  FBLazyVector:
269
+    :path: "../../node_modules/react-native/Libraries/FBLazyVector"
270
+  FBReactNativeSpec:
271
+    :path: "../../node_modules/react-native/Libraries/FBReactNativeSpec"
272
+  Folly:
273
+    :podspec: "../../node_modules/react-native/third-party-podspecs/Folly.podspec"
274
+  glog:
275
+    :podspec: "../../node_modules/react-native/third-party-podspecs/glog.podspec"
276
+  RCTRequired:
277
+    :path: "../../node_modules/react-native/Libraries/RCTRequired"
278
+  RCTTypeSafety:
279
+    :path: "../../node_modules/react-native/Libraries/TypeSafety"
280
+  React:
281
+    :path: "../../node_modules/react-native/"
282
+  React-Core:
283
+    :path: "../../node_modules/react-native/"
284
+  React-CoreModules:
285
+    :path: "../../node_modules/react-native/React/CoreModules"
286
+  React-cxxreact:
287
+    :path: "../../node_modules/react-native/ReactCommon/cxxreact"
288
+  React-jsi:
289
+    :path: "../../node_modules/react-native/ReactCommon/jsi"
290
+  React-jsiexecutor:
291
+    :path: "../../node_modules/react-native/ReactCommon/jsiexecutor"
292
+  React-jsinspector:
293
+    :path: "../../node_modules/react-native/ReactCommon/jsinspector"
294
+  React-RCTActionSheet:
295
+    :path: "../../node_modules/react-native/Libraries/ActionSheetIOS"
296
+  React-RCTAnimation:
297
+    :path: "../../node_modules/react-native/Libraries/NativeAnimation"
298
+  React-RCTBlob:
299
+    :path: "../../node_modules/react-native/Libraries/Blob"
300
+  React-RCTImage:
301
+    :path: "../../node_modules/react-native/Libraries/Image"
302
+  React-RCTLinking:
303
+    :path: "../../node_modules/react-native/Libraries/LinkingIOS"
304
+  React-RCTNetwork:
305
+    :path: "../../node_modules/react-native/Libraries/Network"
306
+  React-RCTSettings:
307
+    :path: "../../node_modules/react-native/Libraries/Settings"
308
+  React-RCTText:
309
+    :path: "../../node_modules/react-native/Libraries/Text"
310
+  React-RCTVibration:
311
+    :path: "../../node_modules/react-native/Libraries/Vibration"
312
+  ReactCommon:
313
+    :path: "../../node_modules/react-native/ReactCommon"
314
+  ReactNativeKeyboardTrackingView:
315
+    :path: "../../node_modules/react-native-keyboard-tracking-view"
316
+  ReactNativeNavigation:
317
+    :path: "../../"
318
+  Yoga:
319
+    :path: "../../node_modules/react-native/ReactCommon/yoga"
320
+
321
+SPEC CHECKSUMS:
322
+  boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
323
+  DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
324
+  FBLazyVector: feb35a6b7f7b50f367be07f34012f34a79282fa3
325
+  FBReactNativeSpec: 51477b84b1bf7ab6f9ef307c24e3dd675391be44
326
+  Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
327
+  glog: 1f3da668190260b06b429bb211bfbee5cd790c28
328
+  OCMock: 43565190abc78977ad44a61c0d20d7f0784d35ab
329
+  RCTRequired: f3b3fb6f4723e8e52facb229d0c75fdc76773849
330
+  RCTTypeSafety: 2ec60de6abb1db050b56ecc4b60188026078fd10
331
+  React: 10e0130b57e55a7cd8c3dee37c1261102ce295f4
332
+  React-Core: 636212410772d05f3a1eb79d965df2962ca1c70b
333
+  React-CoreModules: 6f70d5e41919289c582f88c9ad9923fe5c87400a
334
+  React-cxxreact: ddecbe9157ec1743f52ea17bf8d95debc0d6e846
335
+  React-jsi: ca921f4041505f9d5197139b2d09eeb020bb12e8
336
+  React-jsiexecutor: 8dfb73b987afa9324e4009bdce62a18ce23d983c
337
+  React-jsinspector: d15478d0a8ada19864aa4d1cc1c697b41b3fa92f
338
+  React-RCTActionSheet: 7369b7c85f99b6299491333affd9f01f5a130c22
339
+  React-RCTAnimation: d07be15b2bd1d06d89417eb0343f98ffd2b099a7
340
+  React-RCTBlob: 8e0b23d95c9baa98f6b0e127e07666aaafd96c34
341
+  React-RCTImage: 443050d14a66e8c2332e9c055f45689d23e15cc7
342
+  React-RCTLinking: ce9a90ba155aec41be49e75ec721bbae2d48a47e
343
+  React-RCTNetwork: 41fe54bacc67dd00e6e4c4d30dd98a13e4beabc8
344
+  React-RCTSettings: 45e3e0a6470310b2dab2ccc6d1d73121ba3ea936
345
+  React-RCTText: 21934e0a51d522abcd0a275407e80af45d6fd9ec
346
+  React-RCTVibration: 0f76400ee3cec6edb9c125da49fed279340d145a
347
+  ReactCommon: a6a294e7028ed67b926d29551aa9394fd989c24c
348
+  ReactNativeKeyboardTrackingView: a240a6a0dba852bb107109a7ec7e98b884055977
349
+  ReactNativeNavigation: bed6f504aa1a4dadd151503bf99d0ef96d06847f
350
+  Yoga: ba3d99dbee6c15ea6bbe3783d1f0cb1ffb79af0f
351
+
352
+PODFILE CHECKSUM: 8a6eee15d75935b9144e5228ce8fa2a5b98079e7
353
+
354
+COCOAPODS: 1.7.1

+ 467
- 733
playground/ios/playground.xcodeproj/project.pbxproj
File diff suppressed because it is too large
View File


+ 15
- 61
playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <Scheme
2
 <Scheme
3
-   LastUpgradeVersion = "1010"
3
+   LastUpgradeVersion = "1120"
4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
       parallelizeBuildables = "NO"
6
       parallelizeBuildables = "NO"
7
       buildImplicitDependencies = "YES">
7
       buildImplicitDependencies = "YES">
8
       <BuildActionEntries>
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 = "3D3C04B91DE3340900C268FA"
18
-               BuildableName = "libyoga.a"
19
-               BlueprintName = "yoga"
20
-               ReferencedContainer = "container:../../node_modules/react-native/React/React.xcodeproj">
21
-            </BuildableReference>
22
-         </BuildActionEntry>
23
-         <BuildActionEntry
24
-            buildForTesting = "YES"
25
-            buildForRunning = "YES"
26
-            buildForProfiling = "YES"
27
-            buildForArchiving = "YES"
28
-            buildForAnalyzing = "YES">
29
-            <BuildableReference
30
-               BuildableIdentifier = "primary"
31
-               BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
32
-               BuildableName = "libReact.a"
33
-               BlueprintName = "React"
34
-               ReferencedContainer = "container:../../node_modules/react-native/React/React.xcodeproj">
35
-            </BuildableReference>
36
-         </BuildActionEntry>
37
          <BuildActionEntry
9
          <BuildActionEntry
38
             buildForTesting = "YES"
10
             buildForTesting = "YES"
39
             buildForRunning = "YES"
11
             buildForRunning = "YES"
48
                ReferencedContainer = "container:playground.xcodeproj">
20
                ReferencedContainer = "container:playground.xcodeproj">
49
             </BuildableReference>
21
             </BuildableReference>
50
          </BuildActionEntry>
22
          </BuildActionEntry>
51
-         <BuildActionEntry
52
-            buildForTesting = "YES"
53
-            buildForRunning = "YES"
54
-            buildForProfiling = "NO"
55
-            buildForArchiving = "NO"
56
-            buildForAnalyzing = "YES">
57
-            <BuildableReference
58
-               BuildableIdentifier = "primary"
59
-               BlueprintIdentifier = "00E356ED1AD99517003FC87E"
60
-               BuildableName = "playgroundTests.xctest"
61
-               BlueprintName = "playgroundTests"
62
-               ReferencedContainer = "container:playground.xcodeproj">
63
-            </BuildableReference>
64
-         </BuildActionEntry>
65
       </BuildActionEntries>
23
       </BuildActionEntries>
66
    </BuildAction>
24
    </BuildAction>
67
    <TestAction
25
    <TestAction
68
       buildConfiguration = "Debug"
26
       buildConfiguration = "Debug"
69
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
70
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
71
-      codeCoverageEnabled = "YES"
72
-      shouldUseLaunchSchemeArgsEnv = "NO">
73
-      <Testables>
74
-         <TestableReference
75
-            skipped = "NO">
76
-            <BuildableReference
77
-               BuildableIdentifier = "primary"
78
-               BlueprintIdentifier = "7B49FEBA1E95090800DEB3EA"
79
-               BuildableName = "ReactNativeNavigationTests.xctest"
80
-               BlueprintName = "ReactNativeNavigationTests"
81
-               ReferencedContainer = "container:../../lib/ios/ReactNativeNavigation.xcodeproj">
82
-            </BuildableReference>
83
-         </TestableReference>
84
-      </Testables>
29
+      shouldUseLaunchSchemeArgsEnv = "NO"
30
+      codeCoverageEnabled = "YES">
85
       <MacroExpansion>
31
       <MacroExpansion>
86
          <BuildableReference
32
          <BuildableReference
87
             BuildableIdentifier = "primary"
33
             BuildableIdentifier = "primary"
98
             isEnabled = "YES">
44
             isEnabled = "YES">
99
          </EnvironmentVariable>
45
          </EnvironmentVariable>
100
       </EnvironmentVariables>
46
       </EnvironmentVariables>
101
-      <AdditionalOptions>
102
-      </AdditionalOptions>
47
+      <Testables>
48
+         <TestableReference
49
+            skipped = "NO">
50
+            <BuildableReference
51
+               BuildableIdentifier = "primary"
52
+               BlueprintIdentifier = "E58D261A238587F4003F36BA"
53
+               BuildableName = "NavigationTests.xctest"
54
+               BlueprintName = "NavigationTests"
55
+               ReferencedContainer = "container:playground.xcodeproj">
56
+            </BuildableReference>
57
+         </TestableReference>
58
+      </Testables>
103
    </TestAction>
59
    </TestAction>
104
    <LaunchAction
60
    <LaunchAction
105
       buildConfiguration = "Debug"
61
       buildConfiguration = "Debug"
121
             ReferencedContainer = "container:playground.xcodeproj">
77
             ReferencedContainer = "container:playground.xcodeproj">
122
          </BuildableReference>
78
          </BuildableReference>
123
       </BuildableProductRunnable>
79
       </BuildableProductRunnable>
124
-      <AdditionalOptions>
125
-      </AdditionalOptions>
126
    </LaunchAction>
80
    </LaunchAction>
127
    <ProfileAction
81
    <ProfileAction
128
       buildConfiguration = "Release"
82
       buildConfiguration = "Release"

+ 13
- 7
playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground_release.xcscheme View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <Scheme
2
 <Scheme
3
-   LastUpgradeVersion = "1010"
3
+   LastUpgradeVersion = "1120"
4
    version = "1.3">
4
    version = "1.3">
5
    <BuildAction
5
    <BuildAction
6
       parallelizeBuildables = "NO"
6
       parallelizeBuildables = "NO"
55
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
55
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
56
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
56
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
57
       shouldUseLaunchSchemeArgsEnv = "YES">
57
       shouldUseLaunchSchemeArgsEnv = "YES">
58
-      <Testables>
59
-      </Testables>
60
       <MacroExpansion>
58
       <MacroExpansion>
61
          <BuildableReference
59
          <BuildableReference
62
             BuildableIdentifier = "primary"
60
             BuildableIdentifier = "primary"
66
             ReferencedContainer = "container:playground.xcodeproj">
64
             ReferencedContainer = "container:playground.xcodeproj">
67
          </BuildableReference>
65
          </BuildableReference>
68
       </MacroExpansion>
66
       </MacroExpansion>
69
-      <AdditionalOptions>
70
-      </AdditionalOptions>
67
+      <Testables>
68
+         <TestableReference
69
+            skipped = "NO">
70
+            <BuildableReference
71
+               BuildableIdentifier = "primary"
72
+               BlueprintIdentifier = "E58D261A238587F4003F36BA"
73
+               BuildableName = "NavigationTests.xctest"
74
+               BlueprintName = "NavigationTests"
75
+               ReferencedContainer = "container:playground.xcodeproj">
76
+            </BuildableReference>
77
+         </TestableReference>
78
+      </Testables>
71
    </TestAction>
79
    </TestAction>
72
    <LaunchAction
80
    <LaunchAction
73
       buildConfiguration = "Release"
81
       buildConfiguration = "Release"
89
             ReferencedContainer = "container:playground.xcodeproj">
97
             ReferencedContainer = "container:playground.xcodeproj">
90
          </BuildableReference>
98
          </BuildableReference>
91
       </BuildableProductRunnable>
99
       </BuildableProductRunnable>
92
-      <AdditionalOptions>
93
-      </AdditionalOptions>
94
    </LaunchAction>
100
    </LaunchAction>
95
    <ProfileAction
101
    <ProfileAction
96
       buildConfiguration = "Release"
102
       buildConfiguration = "Release"

+ 10
- 0
playground/ios/playground.xcworkspace/contents.xcworkspacedata View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<Workspace
3
+   version = "1.0">
4
+   <FileRef
5
+      location = "group:playground.xcodeproj">
6
+   </FileRef>
7
+   <FileRef
8
+      location = "group:Pods/Pods.xcodeproj">
9
+   </FileRef>
10
+</Workspace>

+ 8
- 0
playground/ios/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+<dict>
5
+	<key>IDEDidComputeMac32BitWarning</key>
6
+	<true/>
7
+</dict>
8
+</plist>

+ 1
- 1
playground/ios/playground/AppDelegate.m View File

2
 #import <ReactNativeNavigation/ReactNativeNavigation.h>
2
 #import <ReactNativeNavigation/ReactNativeNavigation.h>
3
 
3
 
4
 #import "AppDelegate.h"
4
 #import "AppDelegate.h"
5
-#import "RNNCustomViewController.h"
5
+#import <ReactNativeNavigation/RNNCustomViewController.h>
6
 
6
 
7
 @implementation AppDelegate
7
 @implementation AppDelegate
8
 
8
 

+ 4
- 0
scripts/test-e2e.js View File

16
     const headless$ = android ? headless ? `--headless` : `` : ``;
16
     const headless$ = android ? headless ? `--headless` : `` : ``;
17
     const workers = multi ? 3 : 1;
17
     const workers = multi ? 3 : 1;
18
 
18
 
19
+    if (!android) {
20
+        exec.execSync('npm run build');
21
+        exec.execSync('npm run pod-install');
22
+    }
19
     if (!skipBuild) {
23
     if (!skipBuild) {
20
         exec.execSync(`detox build --configuration ${configuration}`);
24
         exec.execSync(`detox build --configuration ${configuration}`);
21
     }
25
     }

+ 8
- 6
scripts/test-unit.js View File

25
 function runIosUnitTests() {
25
 function runIosUnitTests() {
26
   const conf = release ? `Release` : `Debug`;
26
   const conf = release ? `Release` : `Debug`;
27
 
27
 
28
+  exec.execSync('npm run build');
29
+  exec.execSync('npm run pod-install');
28
   exec.execSync(`cd ./playground/ios &&
30
   exec.execSync(`cd ./playground/ios &&
29
             RCT_NO_LAUNCH_PACKAGER=true
31
             RCT_NO_LAUNCH_PACKAGER=true
30
             xcodebuild build build-for-testing
32
             xcodebuild build build-for-testing
31
-            -scheme "ReactNativeNavigation"
32
-            -project playground.xcodeproj
33
+            -scheme "playground"
34
+            -workspace playground.xcworkspace
33
             -sdk iphonesimulator
35
             -sdk iphonesimulator
34
             -configuration ${conf}
36
             -configuration ${conf}
35
-            -derivedDataPath ./playground/ios/DerivedData/playground
37
+            -derivedDataPath ./DerivedData/playground
36
             -quiet
38
             -quiet
37
             -UseModernBuildSystem=NO
39
             -UseModernBuildSystem=NO
38
             ONLY_ACTIVE_ARCH=YES`);
40
             ONLY_ACTIVE_ARCH=YES`);
40
   exec.execSync(`cd ./playground/ios &&
42
   exec.execSync(`cd ./playground/ios &&
41
             RCT_NO_LAUNCH_PACKAGER=true
43
             RCT_NO_LAUNCH_PACKAGER=true
42
             xcodebuild test-without-building
44
             xcodebuild test-without-building
43
-            -scheme "ReactNativeNavigation"
44
-            -project playground.xcodeproj
45
+            -scheme "playground"
46
+            -workspace playground.xcworkspace
45
             -sdk iphonesimulator
47
             -sdk iphonesimulator
46
             -configuration ${conf}
48
             -configuration ${conf}
47
             -destination 'platform=iOS Simulator,name=iPhone 11'
49
             -destination 'platform=iOS Simulator,name=iPhone 11'
48
-            -derivedDataPath ./playground/ios/DerivedData/playground
50
+            -derivedDataPath ./DerivedData/playground
49
             ONLY_ACTIVE_ARCH=YES`);
51
             ONLY_ACTIVE_ARCH=YES`);
50
 }
52
 }
51
 
53