Browse Source

update demo

iou90 7 years ago
parent
commit
907c73675a
45 changed files with 86 additions and 86 deletions
  1. 0
    0
      demo/.babelrc
  2. 0
    0
      demo/.buckconfig
  3. 0
    0
      demo/.flowconfig
  4. 0
    0
      demo/.gitattributes
  5. 0
    0
      demo/.gitignore
  6. 0
    0
      demo/.watchmanconfig
  7. 0
    0
      demo/__tests__/index.android.js
  8. 0
    0
      demo/__tests__/index.ios.js
  9. 2
    2
      demo/android/app/BUCK
  10. 2
    2
      demo/android/app/build.gradle
  11. 0
    0
      demo/android/app/proguard-rules.pro
  12. 1
    1
      demo/android/app/src/main/AndroidManifest.xml
  13. 2
    2
      demo/android/app/src/main/java/com/demo/MainActivity.java
  14. 1
    1
      demo/android/app/src/main/java/com/demo/MainApplication.java
  15. 0
    0
      demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  16. 0
    0
      demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  17. 0
    0
      demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  18. 0
    0
      demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  19. 3
    0
      demo/android/app/src/main/res/values/strings.xml
  20. 0
    0
      demo/android/app/src/main/res/values/styles.xml
  21. 0
    0
      demo/android/build.gradle
  22. 0
    0
      demo/android/gradle.properties
  23. 0
    0
      demo/android/gradle/wrapper/gradle-wrapper.jar
  24. 0
    0
      demo/android/gradle/wrapper/gradle-wrapper.properties
  25. 0
    0
      demo/android/gradlew
  26. 0
    0
      demo/android/gradlew.bat
  27. 0
    0
      demo/android/keystores/BUCK
  28. 0
    0
      demo/android/keystores/debug.keystore.properties
  29. 5
    0
      demo/android/settings.gradle
  30. 0
    0
      demo/explorer.js
  31. 1
    1
      demo/index.android.js
  32. 1
    1
      demo/index.ios.js
  33. 45
    45
      demo/ios/demo.xcodeproj/project.pbxproj
  34. 18
    18
      demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme
  35. 0
    0
      demo/ios/demo/AppDelegate.h
  36. 1
    1
      demo/ios/demo/AppDelegate.m
  37. 1
    1
      demo/ios/demo/Base.lproj/LaunchScreen.xib
  38. 0
    0
      demo/ios/demo/Images.xcassets/AppIcon.appiconset/Contents.json
  39. 0
    0
      demo/ios/demo/Info.plist
  40. 0
    0
      demo/ios/demo/main.m
  41. 0
    0
      demo/ios/demoTests/Info.plist
  42. 2
    2
      demo/ios/demoTests/demoTests.m
  43. 1
    1
      demo/package.json
  44. 0
    3
      examples/explorer/android/app/src/main/res/values/strings.xml
  45. 0
    5
      examples/explorer/android/settings.gradle

examples/explorer/.babelrc → demo/.babelrc View File


examples/explorer/.buckconfig → demo/.buckconfig View File


examples/explorer/.flowconfig → demo/.flowconfig View File


examples/explorer/.gitattributes → demo/.gitattributes View File


examples/explorer/.gitignore → demo/.gitignore View File


examples/explorer/.watchmanconfig → demo/.watchmanconfig View File


examples/explorer/__tests__/index.android.js → demo/__tests__/index.android.js View File


examples/explorer/__tests__/index.ios.js → demo/__tests__/index.ios.js View File


examples/explorer/android/app/BUCK → demo/android/app/BUCK View File

46
 
46
 
47
 android_build_config(
47
 android_build_config(
48
   name = 'build_config',
48
   name = 'build_config',
49
-  package = 'com.explorer',
49
+  package = 'com.demo',
50
 )
50
 )
51
 
51
 
52
 android_resource(
52
 android_resource(
53
   name = 'res',
53
   name = 'res',
54
   res = 'src/main/res',
54
   res = 'src/main/res',
55
-  package = 'com.explorer',
55
+  package = 'com.demo',
56
 )
56
 )
57
 
57
 
58
 android_binary(
58
 android_binary(

examples/explorer/android/app/build.gradle → demo/android/app/build.gradle View File

87
     buildToolsVersion "23.0.1"
87
     buildToolsVersion "23.0.1"
88
 
88
 
89
     defaultConfig {
89
     defaultConfig {
90
-        applicationId "com.explorer"
90
+        applicationId "com.demo"
91
         minSdkVersion 16
91
         minSdkVersion 16
92
         targetSdkVersion 22
92
         targetSdkVersion 22
93
         versionCode 1
93
         versionCode 1
126
 }
126
 }
127
 
127
 
128
 dependencies {
128
 dependencies {
129
-    compile project(':react-native-autoheightwebview')
129
+    compile project(':react-native-autoheight-webview')
130
     compile fileTree(dir: "libs", include: ["*.jar"])
130
     compile fileTree(dir: "libs", include: ["*.jar"])
131
     compile "com.android.support:appcompat-v7:23.0.1"
131
     compile "com.android.support:appcompat-v7:23.0.1"
132
     compile "com.facebook.react:react-native:+"  // From node_modules
132
     compile "com.facebook.react:react-native:+"  // From node_modules

examples/explorer/android/app/proguard-rules.pro → demo/android/app/proguard-rules.pro View File


examples/explorer/android/app/src/main/AndroidManifest.xml → demo/android/app/src/main/AndroidManifest.xml View File

1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
-    package="com.explorer"
2
+    package="com.demo"
3
     android:versionCode="1"
3
     android:versionCode="1"
4
     android:versionName="1.0">
4
     android:versionName="1.0">
5
 
5
 

examples/explorer/android/app/src/main/java/com/explorer/MainActivity.java → demo/android/app/src/main/java/com/demo/MainActivity.java View File

1
-package com.explorer;
1
+package com.demo;
2
 
2
 
3
 import com.facebook.react.ReactActivity;
3
 import com.facebook.react.ReactActivity;
4
 
4
 
10
      */
10
      */
11
     @Override
11
     @Override
12
     protected String getMainComponentName() {
12
     protected String getMainComponentName() {
13
-        return "explorer";
13
+        return "demo";
14
     }
14
     }
15
 }
15
 }

examples/explorer/android/app/src/main/java/com/explorer/MainApplication.java → demo/android/app/src/main/java/com/demo/MainApplication.java View File

1
-package com.explorer;
1
+package com.demo;
2
 
2
 
3
 import android.app.Application;
3
 import android.app.Application;
4
 import android.util.Log;
4
 import android.util.Log;

examples/explorer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png → demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png View File


examples/explorer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png → demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png View File


examples/explorer/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png → demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File


examples/explorer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png → demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File


+ 3
- 0
demo/android/app/src/main/res/values/strings.xml View File

1
+<resources>
2
+    <string name="app_name">demo</string>
3
+</resources>

examples/explorer/android/app/src/main/res/values/styles.xml → demo/android/app/src/main/res/values/styles.xml View File


examples/explorer/android/build.gradle → demo/android/build.gradle View File


examples/explorer/android/gradle.properties → demo/android/gradle.properties View File


examples/explorer/android/gradle/wrapper/gradle-wrapper.jar → demo/android/gradle/wrapper/gradle-wrapper.jar View File


examples/explorer/android/gradle/wrapper/gradle-wrapper.properties → demo/android/gradle/wrapper/gradle-wrapper.properties View File


examples/explorer/android/gradlew → demo/android/gradlew View File


examples/explorer/android/gradlew.bat → demo/android/gradlew.bat View File


examples/explorer/android/keystores/BUCK → demo/android/keystores/BUCK View File


examples/explorer/android/keystores/debug.keystore.properties → demo/android/keystores/debug.keystore.properties View File


+ 5
- 0
demo/android/settings.gradle View File

1
+rootProject.name = 'demo'
2
+include ':react-native-autoheight-webview'
3
+project(':react-native-autoheight-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-autoheight-webview/android')
4
+
5
+include ':app'

examples/explorer/explorer.js → demo/explorer.js View File


examples/explorer/index.android.js → demo/index.android.js View File

6
 
6
 
7
 import Explorer from './explorer';
7
 import Explorer from './explorer';
8
 
8
 
9
-AppRegistry.registerComponent('explorer', () => Explorer);
9
+AppRegistry.registerComponent('demo', () => Explorer);

examples/explorer/index.ios.js → demo/index.ios.js View File

6
 
6
 
7
 import Explorer from './explorer';
7
 import Explorer from './explorer';
8
 
8
 
9
-AppRegistry.registerComponent('explorer', () => Explorer);
9
+AppRegistry.registerComponent('demo', () => Explorer);

examples/explorer/ios/explorer.xcodeproj/project.pbxproj → demo/ios/demo.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 /* explorerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* explorerTests.m */; };
15
+		00E356F31AD99517003FC87E /* demoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* demoTests.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 */; };
67
 			containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
67
 			containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
68
 			proxyType = 1;
68
 			proxyType = 1;
69
 			remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
69
 			remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
70
-			remoteInfo = explorer;
70
+			remoteInfo = demo;
71
 		};
71
 		};
72
 		139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
72
 		139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
73
 			isa = PBXContainerItemProxy;
73
 			isa = PBXContainerItemProxy;
218
 		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
218
 		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
219
 		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
219
 		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
220
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
220
 		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
221
-		00E356EE1AD99517003FC87E /* explorerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = explorerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
221
+		00E356EE1AD99517003FC87E /* demoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = demoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
222
 		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
222
 		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
223
-		00E356F21AD99517003FC87E /* explorerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = explorerTests.m; sourceTree = "<group>"; };
223
+		00E356F21AD99517003FC87E /* demoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = demoTests.m; sourceTree = "<group>"; };
224
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
224
 		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
225
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
225
 		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
226
-		13B07F961A680F5B00A75B9A /* explorer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = explorer.app; sourceTree = BUILT_PRODUCTS_DIR; };
227
-		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = explorer/AppDelegate.h; sourceTree = "<group>"; };
228
-		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = explorer/AppDelegate.m; sourceTree = "<group>"; };
226
+		13B07F961A680F5B00A75B9A /* demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
227
+		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = demo/AppDelegate.h; sourceTree = "<group>"; };
228
+		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = demo/AppDelegate.m; sourceTree = "<group>"; };
229
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
229
 		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
230
-		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = explorer/Images.xcassets; sourceTree = "<group>"; };
231
-		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = explorer/Info.plist; sourceTree = "<group>"; };
232
-		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = explorer/main.m; sourceTree = "<group>"; };
230
+		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = demo/Images.xcassets; sourceTree = "<group>"; };
231
+		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = demo/Info.plist; sourceTree = "<group>"; };
232
+		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = demo/main.m; sourceTree = "<group>"; };
233
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
233
 		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
234
 		5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
234
 		5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
235
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
235
 		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
308
 			name = Products;
308
 			name = Products;
309
 			sourceTree = "<group>";
309
 			sourceTree = "<group>";
310
 		};
310
 		};
311
-		00E356EF1AD99517003FC87E /* explorerTests */ = {
311
+		00E356EF1AD99517003FC87E /* demoTests */ = {
312
 			isa = PBXGroup;
312
 			isa = PBXGroup;
313
 			children = (
313
 			children = (
314
-				00E356F21AD99517003FC87E /* explorerTests.m */,
314
+				00E356F21AD99517003FC87E /* demoTests.m */,
315
 				00E356F01AD99517003FC87E /* Supporting Files */,
315
 				00E356F01AD99517003FC87E /* Supporting Files */,
316
 			);
316
 			);
317
-			path = explorerTests;
317
+			path = demoTests;
318
 			sourceTree = "<group>";
318
 			sourceTree = "<group>";
319
 		};
319
 		};
320
 		00E356F01AD99517003FC87E /* Supporting Files */ = {
320
 		00E356F01AD99517003FC87E /* Supporting Files */ = {
343
 			name = Products;
343
 			name = Products;
344
 			sourceTree = "<group>";
344
 			sourceTree = "<group>";
345
 		};
345
 		};
346
-		13B07FAE1A68108700A75B9A /* explorer */ = {
346
+		13B07FAE1A68108700A75B9A /* demo */ = {
347
 			isa = PBXGroup;
347
 			isa = PBXGroup;
348
 			children = (
348
 			children = (
349
 				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
349
 				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
354
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
354
 				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
355
 				13B07FB71A68108700A75B9A /* main.m */,
355
 				13B07FB71A68108700A75B9A /* main.m */,
356
 			);
356
 			);
357
-			name = explorer;
357
+			name = demo;
358
 			sourceTree = "<group>";
358
 			sourceTree = "<group>";
359
 		};
359
 		};
360
 		146834001AC3E56700842450 /* Products */ = {
360
 		146834001AC3E56700842450 /* Products */ = {
420
 		83CBB9F61A601CBA00E9B192 = {
420
 		83CBB9F61A601CBA00E9B192 = {
421
 			isa = PBXGroup;
421
 			isa = PBXGroup;
422
 			children = (
422
 			children = (
423
-				13B07FAE1A68108700A75B9A /* explorer */,
423
+				13B07FAE1A68108700A75B9A /* demo */,
424
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
424
 				832341AE1AAA6A7D00B99B32 /* Libraries */,
425
-				00E356EF1AD99517003FC87E /* explorerTests */,
425
+				00E356EF1AD99517003FC87E /* demoTests */,
426
 				83CBBA001A601CBA00E9B192 /* Products */,
426
 				83CBBA001A601CBA00E9B192 /* Products */,
427
 			);
427
 			);
428
 			indentWidth = 2;
428
 			indentWidth = 2;
432
 		83CBBA001A601CBA00E9B192 /* Products */ = {
432
 		83CBBA001A601CBA00E9B192 /* Products */ = {
433
 			isa = PBXGroup;
433
 			isa = PBXGroup;
434
 			children = (
434
 			children = (
435
-				13B07F961A680F5B00A75B9A /* explorer.app */,
436
-				00E356EE1AD99517003FC87E /* explorerTests.xctest */,
435
+				13B07F961A680F5B00A75B9A /* demo.app */,
436
+				00E356EE1AD99517003FC87E /* demoTests.xctest */,
437
 			);
437
 			);
438
 			name = Products;
438
 			name = Products;
439
 			sourceTree = "<group>";
439
 			sourceTree = "<group>";
441
 /* End PBXGroup section */
441
 /* End PBXGroup section */
442
 
442
 
443
 /* Begin PBXNativeTarget section */
443
 /* Begin PBXNativeTarget section */
444
-		00E356ED1AD99517003FC87E /* explorerTests */ = {
444
+		00E356ED1AD99517003FC87E /* demoTests */ = {
445
 			isa = PBXNativeTarget;
445
 			isa = PBXNativeTarget;
446
-			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "explorerTests" */;
446
+			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "demoTests" */;
447
 			buildPhases = (
447
 			buildPhases = (
448
 				00E356EA1AD99517003FC87E /* Sources */,
448
 				00E356EA1AD99517003FC87E /* Sources */,
449
 				00E356EB1AD99517003FC87E /* Frameworks */,
449
 				00E356EB1AD99517003FC87E /* Frameworks */,
454
 			dependencies = (
454
 			dependencies = (
455
 				00E356F51AD99517003FC87E /* PBXTargetDependency */,
455
 				00E356F51AD99517003FC87E /* PBXTargetDependency */,
456
 			);
456
 			);
457
-			name = explorerTests;
458
-			productName = explorerTests;
459
-			productReference = 00E356EE1AD99517003FC87E /* explorerTests.xctest */;
457
+			name = demoTests;
458
+			productName = demoTests;
459
+			productReference = 00E356EE1AD99517003FC87E /* demoTests.xctest */;
460
 			productType = "com.apple.product-type.bundle.unit-test";
460
 			productType = "com.apple.product-type.bundle.unit-test";
461
 		};
461
 		};
462
-		13B07F861A680F5B00A75B9A /* explorer */ = {
462
+		13B07F861A680F5B00A75B9A /* demo */ = {
463
 			isa = PBXNativeTarget;
463
 			isa = PBXNativeTarget;
464
-			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "explorer" */;
464
+			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "demo" */;
465
 			buildPhases = (
465
 			buildPhases = (
466
 				13B07F871A680F5B00A75B9A /* Sources */,
466
 				13B07F871A680F5B00A75B9A /* Sources */,
467
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
467
 				13B07F8C1A680F5B00A75B9A /* Frameworks */,
472
 			);
472
 			);
473
 			dependencies = (
473
 			dependencies = (
474
 			);
474
 			);
475
-			name = explorer;
475
+			name = demo;
476
 			productName = "Hello World";
476
 			productName = "Hello World";
477
-			productReference = 13B07F961A680F5B00A75B9A /* explorer.app */;
477
+			productReference = 13B07F961A680F5B00A75B9A /* demo.app */;
478
 			productType = "com.apple.product-type.application";
478
 			productType = "com.apple.product-type.application";
479
 		};
479
 		};
480
 /* End PBXNativeTarget section */
480
 /* End PBXNativeTarget section */
492
 					};
492
 					};
493
 				};
493
 				};
494
 			};
494
 			};
495
-			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "explorer" */;
495
+			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "demo" */;
496
 			compatibilityVersion = "Xcode 3.2";
496
 			compatibilityVersion = "Xcode 3.2";
497
 			developmentRegion = English;
497
 			developmentRegion = English;
498
 			hasScannedForEncodings = 0;
498
 			hasScannedForEncodings = 0;
551
 			);
551
 			);
552
 			projectRoot = "";
552
 			projectRoot = "";
553
 			targets = (
553
 			targets = (
554
-				13B07F861A680F5B00A75B9A /* explorer */,
555
-				00E356ED1AD99517003FC87E /* explorerTests */,
554
+				13B07F861A680F5B00A75B9A /* demo */,
555
+				00E356ED1AD99517003FC87E /* demoTests */,
556
 			);
556
 			);
557
 		};
557
 		};
558
 /* End PBXProject section */
558
 /* End PBXProject section */
776
 			isa = PBXSourcesBuildPhase;
776
 			isa = PBXSourcesBuildPhase;
777
 			buildActionMask = 2147483647;
777
 			buildActionMask = 2147483647;
778
 			files = (
778
 			files = (
779
-				00E356F31AD99517003FC87E /* explorerTests.m in Sources */,
779
+				00E356F31AD99517003FC87E /* demoTests.m in Sources */,
780
 			);
780
 			);
781
 			runOnlyForDeploymentPostprocessing = 0;
781
 			runOnlyForDeploymentPostprocessing = 0;
782
 		};
782
 		};
794
 /* Begin PBXTargetDependency section */
794
 /* Begin PBXTargetDependency section */
795
 		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
795
 		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
796
 			isa = PBXTargetDependency;
796
 			isa = PBXTargetDependency;
797
-			target = 13B07F861A680F5B00A75B9A /* explorer */;
797
+			target = 13B07F861A680F5B00A75B9A /* demo */;
798
 			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
798
 			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
799
 		};
799
 		};
800
 /* End PBXTargetDependency section */
800
 /* End PBXTargetDependency section */
806
 				13B07FB21A68108700A75B9A /* Base */,
806
 				13B07FB21A68108700A75B9A /* Base */,
807
 			);
807
 			);
808
 			name = LaunchScreen.xib;
808
 			name = LaunchScreen.xib;
809
-			path = explorer;
809
+			path = demo;
810
 			sourceTree = "<group>";
810
 			sourceTree = "<group>";
811
 		};
811
 		};
812
 /* End PBXVariantGroup section */
812
 /* End PBXVariantGroup section */
820
 					"DEBUG=1",
820
 					"DEBUG=1",
821
 					"$(inherited)",
821
 					"$(inherited)",
822
 				);
822
 				);
823
-				INFOPLIST_FILE = explorerTests/Info.plist;
823
+				INFOPLIST_FILE = demoTests/Info.plist;
824
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
824
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
825
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
825
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
826
 				PRODUCT_NAME = "$(TARGET_NAME)";
826
 				PRODUCT_NAME = "$(TARGET_NAME)";
827
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/explorer.app/explorer";
827
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/demo.app/demo";
828
 			};
828
 			};
829
 			name = Debug;
829
 			name = Debug;
830
 		};
830
 		};
833
 			buildSettings = {
833
 			buildSettings = {
834
 				BUNDLE_LOADER = "$(TEST_HOST)";
834
 				BUNDLE_LOADER = "$(TEST_HOST)";
835
 				COPY_PHASE_STRIP = NO;
835
 				COPY_PHASE_STRIP = NO;
836
-				INFOPLIST_FILE = explorerTests/Info.plist;
836
+				INFOPLIST_FILE = demoTests/Info.plist;
837
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
837
 				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
838
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
838
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
839
 				PRODUCT_NAME = "$(TARGET_NAME)";
839
 				PRODUCT_NAME = "$(TARGET_NAME)";
840
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/explorer.app/explorer";
840
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/demo.app/demo";
841
 			};
841
 			};
842
 			name = Release;
842
 			name = Release;
843
 		};
843
 		};
847
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
847
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
848
 				CURRENT_PROJECT_VERSION = 1;
848
 				CURRENT_PROJECT_VERSION = 1;
849
 				DEAD_CODE_STRIPPING = NO;
849
 				DEAD_CODE_STRIPPING = NO;
850
-				INFOPLIST_FILE = explorer/Info.plist;
850
+				INFOPLIST_FILE = demo/Info.plist;
851
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
851
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
852
 				OTHER_LDFLAGS = (
852
 				OTHER_LDFLAGS = (
853
 					"$(inherited)",
853
 					"$(inherited)",
854
 					"-ObjC",
854
 					"-ObjC",
855
 					"-lc++",
855
 					"-lc++",
856
 				);
856
 				);
857
-				PRODUCT_NAME = explorer;
857
+				PRODUCT_NAME = demo;
858
 				VERSIONING_SYSTEM = "apple-generic";
858
 				VERSIONING_SYSTEM = "apple-generic";
859
 			};
859
 			};
860
 			name = Debug;
860
 			name = Debug;
864
 			buildSettings = {
864
 			buildSettings = {
865
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
865
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
866
 				CURRENT_PROJECT_VERSION = 1;
866
 				CURRENT_PROJECT_VERSION = 1;
867
-				INFOPLIST_FILE = explorer/Info.plist;
867
+				INFOPLIST_FILE = demo/Info.plist;
868
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
868
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
869
 				OTHER_LDFLAGS = (
869
 				OTHER_LDFLAGS = (
870
 					"$(inherited)",
870
 					"$(inherited)",
871
 					"-ObjC",
871
 					"-ObjC",
872
 					"-lc++",
872
 					"-lc++",
873
 				);
873
 				);
874
-				PRODUCT_NAME = explorer;
874
+				PRODUCT_NAME = demo;
875
 				VERSIONING_SYSTEM = "apple-generic";
875
 				VERSIONING_SYSTEM = "apple-generic";
876
 			};
876
 			};
877
 			name = Release;
877
 			name = Release;
955
 /* End XCBuildConfiguration section */
955
 /* End XCBuildConfiguration section */
956
 
956
 
957
 /* Begin XCConfigurationList section */
957
 /* Begin XCConfigurationList section */
958
-		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "explorerTests" */ = {
958
+		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "demoTests" */ = {
959
 			isa = XCConfigurationList;
959
 			isa = XCConfigurationList;
960
 			buildConfigurations = (
960
 			buildConfigurations = (
961
 				00E356F61AD99517003FC87E /* Debug */,
961
 				00E356F61AD99517003FC87E /* Debug */,
964
 			defaultConfigurationIsVisible = 0;
964
 			defaultConfigurationIsVisible = 0;
965
 			defaultConfigurationName = Release;
965
 			defaultConfigurationName = Release;
966
 		};
966
 		};
967
-		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "explorer" */ = {
967
+		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "demo" */ = {
968
 			isa = XCConfigurationList;
968
 			isa = XCConfigurationList;
969
 			buildConfigurations = (
969
 			buildConfigurations = (
970
 				13B07F941A680F5B00A75B9A /* Debug */,
970
 				13B07F941A680F5B00A75B9A /* Debug */,
973
 			defaultConfigurationIsVisible = 0;
973
 			defaultConfigurationIsVisible = 0;
974
 			defaultConfigurationName = Release;
974
 			defaultConfigurationName = Release;
975
 		};
975
 		};
976
-		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "explorer" */ = {
976
+		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "demo" */ = {
977
 			isa = XCConfigurationList;
977
 			isa = XCConfigurationList;
978
 			buildConfigurations = (
978
 			buildConfigurations = (
979
 				83CBBA201A601CBA00E9B192 /* Debug */,
979
 				83CBBA201A601CBA00E9B192 /* Debug */,

examples/explorer/ios/explorer.xcodeproj/xcshareddata/xcschemes/explorer.xcscheme → demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme View File

29
             <BuildableReference
29
             <BuildableReference
30
                BuildableIdentifier = "primary"
30
                BuildableIdentifier = "primary"
31
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
31
                BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
32
-               BuildableName = "explorer.app"
33
-               BlueprintName = "explorer"
34
-               ReferencedContainer = "container:explorer.xcodeproj">
32
+               BuildableName = "demo.app"
33
+               BlueprintName = "demo"
34
+               ReferencedContainer = "container:demo.xcodeproj">
35
             </BuildableReference>
35
             </BuildableReference>
36
          </BuildActionEntry>
36
          </BuildActionEntry>
37
          <BuildActionEntry
37
          <BuildActionEntry
43
             <BuildableReference
43
             <BuildableReference
44
                BuildableIdentifier = "primary"
44
                BuildableIdentifier = "primary"
45
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
45
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
46
-               BuildableName = "explorerTests.xctest"
47
-               BlueprintName = "explorerTests"
48
-               ReferencedContainer = "container:explorer.xcodeproj">
46
+               BuildableName = "demoTests.xctest"
47
+               BlueprintName = "demoTests"
48
+               ReferencedContainer = "container:demo.xcodeproj">
49
             </BuildableReference>
49
             </BuildableReference>
50
          </BuildActionEntry>
50
          </BuildActionEntry>
51
       </BuildActionEntries>
51
       </BuildActionEntries>
61
             <BuildableReference
61
             <BuildableReference
62
                BuildableIdentifier = "primary"
62
                BuildableIdentifier = "primary"
63
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
63
                BlueprintIdentifier = "00E356ED1AD99517003FC87E"
64
-               BuildableName = "explorerTests.xctest"
65
-               BlueprintName = "explorerTests"
66
-               ReferencedContainer = "container:explorer.xcodeproj">
64
+               BuildableName = "demoTests.xctest"
65
+               BlueprintName = "demoTests"
66
+               ReferencedContainer = "container:demo.xcodeproj">
67
             </BuildableReference>
67
             </BuildableReference>
68
          </TestableReference>
68
          </TestableReference>
69
       </Testables>
69
       </Testables>
71
          <BuildableReference
71
          <BuildableReference
72
             BuildableIdentifier = "primary"
72
             BuildableIdentifier = "primary"
73
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
73
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
74
-            BuildableName = "explorer.app"
75
-            BlueprintName = "explorer"
76
-            ReferencedContainer = "container:explorer.xcodeproj">
74
+            BuildableName = "demo.app"
75
+            BlueprintName = "demo"
76
+            ReferencedContainer = "container:demo.xcodeproj">
77
          </BuildableReference>
77
          </BuildableReference>
78
       </MacroExpansion>
78
       </MacroExpansion>
79
       <AdditionalOptions>
79
       <AdditionalOptions>
94
          <BuildableReference
94
          <BuildableReference
95
             BuildableIdentifier = "primary"
95
             BuildableIdentifier = "primary"
96
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
96
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
97
-            BuildableName = "explorer.app"
98
-            BlueprintName = "explorer"
99
-            ReferencedContainer = "container:explorer.xcodeproj">
97
+            BuildableName = "demo.app"
98
+            BlueprintName = "demo"
99
+            ReferencedContainer = "container:demo.xcodeproj">
100
          </BuildableReference>
100
          </BuildableReference>
101
       </BuildableProductRunnable>
101
       </BuildableProductRunnable>
102
       <AdditionalOptions>
102
       <AdditionalOptions>
113
          <BuildableReference
113
          <BuildableReference
114
             BuildableIdentifier = "primary"
114
             BuildableIdentifier = "primary"
115
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
115
             BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
116
-            BuildableName = "explorer.app"
117
-            BlueprintName = "explorer"
118
-            ReferencedContainer = "container:explorer.xcodeproj">
116
+            BuildableName = "demo.app"
117
+            BlueprintName = "demo"
118
+            ReferencedContainer = "container:demo.xcodeproj">
119
          </BuildableReference>
119
          </BuildableReference>
120
       </BuildableProductRunnable>
120
       </BuildableProductRunnable>
121
    </ProfileAction>
121
    </ProfileAction>

examples/explorer/ios/explorer/AppDelegate.h → demo/ios/demo/AppDelegate.h View File


examples/explorer/ios/explorer/AppDelegate.m → demo/ios/demo/AppDelegate.m View File

21
   jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
21
   jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22
 
22
 
23
   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
23
   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
24
-                                                      moduleName:@"explorer"
24
+                                                      moduleName:@"demo"
25
                                                initialProperties:nil
25
                                                initialProperties:nil
26
                                                    launchOptions:launchOptions];
26
                                                    launchOptions:launchOptions];
27
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
27
   rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

examples/explorer/ios/explorer/Base.lproj/LaunchScreen.xib → demo/ios/demo/Base.lproj/LaunchScreen.xib View File

18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
18
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
                     <nil key="highlightedColor"/>
19
                     <nil key="highlightedColor"/>
20
                 </label>
20
                 </label>
21
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="explorer" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
21
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="demo" 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"/>
22
                     <rect key="frame" x="20" y="140" width="441" height="43"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
23
                     <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
24
                     <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>

examples/explorer/ios/explorer/Images.xcassets/AppIcon.appiconset/Contents.json → demo/ios/demo/Images.xcassets/AppIcon.appiconset/Contents.json View File


examples/explorer/ios/explorer/Info.plist → demo/ios/demo/Info.plist View File


examples/explorer/ios/explorer/main.m → demo/ios/demo/main.m View File


examples/explorer/ios/explorerTests/Info.plist → demo/ios/demoTests/Info.plist View File


examples/explorer/ios/explorerTests/explorerTests.m → demo/ios/demoTests/demoTests.m View File

16
 #define TIMEOUT_SECONDS 600
16
 #define TIMEOUT_SECONDS 600
17
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
17
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18
 
18
 
19
-@interface explorerTests : XCTestCase
19
+@interface demoTests : XCTestCase
20
 
20
 
21
 @end
21
 @end
22
 
22
 
23
-@implementation explorerTests
23
+@implementation demoTests
24
 
24
 
25
 - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
25
 - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26
 {
26
 {

examples/explorer/package.json → demo/package.json View File

1
 {
1
 {
2
-  "name": "explorer",
2
+  "name": "demo",
3
   "version": "0.0.1",
3
   "version": "0.0.1",
4
   "private": true,
4
   "private": true,
5
   "scripts": {
5
   "scripts": {

+ 0
- 3
examples/explorer/android/app/src/main/res/values/strings.xml View File

1
-<resources>
2
-    <string name="app_name">explorer</string>
3
-</resources>

+ 0
- 5
examples/explorer/android/settings.gradle View File

1
-rootProject.name = 'explorer'
2
-include ':react-native-autoheightwebview'
3
-project(':react-native-autoheightwebview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-autoheightwebview/android')
4
-
5
-include ':app'