├── .watchmanconfig
├── .gitattributes
├── index.ios.js
├── index.android.js
├── .babelrc
├── src
├── global
│ ├── TabBar
│ │ ├── index.js
│ │ └── Main
│ │ │ ├── index.ios.js
│ │ │ └── index.android.js
│ ├── NavBar
│ │ ├── index.js
│ │ └── Default
│ │ │ ├── index.android.js
│ │ │ └── index.ios.js
│ ├── NavButtons
│ │ ├── index.js
│ │ ├── WithSideMenu
│ │ │ └── index.js
│ │ └── Login
│ │ │ └── index.js
│ └── Constants
│ │ ├── Colors.js
│ │ ├── Images.js
│ │ ├── index.js
│ │ ├── Screens.js
│ │ └── Global.js
├── stores
│ ├── models
│ │ ├── index.js
│ │ └── Account.js
│ ├── Counter.js
│ ├── App.js
│ ├── index.js
│ └── Account.js
├── app.js
├── utils
│ └── MobxRnnProvider.js
└── screens
│ ├── index.js
│ ├── components
│ └── Counter.js
│ ├── PushedScreen
│ └── index.js
│ ├── Drawer
│ └── index.js
│ ├── SecondTab
│ └── index.js
│ ├── FirstTab
│ └── index.js
│ └── LoginScreen
│ └── index.js
├── img
├── one@2x.ios.png
├── one@4x.android.png
├── navicon_menu@2x.png
└── one_selected@2x.png
├── app.json
├── .buckconfig
├── android
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── reactnativenavigationmobxboilerplate
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── AndroidManifest.xml
│ ├── BUCK
│ ├── proguard-rules.pro
│ └── build.gradle
├── keystores
│ ├── debug.keystore.properties
│ └── BUCK
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── settings.gradle
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── __tests__
├── index.ios.js
└── index.android.js
├── ios
├── ReactNativeNavigationMobxBoilerplate
│ ├── AppDelegate.h
│ ├── main.m
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Info.plist
│ ├── AppDelegate.m
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── ReactNativeNavigationMobxBoilerplateTests
│ ├── Info.plist
│ └── ReactNativeNavigationMobxBoilerplateTests.m
├── ReactNativeNavigationMobxBoilerplate-tvOSTests
│ └── Info.plist
├── ReactNativeNavigationMobxBoilerplate-tvOS
│ └── Info.plist
└── ReactNativeNavigationMobxBoilerplate.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── ReactNativeNavigationMobxBoilerplate.xcscheme
│ │ └── ReactNativeNavigationMobxBoilerplate-tvOS.xcscheme
│ └── project.pbxproj
├── package.json
├── .gitignore
├── .flowconfig
└── README.md
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import App from './src/app';
4 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import App from './src/app';
4 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native", "react-native-stage-0/decorator-support"],
3 | }
4 |
--------------------------------------------------------------------------------
/src/global/TabBar/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Main from './Main';
4 |
5 | export default {
6 | Main,
7 | }
8 |
--------------------------------------------------------------------------------
/img/one@2x.ios.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/img/one@2x.ios.png
--------------------------------------------------------------------------------
/src/global/NavBar/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Default from './Default';
4 |
5 | export default {
6 | Default,
7 | }
8 |
--------------------------------------------------------------------------------
/src/stores/models/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Account from './Account';
4 |
5 | export default {
6 | Account,
7 | }
8 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ReactNativeNavigationMobxBoilerplate",
3 | "displayName": "ReactNativeNavigationMobxBoilerplate"
4 | }
--------------------------------------------------------------------------------
/img/one@4x.android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/img/one@4x.android.png
--------------------------------------------------------------------------------
/img/navicon_menu@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/img/navicon_menu@2x.png
--------------------------------------------------------------------------------
/img/one_selected@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/img/one_selected@2x.png
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | React Native Navigation Mobx Boilerplate
3 |
4 |
--------------------------------------------------------------------------------
/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/starters-dev/react-native-navigation-mobx-boilerplate/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/src/global/NavButtons/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Login from './Login';
4 | import WithSideMenu from './WithSideMenu';
5 |
6 | export default {
7 | WithSideMenu,
8 | Login,
9 | }
10 |
--------------------------------------------------------------------------------
/src/global/Constants/Colors.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | const tintColor = '#007aff';
4 |
5 | export default {
6 | tintColor,
7 | backgroundColor : '#ffffff',
8 | blackColor : '#222222',
9 | statusBarColor : 'light',
10 | }
11 |
--------------------------------------------------------------------------------
/src/global/TabBar/Main/index.ios.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 |
5 | export default {
6 | tabBarButtonColor : '#007aff',
7 | tabBarBackgroundColor : '#ffffff',
8 | tabBarTranslucent : false,
9 | }
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/global/Constants/Images.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | export default {
4 | TAB_1 : require('../../../img/one.png'),
5 | TAB_1_selected : require('../../../img/one_selected.png'),
6 |
7 | SIDE_MENU : require('../../../img/navicon_menu.png'),
8 | }
9 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'ReactNativeNavigationMobxBoilerplate'
2 |
3 | include ':app'
4 |
5 | include ':react-native-navigation'
6 | project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation/android/app/')
7 |
--------------------------------------------------------------------------------
/src/global/Constants/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Screens from './Screens';
4 | import Images from './Images';
5 | import Colors from './Colors';
6 | import Global from './Global';
7 |
8 | export default {
9 | Screens,
10 | Images,
11 | Colors,
12 | Global,
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnativenavigationmobxboilerplate/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.reactnativenavigationmobxboilerplate;
2 |
3 | // import com.facebook.react.ReactActivity;
4 | import com.reactnativenavigation.controllers.SplashActivity;
5 |
6 | public class MainActivity extends SplashActivity {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/src/app.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Provider from './utils/MobxRnnProvider';
4 | import Stores from './stores';
5 | import Constants from './global/Constants';
6 |
7 | import { registerScreens } from './screens';
8 | registerScreens(Stores, Provider);
9 |
10 | Constants.Global.startTabBasedApp()
11 |
--------------------------------------------------------------------------------
/src/stores/Counter.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { observable, action } from 'mobx';
4 |
5 | class Store {
6 | @observable count = 0;
7 |
8 | @action onPlus() {
9 | this.count += 1;
10 | }
11 |
12 | @action onMinus() {
13 | this.count -= 1;
14 | }
15 |
16 | }
17 |
18 | export default new Store();
19 |
--------------------------------------------------------------------------------
/src/global/NavButtons/WithSideMenu/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 | import Stores from '../../../stores';
5 |
6 | export default {
7 | leftButtons: Stores.App.isAndroid ? [{ id:'sideMenu' }] : [{
8 | id : 'menu',
9 | icon : Constants.Images.SIDE_MENU,
10 | }],
11 | }
12 |
--------------------------------------------------------------------------------
/__tests__/index.ios.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.ios.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/src/global/TabBar/Main/index.android.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 |
5 | export default {
6 | tabBarButtonColor : '#007aff',
7 | tabBarSelectedButtonColor : '#007aff',
8 | tabBarBackgroundColor : '#ffffff',
9 | tabBarTranslucent : false,
10 | forceTitlesDisplay : true,
11 | }
12 |
--------------------------------------------------------------------------------
/__tests__/index.android.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.android.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/src/stores/models/Account.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { observable, computed } from 'mobx';
4 | import { persist } from 'mobx-persist';
5 |
6 | class Account {
7 | @persist @observable username = 'username'
8 | @persist @observable password = 'password' // of course, you should not store password as a plain text :)
9 | }
10 |
11 | export default Account;
12 |
--------------------------------------------------------------------------------
/src/stores/App.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { Platform } from 'react-native';
4 | import { observable, action } from 'mobx';
5 |
6 | class Store {
7 | @observable rootNavigator = null; // so we can nagigate from DRAWER
8 |
9 | @observable isAndroid = Platform.OS === 'android';
10 | @observable isIOS = Platform.OS === 'ios';
11 | }
12 |
13 | export default new Store();
14 |
--------------------------------------------------------------------------------
/src/global/NavButtons/Login/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 | import Stores from '../../../stores';
5 |
6 | export default {
7 | leftButtons: Stores.App.isAndroid ? [{ id:'cancel' }] : [{
8 | id : 'cancel',
9 | title : 'Cancel',
10 | }],
11 |
12 | // rightButtons: [{
13 | // id : '...',
14 | // title : '...',
15 | // }],
16 | }
17 |
--------------------------------------------------------------------------------
/src/stores/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { create } from 'mobx-persist';
4 | import { AsyncStorage } from 'react-native';
5 |
6 | import App from './App';
7 | import Account from './Account';
8 | import Counter from './Counter';
9 |
10 | const hydrate = create({ storage: AsyncStorage });
11 |
12 | const stores = {
13 | App,
14 | Account,
15 | Counter,
16 | }
17 |
18 | // you can hydrate stores here with mobx-persist
19 | hydrate('Account', stores.Account);
20 |
21 | export default {
22 | ...stores
23 | };
24 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/AppDelegate.h:
--------------------------------------------------------------------------------
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
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/src/global/NavBar/Default/index.android.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 |
5 | // [more info] - https://wix.github.io/react-native-navigation/#/styling-the-navigator
6 | export default {
7 | navBarTextColor : Constants.Colors.mainColor,
8 | statusBarColor : Constants.Colors.tintColor,
9 | navBarButtonColor : Constants.Colors.tintColor,
10 | navBarBackgroundColor : Constants.Colors.backgroundColor,
11 | screenBackgroundColor : Constants.Colors.backgroundColor,
12 | statusBarColor : Constants.Colors.tintColor,
13 | }
14 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/main.m:
--------------------------------------------------------------------------------
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
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 | }
19 |
--------------------------------------------------------------------------------
/src/global/NavBar/Default/index.ios.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Constants from '../../Constants';
4 |
5 | // [more info] - https://wix.github.io/react-native-navigation/#/styling-the-navigator
6 | export default {
7 | navBarTextColor : Constants.Colors.blackColor,
8 | navBarBackgroundColor : Constants.Colors.backgroundColor,
9 | navBarButtonColor : Constants.Colors.tintColor,
10 | screenBackgroundColor : Constants.Colors.backgroundColor,
11 |
12 | // statusBarTextColorScheme : Constants.Colors.statusBarColor, // make sure that in Xcode > project > Info.plist, the property View controller-based status bar appearance is set to YES
13 | }
14 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
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.2.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 | }
25 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
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 | }
--------------------------------------------------------------------------------
/src/global/Constants/Screens.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import Images from './Images';
4 |
5 | export default {
6 | LOGIN_SCREEN: {
7 | screen : 'app.LoginScreen',
8 | title : 'Login',
9 | },
10 | PUSHED_SCREEN: {
11 | screen : 'app.PushedScreen',
12 | title : 'Pushed Screen',
13 | },
14 | DRAWER: {
15 | screen : 'app.DrawerScreen',
16 | },
17 |
18 | FIRST_TAB: {
19 | screen : 'app.FirstTabScreen',
20 | title : 'First Tab',
21 | label : 'First Tab',
22 | icon : Images.TAB_1,
23 | selectedIcon : Images.TAB_1_selected,
24 | },
25 | SECOND_TAB: {
26 | screen : 'app.SecondTabScreen',
27 | title : 'Second Tab',
28 | label : 'Second Tab',
29 | icon : Images.TAB_1,
30 | selectedIcon : Images.TAB_1_selected,
31 | },
32 | }
33 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ReactNativeNavigationMobxBoilerplate",
3 | "version": "0.0.2",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "babel-preset-react-native-stage-0": "^1.0.1",
11 | "mobx": "3.1.15",
12 | "mobx-persist": "^0.3.3",
13 | "mobx-react": "4.2.1",
14 | "react": "16.0.0-alpha.12",
15 | "react-native": "0.46.1",
16 | "react-native-navigation": "1.1.134"
17 | },
18 | "devDependencies": {
19 | "babel-jest": "19.0.0",
20 | "flow-bin": "^0.47.0",
21 | "jest": "19.0.2",
22 | "react-test-renderer": "16.0.0-alpha.6"
23 | },
24 | "jest": {
25 | "preset": "react-native"
26 | },
27 | "description": "React Native (RNN+MobX) boilerplate",
28 | "author": "Batyr Kanzitdinov "
29 | }
30 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplateTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
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
21 |
--------------------------------------------------------------------------------
/src/stores/Account.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { observable, action } from 'mobx';
4 | import { persist } from 'mobx-persist';
5 |
6 | import Models from './models';
7 |
8 | class Store {
9 | @persist('object', Models.Account) @observable current = new Models.Account
10 | @persist @observable authorized = false;
11 |
12 | @action login = (username: string, password: string) => {
13 | return new Promise((resolve, reject) => {
14 | if (username && password) {
15 | this.authorized = true;
16 | this.current = { username, password };
17 | resolve({ message: 'success' });
18 | } else {
19 | reject({ message: 'Something is wrong with input data :(' });
20 | }
21 | });
22 | }
23 |
24 | @action logout = () => {
25 | return new Promise((resolve, reject) => {
26 | this.authorized = false;
27 | this.current = {};
28 |
29 | resolve();
30 | });
31 | }
32 | }
33 |
34 | export default new Store();
35 |
--------------------------------------------------------------------------------
/src/utils/MobxRnnProvider.js:
--------------------------------------------------------------------------------
1 | // Thanks to github/@megahertz - https://gist.github.com/megahertz/3aad3adafa0f7d212b81f5e371863637
2 |
3 | import { Provider } from 'mobx-react/native';
4 |
5 | const SPECIAL_REACT_KEYS = { children: true, key: true, ref: true };
6 |
7 | export default class MobxRnnProvider extends Provider {
8 | props: {
9 | store: Object
10 | };
11 |
12 | context: {
13 | mobxStores: Object
14 | };
15 |
16 | getChildContext() {
17 | const stores = {};
18 |
19 | // inherit stores
20 | const baseStores = this.context.mobxStores;
21 | if (baseStores) {
22 | for (let key in baseStores) {
23 | stores[key] = baseStores[key];
24 | }
25 | }
26 |
27 | // add own stores
28 | for (let key in this.props.store) {
29 | if (!SPECIAL_REACT_KEYS[key]) {
30 | stores[key] = this.props.store[key];
31 | }
32 | }
33 |
34 | return {
35 | mobxStores: stores
36 | };
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/screens/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { Navigation } from 'react-native-navigation';
4 |
5 | import Constants from '../global/Constants';
6 |
7 | import FirstTab from './FirstTab';
8 | import SecondTab from './SecondTab';
9 | import Drawer from './Drawer';
10 | import PushedScreen from './PushedScreen';
11 | import LoginScreen from './LoginScreen';
12 |
13 | export function registerScreens(store: {}, Provider: {}) {
14 | Navigation.registerComponent(Constants.Screens.FIRST_TAB.screen, () => FirstTab, store, Provider);
15 | Navigation.registerComponent(Constants.Screens.SECOND_TAB.screen, () => SecondTab, store, Provider);
16 |
17 | Navigation.registerComponent(Constants.Screens.DRAWER.screen, () => Drawer, store, Provider);
18 | Navigation.registerComponent(Constants.Screens.PUSHED_SCREEN.screen, () => PushedScreen, store, Provider);
19 | Navigation.registerComponent(Constants.Screens.LOGIN_SCREEN.screen, () => LoginScreen, store, Provider);
20 | }
21 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
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/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
50 |
51 | fastlane/report.xml
52 | fastlane/Preview.html
53 | fastlane/screenshots
54 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnativenavigationmobxboilerplate/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.reactnativenavigationmobxboilerplate;
2 |
3 | import android.app.Application;
4 | import android.support.annotation.Nullable;
5 |
6 | import com.facebook.react.ReactApplication;
7 | import com.facebook.react.ReactNativeHost;
8 | import com.facebook.react.ReactPackage;
9 | import com.facebook.react.shell.MainReactPackage;
10 | import com.facebook.soloader.SoLoader;
11 |
12 | import java.util.Arrays;
13 | import java.util.List;
14 |
15 | import com.reactnativenavigation.NavigationApplication;
16 |
17 | public class MainApplication extends NavigationApplication {
18 |
19 | @Override
20 | public boolean isDebug() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Nullable
25 | @Override
26 | public List createAdditionalReactPackages() {
27 | return null;
28 | }
29 |
30 | @Override
31 | public void onCreate() {
32 | super.onCreate();
33 | SoLoader.init(this, /* native exopackage */ false);
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/src/screens/components/Counter.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | AppRegistry,
6 | StyleSheet,
7 | Text,
8 | View,
9 | Button,
10 | } from 'react-native';
11 |
12 | export default class Counter extends Component {
13 | render() {
14 | const { count, onPlus, onMinus } = this.props;
15 |
16 | return (
17 |
18 |
23 |
24 |
25 | { count }
26 |
27 |
28 |
33 |
34 | );
35 | }
36 | }
37 |
38 | const styles = StyleSheet.create({
39 | container: {
40 | flexDirection: 'row',
41 | justifyContent: 'center',
42 | alignItems: 'center',
43 | backgroundColor: '#F5FCFF',
44 | margin: 10,
45 | },
46 | text: {
47 | margin: 10,
48 | },
49 | button: {
50 | height: 10,
51 | width: 10,
52 | }
53 | });
54 |
--------------------------------------------------------------------------------
/src/global/Constants/Global.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import { Platform } from 'react-native';
4 | import { Navigation } from 'react-native-navigation';
5 | import Constants from '../Constants';
6 | import TabBar from '../TabBar';
7 |
8 | const startTabBasedApp = () => {
9 | Navigation.startTabBasedApp({
10 | tabs: [
11 | {
12 | ...Constants.Screens.FIRST_TAB
13 | },
14 | {
15 | ...Constants.Screens.SECOND_TAB
16 | }
17 | ],
18 | ...Platform.select({
19 | ios: {
20 | tabsStyle: TabBar.Main,
21 | },
22 | android: {
23 | appStyle: TabBar.Main,
24 | },
25 | }),
26 | drawer: {
27 | left: {
28 | screen: Constants.Screens.DRAWER.screen
29 | },
30 | disableOpenGesture: false
31 | },
32 | });
33 | }
34 |
35 | const openLoginModalIn = (navigator: { showModal: Function }, withCancelButton: boolean = true,) => {
36 | navigator.showModal({
37 | ...Constants.Screens.LOGIN_SCREEN,
38 | passProps: { withCancelButton },
39 | overrideBackPress: true, // [Android] if you want to prevent closing a modal by pressing back button in Android
40 | });
41 | }
42 |
43 | export default {
44 | startTabBasedApp,
45 | openLoginModalIn
46 | }
47 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
12 |
13 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/screens/PushedScreen/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | AppRegistry,
6 | StyleSheet,
7 | Text,
8 | View,
9 | Button,
10 | } from 'react-native';
11 | import { inject, observer } from 'mobx-react/native';
12 | import CounterView from '../components/Counter';
13 |
14 | @inject('Counter') @observer
15 | export default class PushedScreen extends Component {
16 | render() {
17 | const { Counter } = this.props;
18 |
19 | return (
20 |
21 |
22 | Pushed Screen Counter
23 |
24 |
25 | Counter.onPlus()}
28 | onMinus={() => Counter.onMinus()}
29 | />
30 |
31 |
41 | );
42 | }
43 | }
44 |
45 | const styles = StyleSheet.create({
46 | container: {
47 | flex: 1,
48 | justifyContent: 'center',
49 | alignItems: 'center',
50 | backgroundColor: '#F5FCFF',
51 | },
52 | welcome: {
53 | fontSize: 20,
54 | textAlign: 'center',
55 | margin: 10,
56 | },
57 | instructions: {
58 | textAlign: 'center',
59 | color: '#333333',
60 | marginBottom: 5,
61 | },
62 | });
63 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore templates for 'react-native init'
6 | .*/local-cli/templates/.*
7 |
8 | ; Ignore the website subdir
9 | /website/.*
10 |
11 | ; Ignore "BUCK" generated dirs
12 | /\.buckd/
13 |
14 | ; Ignore unexpected extra "@providesModule"
15 | .*/node_modules/.*/node_modules/fbjs/.*
16 |
17 | ; Ignore duplicate module providers
18 | ; For RN Apps installed via npm, "Libraries" folder is inside
19 | ; "node_modules/react-native" but in the source repo it is in the root
20 | .*/Libraries/react-native/React.js
21 |
22 | [include]
23 |
24 | [libs]
25 | Libraries/react-native/react-native-interface.js
26 | flow/
27 |
28 | [options]
29 | emoji=true
30 |
31 | module.system=haste
32 |
33 | munge_underscores=true
34 |
35 | 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'
36 |
37 | suppress_type=$FlowIssue
38 | suppress_type=$FlowFixMe
39 | suppress_type=$FixMe
40 |
41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
42 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-7]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
43 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
44 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
45 |
46 | unsafe.enable_getters_and_setters=true
47 |
48 | [version]
49 | ^0.47.0
50 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | RNN MobX
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1.0
25 | LSRequiresIPhoneOS
26 |
27 | NSAppTransportSecurity
28 |
29 | NSExceptionDomains
30 |
31 | localhost
32 |
33 | NSExceptionAllowsInsecureHTTPLoads
34 |
35 |
36 |
37 |
38 | NSLocationWhenInUseUsageDescription
39 |
40 | UILaunchStoryboardName
41 | LaunchScreen
42 | UIRequiredDeviceCapabilities
43 |
44 | armv7
45 |
46 | UISupportedInterfaceOrientations
47 |
48 | UIInterfaceOrientationPortrait
49 |
50 | UIViewControllerBasedStatusBarAppearance
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/screens/Drawer/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | AppRegistry,
6 | StyleSheet,
7 | Text,
8 | View,
9 | Button,
10 | } from 'react-native';
11 | import { inject, observer } from 'mobx-react/native';
12 |
13 | import Constants from '../../global/Constants';
14 | import CounterView from '../components/Counter';
15 |
16 | @inject('App', 'Counter') @observer
17 | export default class Drawer extends Component {
18 | render() {
19 | const { App, Counter } = this.props;
20 |
21 | return (
22 |
23 |
24 | Drawer
25 |
26 |
27 | Counter.onPlus()}
30 | onMinus={() => Counter.onMinus()}
31 | />
32 |
33 |
45 | );
46 | }
47 | }
48 |
49 | const styles = StyleSheet.create({
50 | container: {
51 | flex: 1,
52 | justifyContent: 'center',
53 | alignItems: 'center',
54 | backgroundColor: '#F5FCFF',
55 | },
56 | welcome: {
57 | fontSize: 20,
58 | textAlign: 'center',
59 | margin: 10,
60 | },
61 | instructions: {
62 | textAlign: 'center',
63 | color: '#333333',
64 | marginBottom: 5,
65 | },
66 | });
67 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.reactnativenavigationmobxboilerplate",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.reactnativenavigationmobxboilerplate",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/src/screens/SecondTab/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | StyleSheet,
6 | Text,
7 | View,
8 | Button,
9 | } from 'react-native';
10 | import { inject, observer } from 'mobx-react/native';
11 |
12 | import NavButtons from '../../global/NavButtons';
13 | import NavBar from '../../global/NavBar';
14 | import Constants from '../../global/Constants';
15 | import CounterView from '../components/Counter';
16 |
17 | @inject('Counter') @observer
18 | export default class SecondTab extends Component {
19 | static navigatorButtons = NavButtons.WithSideMenu;
20 | static navigatorStyle = NavBar.Default;
21 |
22 | constructor(props: {}) {
23 | super(props);
24 |
25 | this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent);
26 | }
27 |
28 | onNavigatorEvent = (event: {}) => {
29 | if (event.id === 'menu') {
30 | this.props.navigator.toggleDrawer({
31 | side: 'left',
32 | animated: true
33 | });
34 | }
35 | }
36 |
37 | render() {
38 | const { Counter } = this.props;
39 |
40 | return (
41 |
42 |
43 | Second Tab Counter
44 |
45 |
46 | Counter.onPlus()}
49 | onMinus={() => Counter.onMinus()}
50 | />
51 |
52 |
62 | );
63 | }
64 | }
65 |
66 | const styles = StyleSheet.create({
67 | container: {
68 | flex: 1,
69 | justifyContent: 'center',
70 | alignItems: 'center',
71 | backgroundColor: '#F5FCFF',
72 | },
73 | welcome: {
74 | fontSize: 20,
75 | textAlign: 'center',
76 | margin: 10,
77 | },
78 | instructions: {
79 | textAlign: 'center',
80 | color: '#333333',
81 | marginBottom: 5,
82 | },
83 | });
84 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/AppDelegate.m:
--------------------------------------------------------------------------------
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 "AppDelegate.h"
11 |
12 | #import
13 | #import
14 |
15 | #import "RCCManager.h"
16 |
17 | @implementation AppDelegate
18 |
19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
20 | {
21 | NSURL *jsCodeLocation;
22 |
23 | #ifdef DEBUG
24 | // jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
25 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
26 | #else
27 | jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
28 | #endif
29 |
30 | // jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
31 |
32 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
33 | self.window.backgroundColor = [UIColor whiteColor];
34 | [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];
35 |
36 | // RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
37 | // moduleName:@"ReactNativeNavigationMobxBoilerplate"
38 | // initialProperties:nil
39 | // launchOptions:launchOptions];
40 | // rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
41 | //
42 | // self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
43 | // UIViewController *rootViewController = [UIViewController new];
44 | // rootViewController.view = rootView;
45 | // self.window.rootViewController = rootViewController;
46 | // [self.window makeKeyAndVisible];
47 |
48 | return YES;
49 | }
50 |
51 | @end
52 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplateTests/ReactNativeNavigationMobxBoilerplateTests.m:
--------------------------------------------------------------------------------
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
11 | #import
12 |
13 | #import
14 | #import
15 |
16 | #define TIMEOUT_SECONDS 600
17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18 |
19 | @interface ReactNativeNavigationMobxBoilerplateTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation ReactNativeNavigationMobxBoilerplateTests
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
71 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Archived in favour of [kanzitelli/react-native-navigation-starter](https://github.com/kanzitelli/react-native-navigation-starter)
2 |
3 | [kanzitelli/react-native-navigation-starter](https://github.com/kanzitelli/react-native-navigation-starter) is using [React Native Navigation v3](https://github.com/wix/react-native-navigation) with [MobX-State-Tree](https://github.com/mobxjs/mobx-state-tree) and [Redux](https://github.com/reduxjs/redux) (pick one) and more goodies inside. So this is your case, then check it out 😉
4 |
5 | -----
6 |
7 |
8 |
9 | # React Native Navigation + MobX (w/ Provider) Boilerplate 👽
10 |
11 | A simple boilerplate based on MobX (w/ Provider) instead of Redux and [wix/react-native-navigation](https://github.com/wix/react-native-navigation).
12 |
13 | ##### What's inside
14 | - Tab Based App.
15 | - Drawer. [for iOS] It supports `.push({...})`s for the first tab through MobX: `Stores.App.rootNavigator.push({...})`. You can change `.rootNavigator` in any component. (based on [this issue](https://github.com/wix/react-native-navigation/issues/1143))
16 | - Simple auth flow. For example, If you are not logged in (see `Account` store), the app opens a modal with text inputs.
17 | - `MobX Provider`. Now all components can use `@inject('App', 'Counter', ...)` for accessing stores through `const { App, Counter } = this.props;`. (based on [this comment](https://github.com/wix/react-native-navigation/issues/187#issuecomment-265946012)).
18 | - In a new version, structure of the project is more organized 👌
19 |
20 | ##### What's in package.json
21 | - `react '16.0.0-alpha.12'`
22 | - `react-native '0.46.1'`
23 | - `react-native-navigation '1.1.134'`
24 | - `mobx '^3.1.15'`
25 | - `mobx-persist '^0.3.3'`
26 | - `mobx-react '^4.2.1'`
27 | - `flow-bin '^0.47.0'`
28 |
29 | # Installation
30 | 1. Clone this repo: `git clone https://github.com/kanzitelli/react-native-navigation-mobx-boilerplate.git`
31 | 2. Install node modules: `cd react-native-navigation-mobx-boilerplate && yarn install`. Make sure `yarn` is [installed](https://yarnpkg.com/en/docs/install) on your machine.
32 | 3. Rename application using [react-native-rename](https://github.com/junedomingo/react-native-rename) if needed.
33 | 4. `react-native run-ios` or `react-native run-android` (if you have any errors while building the project for iOS, remove the `ios/build` directory or visit [facebook/react-native/issues/7308](https://github.com/facebook/react-native/issues/7308) for more information).
34 | 5. Enjoy :)
35 |
36 | Thanks to [@megahertz](https://github.com/megahertz) for sharing the [gist](https://github.com/wix/react-native-navigation/issues/187#issuecomment-265946012) that shows how to create a mobx Provider which can be used with RNN.
37 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
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 ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
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.**
67 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
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
91 |
--------------------------------------------------------------------------------
/src/screens/FirstTab/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | StyleSheet,
6 | Text,
7 | View,
8 | Button,
9 | } from 'react-native';
10 | import { inject, observer } from 'mobx-react/native';
11 |
12 | import NavButtons from '../../global/NavButtons';
13 | import NavBar from '../../global/NavBar';
14 | import Constants from '../../global/Constants';
15 | import CounterView from '../components/Counter';
16 |
17 | @inject('App', 'Account', 'Counter') @observer
18 | export default class FirstTab extends Component {
19 | static navigatorButtons = NavButtons.WithSideMenu;
20 | static navigatorStyle = NavBar.Default;
21 |
22 | constructor(props: {}) {
23 | super(props);
24 |
25 | const { App, navigator } = this.props;
26 | App.rootNavigator = navigator;
27 |
28 | this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent);
29 | }
30 |
31 | onNavigatorEvent = (event: {}) => {
32 | if (event.id === 'menu') {
33 | this.props.navigator.toggleDrawer({
34 | side: 'left',
35 | animated: true
36 | });
37 | }
38 | }
39 |
40 | render() {
41 | const { Account, Counter } = this.props;
42 |
43 | return (
44 |
45 |
46 | First Tab Counter
47 |
48 |
49 | Counter.onPlus()}
52 | onMinus={() => Counter.onMinus()}
53 | />
54 |
55 |
83 | );
84 | }
85 | }
86 |
87 | const styles = StyleSheet.create({
88 | container: {
89 | flex: 1,
90 | justifyContent: 'center',
91 | alignItems: 'center',
92 | backgroundColor: '#F5FCFF',
93 | },
94 | welcome: {
95 | fontSize: 20,
96 | textAlign: 'center',
97 | margin: 10,
98 | },
99 | });
100 |
--------------------------------------------------------------------------------
/src/screens/LoginScreen/index.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import {
5 | View,
6 | Text,
7 | Button,
8 | TextInput,
9 | StyleSheet,
10 | } from 'react-native';
11 | import { inject, observer } from 'mobx-react/native';
12 |
13 | import NavButtons from '../../global/NavButtons';
14 | import NavBar from '../../global/NavBar';
15 | import Constants from '../../global/Constants';
16 |
17 | type Props = {
18 | withCancelButton : boolean,
19 | }
20 |
21 | type State = {
22 | username: string,
23 | password: string,
24 | }
25 |
26 | @inject('App', 'Account') @observer
27 | class LoginScreen extends Component {
28 | static navigatorButtons = NavButtons.Login;
29 | static navigatorStyle = NavBar.Default;
30 |
31 | state: State;
32 |
33 | constructor(props: Props) {
34 | super(props);
35 |
36 | this.state = {
37 | username: '',
38 | password: '',
39 | }
40 |
41 | this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent);
42 | }
43 |
44 | componentDidMount() {
45 | this.handleVisibilityOfNavButtons();
46 | }
47 |
48 | onNavigatorEvent = (event: { id: string }) => {
49 | const { withCancelButton } = this.props;
50 |
51 | switch (event.id) {
52 | case 'cancel':
53 | this.dismiss();
54 | break;
55 | case 'backPress':
56 | if (withCancelButton) this.dismiss();
57 | break;
58 | default:
59 | }
60 | }
61 |
62 | handleVisibilityOfNavButtons = () => {
63 | const { navigator, withCancelButton, withAccountsButton } = this.props;
64 |
65 | if (!withCancelButton) {
66 | navigator.setButtons({ leftButtons: [] })
67 | }
68 | }
69 |
70 | dismiss = () => {
71 | const { navigator } = this.props;
72 |
73 | navigator.dismissModal();
74 | }
75 |
76 | render() {
77 | const { Account, navigator } = this.props;
78 | const { username, password } = this.state;
79 |
80 | return (
81 |
82 |
83 |
84 |
85 | this.setState({ username }) }
88 | value={ this.state.username }
89 | placeholder={`Username`}
90 | />
91 |
92 | this.setState({ password }) }
95 | value={ this.state.password }
96 | placeholder={`Password`}
97 | secureTextEntry={true}
98 | />
99 |
100 | Account.login(username, password).then( () => this.dismiss(), (error) => alert(error.message) ) }
103 | />
104 |
105 |
106 |
107 |
108 | );
109 | }
110 | }
111 |
112 | const styles = StyleSheet.create({
113 | container: {
114 | flex: 1,
115 | justifyContent: 'center',
116 | alignItems: 'center',
117 | backgroundColor: Constants.Colors.backgroundColor,
118 | },
119 | form: {
120 | justifyContent: 'center',
121 | alignItems: 'center',
122 | },
123 | text_input: {
124 | width: 250,
125 | height: 40,
126 | padding: 10,
127 | margin: 5,
128 |
129 | borderWidth: 0.5,
130 | borderColor: Constants.Colors.blackColor,
131 | borderRadius: 20,
132 | }
133 | })
134 |
135 | export default LoginScreen;
136 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
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 "$@"
165 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate.xcodeproj/xcshareddata/xcschemes/ReactNativeNavigationMobxBoilerplate.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate.xcodeproj/xcshareddata/xcschemes/ReactNativeNavigationMobxBoilerplate-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
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 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"]
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | apply from: "../../node_modules/react-native/react.gradle"
76 |
77 | /**
78 | * Set this to true to create two separate APKs instead of one:
79 | * - An APK that only works on ARM devices
80 | * - An APK that only works on x86 devices
81 | * The advantage is the size of the APK is reduced by about 4MB.
82 | * Upload all the APKs to the Play Store and people will download
83 | * the correct one based on the CPU architecture of their device.
84 | */
85 | def enableSeparateBuildPerCPUArchitecture = false
86 |
87 | /**
88 | * Run Proguard to shrink the Java bytecode in release builds.
89 | */
90 | def enableProguardInReleaseBuilds = false
91 |
92 | android {
93 | compileSdkVersion 25
94 | buildToolsVersion "25.0.1"
95 |
96 | defaultConfig {
97 | applicationId "com.reactnativenavigationmobxboilerplate"
98 | minSdkVersion 16
99 | targetSdkVersion 22
100 | versionCode 1
101 | versionName "1.0"
102 | ndk {
103 | abiFilters "armeabi-v7a", "x86"
104 | }
105 | }
106 | splits {
107 | abi {
108 | reset()
109 | enable enableSeparateBuildPerCPUArchitecture
110 | universalApk false // If true, also generate a universal APK
111 | include "armeabi-v7a", "x86"
112 | }
113 | }
114 | buildTypes {
115 | release {
116 | minifyEnabled enableProguardInReleaseBuilds
117 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
118 | }
119 | }
120 | // applicationVariants are e.g. debug, release
121 | applicationVariants.all { variant ->
122 | variant.outputs.each { output ->
123 | // For each separate APK per architecture, set a unique version code as described here:
124 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
125 | def versionCodes = ["armeabi-v7a":1, "x86":2]
126 | def abi = output.getFilter(OutputFile.ABI)
127 | if (abi != null) { // null for the universal-debug, universal-release variants
128 | output.versionCodeOverride =
129 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
130 | }
131 | }
132 | }
133 | }
134 |
135 | dependencies {
136 | compile fileTree(dir: "libs", include: ["*.jar"])
137 | compile "com.android.support:appcompat-v7:23.0.1"
138 | compile "com.facebook.react:react-native:+" // From node_modules
139 | compile project(':react-native-navigation')
140 | }
141 |
142 | // Run this once to be able to run the application with BUCK
143 | // puts all compile dependencies into folder libs for BUCK to use
144 | task copyDownloadableDepsToLibs(type: Copy) {
145 | from configurations.compile
146 | into 'libs'
147 | }
148 |
--------------------------------------------------------------------------------
/ios/ReactNativeNavigationMobxBoilerplate.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
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 /* ReactNativeNavigationMobxBoilerplateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.m */; };
16 | 0C50C3741EB577AB001123CB /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0C50C3731EB577A3001123CB /* libReactNativeNavigation.a */; };
17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; };
30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
36 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
37 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeNavigationMobxBoilerplateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.m */; };
38 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
40 | /* End PBXBuildFile section */
41 |
42 | /* Begin PBXContainerItemProxy section */
43 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
44 | isa = PBXContainerItemProxy;
45 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
46 | proxyType = 2;
47 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
48 | remoteInfo = RCTActionSheet;
49 | };
50 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
51 | isa = PBXContainerItemProxy;
52 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
53 | proxyType = 2;
54 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
55 | remoteInfo = RCTGeolocation;
56 | };
57 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
58 | isa = PBXContainerItemProxy;
59 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
60 | proxyType = 2;
61 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
62 | remoteInfo = RCTImage;
63 | };
64 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
65 | isa = PBXContainerItemProxy;
66 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
67 | proxyType = 2;
68 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
69 | remoteInfo = RCTNetwork;
70 | };
71 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
72 | isa = PBXContainerItemProxy;
73 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
74 | proxyType = 2;
75 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
76 | remoteInfo = RCTVibration;
77 | };
78 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
79 | isa = PBXContainerItemProxy;
80 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
81 | proxyType = 1;
82 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
83 | remoteInfo = ReactNativeNavigationMobxBoilerplate;
84 | };
85 | 0C50C3721EB577A3001123CB /* PBXContainerItemProxy */ = {
86 | isa = PBXContainerItemProxy;
87 | containerPortal = 0C50C36E1EB577A2001123CB /* ReactNativeNavigation.xcodeproj */;
88 | proxyType = 2;
89 | remoteGlobalIDString = D8AFADBD1BEE6F3F00A4592D;
90 | remoteInfo = ReactNativeNavigation;
91 | };
92 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
93 | isa = PBXContainerItemProxy;
94 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
95 | proxyType = 2;
96 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
97 | remoteInfo = RCTSettings;
98 | };
99 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
100 | isa = PBXContainerItemProxy;
101 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
102 | proxyType = 2;
103 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
104 | remoteInfo = RCTWebSocket;
105 | };
106 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
107 | isa = PBXContainerItemProxy;
108 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
109 | proxyType = 2;
110 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
111 | remoteInfo = React;
112 | };
113 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
114 | isa = PBXContainerItemProxy;
115 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
116 | proxyType = 1;
117 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
118 | remoteInfo = "ReactNativeNavigationMobxBoilerplate-tvOS";
119 | };
120 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
121 | isa = PBXContainerItemProxy;
122 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
123 | proxyType = 2;
124 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
125 | remoteInfo = "RCTImage-tvOS";
126 | };
127 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
128 | isa = PBXContainerItemProxy;
129 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
130 | proxyType = 2;
131 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
132 | remoteInfo = "RCTLinking-tvOS";
133 | };
134 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
135 | isa = PBXContainerItemProxy;
136 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
137 | proxyType = 2;
138 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
139 | remoteInfo = "RCTNetwork-tvOS";
140 | };
141 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
142 | isa = PBXContainerItemProxy;
143 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
144 | proxyType = 2;
145 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
146 | remoteInfo = "RCTSettings-tvOS";
147 | };
148 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
149 | isa = PBXContainerItemProxy;
150 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
151 | proxyType = 2;
152 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
153 | remoteInfo = "RCTText-tvOS";
154 | };
155 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
156 | isa = PBXContainerItemProxy;
157 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
158 | proxyType = 2;
159 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
160 | remoteInfo = "RCTWebSocket-tvOS";
161 | };
162 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
163 | isa = PBXContainerItemProxy;
164 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
165 | proxyType = 2;
166 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
167 | remoteInfo = "React-tvOS";
168 | };
169 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
170 | isa = PBXContainerItemProxy;
171 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
172 | proxyType = 2;
173 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
174 | remoteInfo = yoga;
175 | };
176 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
177 | isa = PBXContainerItemProxy;
178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
179 | proxyType = 2;
180 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
181 | remoteInfo = "yoga-tvOS";
182 | };
183 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
184 | isa = PBXContainerItemProxy;
185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
186 | proxyType = 2;
187 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
188 | remoteInfo = cxxreact;
189 | };
190 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
191 | isa = PBXContainerItemProxy;
192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
193 | proxyType = 2;
194 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
195 | remoteInfo = "cxxreact-tvOS";
196 | };
197 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
198 | isa = PBXContainerItemProxy;
199 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
200 | proxyType = 2;
201 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
202 | remoteInfo = jschelpers;
203 | };
204 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
205 | isa = PBXContainerItemProxy;
206 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
207 | proxyType = 2;
208 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
209 | remoteInfo = "jschelpers-tvOS";
210 | };
211 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
212 | isa = PBXContainerItemProxy;
213 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
214 | proxyType = 2;
215 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
216 | remoteInfo = RCTAnimation;
217 | };
218 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
219 | isa = PBXContainerItemProxy;
220 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
221 | proxyType = 2;
222 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
223 | remoteInfo = "RCTAnimation-tvOS";
224 | };
225 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
226 | isa = PBXContainerItemProxy;
227 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
228 | proxyType = 2;
229 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
230 | remoteInfo = RCTLinking;
231 | };
232 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
233 | isa = PBXContainerItemProxy;
234 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
235 | proxyType = 2;
236 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
237 | remoteInfo = RCTText;
238 | };
239 | /* End PBXContainerItemProxy section */
240 |
241 | /* Begin PBXFileReference section */
242 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
243 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
244 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
245 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
246 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
247 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
248 | 00E356EE1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeNavigationMobxBoilerplateTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
249 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
250 | 00E356F21AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeNavigationMobxBoilerplateTests.m; sourceTree = ""; };
251 | 0C50C36E1EB577A2001123CB /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = "../node_modules/react-native-navigation/ios/ReactNativeNavigation.xcodeproj"; sourceTree = ""; };
252 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
253 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
254 | 13B07F961A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeNavigationMobxBoilerplate.app; sourceTree = BUILT_PRODUCTS_DIR; };
255 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeNavigationMobxBoilerplate/AppDelegate.h; sourceTree = ""; };
256 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeNavigationMobxBoilerplate/AppDelegate.m; sourceTree = ""; };
257 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
258 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeNavigationMobxBoilerplate/Images.xcassets; sourceTree = ""; };
259 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeNavigationMobxBoilerplate/Info.plist; sourceTree = ""; };
260 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeNavigationMobxBoilerplate/main.m; sourceTree = ""; };
261 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
262 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeNavigationMobxBoilerplate-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
263 | 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeNavigationMobxBoilerplate-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
264 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
265 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
266 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
267 | /* End PBXFileReference section */
268 |
269 | /* Begin PBXFrameworksBuildPhase section */
270 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
271 | isa = PBXFrameworksBuildPhase;
272 | buildActionMask = 2147483647;
273 | files = (
274 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
275 | );
276 | runOnlyForDeploymentPostprocessing = 0;
277 | };
278 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
279 | isa = PBXFrameworksBuildPhase;
280 | buildActionMask = 2147483647;
281 | files = (
282 | 0C50C3741EB577AB001123CB /* libReactNativeNavigation.a in Frameworks */,
283 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
284 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
285 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
286 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
287 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
288 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
289 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
290 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
291 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
292 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
293 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
294 | );
295 | runOnlyForDeploymentPostprocessing = 0;
296 | };
297 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
298 | isa = PBXFrameworksBuildPhase;
299 | buildActionMask = 2147483647;
300 | files = (
301 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
302 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */,
303 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
304 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
305 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
306 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
307 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
308 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
309 | );
310 | runOnlyForDeploymentPostprocessing = 0;
311 | };
312 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
313 | isa = PBXFrameworksBuildPhase;
314 | buildActionMask = 2147483647;
315 | files = (
316 | );
317 | runOnlyForDeploymentPostprocessing = 0;
318 | };
319 | /* End PBXFrameworksBuildPhase section */
320 |
321 | /* Begin PBXGroup section */
322 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
323 | isa = PBXGroup;
324 | children = (
325 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
326 | );
327 | name = Products;
328 | sourceTree = "";
329 | };
330 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
331 | isa = PBXGroup;
332 | children = (
333 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
334 | );
335 | name = Products;
336 | sourceTree = "";
337 | };
338 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
339 | isa = PBXGroup;
340 | children = (
341 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
342 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
343 | );
344 | name = Products;
345 | sourceTree = "";
346 | };
347 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
348 | isa = PBXGroup;
349 | children = (
350 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
351 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
352 | );
353 | name = Products;
354 | sourceTree = "";
355 | };
356 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
357 | isa = PBXGroup;
358 | children = (
359 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
360 | );
361 | name = Products;
362 | sourceTree = "";
363 | };
364 | 00E356EF1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests */ = {
365 | isa = PBXGroup;
366 | children = (
367 | 00E356F21AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.m */,
368 | 00E356F01AD99517003FC87E /* Supporting Files */,
369 | );
370 | path = ReactNativeNavigationMobxBoilerplateTests;
371 | sourceTree = "";
372 | };
373 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
374 | isa = PBXGroup;
375 | children = (
376 | 00E356F11AD99517003FC87E /* Info.plist */,
377 | );
378 | name = "Supporting Files";
379 | sourceTree = "";
380 | };
381 | 0C50C36F1EB577A2001123CB /* Products */ = {
382 | isa = PBXGroup;
383 | children = (
384 | 0C50C3731EB577A3001123CB /* libReactNativeNavigation.a */,
385 | );
386 | name = Products;
387 | sourceTree = "";
388 | };
389 | 139105B71AF99BAD00B5F7CC /* Products */ = {
390 | isa = PBXGroup;
391 | children = (
392 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
393 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
394 | );
395 | name = Products;
396 | sourceTree = "";
397 | };
398 | 139FDEE71B06529A00C62182 /* Products */ = {
399 | isa = PBXGroup;
400 | children = (
401 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
402 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
403 | );
404 | name = Products;
405 | sourceTree = "";
406 | };
407 | 13B07FAE1A68108700A75B9A /* ReactNativeNavigationMobxBoilerplate */ = {
408 | isa = PBXGroup;
409 | children = (
410 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
411 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
412 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
413 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
414 | 13B07FB61A68108700A75B9A /* Info.plist */,
415 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
416 | 13B07FB71A68108700A75B9A /* main.m */,
417 | );
418 | name = ReactNativeNavigationMobxBoilerplate;
419 | sourceTree = "";
420 | };
421 | 146834001AC3E56700842450 /* Products */ = {
422 | isa = PBXGroup;
423 | children = (
424 | 146834041AC3E56700842450 /* libReact.a */,
425 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
426 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
427 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
428 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
429 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
430 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
431 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
432 | );
433 | name = Products;
434 | sourceTree = "";
435 | };
436 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
437 | isa = PBXGroup;
438 | children = (
439 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
440 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */,
441 | );
442 | name = Products;
443 | sourceTree = "";
444 | };
445 | 78C398B11ACF4ADC00677621 /* Products */ = {
446 | isa = PBXGroup;
447 | children = (
448 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
449 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
450 | );
451 | name = Products;
452 | sourceTree = "";
453 | };
454 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
455 | isa = PBXGroup;
456 | children = (
457 | 0C50C36E1EB577A2001123CB /* ReactNativeNavigation.xcodeproj */,
458 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
459 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
460 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
461 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
462 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
463 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
464 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
465 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
466 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
467 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
468 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
469 | );
470 | name = Libraries;
471 | sourceTree = "";
472 | };
473 | 832341B11AAA6A8300B99B32 /* Products */ = {
474 | isa = PBXGroup;
475 | children = (
476 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
477 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
478 | );
479 | name = Products;
480 | sourceTree = "";
481 | };
482 | 83CBB9F61A601CBA00E9B192 = {
483 | isa = PBXGroup;
484 | children = (
485 | 13B07FAE1A68108700A75B9A /* ReactNativeNavigationMobxBoilerplate */,
486 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
487 | 00E356EF1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests */,
488 | 83CBBA001A601CBA00E9B192 /* Products */,
489 | );
490 | indentWidth = 2;
491 | sourceTree = "";
492 | tabWidth = 2;
493 | };
494 | 83CBBA001A601CBA00E9B192 /* Products */ = {
495 | isa = PBXGroup;
496 | children = (
497 | 13B07F961A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate.app */,
498 | 00E356EE1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.xctest */,
499 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS.app */,
500 | 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOSTests.xctest */,
501 | );
502 | name = Products;
503 | sourceTree = "";
504 | };
505 | /* End PBXGroup section */
506 |
507 | /* Begin PBXNativeTarget section */
508 | 00E356ED1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests */ = {
509 | isa = PBXNativeTarget;
510 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplateTests" */;
511 | buildPhases = (
512 | 00E356EA1AD99517003FC87E /* Sources */,
513 | 00E356EB1AD99517003FC87E /* Frameworks */,
514 | 00E356EC1AD99517003FC87E /* Resources */,
515 | );
516 | buildRules = (
517 | );
518 | dependencies = (
519 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
520 | );
521 | name = ReactNativeNavigationMobxBoilerplateTests;
522 | productName = ReactNativeNavigationMobxBoilerplateTests;
523 | productReference = 00E356EE1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.xctest */;
524 | productType = "com.apple.product-type.bundle.unit-test";
525 | };
526 | 13B07F861A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate */ = {
527 | isa = PBXNativeTarget;
528 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate" */;
529 | buildPhases = (
530 | 13B07F871A680F5B00A75B9A /* Sources */,
531 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
532 | 13B07F8E1A680F5B00A75B9A /* Resources */,
533 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
534 | );
535 | buildRules = (
536 | );
537 | dependencies = (
538 | );
539 | name = ReactNativeNavigationMobxBoilerplate;
540 | productName = "Hello World";
541 | productReference = 13B07F961A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate.app */;
542 | productType = "com.apple.product-type.application";
543 | };
544 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS */ = {
545 | isa = PBXNativeTarget;
546 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate-tvOS" */;
547 | buildPhases = (
548 | 2D02E4771E0B4A5D006451C7 /* Sources */,
549 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
550 | 2D02E4791E0B4A5D006451C7 /* Resources */,
551 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
552 | );
553 | buildRules = (
554 | );
555 | dependencies = (
556 | );
557 | name = "ReactNativeNavigationMobxBoilerplate-tvOS";
558 | productName = "ReactNativeNavigationMobxBoilerplate-tvOS";
559 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS.app */;
560 | productType = "com.apple.product-type.application";
561 | };
562 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOSTests */ = {
563 | isa = PBXNativeTarget;
564 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate-tvOSTests" */;
565 | buildPhases = (
566 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
567 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
568 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
569 | );
570 | buildRules = (
571 | );
572 | dependencies = (
573 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
574 | );
575 | name = "ReactNativeNavigationMobxBoilerplate-tvOSTests";
576 | productName = "ReactNativeNavigationMobxBoilerplate-tvOSTests";
577 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOSTests.xctest */;
578 | productType = "com.apple.product-type.bundle.unit-test";
579 | };
580 | /* End PBXNativeTarget section */
581 |
582 | /* Begin PBXProject section */
583 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
584 | isa = PBXProject;
585 | attributes = {
586 | LastUpgradeCheck = 0610;
587 | ORGANIZATIONNAME = Facebook;
588 | TargetAttributes = {
589 | 00E356ED1AD99517003FC87E = {
590 | CreatedOnToolsVersion = 6.2;
591 | TestTargetID = 13B07F861A680F5B00A75B9A;
592 | };
593 | 13B07F861A680F5B00A75B9A = {
594 | DevelopmentTeam = 3AH8NJ64XY;
595 | };
596 | 2D02E47A1E0B4A5D006451C7 = {
597 | CreatedOnToolsVersion = 8.2.1;
598 | ProvisioningStyle = Automatic;
599 | };
600 | 2D02E48F1E0B4A5D006451C7 = {
601 | CreatedOnToolsVersion = 8.2.1;
602 | ProvisioningStyle = Automatic;
603 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
604 | };
605 | };
606 | };
607 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeNavigationMobxBoilerplate" */;
608 | compatibilityVersion = "Xcode 3.2";
609 | developmentRegion = English;
610 | hasScannedForEncodings = 0;
611 | knownRegions = (
612 | en,
613 | Base,
614 | );
615 | mainGroup = 83CBB9F61A601CBA00E9B192;
616 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
617 | projectDirPath = "";
618 | projectReferences = (
619 | {
620 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
621 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
622 | },
623 | {
624 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
625 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
626 | },
627 | {
628 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
629 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
630 | },
631 | {
632 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
633 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
634 | },
635 | {
636 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
637 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
638 | },
639 | {
640 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
641 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
642 | },
643 | {
644 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
645 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
646 | },
647 | {
648 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
649 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
650 | },
651 | {
652 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
653 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
654 | },
655 | {
656 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
657 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
658 | },
659 | {
660 | ProductGroup = 146834001AC3E56700842450 /* Products */;
661 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
662 | },
663 | {
664 | ProductGroup = 0C50C36F1EB577A2001123CB /* Products */;
665 | ProjectRef = 0C50C36E1EB577A2001123CB /* ReactNativeNavigation.xcodeproj */;
666 | },
667 | );
668 | projectRoot = "";
669 | targets = (
670 | 13B07F861A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate */,
671 | 00E356ED1AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests */,
672 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS */,
673 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOSTests */,
674 | );
675 | };
676 | /* End PBXProject section */
677 |
678 | /* Begin PBXReferenceProxy section */
679 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
680 | isa = PBXReferenceProxy;
681 | fileType = archive.ar;
682 | path = libRCTActionSheet.a;
683 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
684 | sourceTree = BUILT_PRODUCTS_DIR;
685 | };
686 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
687 | isa = PBXReferenceProxy;
688 | fileType = archive.ar;
689 | path = libRCTGeolocation.a;
690 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
691 | sourceTree = BUILT_PRODUCTS_DIR;
692 | };
693 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
694 | isa = PBXReferenceProxy;
695 | fileType = archive.ar;
696 | path = libRCTImage.a;
697 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
698 | sourceTree = BUILT_PRODUCTS_DIR;
699 | };
700 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
701 | isa = PBXReferenceProxy;
702 | fileType = archive.ar;
703 | path = libRCTNetwork.a;
704 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
705 | sourceTree = BUILT_PRODUCTS_DIR;
706 | };
707 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
708 | isa = PBXReferenceProxy;
709 | fileType = archive.ar;
710 | path = libRCTVibration.a;
711 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
712 | sourceTree = BUILT_PRODUCTS_DIR;
713 | };
714 | 0C50C3731EB577A3001123CB /* libReactNativeNavigation.a */ = {
715 | isa = PBXReferenceProxy;
716 | fileType = archive.ar;
717 | path = libReactNativeNavigation.a;
718 | remoteRef = 0C50C3721EB577A3001123CB /* PBXContainerItemProxy */;
719 | sourceTree = BUILT_PRODUCTS_DIR;
720 | };
721 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
722 | isa = PBXReferenceProxy;
723 | fileType = archive.ar;
724 | path = libRCTSettings.a;
725 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
726 | sourceTree = BUILT_PRODUCTS_DIR;
727 | };
728 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
729 | isa = PBXReferenceProxy;
730 | fileType = archive.ar;
731 | path = libRCTWebSocket.a;
732 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
733 | sourceTree = BUILT_PRODUCTS_DIR;
734 | };
735 | 146834041AC3E56700842450 /* libReact.a */ = {
736 | isa = PBXReferenceProxy;
737 | fileType = archive.ar;
738 | path = libReact.a;
739 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
740 | sourceTree = BUILT_PRODUCTS_DIR;
741 | };
742 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
743 | isa = PBXReferenceProxy;
744 | fileType = archive.ar;
745 | path = "libRCTImage-tvOS.a";
746 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
747 | sourceTree = BUILT_PRODUCTS_DIR;
748 | };
749 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
750 | isa = PBXReferenceProxy;
751 | fileType = archive.ar;
752 | path = "libRCTLinking-tvOS.a";
753 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
754 | sourceTree = BUILT_PRODUCTS_DIR;
755 | };
756 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
757 | isa = PBXReferenceProxy;
758 | fileType = archive.ar;
759 | path = "libRCTNetwork-tvOS.a";
760 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
761 | sourceTree = BUILT_PRODUCTS_DIR;
762 | };
763 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
764 | isa = PBXReferenceProxy;
765 | fileType = archive.ar;
766 | path = "libRCTSettings-tvOS.a";
767 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
768 | sourceTree = BUILT_PRODUCTS_DIR;
769 | };
770 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
771 | isa = PBXReferenceProxy;
772 | fileType = archive.ar;
773 | path = "libRCTText-tvOS.a";
774 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
775 | sourceTree = BUILT_PRODUCTS_DIR;
776 | };
777 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
778 | isa = PBXReferenceProxy;
779 | fileType = archive.ar;
780 | path = "libRCTWebSocket-tvOS.a";
781 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
782 | sourceTree = BUILT_PRODUCTS_DIR;
783 | };
784 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
785 | isa = PBXReferenceProxy;
786 | fileType = archive.ar;
787 | path = libReact.a;
788 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
789 | sourceTree = BUILT_PRODUCTS_DIR;
790 | };
791 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
792 | isa = PBXReferenceProxy;
793 | fileType = archive.ar;
794 | path = libyoga.a;
795 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
796 | sourceTree = BUILT_PRODUCTS_DIR;
797 | };
798 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
799 | isa = PBXReferenceProxy;
800 | fileType = archive.ar;
801 | path = libyoga.a;
802 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
803 | sourceTree = BUILT_PRODUCTS_DIR;
804 | };
805 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
806 | isa = PBXReferenceProxy;
807 | fileType = archive.ar;
808 | path = libcxxreact.a;
809 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
810 | sourceTree = BUILT_PRODUCTS_DIR;
811 | };
812 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
813 | isa = PBXReferenceProxy;
814 | fileType = archive.ar;
815 | path = libcxxreact.a;
816 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
817 | sourceTree = BUILT_PRODUCTS_DIR;
818 | };
819 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
820 | isa = PBXReferenceProxy;
821 | fileType = archive.ar;
822 | path = libjschelpers.a;
823 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
824 | sourceTree = BUILT_PRODUCTS_DIR;
825 | };
826 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
827 | isa = PBXReferenceProxy;
828 | fileType = archive.ar;
829 | path = libjschelpers.a;
830 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
831 | sourceTree = BUILT_PRODUCTS_DIR;
832 | };
833 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
834 | isa = PBXReferenceProxy;
835 | fileType = archive.ar;
836 | path = libRCTAnimation.a;
837 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
838 | sourceTree = BUILT_PRODUCTS_DIR;
839 | };
840 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = {
841 | isa = PBXReferenceProxy;
842 | fileType = archive.ar;
843 | path = "libRCTAnimation-tvOS.a";
844 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
845 | sourceTree = BUILT_PRODUCTS_DIR;
846 | };
847 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
848 | isa = PBXReferenceProxy;
849 | fileType = archive.ar;
850 | path = libRCTLinking.a;
851 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
852 | sourceTree = BUILT_PRODUCTS_DIR;
853 | };
854 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
855 | isa = PBXReferenceProxy;
856 | fileType = archive.ar;
857 | path = libRCTText.a;
858 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
859 | sourceTree = BUILT_PRODUCTS_DIR;
860 | };
861 | /* End PBXReferenceProxy section */
862 |
863 | /* Begin PBXResourcesBuildPhase section */
864 | 00E356EC1AD99517003FC87E /* Resources */ = {
865 | isa = PBXResourcesBuildPhase;
866 | buildActionMask = 2147483647;
867 | files = (
868 | );
869 | runOnlyForDeploymentPostprocessing = 0;
870 | };
871 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
872 | isa = PBXResourcesBuildPhase;
873 | buildActionMask = 2147483647;
874 | files = (
875 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
876 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
877 | );
878 | runOnlyForDeploymentPostprocessing = 0;
879 | };
880 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
881 | isa = PBXResourcesBuildPhase;
882 | buildActionMask = 2147483647;
883 | files = (
884 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
885 | );
886 | runOnlyForDeploymentPostprocessing = 0;
887 | };
888 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
889 | isa = PBXResourcesBuildPhase;
890 | buildActionMask = 2147483647;
891 | files = (
892 | );
893 | runOnlyForDeploymentPostprocessing = 0;
894 | };
895 | /* End PBXResourcesBuildPhase section */
896 |
897 | /* Begin PBXShellScriptBuildPhase section */
898 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
899 | isa = PBXShellScriptBuildPhase;
900 | buildActionMask = 2147483647;
901 | files = (
902 | );
903 | inputPaths = (
904 | );
905 | name = "Bundle React Native code and images";
906 | outputPaths = (
907 | );
908 | runOnlyForDeploymentPostprocessing = 0;
909 | shellPath = /bin/sh;
910 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
911 | };
912 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
913 | isa = PBXShellScriptBuildPhase;
914 | buildActionMask = 2147483647;
915 | files = (
916 | );
917 | inputPaths = (
918 | );
919 | name = "Bundle React Native Code And Images";
920 | outputPaths = (
921 | );
922 | runOnlyForDeploymentPostprocessing = 0;
923 | shellPath = /bin/sh;
924 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
925 | };
926 | /* End PBXShellScriptBuildPhase section */
927 |
928 | /* Begin PBXSourcesBuildPhase section */
929 | 00E356EA1AD99517003FC87E /* Sources */ = {
930 | isa = PBXSourcesBuildPhase;
931 | buildActionMask = 2147483647;
932 | files = (
933 | 00E356F31AD99517003FC87E /* ReactNativeNavigationMobxBoilerplateTests.m in Sources */,
934 | );
935 | runOnlyForDeploymentPostprocessing = 0;
936 | };
937 | 13B07F871A680F5B00A75B9A /* Sources */ = {
938 | isa = PBXSourcesBuildPhase;
939 | buildActionMask = 2147483647;
940 | files = (
941 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
942 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
943 | );
944 | runOnlyForDeploymentPostprocessing = 0;
945 | };
946 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
947 | isa = PBXSourcesBuildPhase;
948 | buildActionMask = 2147483647;
949 | files = (
950 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
951 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
952 | );
953 | runOnlyForDeploymentPostprocessing = 0;
954 | };
955 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
956 | isa = PBXSourcesBuildPhase;
957 | buildActionMask = 2147483647;
958 | files = (
959 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeNavigationMobxBoilerplateTests.m in Sources */,
960 | );
961 | runOnlyForDeploymentPostprocessing = 0;
962 | };
963 | /* End PBXSourcesBuildPhase section */
964 |
965 | /* Begin PBXTargetDependency section */
966 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
967 | isa = PBXTargetDependency;
968 | target = 13B07F861A680F5B00A75B9A /* ReactNativeNavigationMobxBoilerplate */;
969 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
970 | };
971 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
972 | isa = PBXTargetDependency;
973 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeNavigationMobxBoilerplate-tvOS */;
974 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
975 | };
976 | /* End PBXTargetDependency section */
977 |
978 | /* Begin PBXVariantGroup section */
979 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
980 | isa = PBXVariantGroup;
981 | children = (
982 | 13B07FB21A68108700A75B9A /* Base */,
983 | );
984 | name = LaunchScreen.xib;
985 | path = ReactNativeNavigationMobxBoilerplate;
986 | sourceTree = "";
987 | };
988 | /* End PBXVariantGroup section */
989 |
990 | /* Begin XCBuildConfiguration section */
991 | 00E356F61AD99517003FC87E /* Debug */ = {
992 | isa = XCBuildConfiguration;
993 | buildSettings = {
994 | BUNDLE_LOADER = "$(TEST_HOST)";
995 | GCC_PREPROCESSOR_DEFINITIONS = (
996 | "DEBUG=1",
997 | "$(inherited)",
998 | );
999 | INFOPLIST_FILE = ReactNativeNavigationMobxBoilerplateTests/Info.plist;
1000 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1001 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1002 | OTHER_LDFLAGS = (
1003 | "-ObjC",
1004 | "-lc++",
1005 | );
1006 | PRODUCT_NAME = "$(TARGET_NAME)";
1007 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationMobxBoilerplate.app/ReactNativeNavigationMobxBoilerplate";
1008 | };
1009 | name = Debug;
1010 | };
1011 | 00E356F71AD99517003FC87E /* Release */ = {
1012 | isa = XCBuildConfiguration;
1013 | buildSettings = {
1014 | BUNDLE_LOADER = "$(TEST_HOST)";
1015 | COPY_PHASE_STRIP = NO;
1016 | INFOPLIST_FILE = ReactNativeNavigationMobxBoilerplateTests/Info.plist;
1017 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1018 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1019 | OTHER_LDFLAGS = (
1020 | "-ObjC",
1021 | "-lc++",
1022 | );
1023 | PRODUCT_NAME = "$(TARGET_NAME)";
1024 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationMobxBoilerplate.app/ReactNativeNavigationMobxBoilerplate";
1025 | };
1026 | name = Release;
1027 | };
1028 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1029 | isa = XCBuildConfiguration;
1030 | buildSettings = {
1031 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1032 | CURRENT_PROJECT_VERSION = 1;
1033 | DEAD_CODE_STRIPPING = NO;
1034 | DEVELOPMENT_TEAM = 3AH8NJ64XY;
1035 | HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-navigation/ios/**";
1036 | INFOPLIST_FILE = ReactNativeNavigationMobxBoilerplate/Info.plist;
1037 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1038 | OTHER_LDFLAGS = (
1039 | "$(inherited)",
1040 | "-ObjC",
1041 | "-lc++",
1042 | );
1043 | PRODUCT_NAME = ReactNativeNavigationMobxBoilerplate;
1044 | VERSIONING_SYSTEM = "apple-generic";
1045 | };
1046 | name = Debug;
1047 | };
1048 | 13B07F951A680F5B00A75B9A /* Release */ = {
1049 | isa = XCBuildConfiguration;
1050 | buildSettings = {
1051 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1052 | CURRENT_PROJECT_VERSION = 1;
1053 | DEVELOPMENT_TEAM = 3AH8NJ64XY;
1054 | HEADER_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-navigation/ios/**";
1055 | INFOPLIST_FILE = ReactNativeNavigationMobxBoilerplate/Info.plist;
1056 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1057 | OTHER_LDFLAGS = (
1058 | "$(inherited)",
1059 | "-ObjC",
1060 | "-lc++",
1061 | );
1062 | PRODUCT_NAME = ReactNativeNavigationMobxBoilerplate;
1063 | VERSIONING_SYSTEM = "apple-generic";
1064 | };
1065 | name = Release;
1066 | };
1067 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1068 | isa = XCBuildConfiguration;
1069 | buildSettings = {
1070 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1071 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1072 | CLANG_ANALYZER_NONNULL = YES;
1073 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1074 | CLANG_WARN_INFINITE_RECURSION = YES;
1075 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1076 | DEBUG_INFORMATION_FORMAT = dwarf;
1077 | ENABLE_TESTABILITY = YES;
1078 | GCC_NO_COMMON_BLOCKS = YES;
1079 | INFOPLIST_FILE = "ReactNativeNavigationMobxBoilerplate-tvOS/Info.plist";
1080 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1081 | OTHER_LDFLAGS = (
1082 | "-ObjC",
1083 | "-lc++",
1084 | );
1085 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationMobxBoilerplate-tvOS";
1086 | PRODUCT_NAME = "$(TARGET_NAME)";
1087 | SDKROOT = appletvos;
1088 | TARGETED_DEVICE_FAMILY = 3;
1089 | TVOS_DEPLOYMENT_TARGET = 9.2;
1090 | };
1091 | name = Debug;
1092 | };
1093 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1094 | isa = XCBuildConfiguration;
1095 | buildSettings = {
1096 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1097 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1098 | CLANG_ANALYZER_NONNULL = YES;
1099 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1100 | CLANG_WARN_INFINITE_RECURSION = YES;
1101 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1102 | COPY_PHASE_STRIP = NO;
1103 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1104 | GCC_NO_COMMON_BLOCKS = YES;
1105 | INFOPLIST_FILE = "ReactNativeNavigationMobxBoilerplate-tvOS/Info.plist";
1106 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1107 | OTHER_LDFLAGS = (
1108 | "-ObjC",
1109 | "-lc++",
1110 | );
1111 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationMobxBoilerplate-tvOS";
1112 | PRODUCT_NAME = "$(TARGET_NAME)";
1113 | SDKROOT = appletvos;
1114 | TARGETED_DEVICE_FAMILY = 3;
1115 | TVOS_DEPLOYMENT_TARGET = 9.2;
1116 | };
1117 | name = Release;
1118 | };
1119 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1120 | isa = XCBuildConfiguration;
1121 | buildSettings = {
1122 | BUNDLE_LOADER = "$(TEST_HOST)";
1123 | CLANG_ANALYZER_NONNULL = YES;
1124 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1125 | CLANG_WARN_INFINITE_RECURSION = YES;
1126 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1127 | DEBUG_INFORMATION_FORMAT = dwarf;
1128 | ENABLE_TESTABILITY = YES;
1129 | GCC_NO_COMMON_BLOCKS = YES;
1130 | INFOPLIST_FILE = "ReactNativeNavigationMobxBoilerplate-tvOSTests/Info.plist";
1131 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1132 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationMobxBoilerplate-tvOSTests";
1133 | PRODUCT_NAME = "$(TARGET_NAME)";
1134 | SDKROOT = appletvos;
1135 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationMobxBoilerplate-tvOS.app/ReactNativeNavigationMobxBoilerplate-tvOS";
1136 | TVOS_DEPLOYMENT_TARGET = 10.1;
1137 | };
1138 | name = Debug;
1139 | };
1140 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1141 | isa = XCBuildConfiguration;
1142 | buildSettings = {
1143 | BUNDLE_LOADER = "$(TEST_HOST)";
1144 | CLANG_ANALYZER_NONNULL = YES;
1145 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1146 | CLANG_WARN_INFINITE_RECURSION = YES;
1147 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1148 | COPY_PHASE_STRIP = NO;
1149 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1150 | GCC_NO_COMMON_BLOCKS = YES;
1151 | INFOPLIST_FILE = "ReactNativeNavigationMobxBoilerplate-tvOSTests/Info.plist";
1152 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1153 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeNavigationMobxBoilerplate-tvOSTests";
1154 | PRODUCT_NAME = "$(TARGET_NAME)";
1155 | SDKROOT = appletvos;
1156 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeNavigationMobxBoilerplate-tvOS.app/ReactNativeNavigationMobxBoilerplate-tvOS";
1157 | TVOS_DEPLOYMENT_TARGET = 10.1;
1158 | };
1159 | name = Release;
1160 | };
1161 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1162 | isa = XCBuildConfiguration;
1163 | buildSettings = {
1164 | ALWAYS_SEARCH_USER_PATHS = NO;
1165 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1166 | CLANG_CXX_LIBRARY = "libc++";
1167 | CLANG_ENABLE_MODULES = YES;
1168 | CLANG_ENABLE_OBJC_ARC = YES;
1169 | CLANG_WARN_BOOL_CONVERSION = YES;
1170 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1171 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1172 | CLANG_WARN_EMPTY_BODY = YES;
1173 | CLANG_WARN_ENUM_CONVERSION = YES;
1174 | CLANG_WARN_INT_CONVERSION = YES;
1175 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1176 | CLANG_WARN_UNREACHABLE_CODE = YES;
1177 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1178 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1179 | COPY_PHASE_STRIP = NO;
1180 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1181 | GCC_C_LANGUAGE_STANDARD = gnu99;
1182 | GCC_DYNAMIC_NO_PIC = NO;
1183 | GCC_OPTIMIZATION_LEVEL = 0;
1184 | GCC_PREPROCESSOR_DEFINITIONS = (
1185 | "DEBUG=1",
1186 | "$(inherited)",
1187 | );
1188 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1189 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1190 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1191 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1192 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1193 | GCC_WARN_UNUSED_FUNCTION = YES;
1194 | GCC_WARN_UNUSED_VARIABLE = YES;
1195 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1196 | MTL_ENABLE_DEBUG_INFO = YES;
1197 | ONLY_ACTIVE_ARCH = YES;
1198 | SDKROOT = iphoneos;
1199 | };
1200 | name = Debug;
1201 | };
1202 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1203 | isa = XCBuildConfiguration;
1204 | buildSettings = {
1205 | ALWAYS_SEARCH_USER_PATHS = NO;
1206 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1207 | CLANG_CXX_LIBRARY = "libc++";
1208 | CLANG_ENABLE_MODULES = YES;
1209 | CLANG_ENABLE_OBJC_ARC = YES;
1210 | CLANG_WARN_BOOL_CONVERSION = YES;
1211 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1212 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1213 | CLANG_WARN_EMPTY_BODY = YES;
1214 | CLANG_WARN_ENUM_CONVERSION = YES;
1215 | CLANG_WARN_INT_CONVERSION = YES;
1216 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1217 | CLANG_WARN_UNREACHABLE_CODE = YES;
1218 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1219 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1220 | COPY_PHASE_STRIP = YES;
1221 | ENABLE_NS_ASSERTIONS = NO;
1222 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1223 | GCC_C_LANGUAGE_STANDARD = gnu99;
1224 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1225 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1226 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1227 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1228 | GCC_WARN_UNUSED_FUNCTION = YES;
1229 | GCC_WARN_UNUSED_VARIABLE = YES;
1230 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1231 | MTL_ENABLE_DEBUG_INFO = NO;
1232 | SDKROOT = iphoneos;
1233 | VALIDATE_PRODUCT = YES;
1234 | };
1235 | name = Release;
1236 | };
1237 | /* End XCBuildConfiguration section */
1238 |
1239 | /* Begin XCConfigurationList section */
1240 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplateTests" */ = {
1241 | isa = XCConfigurationList;
1242 | buildConfigurations = (
1243 | 00E356F61AD99517003FC87E /* Debug */,
1244 | 00E356F71AD99517003FC87E /* Release */,
1245 | );
1246 | defaultConfigurationIsVisible = 0;
1247 | defaultConfigurationName = Release;
1248 | };
1249 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate" */ = {
1250 | isa = XCConfigurationList;
1251 | buildConfigurations = (
1252 | 13B07F941A680F5B00A75B9A /* Debug */,
1253 | 13B07F951A680F5B00A75B9A /* Release */,
1254 | );
1255 | defaultConfigurationIsVisible = 0;
1256 | defaultConfigurationName = Release;
1257 | };
1258 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate-tvOS" */ = {
1259 | isa = XCConfigurationList;
1260 | buildConfigurations = (
1261 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1262 | 2D02E4981E0B4A5E006451C7 /* Release */,
1263 | );
1264 | defaultConfigurationIsVisible = 0;
1265 | defaultConfigurationName = Release;
1266 | };
1267 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeNavigationMobxBoilerplate-tvOSTests" */ = {
1268 | isa = XCConfigurationList;
1269 | buildConfigurations = (
1270 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1271 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1272 | );
1273 | defaultConfigurationIsVisible = 0;
1274 | defaultConfigurationName = Release;
1275 | };
1276 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeNavigationMobxBoilerplate" */ = {
1277 | isa = XCConfigurationList;
1278 | buildConfigurations = (
1279 | 83CBBA201A601CBA00E9B192 /* Debug */,
1280 | 83CBBA211A601CBA00E9B192 /* Release */,
1281 | );
1282 | defaultConfigurationIsVisible = 0;
1283 | defaultConfigurationName = Release;
1284 | };
1285 | /* End XCConfigurationList section */
1286 | };
1287 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1288 | }
1289 |
--------------------------------------------------------------------------------