Browse Source

deleted old redux example, using yarn, update package.json to alpha

Daniel Zlotin 7 years ago
parent
commit
94d5698d92
100 changed files with 1 additions and 2418 deletions
  1. 1
    15
      .watchmanconfig
  2. 0
    6
      old-example-redux/.buckconfig
  3. 0
    58
      old-example-redux/.flowconfig
  4. 0
    40
      old-example-redux/.gitignore
  5. 0
    1
      old-example-redux/.watchmanconfig
  6. 0
    17
      old-example-redux/README.md
  7. 0
    66
      old-example-redux/android/app/BUCK
  8. 0
    140
      old-example-redux/android/app/build.gradle
  9. 0
    66
      old-example-redux/android/app/proguard-rules.pro
  10. 0
    24
      old-example-redux/android/app/src/main/AndroidManifest.xml
  11. 0
    16
      old-example-redux/android/app/src/main/java/com/exampleredux/MainActivity.java
  12. 0
    22
      old-example-redux/android/app/src/main/java/com/exampleredux/MainApplication.java
  13. BIN
      old-example-redux/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  14. BIN
      old-example-redux/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  15. BIN
      old-example-redux/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  16. BIN
      old-example-redux/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  17. 0
    3
      old-example-redux/android/app/src/main/res/values/strings.xml
  18. 0
    8
      old-example-redux/android/app/src/main/res/values/styles.xml
  19. 0
    24
      old-example-redux/android/build.gradle
  20. 0
    20
      old-example-redux/android/gradle.properties
  21. BIN
      old-example-redux/android/gradle/wrapper/gradle-wrapper.jar
  22. 0
    6
      old-example-redux/android/gradle/wrapper/gradle-wrapper.properties
  23. 0
    164
      old-example-redux/android/gradlew
  24. 0
    90
      old-example-redux/android/gradlew.bat
  25. 0
    6
      old-example-redux/android/settings.gradle
  26. BIN
      old-example-redux/img/colors.png
  27. BIN
      old-example-redux/img/ic_account_box_@1.5x.android.png
  28. BIN
      old-example-redux/img/ic_account_box_@1x.android.png
  29. BIN
      old-example-redux/img/ic_account_box_@1x.ios.png
  30. BIN
      old-example-redux/img/ic_account_box_@2x.android.png
  31. BIN
      old-example-redux/img/ic_account_box_@2x.ios.png
  32. BIN
      old-example-redux/img/ic_account_box_@3x.android.png
  33. BIN
      old-example-redux/img/ic_account_box_@3x.ios.png
  34. BIN
      old-example-redux/img/ic_account_box_@4x.android.png
  35. BIN
      old-example-redux/img/ic_add_alert@1.5x.android.png
  36. BIN
      old-example-redux/img/ic_add_alert@1x.android.png
  37. BIN
      old-example-redux/img/ic_add_alert@1x.ios.png
  38. BIN
      old-example-redux/img/ic_add_alert@2x.android.png
  39. BIN
      old-example-redux/img/ic_add_alert@2x.ios.png
  40. BIN
      old-example-redux/img/ic_add_alert@3x.android.png
  41. BIN
      old-example-redux/img/ic_add_alert@3x.ios.png
  42. BIN
      old-example-redux/img/ic_add_alert@4x.android.png
  43. BIN
      old-example-redux/img/ic_clear@1.5x.png
  44. BIN
      old-example-redux/img/ic_clear@1x.png
  45. BIN
      old-example-redux/img/ic_clear@2x.png
  46. BIN
      old-example-redux/img/ic_clear@3x.png
  47. BIN
      old-example-redux/img/ic_clear@4x.png
  48. BIN
      old-example-redux/img/ic_home@1.5x.android.png
  49. BIN
      old-example-redux/img/ic_home@1x.android.png
  50. BIN
      old-example-redux/img/ic_home@1x.ios.png
  51. BIN
      old-example-redux/img/ic_home@2x.android.png
  52. BIN
      old-example-redux/img/ic_home@2x.ios.png
  53. BIN
      old-example-redux/img/ic_home@3x.android.png
  54. BIN
      old-example-redux/img/ic_home@3x.ios.png
  55. BIN
      old-example-redux/img/ic_home@4x.android.png
  56. BIN
      old-example-redux/img/ic_mail@1.5.png
  57. BIN
      old-example-redux/img/ic_mail@1x.png
  58. BIN
      old-example-redux/img/ic_mail@2x.png
  59. BIN
      old-example-redux/img/ic_mail@3x.png
  60. BIN
      old-example-redux/img/ic_mail@4x.png
  61. BIN
      old-example-redux/img/ic_share@1.5x.png
  62. BIN
      old-example-redux/img/ic_share@1x.png
  63. BIN
      old-example-redux/img/ic_share@2x.png
  64. BIN
      old-example-redux/img/ic_share@3x.png
  65. BIN
      old-example-redux/img/ic_share@4x.png
  66. BIN
      old-example-redux/img/navicon_add@2x.android.png
  67. BIN
      old-example-redux/img/navicon_add@2x.png
  68. BIN
      old-example-redux/img/navicon_add@3x.android.png
  69. BIN
      old-example-redux/img/navicon_edit@2x.png
  70. BIN
      old-example-redux/img/navicon_menu@2x.png
  71. BIN
      old-example-redux/img/one@2x.png
  72. BIN
      old-example-redux/img/one_selected@2x.png
  73. BIN
      old-example-redux/img/three@2x.png
  74. BIN
      old-example-redux/img/three_selected@2x.png
  75. BIN
      old-example-redux/img/two@2x.png
  76. BIN
      old-example-redux/img/two_selected@2x.png
  77. 0
    3
      old-example-redux/index.android.js
  78. 0
    3
      old-example-redux/index.ios.js
  79. 0
    800
      old-example-redux/ios/exampleRedux.xcodeproj/project.pbxproj
  80. 0
    112
      old-example-redux/ios/exampleRedux.xcodeproj/xcshareddata/xcschemes/exampleRedux.xcscheme
  81. 0
    16
      old-example-redux/ios/exampleRedux/AppDelegate.h
  82. 0
    46
      old-example-redux/ios/exampleRedux/AppDelegate.m
  83. 0
    42
      old-example-redux/ios/exampleRedux/Base.lproj/LaunchScreen.xib
  84. 0
    38
      old-example-redux/ios/exampleRedux/Images.xcassets/AppIcon.appiconset/Contents.json
  85. 0
    47
      old-example-redux/ios/exampleRedux/Info.plist
  86. 0
    18
      old-example-redux/ios/exampleRedux/main.m
  87. 0
    24
      old-example-redux/ios/exampleReduxTests/Info.plist
  88. 0
    70
      old-example-redux/ios/exampleReduxTests/exampleReduxTests.m
  89. 0
    18
      old-example-redux/package.json
  90. 0
    196
      old-example-redux/src/app.js
  91. 0
    15
      old-example-redux/src/components/ExampleComponent.js
  92. 0
    2
      old-example-redux/src/reducers/app/actionTypes.js
  93. 0
    20
      old-example-redux/src/reducers/app/actions.js
  94. 0
    17
      old-example-redux/src/reducers/app/reducer.js
  95. 0
    2
      old-example-redux/src/reducers/counter/actionTypes.js
  96. 0
    9
      old-example-redux/src/reducers/counter/actions.js
  97. 0
    21
      old-example-redux/src/reducers/counter/reducer.js
  98. 0
    7
      old-example-redux/src/reducers/index.js
  99. 0
    100
      old-example-redux/src/screens/BottomTabsSideMenu.js
  100. 0
    0
      old-example-redux/src/screens/FirstTabScreen.js

+ 1
- 15
.watchmanconfig View File

@@ -1,15 +1 @@
1
-{
2
-  "ignore_dirs": [
3
-    ".git",
4
-    "node_modules",
5
-    ".gradle",
6
-    ".idea",
7
-    "gradle",
8
-    "build",
9
-    "example",
10
-    "example-redux",
11
-    "android/.gradle",
12
-    "android/gradle",
13
-    "android/app/build"
14
-  ]
15
-}
1
+{}

+ 0
- 6
old-example-redux/.buckconfig View File

@@ -1,6 +0,0 @@
1
-
2
-[android]
3
-  target = Google Inc.:Google APIs:23
4
-
5
-[maven_repositories]
6
-  central = https://repo1.maven.org/maven2

+ 0
- 58
old-example-redux/.flowconfig View File

@@ -1,58 +0,0 @@
1
-[ignore]
2
-
3
-# We fork some components by platform.
4
-.*/*.android.js
5
-
6
-# Ignore templates with `@flow` in header
7
-.*/local-cli/generator.*
8
-
9
-# Ignore malformed json
10
-.*/node_modules/y18n/test/.*\.json
11
-
12
-# Ignore the website subdir
13
-<PROJECT_ROOT>/website/.*
14
-
15
-# Ignore BUCK generated dirs
16
-<PROJECT_ROOT>/\.buckd/
17
-
18
-# Ignore unexpected extra @providesModule
19
-.*/node_modules/commoner/test/source/widget/share.js
20
-
21
-# Ignore duplicate module providers
22
-# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
23
-.*/Libraries/react-native/React.js
24
-.*/Libraries/react-native/ReactNative.js
25
-.*/node_modules/jest-runtime/build/__tests__/.*
26
-
27
-[include]
28
-
29
-[libs]
30
-node_modules/react-native/Libraries/react-native/react-native-interface.js
31
-node_modules/react-native/flow
32
-flow/
33
-
34
-[options]
35
-module.system=haste
36
-
37
-esproposal.class_static_fields=enable
38
-esproposal.class_instance_fields=enable
39
-
40
-experimental.strict_type_args=true
41
-
42
-munge_underscores=true
43
-
44
-module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
45
-module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
46
-
47
-suppress_type=$FlowIssue
48
-suppress_type=$FlowFixMe
49
-suppress_type=$FixMe
50
-
51
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52
-suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
53
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
54
-
55
-unsafe.enable_getters_and_setters=true
56
-
57
-[version]
58
-^0.29.0

+ 0
- 40
old-example-redux/.gitignore View File

@@ -1,40 +0,0 @@
1
-# OSX
2
-#
3
-.DS_Store
4
-
5
-# Xcode
6
-#
7
-build/
8
-*.pbxuser
9
-!default.pbxuser
10
-*.mode1v3
11
-!default.mode1v3
12
-*.mode2v3
13
-!default.mode2v3
14
-*.perspectivev3
15
-!default.perspectivev3
16
-xcuserdata
17
-*.xccheckout
18
-*.moved-aside
19
-DerivedData
20
-*.hmap
21
-*.ipa
22
-*.xcuserstate
23
-project.xcworkspace
24
-
25
-# Android/IJ
26
-#
27
-.idea
28
-.gradle
29
-local.properties
30
-
31
-# node.js
32
-#
33
-node_modules/
34
-npm-debug.log
35
-
36
-# BUCK
37
-buck-out/
38
-\.buckd/
39
-android/app/libs
40
-android/keystores/debug.keystore

+ 0
- 1
old-example-redux/.watchmanconfig View File

@@ -1 +0,0 @@
1
-{}

+ 0
- 17
old-example-redux/README.md View File

@@ -1,17 +0,0 @@
1
-# example-redux
2
-
3
-A simple usage example for an app based on redux. If you're not using redux, take a look at [example](../example) (without redux). The non-redux example will also include more examples of pure navigation features since we don't want to maintain two full examples. Make sure to look at it as well.
4
-
5
-## Installation - iOS
6
-
7
-* In the `example-redux/` folder, run `npm install`
8
-
9
-> Make sure you're using npm ver 3. If you normally use npm ver 2 on your system and reluctant to upgrade, you can install [npm 3 alongside 2](https://www.npmjs.com/package/npm3). For more details see https://github.com/wix/react-native-navigation/issues/1. In addition, redux also causes some issues with npm 2. If you have to use npm 2 on this project, fix those by running `npm run fix_npm2` in your project directory after running `npm install`.
10
-
11
-* Open `example-redux/ios/exampleRedux.xcodeproj` in Xcode and press the play button
12
-
13
-## Folder Structure
14
-
15
-* `src/screens/` - all your app screens, every screen is a redux connected ("smart") component
16
-* `src/components/` - all react sub-components, they are not aware of redux ("dumb") and get everything by props
17
-* `src/reducers/` - all of your redux goodness (reducts and their actions) goes here, all business logic should be here

+ 0
- 66
old-example-redux/android/app/BUCK View File

@@ -1,66 +0,0 @@
1
-import re
2
-
3
-# To learn about Buck see [Docs](https://buckbuild.com/).
4
-# To run your application with Buck:
5
-# - install Buck
6
-# - `npm start` - to start the packager
7
-# - `cd android`
8
-# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
9
-# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
10
-# - `buck install -r android/app` - compile, install and run application
11
-#
12
-
13
-lib_deps = []
14
-for jarfile in glob(['libs/*.jar']):
15
-  name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile)
16
-  lib_deps.append(':' + name)
17
-  prebuilt_jar(
18
-    name = name,
19
-    binary_jar = jarfile,
20
-  )
21
-
22
-for aarfile in glob(['libs/*.aar']):
23
-  name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile)
24
-  lib_deps.append(':' + name)
25
-  android_prebuilt_aar(
26
-    name = name,
27
-    aar = aarfile,
28
-  )
29
-
30
-android_library(
31
-  name = 'all-libs',
32
-  exported_deps = lib_deps
33
-)
34
-
35
-android_library(
36
-  name = 'app-code',
37
-  srcs = glob([
38
-    'src/main/java/**/*.java',
39
-  ]),
40
-  deps = [
41
-    ':all-libs',
42
-    ':build_config',
43
-    ':res',
44
-  ],
45
-)
46
-
47
-android_build_config(
48
-  name = 'build_config',
49
-  package = 'com.exampleredux',
50
-)
51
-
52
-android_resource(
53
-  name = 'res',
54
-  res = 'src/main/res',
55
-  package = 'com.exampleredux',
56
-)
57
-
58
-android_binary(
59
-  name = 'app',
60
-  package_type = 'debug',
61
-  manifest = 'src/main/AndroidManifest.xml',
62
-  keystore = '//android/keystores:debug',
63
-  deps = [
64
-    ':app-code',
65
-  ],
66
-)

+ 0
- 140
old-example-redux/android/app/build.gradle View File

@@ -1,140 +0,0 @@
1
-apply plugin: "com.android.application"
2
-
3
-import com.android.build.OutputFile
4
-
5
-/**
6
- * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7
- * and bundleReleaseJsAndAssets).
8
- * These basically call `react-native bundle` with the correct arguments during the Android build
9
- * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10
- * bundle directly from the development server. Below you can see all the possible configurations
11
- * and their defaults. If you decide to add a configuration block, make sure to add it before the
12
- * `apply from: "../../node_modules/react-native/react.gradle"` line.
13
- *
14
- * project.ext.react = [
15
- *   // the name of the generated asset file containing your JS bundle
16
- *   bundleAssetName: "index.android.bundle",
17
- *
18
- *   // the entry file for bundle generation
19
- *   entryFile: "index.android.js",
20
- *
21
- *   // whether to bundle JS and assets in debug mode
22
- *   bundleInDebug: false,
23
- *
24
- *   // whether to bundle JS and assets in release mode
25
- *   bundleInRelease: true,
26
- *
27
- *   // whether to bundle JS and assets in another build variant (if configured).
28
- *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29
- *   // The configuration property can be in the following formats
30
- *   //         'bundleIn${productFlavor}${buildType}'
31
- *   //         'bundleIn${buildType}'
32
- *   // bundleInFreeDebug: true,
33
- *   // bundleInPaidRelease: true,
34
- *   // bundleInBeta: true,
35
- *
36
- *   // the root of your project, i.e. where "package.json" lives
37
- *   root: "../../",
38
- *
39
- *   // where to put the JS bundle asset in debug mode
40
- *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
41
- *
42
- *   // where to put the JS bundle asset in release mode
43
- *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
44
- *
45
- *   // where to put drawable resources / React Native assets, e.g. the ones you use via
46
- *   // require('./image.png')), in debug mode
47
- *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
48
- *
49
- *   // where to put drawable resources / React Native assets, e.g. the ones you use via
50
- *   // require('./image.png')), in release mode
51
- *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
52
- *
53
- *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
54
- *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
55
- *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
56
- *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
57
- *   // for example, you might want to remove it from here.
58
- *   inputExcludes: ["android/**", "ios/**"],
59
- *
60
- *   // override which node gets called and with what additional arguments
61
- *   nodeExecutableAndArgs: ["node"]
62
- *
63
- *   // supply additional arguments to the packager
64
- *   extraPackagerArgs: []
65
- * ]
66
- */
67
-
68
-apply from: "../../node_modules/react-native/react.gradle"
69
-
70
-/**
71
- * Set this to true to create two separate APKs instead of one:
72
- *   - An APK that only works on ARM devices
73
- *   - An APK that only works on x86 devices
74
- * The advantage is the size of the APK is reduced by about 4MB.
75
- * Upload all the APKs to the Play Store and people will download
76
- * the correct one based on the CPU architecture of their device.
77
- */
78
-def enableSeparateBuildPerCPUArchitecture = false
79
-
80
-/**
81
- * Run Proguard to shrink the Java bytecode in release builds.
82
- */
83
-def enableProguardInReleaseBuilds = false
84
-
85
-android {
86
-    compileSdkVersion 23
87
-    buildToolsVersion "23.0.3"
88
-
89
-    defaultConfig {
90
-        applicationId "com.exampleredux"
91
-        minSdkVersion 16
92
-        targetSdkVersion 23
93
-        versionCode 1
94
-        versionName "1.0"
95
-        ndk {
96
-            abiFilters "armeabi-v7a", "x86"
97
-        }
98
-    }
99
-    splits {
100
-        abi {
101
-            reset()
102
-            enable enableSeparateBuildPerCPUArchitecture
103
-            universalApk false  // If true, also generate a universal APK
104
-            include "armeabi-v7a", "x86"
105
-        }
106
-    }
107
-    buildTypes {
108
-        release {
109
-            minifyEnabled enableProguardInReleaseBuilds
110
-            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
111
-        }
112
-    }
113
-    // applicationVariants are e.g. debug, release
114
-    applicationVariants.all { variant ->
115
-        variant.outputs.each { output ->
116
-            // For each separate APK per architecture, set a unique version code as described here:
117
-            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
118
-            def versionCodes = ["armeabi-v7a": 1, "x86": 2]
119
-            def abi = output.getFilter(OutputFile.ABI)
120
-            if (abi != null) {  // null for the universal-debug, universal-release variants
121
-                output.versionCodeOverride =
122
-                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
123
-            }
124
-        }
125
-    }
126
-}
127
-
128
-dependencies {
129
-    compile fileTree(dir: "libs", include: ["*.jar"])
130
-    compile "com.android.support:appcompat-v7:23.0.1"
131
-    compile "com.facebook.react:react-native:+"  // From node_modules
132
-    compile project(':react-native-navigation')
133
-}
134
-
135
-// Run this once to be able to run the application with BUCK
136
-// puts all compile dependencies into folder libs for BUCK to use
137
-task copyDownloadableDepsToLibs(type: Copy) {
138
-    from configurations.compile
139
-    into 'libs'
140
-}

+ 0
- 66
old-example-redux/android/app/proguard-rules.pro View File

@@ -1,66 +0,0 @@
1
-# Add project specific ProGuard rules here.
2
-# By default, the flags in this file are appended to flags specified
3
-# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4
-# You can edit the include path and order by changing the proguardFiles
5
-# directive in build.gradle.
6
-#
7
-# For more details, see
8
-#   http://developer.android.com/guide/developing/tools/proguard.html
9
-
10
-# Add any project specific keep options here:
11
-
12
-# If your project uses WebView with JS, uncomment the following
13
-# and specify the fully qualified class name to the JavaScript interface
14
-# class:
15
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16
-#   public *;
17
-#}
18
-
19
-# Disabling obfuscation is useful if you collect stack traces from production crashes
20
-# (unless you are using a system that supports de-obfuscate the stack traces).
21
--dontobfuscate
22
-
23
-# React Native
24
-
25
-# Keep our interfaces so they can be used by other ProGuard rules.
26
-# See http://sourceforge.net/p/proguard/bugs/466/
27
--keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28
--keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29
--keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30
-
31
-# Do not strip any method/class that is annotated with @DoNotStrip
32
--keep @com.facebook.proguard.annotations.DoNotStrip class *
33
--keep @com.facebook.common.internal.DoNotStrip class *
34
--keepclassmembers class * {
35
-    @com.facebook.proguard.annotations.DoNotStrip *;
36
-    @com.facebook.common.internal.DoNotStrip *;
37
-}
38
-
39
--keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40
-  void set*(***);
41
-  *** get*();
42
-}
43
-
44
--keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45
--keep class * extends com.facebook.react.bridge.NativeModule { *; }
46
--keepclassmembers,includedescriptorclasses class * { native <methods>; }
47
--keepclassmembers class *  { @com.facebook.react.uimanager.UIProp <fields>; }
48
--keepclassmembers class *  { @com.facebook.react.uimanager.annotations.ReactProp <methods>; }
49
--keepclassmembers class *  { @com.facebook.react.uimanager.annotations.ReactPropGroup <methods>; }
50
-
51
--dontwarn com.facebook.react.**
52
-
53
-# okhttp
54
-
55
--keepattributes Signature
56
--keepattributes *Annotation*
57
--keep class okhttp3.** { *; }
58
--keep interface okhttp3.** { *; }
59
--dontwarn okhttp3.**
60
-
61
-# okio
62
-
63
--keep class sun.misc.Unsafe { *; }
64
--dontwarn java.nio.file.*
65
--dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
66
--dontwarn okio.**

+ 0
- 24
old-example-redux/android/app/src/main/AndroidManifest.xml View File

@@ -1,24 +0,0 @@
1
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
-    package="com.exampleredux">
3
-
4
-    <uses-permission android:name="android.permission.INTERNET" />
5
-
6
-    <application
7
-        android:name=".MainApplication"
8
-        android:allowBackup="true"
9
-        android:icon="@mipmap/ic_launcher"
10
-        android:label="@string/app_name"
11
-        android:theme="@style/AppTheme">
12
-        <activity
13
-            android:name=".MainActivity"
14
-            android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
15
-            android:label="@string/app_name">
16
-            <intent-filter>
17
-                <action android:name="android.intent.action.MAIN" />
18
-                <category android:name="android.intent.category.LAUNCHER" />
19
-            </intent-filter>
20
-        </activity>
21
-        <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
22
-    </application>
23
-
24
-</manifest>

+ 0
- 16
old-example-redux/android/app/src/main/java/com/exampleredux/MainActivity.java View File

@@ -1,16 +0,0 @@
1
-package com.exampleredux;
2
-
3
-import android.graphics.Color;
4
-import android.view.View;
5
-
6
-import com.reactnativenavigation.controllers.SplashActivity;
7
-
8
-public class MainActivity extends SplashActivity {
9
-
10
-    @Override
11
-    public View createSplashLayout() {
12
-        View view = new View(this);
13
-        view.setBackgroundColor(Color.BLUE);
14
-        return view;
15
-    }
16
-}

+ 0
- 22
old-example-redux/android/app/src/main/java/com/exampleredux/MainApplication.java View File

@@ -1,22 +0,0 @@
1
-package com.exampleredux;
2
-
3
-import android.support.annotation.Nullable;
4
-
5
-import com.facebook.react.ReactPackage;
6
-import com.reactnativenavigation.NavigationApplication;
7
-
8
-import java.util.List;
9
-
10
-public class MainApplication extends NavigationApplication {
11
-
12
-    @Override
13
-    public boolean isDebug() {
14
-        return BuildConfig.DEBUG;
15
-    }
16
-
17
-    @Nullable
18
-    @Override
19
-    public List<ReactPackage> createAdditionalReactPackages() {
20
-        return null;
21
-    }
22
-}

BIN
old-example-redux/android/app/src/main/res/mipmap-hdpi/ic_launcher.png View File


BIN
old-example-redux/android/app/src/main/res/mipmap-mdpi/ic_launcher.png View File


BIN
old-example-redux/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File


BIN
old-example-redux/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File


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

@@ -1,3 +0,0 @@
1
-<resources>
2
-    <string name="app_name">exampleRedux</string>
3
-</resources>

+ 0
- 8
old-example-redux/android/app/src/main/res/values/styles.xml View File

@@ -1,8 +0,0 @@
1
-<resources>
2
-
3
-    <!-- Base application theme. -->
4
-    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
5
-        <!-- Customize your theme here. -->
6
-    </style>
7
-
8
-</resources>

+ 0
- 24
old-example-redux/android/build.gradle View File

@@ -1,24 +0,0 @@
1
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
-
3
-buildscript {
4
-    repositories {
5
-        jcenter()
6
-    }
7
-    dependencies {
8
-        classpath 'com.android.tools.build:gradle:2.1.3'
9
-
10
-        // NOTE: Do not place your application dependencies here; they belong
11
-        // in the individual module build.gradle files
12
-    }
13
-}
14
-
15
-allprojects {
16
-    repositories {
17
-        mavenLocal()
18
-        jcenter()
19
-        maven {
20
-            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21
-            url "$rootDir/../node_modules/react-native/android"
22
-        }
23
-    }
24
-}

+ 0
- 20
old-example-redux/android/gradle.properties View File

@@ -1,20 +0,0 @@
1
-# Project-wide Gradle settings.
2
-
3
-# IDE (e.g. Android Studio) users:
4
-# Gradle settings configured through the IDE *will override*
5
-# any settings specified in this file.
6
-
7
-# For more details on how to configure your build environment visit
8
-# http://www.gradle.org/docs/current/userguide/build_environment.html
9
-
10
-# Specifies the JVM arguments used for the daemon process.
11
-# The setting is particularly useful for tweaking memory settings.
12
-# Default value: -Xmx10248m -XX:MaxPermSize=256m
13
-# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14
-
15
-# When configured, Gradle will run in incubating parallel mode.
16
-# This option should only be used with decoupled projects. More details, visit
17
-# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
-# org.gradle.parallel=true
19
-
20
-android.useDeprecatedNdk=true

BIN
old-example-redux/android/gradle/wrapper/gradle-wrapper.jar View File


+ 0
- 6
old-example-redux/android/gradle/wrapper/gradle-wrapper.properties View File

@@ -1,6 +0,0 @@
1
-#Sun Aug 28 15:34:43 IDT 2016
2
-distributionBase=GRADLE_USER_HOME
3
-distributionPath=wrapper/dists
4
-zipStoreBase=GRADLE_USER_HOME
5
-zipStorePath=wrapper/dists
6
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

+ 0
- 164
old-example-redux/android/gradlew View File

@@ -1,164 +0,0 @@
1
-#!/usr/bin/env bash
2
-
3
-##############################################################################
4
-##
5
-##  Gradle start up script for UN*X
6
-##
7
-##############################################################################
8
-
9
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
-DEFAULT_JVM_OPTS=""
11
-
12
-APP_NAME="Gradle"
13
-APP_BASE_NAME=`basename "$0"`
14
-
15
-# Use the maximum available, or set MAX_FD != -1 to use that value.
16
-MAX_FD="maximum"
17
-
18
-warn ( ) {
19
-    echo "$*"
20
-}
21
-
22
-die ( ) {
23
-    echo
24
-    echo "$*"
25
-    echo
26
-    exit 1
27
-}
28
-
29
-# OS specific support (must be 'true' or 'false').
30
-cygwin=false
31
-msys=false
32
-darwin=false
33
-case "`uname`" in
34
-  CYGWIN* )
35
-    cygwin=true
36
-    ;;
37
-  Darwin* )
38
-    darwin=true
39
-    ;;
40
-  MINGW* )
41
-    msys=true
42
-    ;;
43
-esac
44
-
45
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
46
-if $cygwin ; then
47
-    [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48
-fi
49
-
50
-# Attempt to set APP_HOME
51
-# Resolve links: $0 may be a link
52
-PRG="$0"
53
-# Need this for relative symlinks.
54
-while [ -h "$PRG" ] ; do
55
-    ls=`ls -ld "$PRG"`
56
-    link=`expr "$ls" : '.*-> \(.*\)$'`
57
-    if expr "$link" : '/.*' > /dev/null; then
58
-        PRG="$link"
59
-    else
60
-        PRG=`dirname "$PRG"`"/$link"
61
-    fi
62
-done
63
-SAVED="`pwd`"
64
-cd "`dirname \"$PRG\"`/" >&-
65
-APP_HOME="`pwd -P`"
66
-cd "$SAVED" >&-
67
-
68
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69
-
70
-# Determine the Java command to use to start the JVM.
71
-if [ -n "$JAVA_HOME" ] ; then
72
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73
-        # IBM's JDK on AIX uses strange locations for the executables
74
-        JAVACMD="$JAVA_HOME/jre/sh/java"
75
-    else
76
-        JAVACMD="$JAVA_HOME/bin/java"
77
-    fi
78
-    if [ ! -x "$JAVACMD" ] ; then
79
-        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80
-
81
-Please set the JAVA_HOME variable in your environment to match the
82
-location of your Java installation."
83
-    fi
84
-else
85
-    JAVACMD="java"
86
-    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87
-
88
-Please set the JAVA_HOME variable in your environment to match the
89
-location of your Java installation."
90
-fi
91
-
92
-# Increase the maximum file descriptors if we can.
93
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94
-    MAX_FD_LIMIT=`ulimit -H -n`
95
-    if [ $? -eq 0 ] ; then
96
-        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97
-            MAX_FD="$MAX_FD_LIMIT"
98
-        fi
99
-        ulimit -n $MAX_FD
100
-        if [ $? -ne 0 ] ; then
101
-            warn "Could not set maximum file descriptor limit: $MAX_FD"
102
-        fi
103
-    else
104
-        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105
-    fi
106
-fi
107
-
108
-# For Darwin, add options to specify how the application appears in the dock
109
-if $darwin; then
110
-    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111
-fi
112
-
113
-# For Cygwin, switch paths to Windows format before running java
114
-if $cygwin ; then
115
-    APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116
-    CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117
-
118
-    # We build the pattern for arguments to be converted via cygpath
119
-    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120
-    SEP=""
121
-    for dir in $ROOTDIRSRAW ; do
122
-        ROOTDIRS="$ROOTDIRS$SEP$dir"
123
-        SEP="|"
124
-    done
125
-    OURCYGPATTERN="(^($ROOTDIRS))"
126
-    # Add a user-defined pattern to the cygpath arguments
127
-    if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128
-        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129
-    fi
130
-    # Now convert the arguments - kludge to limit ourselves to /bin/sh
131
-    i=0
132
-    for arg in "$@" ; do
133
-        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134
-        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option
135
-
136
-        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition
137
-            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138
-        else
139
-            eval `echo args$i`="\"$arg\""
140
-        fi
141
-        i=$((i+1))
142
-    done
143
-    case $i in
144
-        (0) set -- ;;
145
-        (1) set -- "$args0" ;;
146
-        (2) set -- "$args0" "$args1" ;;
147
-        (3) set -- "$args0" "$args1" "$args2" ;;
148
-        (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149
-        (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150
-        (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151
-        (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152
-        (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153
-        (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154
-    esac
155
-fi
156
-
157
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158
-function splitJvmOpts() {
159
-    JVM_OPTS=("$@")
160
-}
161
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163
-
164
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

+ 0
- 90
old-example-redux/android/gradlew.bat View File

@@ -1,90 +0,0 @@
1
-@if "%DEBUG%" == "" @echo off
2
-@rem ##########################################################################
3
-@rem
4
-@rem  Gradle startup script for Windows
5
-@rem
6
-@rem ##########################################################################
7
-
8
-@rem Set local scope for the variables with windows NT shell
9
-if "%OS%"=="Windows_NT" setlocal
10
-
11
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
-set DEFAULT_JVM_OPTS=
13
-
14
-set DIRNAME=%~dp0
15
-if "%DIRNAME%" == "" set DIRNAME=.
16
-set APP_BASE_NAME=%~n0
17
-set APP_HOME=%DIRNAME%
18
-
19
-@rem Find java.exe
20
-if defined JAVA_HOME goto findJavaFromJavaHome
21
-
22
-set JAVA_EXE=java.exe
23
-%JAVA_EXE% -version >NUL 2>&1
24
-if "%ERRORLEVEL%" == "0" goto init
25
-
26
-echo.
27
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
-echo.
29
-echo Please set the JAVA_HOME variable in your environment to match the
30
-echo location of your Java installation.
31
-
32
-goto fail
33
-
34
-:findJavaFromJavaHome
35
-set JAVA_HOME=%JAVA_HOME:"=%
36
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
-
38
-if exist "%JAVA_EXE%" goto init
39
-
40
-echo.
41
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
-echo.
43
-echo Please set the JAVA_HOME variable in your environment to match the
44
-echo location of your Java installation.
45
-
46
-goto fail
47
-
48
-:init
49
-@rem Get command-line arguments, handling Windowz variants
50
-
51
-if not "%OS%" == "Windows_NT" goto win9xME_args
52
-if "%@eval[2+2]" == "4" goto 4NT_args
53
-
54
-:win9xME_args
55
-@rem Slurp the command line arguments.
56
-set CMD_LINE_ARGS=
57
-set _SKIP=2
58
-
59
-:win9xME_args_slurp
60
-if "x%~1" == "x" goto execute
61
-
62
-set CMD_LINE_ARGS=%*
63
-goto execute
64
-
65
-:4NT_args
66
-@rem Get arguments from the 4NT Shell from JP Software
67
-set CMD_LINE_ARGS=%$
68
-
69
-:execute
70
-@rem Setup the command line
71
-
72
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
-
74
-@rem Execute Gradle
75
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
-
77
-:end
78
-@rem End local scope for the variables with windows NT shell
79
-if "%ERRORLEVEL%"=="0" goto mainEnd
80
-
81
-:fail
82
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
-rem the _cmd.exe /c_ return code!
84
-if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
-exit /b 1
86
-
87
-:mainEnd
88
-if "%OS%"=="Windows_NT" endlocal
89
-
90
-:omega

+ 0
- 6
old-example-redux/android/settings.gradle View File

@@ -1,6 +0,0 @@
1
-rootProject.name = 'exampleRedux'
2
-
3
-include ':app'
4
-include ':react-native-navigation'
5
-project(':react-native-navigation').projectDir = new File(
6
-        rootProject.projectDir, '../node_modules/react-native-navigation/android/app/')

BIN
old-example-redux/img/colors.png View File


BIN
old-example-redux/img/ic_account_box_@1.5x.android.png View File


BIN
old-example-redux/img/ic_account_box_@1x.android.png View File


BIN
old-example-redux/img/ic_account_box_@1x.ios.png View File


BIN
old-example-redux/img/ic_account_box_@2x.android.png View File


BIN
old-example-redux/img/ic_account_box_@2x.ios.png View File


BIN
old-example-redux/img/ic_account_box_@3x.android.png View File


BIN
old-example-redux/img/ic_account_box_@3x.ios.png View File


BIN
old-example-redux/img/ic_account_box_@4x.android.png View File


BIN
old-example-redux/img/ic_add_alert@1.5x.android.png View File


BIN
old-example-redux/img/ic_add_alert@1x.android.png View File


BIN
old-example-redux/img/ic_add_alert@1x.ios.png View File


BIN
old-example-redux/img/ic_add_alert@2x.android.png View File


BIN
old-example-redux/img/ic_add_alert@2x.ios.png View File


BIN
old-example-redux/img/ic_add_alert@3x.android.png View File


BIN
old-example-redux/img/ic_add_alert@3x.ios.png View File


BIN
old-example-redux/img/ic_add_alert@4x.android.png View File


BIN
old-example-redux/img/ic_clear@1.5x.png View File


BIN
old-example-redux/img/ic_clear@1x.png View File


BIN
old-example-redux/img/ic_clear@2x.png View File


BIN
old-example-redux/img/ic_clear@3x.png View File


BIN
old-example-redux/img/ic_clear@4x.png View File


BIN
old-example-redux/img/ic_home@1.5x.android.png View File


BIN
old-example-redux/img/ic_home@1x.android.png View File


BIN
old-example-redux/img/ic_home@1x.ios.png View File


BIN
old-example-redux/img/ic_home@2x.android.png View File


BIN
old-example-redux/img/ic_home@2x.ios.png View File


BIN
old-example-redux/img/ic_home@3x.android.png View File


BIN
old-example-redux/img/ic_home@3x.ios.png View File


BIN
old-example-redux/img/ic_home@4x.android.png View File


BIN
old-example-redux/img/ic_mail@1.5.png View File


BIN
old-example-redux/img/ic_mail@1x.png View File


BIN
old-example-redux/img/ic_mail@2x.png View File


BIN
old-example-redux/img/ic_mail@3x.png View File


BIN
old-example-redux/img/ic_mail@4x.png View File


BIN
old-example-redux/img/ic_share@1.5x.png View File


BIN
old-example-redux/img/ic_share@1x.png View File


BIN
old-example-redux/img/ic_share@2x.png View File


BIN
old-example-redux/img/ic_share@3x.png View File


BIN
old-example-redux/img/ic_share@4x.png View File


BIN
old-example-redux/img/navicon_add@2x.android.png View File


BIN
old-example-redux/img/navicon_add@2x.png View File


BIN
old-example-redux/img/navicon_add@3x.android.png View File


BIN
old-example-redux/img/navicon_edit@2x.png View File


BIN
old-example-redux/img/navicon_menu@2x.png View File


BIN
old-example-redux/img/one@2x.png View File


BIN
old-example-redux/img/one_selected@2x.png View File


BIN
old-example-redux/img/three@2x.png View File


BIN
old-example-redux/img/three_selected@2x.png View File


BIN
old-example-redux/img/two@2x.png View File


BIN
old-example-redux/img/two_selected@2x.png View File


+ 0
- 3
old-example-redux/index.android.js View File

@@ -1,3 +0,0 @@
1
-import App from './src/app';
2
-
3
-const app = new App();

+ 0
- 3
old-example-redux/index.ios.js View File

@@ -1,3 +0,0 @@
1
-import App from './src/app';
2
-
3
-const app = new App();

+ 0
- 800
old-example-redux/ios/exampleRedux.xcodeproj/project.pbxproj View File

@@ -1,800 +0,0 @@
1
-// !$*UTF8*$!
2
-{
3
-	archiveVersion = 1;
4
-	classes = {
5
-	};
6
-	objectVersion = 46;
7
-	objects = {
8
-
9
-/* Begin PBXBuildFile section */
10
-		00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11
-		00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.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 */; };
14
-		00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15
-		00E356F31AD99517003FC87E /* exampleReduxTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleReduxTests.m */; };
16
-		133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.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 */; };
19
-		13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20
-		13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21
-		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22
-		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23
-		146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24
-		832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
25
-		CCCF23211C9C238500455574 /* libReactNativeControllers.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CCCF23201C9C236100455574 /* libReactNativeControllers.a */; };
26
-/* End PBXBuildFile section */
27
-
28
-/* Begin PBXContainerItemProxy section */
29
-		00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
30
-			isa = PBXContainerItemProxy;
31
-			containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
32
-			proxyType = 2;
33
-			remoteGlobalIDString = 134814201AA4EA6300B7C361;
34
-			remoteInfo = RCTActionSheet;
35
-		};
36
-		00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
37
-			isa = PBXContainerItemProxy;
38
-			containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
39
-			proxyType = 2;
40
-			remoteGlobalIDString = 134814201AA4EA6300B7C361;
41
-			remoteInfo = RCTGeolocation;
42
-		};
43
-		00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
44
-			isa = PBXContainerItemProxy;
45
-			containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
46
-			proxyType = 2;
47
-			remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
48
-			remoteInfo = RCTImage;
49
-		};
50
-		00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
51
-			isa = PBXContainerItemProxy;
52
-			containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
53
-			proxyType = 2;
54
-			remoteGlobalIDString = 58B511DB1A9E6C8500147676;
55
-			remoteInfo = RCTNetwork;
56
-		};
57
-		00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
58
-			isa = PBXContainerItemProxy;
59
-			containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
60
-			proxyType = 2;
61
-			remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
62
-			remoteInfo = RCTVibration;
63
-		};
64
-		00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
65
-			isa = PBXContainerItemProxy;
66
-			containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
67
-			proxyType = 1;
68
-			remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
69
-			remoteInfo = exampleRedux;
70
-		};
71
-		139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
72
-			isa = PBXContainerItemProxy;
73
-			containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
74
-			proxyType = 2;
75
-			remoteGlobalIDString = 134814201AA4EA6300B7C361;
76
-			remoteInfo = RCTSettings;
77
-		};
78
-		139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
79
-			isa = PBXContainerItemProxy;
80
-			containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
81
-			proxyType = 2;
82
-			remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
83
-			remoteInfo = RCTWebSocket;
84
-		};
85
-		146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
86
-			isa = PBXContainerItemProxy;
87
-			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
88
-			proxyType = 2;
89
-			remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
90
-			remoteInfo = React;
91
-		};
92
-		78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
93
-			isa = PBXContainerItemProxy;
94
-			containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
95
-			proxyType = 2;
96
-			remoteGlobalIDString = 134814201AA4EA6300B7C361;
97
-			remoteInfo = RCTLinking;
98
-		};
99
-		832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
100
-			isa = PBXContainerItemProxy;
101
-			containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
102
-			proxyType = 2;
103
-			remoteGlobalIDString = 58B5119B1A9E6C1200147676;
104
-			remoteInfo = RCTText;
105
-		};
106
-		CCCF231F1C9C236100455574 /* PBXContainerItemProxy */ = {
107
-			isa = PBXContainerItemProxy;
108
-			containerPortal = CCCF23111C9C236100455574 /* ReactNativeControllers.xcodeproj */;
109
-			proxyType = 2;
110
-			remoteGlobalIDString = D8AFADBD1BEE6F3F00A4592D;
111
-			remoteInfo = ReactNativeControllers;
112
-		};
113
-/* End PBXContainerItemProxy section */
114
-
115
-/* Begin PBXFileReference section */
116
-		008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
117
-		00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
118
-		00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
119
-		00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
120
-		00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
121
-		00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
122
-		00E356EE1AD99517003FC87E /* exampleReduxTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleReduxTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
123
-		00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
124
-		00E356F21AD99517003FC87E /* exampleReduxTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleReduxTests.m; sourceTree = "<group>"; };
125
-		139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
126
-		139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
127
-		13B07F961A680F5B00A75B9A /* exampleRedux.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = exampleRedux.app; sourceTree = BUILT_PRODUCTS_DIR; };
128
-		13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = exampleRedux/AppDelegate.h; sourceTree = "<group>"; };
129
-		13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = exampleRedux/AppDelegate.m; sourceTree = "<group>"; };
130
-		13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
131
-		13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = exampleRedux/Images.xcassets; sourceTree = "<group>"; };
132
-		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = exampleRedux/Info.plist; sourceTree = "<group>"; };
133
-		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = exampleRedux/main.m; sourceTree = "<group>"; };
134
-		146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
135
-		78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
136
-		832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
137
-		CCCF23111C9C236100455574 /* ReactNativeControllers.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeControllers.xcodeproj; path = "../node_modules/react-native-controllers/ios/ReactNativeControllers.xcodeproj"; sourceTree = "<group>"; };
138
-/* End PBXFileReference section */
139
-
140
-/* Begin PBXFrameworksBuildPhase section */
141
-		00E356EB1AD99517003FC87E /* Frameworks */ = {
142
-			isa = PBXFrameworksBuildPhase;
143
-			buildActionMask = 2147483647;
144
-			files = (
145
-			);
146
-			runOnlyForDeploymentPostprocessing = 0;
147
-		};
148
-		13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
149
-			isa = PBXFrameworksBuildPhase;
150
-			buildActionMask = 2147483647;
151
-			files = (
152
-				CCCF23211C9C238500455574 /* libReactNativeControllers.a in Frameworks */,
153
-				146834051AC3E58100842450 /* libReact.a in Frameworks */,
154
-				00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
155
-				00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
156
-				00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
157
-				133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
158
-				00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
159
-				139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
160
-				832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
161
-				00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
162
-				139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
163
-			);
164
-			runOnlyForDeploymentPostprocessing = 0;
165
-		};
166
-/* End PBXFrameworksBuildPhase section */
167
-
168
-/* Begin PBXGroup section */
169
-		00C302A81ABCB8CE00DB3ED1 /* Products */ = {
170
-			isa = PBXGroup;
171
-			children = (
172
-				00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
173
-			);
174
-			name = Products;
175
-			sourceTree = "<group>";
176
-		};
177
-		00C302B61ABCB90400DB3ED1 /* Products */ = {
178
-			isa = PBXGroup;
179
-			children = (
180
-				00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
181
-			);
182
-			name = Products;
183
-			sourceTree = "<group>";
184
-		};
185
-		00C302BC1ABCB91800DB3ED1 /* Products */ = {
186
-			isa = PBXGroup;
187
-			children = (
188
-				00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
189
-			);
190
-			name = Products;
191
-			sourceTree = "<group>";
192
-		};
193
-		00C302D41ABCB9D200DB3ED1 /* Products */ = {
194
-			isa = PBXGroup;
195
-			children = (
196
-				00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
197
-			);
198
-			name = Products;
199
-			sourceTree = "<group>";
200
-		};
201
-		00C302E01ABCB9EE00DB3ED1 /* Products */ = {
202
-			isa = PBXGroup;
203
-			children = (
204
-				00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
205
-			);
206
-			name = Products;
207
-			sourceTree = "<group>";
208
-		};
209
-		00E356EF1AD99517003FC87E /* exampleReduxTests */ = {
210
-			isa = PBXGroup;
211
-			children = (
212
-				00E356F21AD99517003FC87E /* exampleReduxTests.m */,
213
-				00E356F01AD99517003FC87E /* Supporting Files */,
214
-			);
215
-			path = exampleReduxTests;
216
-			sourceTree = "<group>";
217
-		};
218
-		00E356F01AD99517003FC87E /* Supporting Files */ = {
219
-			isa = PBXGroup;
220
-			children = (
221
-				00E356F11AD99517003FC87E /* Info.plist */,
222
-			);
223
-			name = "Supporting Files";
224
-			sourceTree = "<group>";
225
-		};
226
-		139105B71AF99BAD00B5F7CC /* Products */ = {
227
-			isa = PBXGroup;
228
-			children = (
229
-				139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
230
-			);
231
-			name = Products;
232
-			sourceTree = "<group>";
233
-		};
234
-		139FDEE71B06529A00C62182 /* Products */ = {
235
-			isa = PBXGroup;
236
-			children = (
237
-				139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
238
-			);
239
-			name = Products;
240
-			sourceTree = "<group>";
241
-		};
242
-		13B07FAE1A68108700A75B9A /* exampleRedux */ = {
243
-			isa = PBXGroup;
244
-			children = (
245
-				008F07F21AC5B25A0029DE68 /* main.jsbundle */,
246
-				13B07FAF1A68108700A75B9A /* AppDelegate.h */,
247
-				13B07FB01A68108700A75B9A /* AppDelegate.m */,
248
-				13B07FB51A68108700A75B9A /* Images.xcassets */,
249
-				13B07FB61A68108700A75B9A /* Info.plist */,
250
-				13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
251
-				13B07FB71A68108700A75B9A /* main.m */,
252
-			);
253
-			name = exampleRedux;
254
-			sourceTree = "<group>";
255
-		};
256
-		146834001AC3E56700842450 /* Products */ = {
257
-			isa = PBXGroup;
258
-			children = (
259
-				146834041AC3E56700842450 /* libReact.a */,
260
-			);
261
-			name = Products;
262
-			sourceTree = "<group>";
263
-		};
264
-		78C398B11ACF4ADC00677621 /* Products */ = {
265
-			isa = PBXGroup;
266
-			children = (
267
-				78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
268
-			);
269
-			name = Products;
270
-			sourceTree = "<group>";
271
-		};
272
-		832341AE1AAA6A7D00B99B32 /* Libraries */ = {
273
-			isa = PBXGroup;
274
-			children = (
275
-				146833FF1AC3E56700842450 /* React.xcodeproj */,
276
-				00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
277
-				00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
278
-				00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
279
-				78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
280
-				00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
281
-				139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
282
-				832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
283
-				00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
284
-				139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
285
-				CCCF23111C9C236100455574 /* ReactNativeControllers.xcodeproj */,
286
-			);
287
-			name = Libraries;
288
-			sourceTree = "<group>";
289
-		};
290
-		832341B11AAA6A8300B99B32 /* Products */ = {
291
-			isa = PBXGroup;
292
-			children = (
293
-				832341B51AAA6A8300B99B32 /* libRCTText.a */,
294
-			);
295
-			name = Products;
296
-			sourceTree = "<group>";
297
-		};
298
-		83CBB9F61A601CBA00E9B192 = {
299
-			isa = PBXGroup;
300
-			children = (
301
-				13B07FAE1A68108700A75B9A /* exampleRedux */,
302
-				832341AE1AAA6A7D00B99B32 /* Libraries */,
303
-				00E356EF1AD99517003FC87E /* exampleReduxTests */,
304
-				83CBBA001A601CBA00E9B192 /* Products */,
305
-			);
306
-			indentWidth = 2;
307
-			sourceTree = "<group>";
308
-			tabWidth = 2;
309
-		};
310
-		83CBBA001A601CBA00E9B192 /* Products */ = {
311
-			isa = PBXGroup;
312
-			children = (
313
-				13B07F961A680F5B00A75B9A /* exampleRedux.app */,
314
-				00E356EE1AD99517003FC87E /* exampleReduxTests.xctest */,
315
-			);
316
-			name = Products;
317
-			sourceTree = "<group>";
318
-		};
319
-		CCCF23121C9C236100455574 /* Products */ = {
320
-			isa = PBXGroup;
321
-			children = (
322
-				CCCF23201C9C236100455574 /* libReactNativeControllers.a */,
323
-			);
324
-			name = Products;
325
-			sourceTree = "<group>";
326
-		};
327
-/* End PBXGroup section */
328
-
329
-/* Begin PBXNativeTarget section */
330
-		00E356ED1AD99517003FC87E /* exampleReduxTests */ = {
331
-			isa = PBXNativeTarget;
332
-			buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleReduxTests" */;
333
-			buildPhases = (
334
-				00E356EA1AD99517003FC87E /* Sources */,
335
-				00E356EB1AD99517003FC87E /* Frameworks */,
336
-				00E356EC1AD99517003FC87E /* Resources */,
337
-			);
338
-			buildRules = (
339
-			);
340
-			dependencies = (
341
-				00E356F51AD99517003FC87E /* PBXTargetDependency */,
342
-			);
343
-			name = exampleReduxTests;
344
-			productName = exampleReduxTests;
345
-			productReference = 00E356EE1AD99517003FC87E /* exampleReduxTests.xctest */;
346
-			productType = "com.apple.product-type.bundle.unit-test";
347
-		};
348
-		13B07F861A680F5B00A75B9A /* exampleRedux */ = {
349
-			isa = PBXNativeTarget;
350
-			buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "exampleRedux" */;
351
-			buildPhases = (
352
-				13B07F871A680F5B00A75B9A /* Sources */,
353
-				13B07F8C1A680F5B00A75B9A /* Frameworks */,
354
-				13B07F8E1A680F5B00A75B9A /* Resources */,
355
-				00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
356
-			);
357
-			buildRules = (
358
-			);
359
-			dependencies = (
360
-			);
361
-			name = exampleRedux;
362
-			productName = "Hello World";
363
-			productReference = 13B07F961A680F5B00A75B9A /* exampleRedux.app */;
364
-			productType = "com.apple.product-type.application";
365
-		};
366
-/* End PBXNativeTarget section */
367
-
368
-/* Begin PBXProject section */
369
-		83CBB9F71A601CBA00E9B192 /* Project object */ = {
370
-			isa = PBXProject;
371
-			attributes = {
372
-				LastUpgradeCheck = 0610;
373
-				ORGANIZATIONNAME = Facebook;
374
-				TargetAttributes = {
375
-					00E356ED1AD99517003FC87E = {
376
-						CreatedOnToolsVersion = 6.2;
377
-						TestTargetID = 13B07F861A680F5B00A75B9A;
378
-					};
379
-				};
380
-			};
381
-			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "exampleRedux" */;
382
-			compatibilityVersion = "Xcode 3.2";
383
-			developmentRegion = English;
384
-			hasScannedForEncodings = 0;
385
-			knownRegions = (
386
-				en,
387
-				Base,
388
-			);
389
-			mainGroup = 83CBB9F61A601CBA00E9B192;
390
-			productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
391
-			projectDirPath = "";
392
-			projectReferences = (
393
-				{
394
-					ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
395
-					ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
396
-				},
397
-				{
398
-					ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
399
-					ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
400
-				},
401
-				{
402
-					ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
403
-					ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
404
-				},
405
-				{
406
-					ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
407
-					ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
408
-				},
409
-				{
410
-					ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
411
-					ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
412
-				},
413
-				{
414
-					ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
415
-					ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
416
-				},
417
-				{
418
-					ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
419
-					ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
420
-				},
421
-				{
422
-					ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
423
-					ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
424
-				},
425
-				{
426
-					ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
427
-					ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
428
-				},
429
-				{
430
-					ProductGroup = 146834001AC3E56700842450 /* Products */;
431
-					ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
432
-				},
433
-				{
434
-					ProductGroup = CCCF23121C9C236100455574 /* Products */;
435
-					ProjectRef = CCCF23111C9C236100455574 /* ReactNativeControllers.xcodeproj */;
436
-				},
437
-			);
438
-			projectRoot = "";
439
-			targets = (
440
-				13B07F861A680F5B00A75B9A /* exampleRedux */,
441
-				00E356ED1AD99517003FC87E /* exampleReduxTests */,
442
-			);
443
-		};
444
-/* End PBXProject section */
445
-
446
-/* Begin PBXReferenceProxy section */
447
-		00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
448
-			isa = PBXReferenceProxy;
449
-			fileType = archive.ar;
450
-			path = libRCTActionSheet.a;
451
-			remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
452
-			sourceTree = BUILT_PRODUCTS_DIR;
453
-		};
454
-		00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
455
-			isa = PBXReferenceProxy;
456
-			fileType = archive.ar;
457
-			path = libRCTGeolocation.a;
458
-			remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
459
-			sourceTree = BUILT_PRODUCTS_DIR;
460
-		};
461
-		00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
462
-			isa = PBXReferenceProxy;
463
-			fileType = archive.ar;
464
-			path = libRCTImage.a;
465
-			remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
466
-			sourceTree = BUILT_PRODUCTS_DIR;
467
-		};
468
-		00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
469
-			isa = PBXReferenceProxy;
470
-			fileType = archive.ar;
471
-			path = libRCTNetwork.a;
472
-			remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
473
-			sourceTree = BUILT_PRODUCTS_DIR;
474
-		};
475
-		00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
476
-			isa = PBXReferenceProxy;
477
-			fileType = archive.ar;
478
-			path = libRCTVibration.a;
479
-			remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
480
-			sourceTree = BUILT_PRODUCTS_DIR;
481
-		};
482
-		139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
483
-			isa = PBXReferenceProxy;
484
-			fileType = archive.ar;
485
-			path = libRCTSettings.a;
486
-			remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
487
-			sourceTree = BUILT_PRODUCTS_DIR;
488
-		};
489
-		139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
490
-			isa = PBXReferenceProxy;
491
-			fileType = archive.ar;
492
-			path = libRCTWebSocket.a;
493
-			remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
494
-			sourceTree = BUILT_PRODUCTS_DIR;
495
-		};
496
-		146834041AC3E56700842450 /* libReact.a */ = {
497
-			isa = PBXReferenceProxy;
498
-			fileType = archive.ar;
499
-			path = libReact.a;
500
-			remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
501
-			sourceTree = BUILT_PRODUCTS_DIR;
502
-		};
503
-		78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
504
-			isa = PBXReferenceProxy;
505
-			fileType = archive.ar;
506
-			path = libRCTLinking.a;
507
-			remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
508
-			sourceTree = BUILT_PRODUCTS_DIR;
509
-		};
510
-		832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
511
-			isa = PBXReferenceProxy;
512
-			fileType = archive.ar;
513
-			path = libRCTText.a;
514
-			remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
515
-			sourceTree = BUILT_PRODUCTS_DIR;
516
-		};
517
-		CCCF23201C9C236100455574 /* libReactNativeControllers.a */ = {
518
-			isa = PBXReferenceProxy;
519
-			fileType = archive.ar;
520
-			path = libReactNativeControllers.a;
521
-			remoteRef = CCCF231F1C9C236100455574 /* PBXContainerItemProxy */;
522
-			sourceTree = BUILT_PRODUCTS_DIR;
523
-		};
524
-/* End PBXReferenceProxy section */
525
-
526
-/* Begin PBXResourcesBuildPhase section */
527
-		00E356EC1AD99517003FC87E /* Resources */ = {
528
-			isa = PBXResourcesBuildPhase;
529
-			buildActionMask = 2147483647;
530
-			files = (
531
-			);
532
-			runOnlyForDeploymentPostprocessing = 0;
533
-		};
534
-		13B07F8E1A680F5B00A75B9A /* Resources */ = {
535
-			isa = PBXResourcesBuildPhase;
536
-			buildActionMask = 2147483647;
537
-			files = (
538
-				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
539
-				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
540
-			);
541
-			runOnlyForDeploymentPostprocessing = 0;
542
-		};
543
-/* End PBXResourcesBuildPhase section */
544
-
545
-/* Begin PBXShellScriptBuildPhase section */
546
-		00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
547
-			isa = PBXShellScriptBuildPhase;
548
-			buildActionMask = 2147483647;
549
-			files = (
550
-			);
551
-			inputPaths = (
552
-			);
553
-			name = "Bundle React Native code and images";
554
-			outputPaths = (
555
-			);
556
-			runOnlyForDeploymentPostprocessing = 0;
557
-			shellPath = /bin/sh;
558
-			shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
559
-		};
560
-/* End PBXShellScriptBuildPhase section */
561
-
562
-/* Begin PBXSourcesBuildPhase section */
563
-		00E356EA1AD99517003FC87E /* Sources */ = {
564
-			isa = PBXSourcesBuildPhase;
565
-			buildActionMask = 2147483647;
566
-			files = (
567
-				00E356F31AD99517003FC87E /* exampleReduxTests.m in Sources */,
568
-			);
569
-			runOnlyForDeploymentPostprocessing = 0;
570
-		};
571
-		13B07F871A680F5B00A75B9A /* Sources */ = {
572
-			isa = PBXSourcesBuildPhase;
573
-			buildActionMask = 2147483647;
574
-			files = (
575
-				13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
576
-				13B07FC11A68108700A75B9A /* main.m in Sources */,
577
-			);
578
-			runOnlyForDeploymentPostprocessing = 0;
579
-		};
580
-/* End PBXSourcesBuildPhase section */
581
-
582
-/* Begin PBXTargetDependency section */
583
-		00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
584
-			isa = PBXTargetDependency;
585
-			target = 13B07F861A680F5B00A75B9A /* exampleRedux */;
586
-			targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
587
-		};
588
-/* End PBXTargetDependency section */
589
-
590
-/* Begin PBXVariantGroup section */
591
-		13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
592
-			isa = PBXVariantGroup;
593
-			children = (
594
-				13B07FB21A68108700A75B9A /* Base */,
595
-			);
596
-			name = LaunchScreen.xib;
597
-			path = exampleRedux;
598
-			sourceTree = "<group>";
599
-		};
600
-/* End PBXVariantGroup section */
601
-
602
-/* Begin XCBuildConfiguration section */
603
-		00E356F61AD99517003FC87E /* Debug */ = {
604
-			isa = XCBuildConfiguration;
605
-			buildSettings = {
606
-				BUNDLE_LOADER = "$(TEST_HOST)";
607
-				FRAMEWORK_SEARCH_PATHS = (
608
-					"$(SDKROOT)/Developer/Library/Frameworks",
609
-					"$(inherited)",
610
-				);
611
-				GCC_PREPROCESSOR_DEFINITIONS = (
612
-					"DEBUG=1",
613
-					"$(inherited)",
614
-				);
615
-				INFOPLIST_FILE = exampleReduxTests/Info.plist;
616
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
617
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
618
-				PRODUCT_NAME = "$(TARGET_NAME)";
619
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/exampleRedux.app/exampleRedux";
620
-			};
621
-			name = Debug;
622
-		};
623
-		00E356F71AD99517003FC87E /* Release */ = {
624
-			isa = XCBuildConfiguration;
625
-			buildSettings = {
626
-				BUNDLE_LOADER = "$(TEST_HOST)";
627
-				COPY_PHASE_STRIP = NO;
628
-				FRAMEWORK_SEARCH_PATHS = (
629
-					"$(SDKROOT)/Developer/Library/Frameworks",
630
-					"$(inherited)",
631
-				);
632
-				INFOPLIST_FILE = exampleReduxTests/Info.plist;
633
-				IPHONEOS_DEPLOYMENT_TARGET = 8.2;
634
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
635
-				PRODUCT_NAME = "$(TARGET_NAME)";
636
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/exampleRedux.app/exampleRedux";
637
-			};
638
-			name = Release;
639
-		};
640
-		13B07F941A680F5B00A75B9A /* Debug */ = {
641
-			isa = XCBuildConfiguration;
642
-			buildSettings = {
643
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
644
-				DEAD_CODE_STRIPPING = NO;
645
-				HEADER_SEARCH_PATHS = (
646
-					"$(inherited)",
647
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
648
-					"$(SRCROOT)/../node_modules/react-native/React/**",
649
-					"$(SRCROOT)/../node_modules/react-native-controllers/ios/**",
650
-				);
651
-				INFOPLIST_FILE = exampleRedux/Info.plist;
652
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
653
-				OTHER_LDFLAGS = (
654
-					"-ObjC",
655
-					"-lc++",
656
-				);
657
-				PRODUCT_NAME = exampleRedux;
658
-			};
659
-			name = Debug;
660
-		};
661
-		13B07F951A680F5B00A75B9A /* Release */ = {
662
-			isa = XCBuildConfiguration;
663
-			buildSettings = {
664
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
665
-				HEADER_SEARCH_PATHS = (
666
-					"$(inherited)",
667
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
668
-					"$(SRCROOT)/../node_modules/react-native/React/**",
669
-					"$(SRCROOT)/../node_modules/react-native-controllers/ios/**",
670
-				);
671
-				INFOPLIST_FILE = exampleRedux/Info.plist;
672
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
673
-				OTHER_LDFLAGS = (
674
-					"-ObjC",
675
-					"-lc++",
676
-				);
677
-				PRODUCT_NAME = exampleRedux;
678
-			};
679
-			name = Release;
680
-		};
681
-		83CBBA201A601CBA00E9B192 /* Debug */ = {
682
-			isa = XCBuildConfiguration;
683
-			buildSettings = {
684
-				ALWAYS_SEARCH_USER_PATHS = NO;
685
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
686
-				CLANG_CXX_LIBRARY = "libc++";
687
-				CLANG_ENABLE_MODULES = YES;
688
-				CLANG_ENABLE_OBJC_ARC = YES;
689
-				CLANG_WARN_BOOL_CONVERSION = YES;
690
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
691
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
692
-				CLANG_WARN_EMPTY_BODY = YES;
693
-				CLANG_WARN_ENUM_CONVERSION = YES;
694
-				CLANG_WARN_INT_CONVERSION = YES;
695
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
696
-				CLANG_WARN_UNREACHABLE_CODE = YES;
697
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
698
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
699
-				COPY_PHASE_STRIP = NO;
700
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
701
-				GCC_C_LANGUAGE_STANDARD = gnu99;
702
-				GCC_DYNAMIC_NO_PIC = NO;
703
-				GCC_OPTIMIZATION_LEVEL = 0;
704
-				GCC_PREPROCESSOR_DEFINITIONS = (
705
-					"DEBUG=1",
706
-					"$(inherited)",
707
-				);
708
-				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
709
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
710
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
711
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
712
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
713
-				GCC_WARN_UNUSED_FUNCTION = YES;
714
-				GCC_WARN_UNUSED_VARIABLE = YES;
715
-				HEADER_SEARCH_PATHS = (
716
-					"$(inherited)",
717
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
718
-					"$(SRCROOT)/../node_modules/react-native/React/**",
719
-				);
720
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
721
-				MTL_ENABLE_DEBUG_INFO = YES;
722
-				ONLY_ACTIVE_ARCH = YES;
723
-				SDKROOT = iphoneos;
724
-			};
725
-			name = Debug;
726
-		};
727
-		83CBBA211A601CBA00E9B192 /* Release */ = {
728
-			isa = XCBuildConfiguration;
729
-			buildSettings = {
730
-				ALWAYS_SEARCH_USER_PATHS = NO;
731
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
732
-				CLANG_CXX_LIBRARY = "libc++";
733
-				CLANG_ENABLE_MODULES = YES;
734
-				CLANG_ENABLE_OBJC_ARC = YES;
735
-				CLANG_WARN_BOOL_CONVERSION = YES;
736
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
737
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
738
-				CLANG_WARN_EMPTY_BODY = YES;
739
-				CLANG_WARN_ENUM_CONVERSION = YES;
740
-				CLANG_WARN_INT_CONVERSION = YES;
741
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
742
-				CLANG_WARN_UNREACHABLE_CODE = YES;
743
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
744
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
745
-				COPY_PHASE_STRIP = YES;
746
-				ENABLE_NS_ASSERTIONS = NO;
747
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
748
-				GCC_C_LANGUAGE_STANDARD = gnu99;
749
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
750
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
751
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
752
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
753
-				GCC_WARN_UNUSED_FUNCTION = YES;
754
-				GCC_WARN_UNUSED_VARIABLE = YES;
755
-				HEADER_SEARCH_PATHS = (
756
-					"$(inherited)",
757
-					/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
758
-					"$(SRCROOT)/../node_modules/react-native/React/**",
759
-				);
760
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
761
-				MTL_ENABLE_DEBUG_INFO = NO;
762
-				SDKROOT = iphoneos;
763
-				VALIDATE_PRODUCT = YES;
764
-			};
765
-			name = Release;
766
-		};
767
-/* End XCBuildConfiguration section */
768
-
769
-/* Begin XCConfigurationList section */
770
-		00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleReduxTests" */ = {
771
-			isa = XCConfigurationList;
772
-			buildConfigurations = (
773
-				00E356F61AD99517003FC87E /* Debug */,
774
-				00E356F71AD99517003FC87E /* Release */,
775
-			);
776
-			defaultConfigurationIsVisible = 0;
777
-			defaultConfigurationName = Release;
778
-		};
779
-		13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "exampleRedux" */ = {
780
-			isa = XCConfigurationList;
781
-			buildConfigurations = (
782
-				13B07F941A680F5B00A75B9A /* Debug */,
783
-				13B07F951A680F5B00A75B9A /* Release */,
784
-			);
785
-			defaultConfigurationIsVisible = 0;
786
-			defaultConfigurationName = Release;
787
-		};
788
-		83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "exampleRedux" */ = {
789
-			isa = XCConfigurationList;
790
-			buildConfigurations = (
791
-				83CBBA201A601CBA00E9B192 /* Debug */,
792
-				83CBBA211A601CBA00E9B192 /* Release */,
793
-			);
794
-			defaultConfigurationIsVisible = 0;
795
-			defaultConfigurationName = Release;
796
-		};
797
-/* End XCConfigurationList section */
798
-	};
799
-	rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
800
-}

+ 0
- 112
old-example-redux/ios/exampleRedux.xcodeproj/xcshareddata/xcschemes/exampleRedux.xcscheme View File

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

+ 0
- 16
old-example-redux/ios/exampleRedux/AppDelegate.h View File

@@ -1,16 +0,0 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- */
9
-
10
-#import <UIKit/UIKit.h>
11
-
12
-@interface AppDelegate : UIResponder <UIApplicationDelegate>
13
-
14
-@property (nonatomic, strong) UIWindow *window;
15
-
16
-@end

+ 0
- 46
old-example-redux/ios/exampleRedux/AppDelegate.m View File

@@ -1,46 +0,0 @@
1
-#import "AppDelegate.h"
2
-
3
-// **********************************************
4
-// *** DON'T MISS: THE NEXT LINE IS IMPORTANT ***
5
-// **********************************************
6
-#import "RCCManager.h"
7
-
8
-// IMPORTANT: if you're getting an Xcode error that RCCManager.h isn't found, you've probably ran "npm install"
9
-// with npm ver 2. You'll need to "npm install" with npm 3 (see https://github.com/wix/react-native-navigation/issues/1)
10
-
11
-#import "RCTRootView.h"
12
-
13
-@implementation AppDelegate
14
-
15
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16
-{
17
-  NSURL *jsCodeLocation;
18
-  jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
19
-  // jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
20
-  
21
-  
22
-  // **********************************************
23
-  // *** DON'T MISS: THIS IS HOW WE BOOTSTRAP *****
24
-  // **********************************************
25
-  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26
-  self.window.backgroundColor = [UIColor whiteColor];
27
-  [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];
28
-  
29
-  /*
30
-   // original RN bootstrap - remove this part
31
-   RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
32
-   moduleName:@"example"
33
-   initialProperties:nil
34
-   launchOptions:launchOptions];
35
-   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
36
-   UIViewController *rootViewController = [UIViewController new];
37
-   rootViewController.view = rootView;
38
-   self.window.rootViewController = rootViewController;
39
-   [self.window makeKeyAndVisible];
40
-   */
41
-  
42
-  
43
-  return YES;
44
-}
45
-
46
-@end

+ 0
- 42
old-example-redux/ios/exampleRedux/Base.lproj/LaunchScreen.xib View File

@@ -1,42 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
3
-    <dependencies>
4
-        <deployment identifier="iOS"/>
5
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
6
-        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
7
-    </dependencies>
8
-    <objects>
9
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
10
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
11
-        <view contentMode="scaleToFill" id="iN0-l3-epB">
12
-            <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
13
-            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
-            <subviews>
15
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
16
-                    <rect key="frame" x="20" y="439" width="441" height="21"/>
17
-                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
18
-                    <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19
-                    <nil key="highlightedColor"/>
20
-                </label>
21
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="exampleRedux" 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"/>
23
-                    <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
24
-                    <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
25
-                    <nil key="highlightedColor"/>
26
-                </label>
27
-            </subviews>
28
-            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
29
-            <constraints>
30
-                <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31
-                <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
32
-                <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
33
-                <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
34
-                <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
35
-                <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
36
-            </constraints>
37
-            <nil key="simulatedStatusBarMetrics"/>
38
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
39
-            <point key="canvasLocation" x="548" y="455"/>
40
-        </view>
41
-    </objects>
42
-</document>

+ 0
- 38
old-example-redux/ios/exampleRedux/Images.xcassets/AppIcon.appiconset/Contents.json View File

@@ -1,38 +0,0 @@
1
-{
2
-  "images" : [
3
-    {
4
-      "idiom" : "iphone",
5
-      "size" : "29x29",
6
-      "scale" : "2x"
7
-    },
8
-    {
9
-      "idiom" : "iphone",
10
-      "size" : "29x29",
11
-      "scale" : "3x"
12
-    },
13
-    {
14
-      "idiom" : "iphone",
15
-      "size" : "40x40",
16
-      "scale" : "2x"
17
-    },
18
-    {
19
-      "idiom" : "iphone",
20
-      "size" : "40x40",
21
-      "scale" : "3x"
22
-    },
23
-    {
24
-      "idiom" : "iphone",
25
-      "size" : "60x60",
26
-      "scale" : "2x"
27
-    },
28
-    {
29
-      "idiom" : "iphone",
30
-      "size" : "60x60",
31
-      "scale" : "3x"
32
-    }
33
-  ],
34
-  "info" : {
35
-    "version" : 1,
36
-    "author" : "xcode"
37
-  }
38
-}

+ 0
- 47
old-example-redux/ios/exampleRedux/Info.plist View File

@@ -1,47 +0,0 @@
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>CFBundleDevelopmentRegion</key>
6
-	<string>en</string>
7
-	<key>CFBundleExecutable</key>
8
-	<string>$(EXECUTABLE_NAME)</string>
9
-	<key>CFBundleIdentifier</key>
10
-	<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11
-	<key>CFBundleInfoDictionaryVersion</key>
12
-	<string>6.0</string>
13
-	<key>CFBundleName</key>
14
-	<string>$(PRODUCT_NAME)</string>
15
-	<key>CFBundlePackageType</key>
16
-	<string>APPL</string>
17
-	<key>CFBundleShortVersionString</key>
18
-	<string>1.0.0</string>
19
-	<key>CFBundleSignature</key>
20
-	<string>????</string>
21
-	<key>CFBundleVersion</key>
22
-	<string>1</string>
23
-	<key>LSRequiresIPhoneOS</key>
24
-	<true/>
25
-	<key>UILaunchStoryboardName</key>
26
-	<string>LaunchScreen</string>
27
-	<key>UIRequiredDeviceCapabilities</key>
28
-	<array>
29
-		<string>armv7</string>
30
-	</array>
31
-	<key>UISupportedInterfaceOrientations</key>
32
-	<array>
33
-		<string>UIInterfaceOrientationPortrait</string>
34
-		<string>UIInterfaceOrientationLandscapeLeft</string>
35
-		<string>UIInterfaceOrientationLandscapeRight</string>
36
-	</array>
37
-	<key>UIViewControllerBasedStatusBarAppearance</key>
38
-	<true/>
39
-	<key>NSLocationWhenInUseUsageDescription</key>
40
-	<string></string>
41
-	<key>NSAppTransportSecurity</key>
42
-	<dict>
43
-		<key>NSAllowsArbitraryLoads</key>
44
-		<true/>
45
-	</dict>
46
-</dict>
47
-</plist>

+ 0
- 18
old-example-redux/ios/exampleRedux/main.m View File

@@ -1,18 +0,0 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- */
9
-
10
-#import <UIKit/UIKit.h>
11
-
12
-#import "AppDelegate.h"
13
-
14
-int main(int argc, char * argv[]) {
15
-  @autoreleasepool {
16
-    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17
-  }
18
-}

+ 0
- 24
old-example-redux/ios/exampleReduxTests/Info.plist View File

@@ -1,24 +0,0 @@
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>CFBundleDevelopmentRegion</key>
6
-	<string>en</string>
7
-	<key>CFBundleExecutable</key>
8
-	<string>$(EXECUTABLE_NAME)</string>
9
-	<key>CFBundleIdentifier</key>
10
-	<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11
-	<key>CFBundleInfoDictionaryVersion</key>
12
-	<string>6.0</string>
13
-	<key>CFBundleName</key>
14
-	<string>$(PRODUCT_NAME)</string>
15
-	<key>CFBundlePackageType</key>
16
-	<string>BNDL</string>
17
-	<key>CFBundleShortVersionString</key>
18
-	<string>1.0</string>
19
-	<key>CFBundleSignature</key>
20
-	<string>????</string>
21
-	<key>CFBundleVersion</key>
22
-	<string>1</string>
23
-</dict>
24
-</plist>

+ 0
- 70
old-example-redux/ios/exampleReduxTests/exampleReduxTests.m View File

@@ -1,70 +0,0 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- */
9
-
10
-#import <UIKit/UIKit.h>
11
-#import <XCTest/XCTest.h>
12
-
13
-#import "RCTLog.h"
14
-#import "RCTRootView.h"
15
-
16
-#define TIMEOUT_SECONDS 240
17
-#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18
-
19
-@interface exampleReduxTests : XCTestCase
20
-
21
-@end
22
-
23
-@implementation exampleReduxTests
24
-
25
-- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26
-{
27
-  if (test(view)) {
28
-    return YES;
29
-  }
30
-  for (UIView *subview in [view subviews]) {
31
-    if ([self findSubviewInView:subview matching:test]) {
32
-      return YES;
33
-    }
34
-  }
35
-  return NO;
36
-}
37
-
38
-- (void)testRendersWelcomeScreen
39
-{
40
-  UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController];
41
-  NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42
-  BOOL foundElement = NO;
43
-
44
-  __block NSString *redboxError = nil;
45
-  RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46
-    if (level >= RCTLogLevelError) {
47
-      redboxError = message;
48
-    }
49
-  });
50
-
51
-  while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52
-    [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53
-    [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54
-
55
-    foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56
-      if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57
-        return YES;
58
-      }
59
-      return NO;
60
-    }];
61
-  }
62
-
63
-  RCTSetLogFunction(RCTDefaultLogFunction);
64
-
65
-  XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66
-  XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67
-}
68
-
69
-
70
-@end

+ 0
- 18
old-example-redux/package.json View File

@@ -1,18 +0,0 @@
1
-{
2
-  "name": "exampleRedux",
3
-  "version": "0.0.1",
4
-  "private": true,
5
-  "scripts": {
6
-    "start": "watchman watch-del-all && adb reverse tcp:8081 tcp:8081 && node node_modules/react-native/local-cli/cli.js start",
7
-    "install:android": "cd android && ./gradlew installDebug"
8
-  },
9
-  "dependencies": {
10
-    "react-native-navigation": "file:../",
11
-    "react-native": "0.31.0",
12
-    "react": "15.2.1",
13
-    "react-redux": "^4.0.6",
14
-    "redux": "^3.0.5",
15
-    "redux-thunk": "^1.0.3",
16
-    "seamless-immutable": "^5.0.1"
17
-  }
18
-}

+ 0
- 196
old-example-redux/src/app.js View File

@@ -1,196 +0,0 @@
1
-import {createStore, applyMiddleware, combineReducers} from "redux";
2
-import {Provider} from "react-redux";
3
-import {Navigation} from "react-native-navigation";
4
-import thunk from "redux-thunk";
5
-import * as reducers from "./reducers";
6
-import * as appActions from "./reducers/app/actions";
7
-import {registerScreens} from "./screens";
8
-import {Platform} from "react-native";
9
-
10
-// redux related book keeping
11
-const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
12
-const reducer = combineReducers(reducers);
13
-const store = createStoreWithMiddleware(reducer);
14
-
15
-// screen related book keeping
16
-registerScreens(store, Provider);
17
-
18
-// notice that this is just a simple class, it's not a React component
19
-export default class App {
20
-  constructor() {
21
-    // since react-redux only works on components, we need to subscribe this class manually
22
-    store.subscribe(this.onStoreUpdate.bind(this));
23
-    store.dispatch(appActions.appInitialized());
24
-  }
25
-
26
-  onStoreUpdate() {
27
-    const {root} = store.getState().app;
28
-    // handle a root change
29
-    // if your app doesn't change roots in runtime, you can remove onStoreUpdate() altogether
30
-    if (this.currentRoot != root) {
31
-      this.currentRoot = root;
32
-      this.startApp(root);
33
-    }
34
-  }
35
-
36
-  startApp(root) {
37
-    switch (root) {
38
-      case 'login':
39
-        if (Platform.OS === 'ios') {
40
-          Navigation.startSingleScreenApp({
41
-            screen: {
42
-              screen: 'example.LoginScreen',
43
-              title: 'Login',
44
-              navigatorStyle: {}
45
-            },
46
-            passProps: {
47
-              str: 'This is a prop passed in \'startSingleScreenApp()\'!',
48
-              obj: {
49
-                str: 'This is a prop passed in an object!',
50
-                arr: [
51
-                  {
52
-                    str: 'This is a prop in an object in an array in an object!'
53
-                  }
54
-                ],
55
-                arr2: [
56
-                  [
57
-                    'array of strings',
58
-                    'with two strings'
59
-                  ],
60
-                  [
61
-                    1, 2, 3
62
-                  ]
63
-                ]
64
-              },
65
-              num: 1234,
66
-              fn: function() {
67
-                return 'Hello from a function!';
68
-              }
69
-            }
70
-          });
71
-        } else {
72
-          Navigation.startSingleScreenApp({
73
-           screen: {
74
-             screen: 'example.LoginScreen',
75
-             title: 'Login',
76
-             navigatorStyle: {}
77
-           },
78
-           passProps: {
79
-             str: 'This is a prop passed in \'startSingleScreenApp()\'!',
80
-             obj: {
81
-               str: 'This is a prop passed in an object!',
82
-               arr: [
83
-                 {
84
-                   str: 'This is a prop in an object in an array in an object!'
85
-                 }
86
-               ],
87
-               arr2: [
88
-                 [
89
-                   'array of strings',
90
-                   'with two strings'
91
-                 ],
92
-                 [
93
-                   1, 2, 3
94
-                 ]
95
-               ]
96
-             },
97
-             num: 1234,
98
-             fn: function() {
99
-               return 'Hello from a function!';
100
-             }
101
-           }
102
-          });
103
-          // Navigation.startSingleScreenApp({
104
-          //   screen: {
105
-          //     title: 'Example',
106
-          //     screen: 'example.TopTabsScreen',
107
-          //     topTabs: [
108
-          //       {
109
-          //         screenId: 'example.FirstTabScreen',
110
-          //         title: 'Tab1',
111
-          //         passProps: {
112
-          //           str: 'This is a prop passed to Tab1',
113
-          //           fn: () => 'Hello from a function passed as passProps!'
114
-          //         }
115
-          //       },
116
-          //       {
117
-          //         screenId: 'example.PushedScreen',
118
-          //         title: 'Tab2',
119
-          //         passProps: {
120
-          //           str: 'This is a prop passed to Tab2'
121
-          //         }
122
-          //       },
123
-          //       {
124
-          //         screenId: 'example.ListScreen',
125
-          //         title: 'Tab3',
126
-          //         passProps: {
127
-          //           str: 'This is a prop passed to Tab3'
128
-          //         }
129
-          //       }
130
-          //     ],
131
-          //     navigatorStyle: {}
132
-          //   },
133
-          //   drawer: { // optional, add this if you want a side menu drawer in your app
134
-          //     left: { // optional, define if you want a drawer from the left
135
-          //       screen: 'example.SideMenu' // unique ID registered with Navigation.registerScreen
136
-          //     },
137
-          //     disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
138
-          //   }
139
-          // });
140
-        }
141
-        return;
142
-      case 'after-login':
143
-        Navigation.startTabBasedApp({
144
-          tabs: [
145
-            {
146
-              label: 'One',
147
-              screen: 'example.FirstTabScreen',
148
-              icon: require('../img/one.png'),
149
-              selectedIcon: require('../img/one_selected.png'),
150
-              title: 'Screen One',
151
-              overrideBackPress: true,
152
-              navigatorStyle: {}
153
-            },
154
-            {
155
-              label: 'Two',
156
-              screen: 'example.SecondTabScreen',
157
-              icon: require('../img/two.png'),
158
-              selectedIcon: require('../img/two_selected.png'),
159
-              title: 'Screen Two',
160
-              navigatorStyle: {}
161
-            }
162
-          ],
163
-          passProps: {
164
-            str: 'This is a prop passed in \'startTabBasedApp\'!',
165
-            obj: {
166
-              str: 'This is a prop passed in an object!',
167
-              arr: [
168
-                {
169
-                  str: 'This is a prop in an object in an array in an object!'
170
-                }
171
-              ]
172
-            },
173
-            num: 1234
174
-          },
175
-          animationType: 'slide-down',
176
-          title: 'Redux Example',
177
-          drawer: { // optional, add this if you want a side menu drawer in your app
178
-            left: { // optional, define if you want a drawer from the left
179
-              screen: 'example.BottomTabsSideMenu' // unique ID registered with Navigation.registerScreen
180
-            },
181
-            disableOpenGesture: false, // optional, can the drawer be opened with a swipe instead of button
182
-            passProps: {
183
-              title: 'Hello from SideMenu'
184
-            }
185
-          },
186
-          appStyle: {
187
-            bottomTabBadgeTextColor: '#ffffff',
188
-            bottomTabBadgeBackgroundColor: '#ff0000'
189
-          }
190
-        });
191
-        return;
192
-      default:
193
-        console.error('Unknown app root');
194
-    }
195
-  }
196
-}

+ 0
- 15
old-example-redux/src/components/ExampleComponent.js View File

@@ -1,15 +0,0 @@
1
-import React, {Component} from 'react';
2
-import {
3
-  Text
4
-} from 'react-native';
5
-
6
-export default class ExampleComponent extends Component {
7
-  constructor(props) {
8
-    super(props);
9
-  }
10
-  render() {
11
-    return (
12
-      <Text>I am a regular non-redux aware component</Text>
13
-    );
14
-  }
15
-}

+ 0
- 2
old-example-redux/src/reducers/app/actionTypes.js View File

@@ -1,2 +0,0 @@
1
-export const INITIALIZED = 'example.app.INITIALIZED';
2
-export const ROOT_CHANGED = 'example.app.ROOT_CHANGED';

+ 0
- 20
old-example-redux/src/reducers/app/actions.js View File

@@ -1,20 +0,0 @@
1
-import * as types from './actionTypes';
2
-
3
-export function appInitialized() {
4
-  return async function(dispatch, getState) {
5
-    // since all business logic should be inside redux actions
6
-    // this is a good place to put your app initialization code
7
-    dispatch(changeAppRoot('login'));
8
-  };
9
-}
10
-
11
-export function changeAppRoot(root) {
12
-  return {type: types.ROOT_CHANGED, root: root};
13
-}
14
-
15
-export function login() {
16
-  return async function(dispatch, getState) {
17
-    // login logic would go here, and when it's done, we switch app roots
18
-    dispatch(changeAppRoot('after-login'));
19
-  };
20
-}

+ 0
- 17
old-example-redux/src/reducers/app/reducer.js View File

@@ -1,17 +0,0 @@
1
-import * as types from './actionTypes';
2
-import Immutable from 'seamless-immutable';
3
-
4
-const initialState = Immutable({
5
-  root: undefined // 'login' / 'after-login'
6
-});
7
-
8
-export default function app(state = initialState, action = {}) {
9
-  switch (action.type) {
10
-    case types.ROOT_CHANGED:
11
-      return state.merge({
12
-        root: action.root
13
-      });
14
-    default:
15
-      return state;
16
-  }
17
-}

+ 0
- 2
old-example-redux/src/reducers/counter/actionTypes.js View File

@@ -1,2 +0,0 @@
1
-export const INCREMENT = 'example.counter.INCREMENT';
2
-export const DECREMENT = 'example.counter.DECREMENT';

+ 0
- 9
old-example-redux/src/reducers/counter/actions.js View File

@@ -1,9 +0,0 @@
1
-import * as types from './actionTypes';
2
-
3
-export function increment() {
4
-  return {type: types.INCREMENT};
5
-}
6
-
7
-export function decrement() {
8
-  return {type: types.DECREMENT};
9
-}

+ 0
- 21
old-example-redux/src/reducers/counter/reducer.js View File

@@ -1,21 +0,0 @@
1
-import * as types from './actionTypes';
2
-import Immutable from 'seamless-immutable';
3
-
4
-const initialState = Immutable({
5
-  count: 0
6
-});
7
-
8
-export default function counter(state = initialState, action = {}) {
9
-  switch (action.type) {
10
-    case types.INCREMENT:
11
-      return state.merge({
12
-        count: state.count + 1
13
-      });
14
-    case types.DECREMENT:
15
-      return state.merge({
16
-        count: state.count - 1
17
-      });
18
-    default:
19
-      return state;
20
-  }
21
-}

+ 0
- 7
old-example-redux/src/reducers/index.js View File

@@ -1,7 +0,0 @@
1
-import app from './app/reducer';
2
-import counter from './counter/reducer';
3
-
4
-export {
5
-  app,
6
-  counter
7
-};

+ 0
- 100
old-example-redux/src/screens/BottomTabsSideMenu.js View File

@@ -1,100 +0,0 @@
1
-import React, {Component, PropTypes} from 'react';
2
-import {
3
-  Text,
4
-  View,
5
-  ScrollView,
6
-  TouchableOpacity,
7
-  StyleSheet,
8
-  Alert
9
-} from 'react-native';
10
-import {connect} from 'react-redux';
11
-import * as counterActions from '../reducers/counter/actions';
12
-import _ from 'lodash';
13
-
14
-class SideMenu extends Component {
15
-
16
-  constructor(props) {
17
-    super(props);
18
-    // if you want to listen on navigator events, set this up
19
-    this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent.bind(this));
20
-  }
21
-
22
-  onNavigatorEvent(event) {
23
-      console.log('SideMenu', 'Unhandled event ' + event.id);
24
-  }
25
-
26
-  render() {
27
-    return (
28
-      <View style={styles.sideMenu}>
29
-        <Text style={styles.title}>{this.props.title}</Text>
30
-
31
-        <TouchableOpacity onPress={ this.onShowModalPress.bind(this) }>
32
-          <Text style={styles.button}>Show modal</Text>
33
-        </TouchableOpacity>
34
-
35
-        <TouchableOpacity onPress={ this.onPushScreenToFirstTab.bind(this) }>
36
-          <Text style={styles.button}>Push screen to first tab</Text>
37
-        </TouchableOpacity>
38
-
39
-        <TouchableOpacity onPress={ this.onPushScreenToSecondTab.bind(this) }>
40
-          <Text style={styles.button}>Push screen to second tab</Text>
41
-        </TouchableOpacity>
42
-      </View>
43
-    );
44
-  }
45
-
46
-  onShowModalPress() {
47
-    this.props.navigator.showModal({
48
-      title: "Modal Screen from SideMenu",
49
-      screen: "example.PushedScreen",
50
-      passProps: {
51
-        str: 'This is a prop passed in \'navigator.showModal()\'!',
52
-        obj: {
53
-          str: 'This is a prop passed in an object!',
54
-          arr: [
55
-            {
56
-              str: 'This is a prop in an object in an array in an object!'
57
-            }
58
-          ]
59
-        },
60
-        num: 1234
61
-      }
62
-    });
63
-  }
64
-
65
-  onPushScreenToFirstTab() {
66
-    this.props.navigator.handleDeepLink({
67
-      link: 'tab1/pushScreen/example.PushedScreen'
68
-    });
69
-  }
70
-
71
-  onPushScreenToSecondTab() {
72
-    this.props.navigator.handleDeepLink({
73
-      link: 'tab2/pushScreen/example.PushedScreen'
74
-    });
75
-  }
76
-}
77
-
78
-const styles = StyleSheet.create({
79
-  sideMenu: {
80
-    flex: 1,
81
-    width: 260,
82
-    backgroundColor: '#efefef',
83
-    padding: 20
84
-  },
85
-  title: {
86
-    textAlign: 'center',
87
-    marginBottom: 15
88
-  },
89
-  button: {
90
-    textAlign: 'center',
91
-    fontSize: 18,
92
-    borderBottomWidth: 1,
93
-    borderColor: 'grey',
94
-    marginBottom: 10,
95
-    marginTop:10,
96
-    color: 'black'
97
-  }
98
-});
99
-
100
-export default connect()(SideMenu);

+ 0
- 0
old-example-redux/src/screens/FirstTabScreen.js View File


Some files were not shown because too many files changed in this diff