├── .watchmanconfig
├── .gitattributes
├── src
├── actions
│ ├── package.json
│ ├── user.js
│ ├── index.js
│ ├── navigation.js
│ ├── home.js
│ ├── dashboard.js
│ └── drawer.js
├── sagas
│ ├── package.json
│ ├── index.js
│ ├── home.js
│ ├── dashboard.js
│ └── drawer.js
├── reducers
│ ├── package.json
│ ├── user.js
│ ├── index.js
│ ├── navigation.js
│ ├── home.js
│ ├── dashboard.js
│ └── drawer.js
├── themes
│ └── colors.js
├── json
│ ├── homeDrawerItems.json
│ ├── dashboardDrawerItems.json
│ ├── dashboardData.json
│ └── homeData.json
├── navigation
│ └── index.js
├── main.js
├── createStore.js
├── app.js
├── components
│ ├── user
│ │ └── index.js
│ ├── about
│ │ └── index.js
│ ├── common
│ │ └── NavBarItem.js
│ ├── drawer
│ │ ├── menu.js
│ │ ├── index.js
│ │ └── content.js
│ ├── login
│ │ └── index.js
│ ├── dashboard
│ │ └── index.js
│ └── home
│ │ └── index.js
├── api
│ └── index.js
└── utils
│ └── navigation.js
├── .babelrc
├── app.json
├── 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
│ │ │ ├── assets
│ │ │ └── fonts
│ │ │ │ ├── Entypo.ttf
│ │ │ │ ├── Feather.ttf
│ │ │ │ ├── Zocial.ttf
│ │ │ │ ├── EvilIcons.ttf
│ │ │ │ ├── Ionicons.ttf
│ │ │ │ ├── Octicons.ttf
│ │ │ │ ├── FontAwesome.ttf
│ │ │ │ ├── Foundation.ttf
│ │ │ │ ├── MaterialIcons.ttf
│ │ │ │ ├── SimpleLineIcons.ttf
│ │ │ │ └── MaterialCommunityIcons.ttf
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── reactnavdrawerredux
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── AndroidManifest.xml
│ ├── BUCK
│ ├── proguard-rules.pro
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── keystores
│ ├── debug.keystore.properties
│ └── BUCK
├── settings.gradle
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── .buckconfig
├── index.ios.js
├── index.android.js
├── __tests__
├── index.ios.js
└── index.android.js
├── ios
├── ReactNavDrawerRedux
│ ├── AppDelegate.h
│ ├── main.m
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── AppDelegate.m
│ ├── Info.plist
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── ReactNavDrawerReduxTests
│ ├── Info.plist
│ └── ReactNavDrawerReduxTests.m
├── ReactNavDrawerRedux-tvOSTests
│ └── Info.plist
├── ReactNavDrawerRedux-tvOS
│ └── Info.plist
└── ReactNavDrawerRedux.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── ReactNavDrawerRedux.xcscheme
│ │ └── ReactNavDrawerRedux-tvOS.xcscheme
│ └── project.pbxproj
├── .gitignore
├── README.md
├── package.json
├── .eslintrc
└── .flowconfig
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/src/actions/package.json:
--------------------------------------------------------------------------------
1 | { "name": "actions" }
--------------------------------------------------------------------------------
/src/sagas/package.json:
--------------------------------------------------------------------------------
1 | { "name": "sagas" }
2 |
--------------------------------------------------------------------------------
/src/reducers/package.json:
--------------------------------------------------------------------------------
1 | { "name": "reducers" }
2 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native"]
3 | }
4 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ReactNavDrawerRedux",
3 | "displayName": "ReactNavDrawerRedux"
4 | }
--------------------------------------------------------------------------------
/src/themes/colors.js:
--------------------------------------------------------------------------------
1 | export const primary = '#3498db';
2 | export const secondary = '#ddd';
3 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ReactNavDrawerRedux
3 |
4 |
--------------------------------------------------------------------------------
/src/json/homeDrawerItems.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "Home Drawer :p",
3 | "items": [
4 | "HomeScreen",
5 | "DashboardScreen"
6 | ]
7 | }
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/.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/assets/fonts/Entypo.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Entypo.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Feather.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Feather.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Zocial.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Zocial.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/EvilIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Ionicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Octicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Octicons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/FontAwesome.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Foundation.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/Foundation.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/MaterialIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/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/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/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/app/src/main/assets/fonts/SimpleLineIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/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/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/json/dashboardDrawerItems.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "Dashboard Drawer :p",
3 | "items": [
4 | "HomeScreen",
5 | "UserScreen",
6 | "AboutScreen"
7 | ]
8 | }
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kyaroru/ReactNavDrawerRedux/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | import {
2 | AppRegistry,
3 | } from 'react-native';
4 | import Main from './src/main';
5 |
6 | AppRegistry.registerComponent('ReactNavDrawerRedux', () => Main);
7 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | import {
2 | AppRegistry,
3 | } from 'react-native';
4 | import Main from './src/main';
5 |
6 | AppRegistry.registerComponent('ReactNavDrawerRedux', () => Main);
7 |
--------------------------------------------------------------------------------
/src/json/dashboardData.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "I am dashboard data",
3 | "items": [
4 | "Dashboard Item 1", "Dashboard Item 2", "Dashboard Item 3", "Dashboard Item 4"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/src/json/homeData.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "I am home data",
3 | "items": [
4 | "Home Item 1", "Home Item 2", "Home Item 3", "Home Item 4", "Home Item 5", "Home Item 6"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/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/actions/user.js:
--------------------------------------------------------------------------------
1 | const AUTH = 'AUTH';
2 | export const UPDATE_CURRENT_USER = `${AUTH}/UPDATE_CURRENT_USER`;
3 |
4 | export const updateCurrentUser = user => ({
5 | type: UPDATE_CURRENT_USER,
6 | user,
7 | });
8 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
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 = 'ReactNavDrawerRedux'
2 | include ':react-native-vector-icons'
3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
4 |
5 | include ':app'
6 |
--------------------------------------------------------------------------------
/src/navigation/index.js:
--------------------------------------------------------------------------------
1 | import { StackNavigator } from 'react-navigation';
2 | import LoginScreen from '../components/login';
3 | import Drawer from '../components/drawer';
4 |
5 | export default StackNavigator({
6 | LoginScreen: { screen: LoginScreen },
7 | Drawer: { screen: Drawer },
8 | });
9 |
--------------------------------------------------------------------------------
/src/reducers/user.js:
--------------------------------------------------------------------------------
1 | import Actions from 'actions';
2 |
3 | const currentUser = (state = {}, action) => {
4 | switch (action.type) {
5 | case Actions.UPDATE_CURRENT_USER:
6 | return action.user;
7 | default:
8 | return state;
9 | }
10 | };
11 |
12 | export default currentUser;
13 |
--------------------------------------------------------------------------------
/src/sagas/index.js:
--------------------------------------------------------------------------------
1 | import { all, fork } from 'redux-saga/effects';
2 | import drawer from './drawer';
3 | import home from './home';
4 | import dashboard from './dashboard';
5 |
6 | export default function* root() {
7 | yield all([
8 | fork(drawer),
9 | fork(home),
10 | fork(dashboard),
11 | ]);
12 | }
13 |
--------------------------------------------------------------------------------
/__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/actions/index.js:
--------------------------------------------------------------------------------
1 | import * as navigation from './navigation';
2 | import * as user from './user';
3 | import * as drawer from './drawer';
4 | import * as home from './home';
5 | import * as dashboard from './dashboard';
6 |
7 | export default {
8 | ...navigation,
9 | ...user,
10 | ...drawer,
11 | ...home,
12 | ...dashboard,
13 | };
14 |
--------------------------------------------------------------------------------
/__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/main.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { Provider } from 'react-redux';
3 | import App from './app';
4 | import createStore from './createStore';
5 |
6 | class Main extends React.Component {
7 |
8 | render() {
9 | const store = createStore();
10 | return (
11 |
12 |
13 |
14 | );
15 | }
16 | }
17 |
18 | export default Main;
19 |
--------------------------------------------------------------------------------
/src/reducers/index.js:
--------------------------------------------------------------------------------
1 | import { combineReducers } from 'redux';
2 |
3 | import navigation from './navigation';
4 | import user from './user';
5 | import drawer from './drawer';
6 | import home from './home';
7 | import dashboard from './dashboard';
8 |
9 | export default combineReducers({
10 | NAVIGATION: navigation,
11 | USER: user,
12 | DRAWER: drawer,
13 | HOME: home,
14 | DASHBOARD: dashboard,
15 | });
16 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnavdrawerredux/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.reactnavdrawerredux;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "ReactNavDrawerRedux";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/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 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/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/sagas/home.js:
--------------------------------------------------------------------------------
1 | import { takeLatest, all, fork, call, put } from 'redux-saga/effects';
2 | import Actions from 'actions';
3 | import { delay } from 'redux-saga';
4 | import * as api from '../api';
5 |
6 | function* fetchHomeData() {
7 | const result = yield call(api.fetchScreenData, 'HomeScreen');
8 | yield call(delay, 1000);
9 | if (result) {
10 | yield put(Actions.fetchHomeDataSuccess(result));
11 | }
12 | }
13 |
14 | function* watchfetchHomeData() {
15 | yield takeLatest(Actions.FETCH_HOME_DATA, fetchHomeData);
16 | }
17 |
18 | export default function* home() {
19 | yield all([
20 | fork(watchfetchHomeData),
21 | ]);
22 | }
23 |
--------------------------------------------------------------------------------
/src/createStore.js:
--------------------------------------------------------------------------------
1 | import { createStore, applyMiddleware } from 'redux';
2 | import createSagaMiddleware from 'redux-saga';
3 | import { createLogger } from 'redux-logger';
4 | import reducers from './reducers';
5 | import sagas from 'sagas';
6 |
7 | const sagaMiddleware = createSagaMiddleware();
8 | let middleware;
9 |
10 | /* global __DEV__ */
11 | if (__DEV__) {
12 | middleware = applyMiddleware(sagaMiddleware, createLogger());
13 | } else {
14 | middleware = applyMiddleware(sagaMiddleware);
15 | }
16 |
17 | export default (data = {}) => {
18 | const store = createStore(reducers, data, middleware);
19 | sagaMiddleware.run(sagas);
20 | return store;
21 | };
22 |
--------------------------------------------------------------------------------
/src/app.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { connect } from 'react-redux';
3 | import { addNavigationHelpers } from 'react-navigation';
4 | import AppNavigator from './navigation';
5 |
6 | class App extends Component {
7 | render() {
8 | const { dispatch, nav } = this.props;
9 |
10 | return (
11 |
17 | );
18 | }
19 | }
20 |
21 | const mapStateToProps = store => ({
22 | currentUser: store.USER,
23 | nav: store.NAVIGATION,
24 | });
25 |
26 | export default connect(mapStateToProps)(App);
27 |
--------------------------------------------------------------------------------
/src/sagas/dashboard.js:
--------------------------------------------------------------------------------
1 | import { takeLatest, all, fork, call, put } from 'redux-saga/effects';
2 | import Actions from 'actions';
3 | import { delay } from 'redux-saga';
4 | import * as api from '../api';
5 |
6 | function* fetchDashboardData() {
7 | const result = yield call(api.fetchScreenData, 'DashboardScreen');
8 | yield call(delay, 1000);
9 | if (result) {
10 | yield put(Actions.fetchDashboardDataSuccess(result));
11 | }
12 | }
13 |
14 | function* watchFetchDashboardData() {
15 | yield takeLatest(Actions.FETCH_DASHBOARD_DATA, fetchDashboardData);
16 | }
17 |
18 | export default function* dashboard() {
19 | yield all([
20 | fork(watchFetchDashboardData),
21 | ]);
22 | }
23 |
--------------------------------------------------------------------------------
/src/actions/navigation.js:
--------------------------------------------------------------------------------
1 | const NAVIGATION = 'NAVIGATION';
2 |
3 | export const getNavigation = store => store[NAVIGATION];
4 |
5 | export const getCurrentScreenName = (store) => {
6 | const innerRoutes = store[NAVIGATION].routes[0];
7 | if (innerRoutes && innerRoutes.routes) {
8 | const drawerInnerRoutes = innerRoutes.routes[0];
9 | const currentRouteIndex = drawerInnerRoutes.index;
10 | const currentRoute = drawerInnerRoutes.routes[currentRouteIndex];
11 | const currentRouteName = currentRoute.key;
12 | return currentRouteName;
13 | }
14 | return innerRoutes.routeName;
15 | };
16 |
17 | export const GO_BACK = 'Navigation/BACK';
18 | export const GO_TO = 'Navigation/NAVIGATE';
19 |
--------------------------------------------------------------------------------
/src/actions/home.js:
--------------------------------------------------------------------------------
1 | const HOME = 'HOME';
2 |
3 | export const FETCH_HOME_DATA = `${HOME}/FETCH_HOME_DATA`;
4 | export const FETCH_HOME_DATA_SUCCESS = `${HOME}/FETCH_HOME_DATA_SUCCESS`;
5 | export const FETCH_HOME_DATA_FAIL = `${HOME}/FETCH_HOME_DATA_FAIL`;
6 | export const CLEAR_HOME_DATA = `${HOME}/CLEAR_HOME_DATA`;
7 |
8 | export const fetchHomeData = () => ({
9 | type: FETCH_HOME_DATA,
10 | });
11 |
12 | export const fetchHomeDataSuccess = data => ({
13 | type: FETCH_HOME_DATA_SUCCESS,
14 | data,
15 | });
16 |
17 | export const fetchHomeDataFail = error => ({
18 | type: FETCH_HOME_DATA_FAIL,
19 | error,
20 | });
21 |
22 | export const clearHomeData = () => ({
23 | type: CLEAR_HOME_DATA,
24 | });
25 |
--------------------------------------------------------------------------------
/src/components/user/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | Text,
6 | } from 'react-native';
7 | import * as Colors from '../../themes/colors';
8 |
9 | class UserScreen extends Component {
10 | render() {
11 | return (
12 |
13 | User Screen
14 |
15 | );
16 | }
17 | }
18 |
19 | const styles = StyleSheet.create({
20 | container: {
21 | flex: 1,
22 | justifyContent: 'center',
23 | alignItems: 'center',
24 | backgroundColor: '#F5FCFF',
25 | },
26 | });
27 |
28 | export default UserScreen;
29 |
--------------------------------------------------------------------------------
/src/components/about/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | Text,
6 | } from 'react-native';
7 | import * as Colors from '../../themes/colors';
8 |
9 | class AboutScreen extends Component {
10 | render() {
11 | return (
12 |
13 | About Screen
14 |
15 | );
16 | }
17 | }
18 |
19 | const styles = StyleSheet.create({
20 | container: {
21 | flex: 1,
22 | justifyContent: 'center',
23 | alignItems: 'center',
24 | backgroundColor: '#F5FCFF',
25 | },
26 | });
27 |
28 | export default AboutScreen;
29 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/src/components/common/NavBarItem.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import PropTypes from 'prop-types';
3 | import { TouchableOpacity } from 'react-native';
4 | import Icon from 'react-native-vector-icons/FontAwesome';
5 |
6 | class NavBarItem extends Component {
7 | render() {
8 | const { iconName, onPress } = this.props;
9 | return (
10 | onPress()}
13 | >
14 |
15 |
16 |
17 | );
18 | }
19 | }
20 |
21 | NavBarItem.propTypes = {
22 | iconName: PropTypes.string.isRequired,
23 | onPress: PropTypes.func.isRequired,
24 | };
25 |
26 | export default NavBarItem;
27 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/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/actions/dashboard.js:
--------------------------------------------------------------------------------
1 | const DASHBOARD = 'DASHBOARD';
2 |
3 | export const FETCH_DASHBOARD_DATA = `${DASHBOARD}/FETCH_DASHBOARD_DATA`;
4 | export const FETCH_DASHBOARD_DATA_SUCCESS = `${DASHBOARD}/FETCH_DASHBOARD_DATA_SUCCESS`;
5 | export const FETCH_DASHBOARD_DATA_FAIL = `${DASHBOARD}/FETCH_DASHBOARD_DATA_FAIL`;
6 | export const CLEAR_DASHBOARD_DATA = `${DASHBOARD}/CLEAR_DASHBOARD_DATA`;
7 |
8 | export const fetchDashboardData = () => ({
9 | type: FETCH_DASHBOARD_DATA,
10 | });
11 |
12 | export const fetchDashboardDataSuccess = data => ({
13 | type: FETCH_DASHBOARD_DATA_SUCCESS,
14 | data,
15 | });
16 |
17 | export const fetchDashboardDataFail = error => ({
18 | type: FETCH_DASHBOARD_DATA_FAIL,
19 | error,
20 | });
21 |
22 | export const clearDashboardData = () => ({
23 | type: CLEAR_DASHBOARD_DATA,
24 | });
25 |
--------------------------------------------------------------------------------
/src/reducers/navigation.js:
--------------------------------------------------------------------------------
1 | import AppNavigator from '../navigation';
2 |
3 | const initialState = AppNavigator.router.getStateForAction(
4 | AppNavigator.router.getActionForPathAndParams('LoginScreen'),
5 | );
6 |
7 | export default function navReducer(state = initialState, action) {
8 | const nextState = AppNavigator.router.getStateForAction(action, state);
9 | if (nextState) {
10 | const nextLastIndex = nextState.routes.length - 1;
11 | const lastIndex = state.routes.length - 1;
12 |
13 | const nextLastRoute = nextState.routes[nextLastIndex];
14 | const lastRoute = state.routes[lastIndex];
15 |
16 | if (nextLastIndex !== lastIndex && nextLastRoute.routeName === lastRoute.routeName) {
17 | // skip if same routeName, so won't push same view twice
18 | return state;
19 | }
20 | return nextState;
21 | }
22 | return state;
23 | }
24 |
--------------------------------------------------------------------------------
/src/reducers/home.js:
--------------------------------------------------------------------------------
1 | import Actions from 'actions';
2 |
3 | const home = (state = { data: [], isFetching: false, error: null }, action) => {
4 | switch (action.type) {
5 | case Actions.FETCH_HOME_DATA:
6 | return {
7 | data: [],
8 | isFetching: true,
9 | error: null,
10 | };
11 | case Actions.FETCH_HOME_DATA_SUCCESS:
12 | return {
13 | data: action.data,
14 | isFetching: false,
15 | error: null,
16 | };
17 | case Actions.FETCH_HOME_DATA_FAIL:
18 | return {
19 | ...state,
20 | isFetching: false,
21 | error: action.error,
22 | };
23 | case Actions.CLEAR_HOME_DATA:
24 | return {
25 | data: [],
26 | isFetching: false,
27 | error: null,
28 | };
29 | default:
30 | return state;
31 | }
32 | };
33 |
34 | export default home;
35 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerReduxTests/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/ReactNavDrawerRedux-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 |
--------------------------------------------------------------------------------
/src/reducers/dashboard.js:
--------------------------------------------------------------------------------
1 | import Actions from 'actions';
2 |
3 | const home = (state = { data: [], isFetching: false, error: null }, action) => {
4 | switch (action.type) {
5 | case Actions.FETCH_DASHBOARD_DATA:
6 | return {
7 | data: [],
8 | isFetching: true,
9 | error: null,
10 | };
11 | case Actions.FETCH_DASHBOARD_DATA_SUCCESS:
12 | return {
13 | data: action.data,
14 | isFetching: false,
15 | error: null,
16 | };
17 | case Actions.FETCH_DASHBOARD_DATA_FAIL:
18 | return {
19 | ...state,
20 | isFetching: false,
21 | error: action.error,
22 | };
23 | case Actions.CLEAR_DASHBOARD_DATA:
24 | return {
25 | data: [],
26 | isFetching: false,
27 | error: null,
28 | };
29 | default:
30 | return state;
31 | }
32 | };
33 |
34 | export default home;
35 |
--------------------------------------------------------------------------------
/src/actions/drawer.js:
--------------------------------------------------------------------------------
1 | const DRAWER = 'DRAWER';
2 |
3 | export const FETCH_DRAWER_ITEMS = `${DRAWER}/FETCH_DRAWER_ITEMS`;
4 | export const FETCH_DRAWER_ITEMS_SUCCESS = `${DRAWER}/FETCH_DRAWER_ITEMS_SUCCESS`;
5 | export const FETCH_DRAWER_ITEMS_FAIL = `${DRAWER}/FETCH_DRAWER_ITEMS_FAIL`;
6 |
7 | export const UPDATE_DRAWER_ITEMS = `${DRAWER}/UPDATE_DRAWER_ITEMS`;
8 |
9 | export const isFetchingDrawerItems = store => store[DRAWER].isFetching;
10 |
11 | export const fetchDrawerItems = screenName => ({
12 | type: FETCH_DRAWER_ITEMS,
13 | screenName,
14 | });
15 |
16 | export const fetchDrawerItemsSuccess = (title, items) => ({
17 | type: FETCH_DRAWER_ITEMS_SUCCESS,
18 | title,
19 | items,
20 | });
21 |
22 | export const fetchDrawerItemsFail = error => ({
23 | type: FETCH_DRAWER_ITEMS_FAIL,
24 | error,
25 | });
26 |
27 | export const updateDrawerItems = items => ({
28 | type: UPDATE_DRAWER_ITEMS,
29 | items,
30 | });
31 |
--------------------------------------------------------------------------------
/src/api/index.js:
--------------------------------------------------------------------------------
1 | import homeDrawerItems from '../json/homeDrawerItems';
2 | import homeData from '../json/homeData';
3 | import dashboardDrawerItems from '../json/dashboardDrawerItems';
4 | import dashboardData from '../json/dashboardData';
5 |
6 | const defaultDrawerItems = homeDrawerItems;
7 | const defaultData = homeData;
8 |
9 | export const fetchDrawerItems = screenName => new Promise((resolve, reject) => {
10 | if (screenName === 'DashboardScreen') {
11 | resolve(dashboardDrawerItems);
12 | } else {
13 | // fall back to default drawer items (if no screenName matches)
14 | resolve(defaultDrawerItems);
15 | }
16 | });
17 |
18 | export const fetchScreenData = screenName => new Promise((resolve, reject) => {
19 | if (screenName === 'DashboardScreen') {
20 | resolve(dashboardData);
21 | } else {
22 | // fall back to default home data (if no screenName matches)
23 | resolve(defaultData);
24 | }
25 | });
26 |
--------------------------------------------------------------------------------
/src/reducers/drawer.js:
--------------------------------------------------------------------------------
1 | import Actions from 'actions';
2 |
3 | const drawer = (state = { title: 'Drawer Items', items: ['HomeScreen'], isFetching: false, error: null }, action) => {
4 | switch (action.type) {
5 | case Actions.FETCH_DRAWER_ITEMS:
6 | return {
7 | ...state,
8 | isFetching: true,
9 | error: null,
10 | };
11 | case Actions.FETCH_DRAWER_ITEMS_SUCCESS:
12 | return {
13 | items: action.items,
14 | title: action.title,
15 | isFetching: false,
16 | error: null,
17 | };
18 | case Actions.FETCH_DRAWER_ITEMS_FAIL:
19 | return {
20 | ...state,
21 | isFetching: false,
22 | error: action.error,
23 | };
24 | case Actions.UPDATE_DRAWER_ITEMS:
25 | return {
26 | ...state,
27 | items: action.items,
28 | };
29 | default:
30 | return state;
31 | }
32 | };
33 |
34 | export default drawer;
35 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/.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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ReactNavDrawerRedux
2 |
3 | A simple example of using DrawerNavigator in React Navigation (With REDUX integration)
4 |
5 | It consists of a fake login page (without drawer) and also other pages that can be seen only after login (with drawer)
6 |
7 | **Display different drawer items for different screen after fetch from server**
8 |
9 | 
10 |
11 | **Navigation Structure**
12 | ```
13 | -StackNavigator
14 | -LoginScreen
15 | -DrawerNavigator
16 | -HomeScreen
17 | -UserScreen
18 | -DashboardScreen
19 | -AboutScreen
20 | ```
21 |
22 | **To run the app**
23 | ```
24 | git clone https://github.com/kyaroru/ReactNavDrawerRedux
25 | cd ReactNavDrawerRedux
26 | npm i
27 | react-native run-ios
28 | react-native run-android
29 | ```
30 |
31 |
32 | **For example without redux**
33 |
34 | Refer to [ReactNavDrawer](https://github.com/kyaroru/ReactNavDrawer)
35 |
36 | **For TabNavigator example with REDUX integration**
37 |
38 | Refer to [ReactNavTab](https://github.com/kyaroru/ReactNavTab)
--------------------------------------------------------------------------------
/src/components/drawer/menu.js:
--------------------------------------------------------------------------------
1 | import Actions from 'actions';
2 | import { connect } from 'react-redux';
3 | import React, { Component } from 'react';
4 | import NavBarItem from '../common/NavBarItem';
5 |
6 | class DrawerMenu extends Component {
7 | render() {
8 | const { navigation, currentScreenName } = this.props;
9 | return (
10 | {
13 | if (navigation.state.index === 0) {
14 | // check if drawer is not open, then only open it
15 | navigation.navigate('DrawerOpen');
16 | this.props.fetchDrawerItems(currentScreenName);
17 | } else {
18 | // else close the drawer
19 | navigation.navigate('DrawerClose');
20 | }
21 | }}
22 | />
23 | );
24 | }
25 | }
26 |
27 | const mapStateToProps = store => ({
28 | currentScreenName: Actions.getCurrentScreenName(store),
29 | });
30 |
31 | const mapDispatchToProps = {
32 | fetchDrawerItems: Actions.fetchDrawerItems,
33 | };
34 |
35 | export default connect(mapStateToProps, mapDispatchToProps)(DrawerMenu);
36 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ReactNavDrawerRedux",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "lodash": "^4.17.4",
11 | "prop-types": "^15.5.10",
12 | "react": "16.0.0-alpha.12",
13 | "react-native": "0.48.4",
14 | "react-native-vector-icons": "^4.2.0",
15 | "react-navigation": "1.0.0-beta.27",
16 | "react-redux": "^5.0.5",
17 | "redux": "^3.6.0",
18 | "redux-logger": "^3.0.6",
19 | "redux-saga": "^0.15.3"
20 | },
21 | "devDependencies": {
22 | "babel-jest": "21.2.0",
23 | "babel-preset-react-native": "4.0.0",
24 | "babel-eslint": "^7.2.3",
25 | "eslint": "^3.19.0",
26 | "eslint-config-airbnb": "^15.0.1",
27 | "eslint-plugin-flowtype": "^2.34.0",
28 | "eslint-plugin-import": "^2.3.0",
29 | "eslint-plugin-jsx-a11y": "^5.0.3",
30 | "eslint-plugin-react": "^7.1.0",
31 | "jest": "21.2.1",
32 | "react-test-renderer": "16.0.0-alpha.12"
33 | },
34 | "jest": {
35 | "preset": "react-native"
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/src/utils/navigation.js:
--------------------------------------------------------------------------------
1 | export const getNavigationOptions = (title, backgroundColor, color) => ({
2 | title,
3 | headerTitle: title,
4 | headerStyle: {
5 | backgroundColor,
6 | },
7 | headerTitleStyle: {
8 | color,
9 | },
10 | headerTintColor: color,
11 | });
12 |
13 | export const getNavigationOptionsWithAction = (title, backgroundColor, color, headerLeft) => ({
14 | title,
15 | headerStyle: {
16 | backgroundColor,
17 | },
18 | headerTitleStyle: {
19 | color,
20 | },
21 | headerTintColor: color,
22 | headerLeft,
23 | });
24 |
25 | export const getDrawerNavigationOptions = (title, backgroundColor, titleColor, drawerIcon) => ({
26 | title,
27 | headerTitle: title,
28 | headerStyle: {
29 | backgroundColor,
30 | },
31 | headerTitleStyle: {
32 | color: titleColor,
33 | },
34 | headerTintColor: titleColor,
35 | drawerLabel: title,
36 | drawerIcon,
37 | });
38 |
39 | export const getDrawerConfig = (drawerWidth, drawerPosition, initialRouteName) => ({
40 | drawerWidth,
41 | drawerPosition,
42 | initialRouteName,
43 | drawerOpenRoute: 'DrawerOpen',
44 | drawerCloseRoute: 'DrawerClose',
45 | drawerToggleRoute: 'DrawerToggle',
46 | });
47 |
--------------------------------------------------------------------------------
/src/sagas/drawer.js:
--------------------------------------------------------------------------------
1 | import { takeLatest, take, all, fork, call, put, cancelled, select, cancel } from 'redux-saga/effects';
2 | import Actions from 'actions';
3 | import { delay } from 'redux-saga';
4 | import * as api from '../api';
5 |
6 | function* fetchFromAPI(screenName) {
7 | try {
8 | const result = yield call(api.fetchDrawerItems, screenName);
9 | yield call(delay, 2000);
10 | if (result) {
11 | yield put(Actions.fetchDrawerItemsSuccess(result.title, result.items));
12 | }
13 | } finally {
14 | if (yield cancelled()) {
15 | yield put(Actions.fetchDrawerItemsFail('Fetch cancelled!'));
16 | }
17 | }
18 | }
19 |
20 | function* fetchDrawerItems({ screenName }) {
21 | const task = yield fork(fetchFromAPI, screenName);
22 | const { routeName } = yield take(Actions.GO_TO);
23 | const isFetchingDrawerItems = yield select(Actions.isFetchingDrawerItems);
24 | if (routeName === 'DrawerClose' && isFetchingDrawerItems) {
25 | yield cancel(task);
26 | }
27 | }
28 |
29 | function* watchFetchDrawerItems() {
30 | yield takeLatest(Actions.FETCH_DRAWER_ITEMS, fetchDrawerItems);
31 | }
32 |
33 | export default function* drawer() {
34 | yield all([
35 | fork(watchFetchDrawerItems),
36 | ]);
37 | }
38 |
--------------------------------------------------------------------------------
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "airbnb",
3 | "parser": "babel-eslint",
4 | "plugins": [
5 | "react",
6 | "flowtype"
7 | ],
8 | "rules": {
9 | "max-len": "off",
10 | "no-shadow": "off",
11 | "global-require": "off",
12 | "no-underscore-dangle": ["error", { "allowAfterThis": false, "allow": ["_czc", "_active"] }],
13 | "consistent-return": "off",
14 | "react/sort-comp": [2, {
15 | "order": [
16 | "/^props$/",
17 | "static-methods",
18 | "lifecycle",
19 | "/^on.+$/",
20 | "/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
21 | "everything-else",
22 | "/^render.+$/",
23 | "render"
24 | ],
25 | }],
26 | "react/prefer-stateless-function": "off",
27 | "no-use-before-define": "off",
28 | "no-param-reassign": "off",
29 | "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
30 | "react/forbid-prop-types": "off",
31 | "no-useless-escape": "off",
32 | "import/no-extraneous-dependencies": "off",
33 | "import/no-unresolved": "off",
34 | "import/extensions": "off",
35 | "import/export": "off",
36 | "import/prefer-default-export": "off",
37 | "no-undef": "off"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnavdrawerredux/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.reactnavdrawerredux;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.oblador.vectoricons.VectorIconsPackage;
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 | public class MainApplication extends Application implements ReactApplication {
16 |
17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
18 | @Override
19 | public boolean getUseDeveloperSupport() {
20 | return BuildConfig.DEBUG;
21 | }
22 |
23 | @Override
24 | protected List getPackages() {
25 | return Arrays.asList(
26 | new MainReactPackage(),
27 | new VectorIconsPackage()
28 | );
29 | }
30 | };
31 |
32 | @Override
33 | public ReactNativeHost getReactNativeHost() {
34 | return mReactNativeHost;
35 | }
36 |
37 | @Override
38 | public void onCreate() {
39 | super.onCreate();
40 | SoLoader.init(this, /* native exopackage */ false);
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 | .*/Libraries/react-native/ReactNative.js
16 |
17 | [include]
18 |
19 | [libs]
20 | node_modules/react-native/Libraries/react-native/react-native-interface.js
21 | node_modules/react-native/flow
22 | flow/
23 |
24 | [options]
25 | emoji=true
26 |
27 | module.system=haste
28 |
29 | munge_underscores=true
30 |
31 | 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'
32 |
33 | suppress_type=$FlowIssue
34 | suppress_type=$FlowFixMe
35 | suppress_type=$FixMe
36 |
37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
40 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
41 |
42 | unsafe.enable_getters_and_setters=true
43 |
44 | [version]
45 | ^0.49.1
46 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/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 | @implementation AppDelegate
16 |
17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
18 | {
19 | NSURL *jsCodeLocation;
20 |
21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22 |
23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
24 | moduleName:@"ReactNavDrawerRedux"
25 | initialProperties:nil
26 | launchOptions:launchOptions];
27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28 |
29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30 | UIViewController *rootViewController = [UIViewController new];
31 | rootViewController.view = rootView;
32 | self.window.rootViewController = rootViewController;
33 | [self.window makeKeyAndVisible];
34 | return YES;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux-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.reactnavdrawerredux",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.reactnavdrawerredux",
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/components/login/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | TouchableOpacity,
6 | Text,
7 | } from 'react-native';
8 | import { NavigationActions } from 'react-navigation';
9 | import Actions from 'actions';
10 | import { connect } from 'react-redux';
11 | import * as Colors from '../../themes/colors';
12 | import { getNavigationOptions } from '../../utils/navigation';
13 |
14 |
15 | class LoginScreen extends Component {
16 |
17 | login() {
18 | const { updateCurrentUser, navigation } = this.props;
19 | updateCurrentUser({ name: 'carol ' });
20 | const navigateAction = NavigationActions.reset({
21 | index: 0,
22 | actions: [
23 | NavigationActions.navigate({ routeName: 'Drawer' }),
24 | ],
25 | });
26 | navigation.dispatch(navigateAction);
27 | }
28 |
29 | render() {
30 | return (
31 |
32 |
33 | this.login()}>
34 | Login
35 |
36 |
37 |
38 | );
39 | }
40 | }
41 |
42 | const styles = StyleSheet.create({
43 | container: {
44 | flex: 1,
45 | justifyContent: 'center',
46 | alignItems: 'center',
47 | backgroundColor: '#F5FCFF',
48 | },
49 | btnSubmit: {
50 | justifyContent: 'center',
51 | padding: 10,
52 | flexDirection: 'row',
53 | },
54 | input: {
55 | height: 40,
56 | paddingHorizontal: 10,
57 | borderWidth: 1,
58 | borderRadius: 5,
59 | },
60 | });
61 |
62 | LoginScreen.navigationOptions = ({ navigation }) => getNavigationOptions('Login', Colors.primary, 'white');
63 |
64 | const mapStateToProps = store => ({
65 | currentUser: store.USER,
66 | });
67 |
68 | const mapDispatchToProps = {
69 | updateCurrentUser: Actions.updateCurrentUser,
70 | };
71 |
72 | export default connect(mapStateToProps, mapDispatchToProps)(LoginScreen);
73 |
--------------------------------------------------------------------------------
/src/components/drawer/index.js:
--------------------------------------------------------------------------------
1 | import { DrawerNavigator } from 'react-navigation';
2 | import React from 'react';
3 | import Icon from 'react-native-vector-icons/FontAwesome';
4 | import { getNavigationOptionsWithAction, getDrawerNavigationOptions } from '../../utils/navigation';
5 | import HomeScreen from '../home';
6 | import UserScreen from '../user';
7 | import DashboardScreen from '../dashboard';
8 | import AboutScreen from '../about';
9 | import * as Colors from '../../themes/colors';
10 | import DrawerContent from './content';
11 | import DrawerMenu from './menu';
12 |
13 | const getDrawerIcon = (iconName, tintColor) => ;
14 |
15 | const homeDrawerIcon = ({ tintColor }) => getDrawerIcon('home', tintColor);
16 | const userDrawerIcon = ({ tintColor }) => getDrawerIcon('user', tintColor);
17 | const dashboardDrawerIcon = ({ tintColor }) => getDrawerIcon('bar-chart', tintColor);
18 | const aboutDrawerIcon = ({ tintColor }) => getDrawerIcon('info-circle', tintColor);
19 |
20 | const homeNavOptions = getDrawerNavigationOptions('Home', Colors.primary, 'white', homeDrawerIcon);
21 | const userNavOptions = getDrawerNavigationOptions('Users', Colors.primary, 'white', userDrawerIcon);
22 | const dashboardNavOptions = getDrawerNavigationOptions('Dashboard', Colors.primary, 'white', dashboardDrawerIcon);
23 | const aboutNavOptions = getDrawerNavigationOptions('About', Colors.primary, 'white', aboutDrawerIcon);
24 |
25 | const Drawer = DrawerNavigator({
26 | HomeScreen: { screen: HomeScreen, navigationOptions: homeNavOptions },
27 | UserScreen: { screen: UserScreen, navigationOptions: userNavOptions },
28 | DashboardScreen: { screen: DashboardScreen, navigationOptions: dashboardNavOptions },
29 | AboutScreen: { screen: AboutScreen, navigationOptions: aboutNavOptions },
30 | }, {
31 | drawerWidth: 300,
32 | drawerPosition: 'left',
33 | initialRouteName: 'HomeScreen',
34 | contentComponent: props => ,
35 | });
36 |
37 | Drawer.navigationOptions = ({ navigation }) => getNavigationOptionsWithAction('ReactNavDrawer', Colors.primary, 'white', );
38 |
39 | export default Drawer;
40 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ReactNavDrawerRedux
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
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UIViewControllerBasedStatusBarAppearance
40 |
41 | NSLocationWhenInUseUsageDescription
42 |
43 | NSAppTransportSecurity
44 |
45 | NSExceptionDomains
46 |
47 | localhost
48 |
49 | NSExceptionAllowsInsecureHTTPLoads
50 |
51 |
52 |
53 |
54 | UIAppFonts
55 |
56 | Entypo.ttf
57 | EvilIcons.ttf
58 | Feather.ttf
59 | FontAwesome.ttf
60 | Foundation.ttf
61 | Ionicons.ttf
62 | MaterialCommunityIcons.ttf
63 | MaterialIcons.ttf
64 | Octicons.ttf
65 | SimpleLineIcons.ttf
66 | Zocial.ttf
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerReduxTests/ReactNavDrawerReduxTests.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 ReactNavDrawerReduxTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation ReactNavDrawerReduxTests
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 = [[[RCTSharedApplication() 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 |
--------------------------------------------------------------------------------
/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/components/dashboard/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | Text,
6 | ActivityIndicator,
7 | } from 'react-native';
8 | import Actions from 'actions';
9 | import { connect } from 'react-redux';
10 | import isEmpty from 'lodash/isEmpty';
11 | import * as Colors from '../../themes/colors';
12 |
13 | class DashboardScreen extends Component {
14 | componentDidMount() {
15 | const { fetchDashboardData } = this.props;
16 | fetchDashboardData();
17 | }
18 |
19 | render() {
20 | const { dashboardData, isFetching } = this.props;
21 | return (
22 |
23 | {!isEmpty(dashboardData.title) &&
24 |
25 | {dashboardData.title}
26 |
27 | }
28 | {!isEmpty(dashboardData) && dashboardData.items.map(item => (
29 |
30 | {item}
31 |
32 | ))}
33 | {isFetching &&
34 |
35 |
39 |
40 | }
41 |
42 | );
43 | }
44 | }
45 |
46 | const styles = StyleSheet.create({
47 | container: {
48 | flex: 1,
49 | backgroundColor: '#F5FCFF',
50 | },
51 | section: {
52 | alignItems: 'center',
53 | },
54 | btnSubmit: {
55 | justifyContent: 'center',
56 | padding: 10,
57 | flexDirection: 'row',
58 | },
59 | btnContainer: {
60 | height: 40,
61 | paddingHorizontal: 10,
62 | borderWidth: 1,
63 | borderRadius: 5,
64 | width: 300,
65 | marginTop: 10,
66 | borderColor: Colors.primary,
67 | },
68 | item: {
69 | padding: 10,
70 | borderWidth: 1,
71 | borderColor: Colors.primary,
72 | },
73 | spinnerViewBg: {
74 | position: 'absolute',
75 | top: 0,
76 | left: 0,
77 | right: 0,
78 | bottom: 0,
79 | backgroundColor: '#333',
80 | opacity: 0.5,
81 | },
82 | spinner: {
83 | flex: 1,
84 | justifyContent: 'center',
85 | backgroundColor: 'transparent',
86 | height: 10,
87 | },
88 | title: {
89 | justifyContent: 'center',
90 | alignItems: 'center',
91 | padding: 10,
92 | },
93 | titleText: {
94 | fontWeight: 'bold',
95 | },
96 | });
97 |
98 | const mapStateToProps = store => ({
99 | dashboardData: store.DASHBOARD.data,
100 | isFetching: store.DASHBOARD.isFetching,
101 | });
102 |
103 | const mapDispatchToProps = {
104 | fetchDashboardData: Actions.fetchDashboardData,
105 | };
106 |
107 | export default connect(mapStateToProps, mapDispatchToProps)(DashboardScreen);
108 |
--------------------------------------------------------------------------------
/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 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/src/components/drawer/content.js:
--------------------------------------------------------------------------------
1 | import {
2 | View,
3 | TouchableOpacity,
4 | Text,
5 | StyleSheet,
6 | ActivityIndicator,
7 | } from 'react-native';
8 | import Actions from 'actions';
9 | import { connect } from 'react-redux';
10 | import React, { Component } from 'react';
11 | import * as Colors from '../../themes/colors';
12 |
13 | const styles = StyleSheet.create({
14 | container: {
15 | flex: 1,
16 | backgroundColor: '#F5FCFF',
17 | },
18 | btnSubmit: {
19 | justifyContent: 'center',
20 | padding: 10,
21 | flexDirection: 'row',
22 | },
23 | drawerItem: {
24 | padding: 10,
25 | borderBottomWidth: 1,
26 | borderBottomColor: Colors.primary,
27 | },
28 | spinnerViewBg: {
29 | flex: 1,
30 | justifyContent: 'center',
31 | alignItems: 'center',
32 | backgroundColor: '#333',
33 | opacity: 0.5,
34 | },
35 | spinner: {
36 | flex: 1,
37 | justifyContent: 'center',
38 | backgroundColor: 'transparent',
39 | height: 10,
40 | },
41 | drawerItemTitle: {
42 | justifyContent: 'center',
43 | alignItems: 'center',
44 | padding: 10,
45 | },
46 | drawerItemTitleText: {
47 | fontWeight: 'bold',
48 | },
49 | });
50 |
51 | class DrawerContent extends Component {
52 | onItemPress(item) {
53 | const { navigation } = this.props;
54 | navigation.navigate(item.key);
55 | }
56 |
57 | renderDrawerItem(route) {
58 | const { drawerItems } = this.props;
59 | if (drawerItems.indexOf(route.key) > -1) {
60 | return (
61 | this.onItemPress(route)}>
62 | {route.routeName}
63 |
64 | );
65 | }
66 | return null;
67 | }
68 |
69 | render() {
70 | const { navigation, isFetching, drawerItemsTitle } = this.props;
71 | return (
72 |
73 | {!isFetching &&
74 | {drawerItemsTitle}
75 | }
76 | {!isFetching &&
77 | {navigation.state.routes.map(route => this.renderDrawerItem(route))}
78 | }
79 | {isFetching &&
80 |
81 |
85 |
86 | }
87 |
88 | );
89 | }
90 | }
91 |
92 | const mapStateToProps = store => ({
93 | drawerItems: store.DRAWER.items,
94 | drawerItemsTitle: store.DRAWER.title,
95 | isFetching: store.DRAWER.isFetching,
96 | });
97 |
98 | const mapDispatchToProps = {
99 | updateDrawerItems: Actions.updateDrawerItems,
100 | };
101 |
102 | export default connect(mapStateToProps)(DrawerContent);
103 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux/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 |
--------------------------------------------------------------------------------
/src/components/home/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | Text,
6 | TouchableOpacity,
7 | ActivityIndicator,
8 | } from 'react-native';
9 | import { NavigationActions } from 'react-navigation';
10 | import Actions from 'actions';
11 | import { connect } from 'react-redux';
12 | import isEmpty from 'lodash/isEmpty';
13 | import * as Colors from '../../themes/colors';
14 |
15 | class HomeScreen extends Component {
16 | componentDidMount() {
17 | const { fetchHomeData } = this.props;
18 | fetchHomeData();
19 | }
20 |
21 | logout() {
22 | const { updateCurrentUser, navigation, clearHomeData } = this.props;
23 | updateCurrentUser({});
24 | clearHomeData();
25 | const navigateAction = NavigationActions.reset({
26 | index: 0,
27 | actions: [
28 | NavigationActions.navigate({ routeName: 'LoginScreen' }),
29 | ],
30 | });
31 | navigation.dispatch(navigateAction);
32 | }
33 |
34 | render() {
35 | const { homeData, isFetching } = this.props;
36 | return (
37 |
38 | {!isEmpty(homeData.title) &&
39 |
40 | {homeData.title}
41 |
42 | }
43 | {!isEmpty(homeData) && homeData.items.map(item => (
44 |
45 | {item}
46 |
47 | ))}
48 |
49 |
50 | this.logout()}>
51 | Logout
52 |
53 |
54 |
55 | {isFetching &&
56 |
57 |
61 |
62 | }
63 |
64 | );
65 | }
66 | }
67 |
68 | const styles = StyleSheet.create({
69 | container: {
70 | flex: 1,
71 | backgroundColor: '#F5FCFF',
72 | },
73 | section: {
74 | alignItems: 'center',
75 | },
76 | btnSubmit: {
77 | justifyContent: 'center',
78 | padding: 10,
79 | flexDirection: 'row',
80 | },
81 | btnContainer: {
82 | height: 40,
83 | paddingHorizontal: 10,
84 | borderWidth: 1,
85 | borderRadius: 5,
86 | width: 300,
87 | marginTop: 10,
88 | borderColor: Colors.primary,
89 | },
90 | item: {
91 | padding: 10,
92 | borderWidth: 1,
93 | borderColor: Colors.primary,
94 | },
95 | spinnerViewBg: {
96 | position: 'absolute',
97 | top: 0,
98 | left: 0,
99 | right: 0,
100 | bottom: 0,
101 | backgroundColor: '#333',
102 | opacity: 0.5,
103 | },
104 | spinner: {
105 | flex: 1,
106 | justifyContent: 'center',
107 | backgroundColor: 'transparent',
108 | height: 10,
109 | },
110 | title: {
111 | justifyContent: 'center',
112 | alignItems: 'center',
113 | padding: 10,
114 | },
115 | titleText: {
116 | fontWeight: 'bold',
117 | },
118 | });
119 |
120 | const mapStateToProps = store => ({
121 | currentUser: store.USER,
122 | drawerItems: store.DRAWER.items,
123 | homeData: store.HOME.data,
124 | isFetching: store.HOME.isFetching,
125 | });
126 |
127 | const mapDispatchToProps = {
128 | updateCurrentUser: Actions.updateCurrentUser,
129 | updateDrawerItems: Actions.updateDrawerItems,
130 | fetchHomeData: Actions.fetchHomeData,
131 | clearHomeData: Actions.clearHomeData,
132 | };
133 |
134 | export default connect(mapStateToProps, mapDispatchToProps)(HomeScreen);
135 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux.xcodeproj/xcshareddata/xcschemes/ReactNavDrawerRedux.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
62 |
68 |
69 |
70 |
71 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
94 |
96 |
102 |
103 |
104 |
105 |
106 |
107 |
113 |
115 |
121 |
122 |
123 |
124 |
126 |
127 |
130 |
131 |
132 |
--------------------------------------------------------------------------------
/ios/ReactNavDrawerRedux.xcodeproj/xcshareddata/xcschemes/ReactNavDrawerRedux-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/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 |
--------------------------------------------------------------------------------
/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 23
94 | buildToolsVersion "23.0.1"
95 |
96 | defaultConfig {
97 | applicationId "com.reactnavdrawerredux"
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 project(':react-native-vector-icons')
137 | compile fileTree(dir: "libs", include: ["*.jar"])
138 | compile "com.android.support:appcompat-v7:23.0.1"
139 | compile "com.facebook.react:react-native:+" // From node_modules
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/ReactNavDrawerRedux.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 /* ReactNavDrawerReduxTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNavDrawerReduxTests.m */; };
16 | 0435C825D0BF4B0788AF3031 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9FC63B2D7FC541CFBFEE5D31 /* Ionicons.ttf */; };
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 | 17B7FCFC19C443CBA21B68D6 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D3FAFC0279414B1982F42BE8 /* Entypo.ttf */; };
27 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
28 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
29 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
30 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
31 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
32 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
33 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
34 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
35 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
36 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
37 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; };
38 | 2DCD954D1E0B4F2C00145EB5 /* ReactNavDrawerReduxTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNavDrawerReduxTests.m */; };
39 | 3D89E83C28CC4B6EAF37BC55 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1C48206CDC7F4BC591573E12 /* SimpleLineIcons.ttf */; };
40 | 46D1912C731C4A3F85173A41 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 29813E070B0740698B0EE05A /* Foundation.ttf */; };
41 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
42 | 6E159D1259FA4B4EA5D4436B /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7191521F9DBE47349D2A0601 /* Feather.ttf */; };
43 | 76A103059A2A421B9014721A /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C7DB9D392F554A69931FE8AD /* Octicons.ttf */; };
44 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
45 | 83DC21930A074F648C94A3BA /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AE671154B3EC4EA1808CAF3F /* MaterialIcons.ttf */; };
46 | 860BD53957B9479787DC4490 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DC9FFC7D71664D6EAE38BD7D /* FontAwesome.ttf */; };
47 | 8D506EB9899B453D9215A4DF /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6BF36B64A5234E1685F706FD /* MaterialCommunityIcons.ttf */; };
48 | 91618AA11179409F84150CCE /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AA09D35E37B748489E4E33FB /* Zocial.ttf */; };
49 | 91B225F9AD1D489EB413CACE /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 60FEACB5C0FE4B118ACC4926 /* EvilIcons.ttf */; };
50 | AC1745FCAD01429B8937D627 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A17CAC87FE724DEA993608D6 /* libRNVectorIcons.a */; };
51 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
52 | /* End PBXBuildFile section */
53 |
54 | /* Begin PBXContainerItemProxy section */
55 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
56 | isa = PBXContainerItemProxy;
57 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
58 | proxyType = 2;
59 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
60 | remoteInfo = RCTActionSheet;
61 | };
62 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
63 | isa = PBXContainerItemProxy;
64 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
65 | proxyType = 2;
66 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
67 | remoteInfo = RCTGeolocation;
68 | };
69 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
70 | isa = PBXContainerItemProxy;
71 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
72 | proxyType = 2;
73 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
74 | remoteInfo = RCTImage;
75 | };
76 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
77 | isa = PBXContainerItemProxy;
78 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
79 | proxyType = 2;
80 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
81 | remoteInfo = RCTNetwork;
82 | };
83 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
84 | isa = PBXContainerItemProxy;
85 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
86 | proxyType = 2;
87 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
88 | remoteInfo = RCTVibration;
89 | };
90 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
91 | isa = PBXContainerItemProxy;
92 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
93 | proxyType = 1;
94 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
95 | remoteInfo = ReactNavDrawerRedux;
96 | };
97 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
98 | isa = PBXContainerItemProxy;
99 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
100 | proxyType = 2;
101 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
102 | remoteInfo = RCTSettings;
103 | };
104 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
105 | isa = PBXContainerItemProxy;
106 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
107 | proxyType = 2;
108 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
109 | remoteInfo = RCTWebSocket;
110 | };
111 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
112 | isa = PBXContainerItemProxy;
113 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
114 | proxyType = 2;
115 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
116 | remoteInfo = React;
117 | };
118 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
119 | isa = PBXContainerItemProxy;
120 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
121 | proxyType = 1;
122 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
123 | remoteInfo = "ReactNavDrawerRedux-tvOS";
124 | };
125 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
126 | isa = PBXContainerItemProxy;
127 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
128 | proxyType = 2;
129 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
130 | remoteInfo = "RCTImage-tvOS";
131 | };
132 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
133 | isa = PBXContainerItemProxy;
134 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
135 | proxyType = 2;
136 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
137 | remoteInfo = "RCTLinking-tvOS";
138 | };
139 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
140 | isa = PBXContainerItemProxy;
141 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
142 | proxyType = 2;
143 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
144 | remoteInfo = "RCTNetwork-tvOS";
145 | };
146 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
147 | isa = PBXContainerItemProxy;
148 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
149 | proxyType = 2;
150 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
151 | remoteInfo = "RCTSettings-tvOS";
152 | };
153 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
154 | isa = PBXContainerItemProxy;
155 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
156 | proxyType = 2;
157 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
158 | remoteInfo = "RCTText-tvOS";
159 | };
160 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
161 | isa = PBXContainerItemProxy;
162 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
163 | proxyType = 2;
164 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
165 | remoteInfo = "RCTWebSocket-tvOS";
166 | };
167 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
168 | isa = PBXContainerItemProxy;
169 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
170 | proxyType = 2;
171 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
172 | remoteInfo = "React-tvOS";
173 | };
174 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
175 | isa = PBXContainerItemProxy;
176 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
177 | proxyType = 2;
178 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
179 | remoteInfo = yoga;
180 | };
181 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
182 | isa = PBXContainerItemProxy;
183 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
184 | proxyType = 2;
185 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
186 | remoteInfo = "yoga-tvOS";
187 | };
188 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
189 | isa = PBXContainerItemProxy;
190 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
191 | proxyType = 2;
192 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
193 | remoteInfo = cxxreact;
194 | };
195 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
196 | isa = PBXContainerItemProxy;
197 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
198 | proxyType = 2;
199 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
200 | remoteInfo = "cxxreact-tvOS";
201 | };
202 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
203 | isa = PBXContainerItemProxy;
204 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
205 | proxyType = 2;
206 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
207 | remoteInfo = jschelpers;
208 | };
209 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
210 | isa = PBXContainerItemProxy;
211 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
212 | proxyType = 2;
213 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
214 | remoteInfo = "jschelpers-tvOS";
215 | };
216 | 462B1F131F7E170E00496E1B /* PBXContainerItemProxy */ = {
217 | isa = PBXContainerItemProxy;
218 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
219 | proxyType = 2;
220 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
221 | remoteInfo = "RCTBlob-tvOS";
222 | };
223 | 462B1F261F7E171100496E1B /* PBXContainerItemProxy */ = {
224 | isa = PBXContainerItemProxy;
225 | containerPortal = D8DF02A619804613B26D8FED /* RNVectorIcons.xcodeproj */;
226 | proxyType = 2;
227 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395;
228 | remoteInfo = RNVectorIcons;
229 | };
230 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
231 | isa = PBXContainerItemProxy;
232 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
233 | proxyType = 2;
234 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
235 | remoteInfo = RCTAnimation;
236 | };
237 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
238 | isa = PBXContainerItemProxy;
239 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
240 | proxyType = 2;
241 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
242 | remoteInfo = "RCTAnimation-tvOS";
243 | };
244 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
245 | isa = PBXContainerItemProxy;
246 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
247 | proxyType = 2;
248 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
249 | remoteInfo = RCTLinking;
250 | };
251 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
252 | isa = PBXContainerItemProxy;
253 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
254 | proxyType = 2;
255 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
256 | remoteInfo = RCTText;
257 | };
258 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
259 | isa = PBXContainerItemProxy;
260 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
261 | proxyType = 2;
262 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
263 | remoteInfo = RCTBlob;
264 | };
265 | /* End PBXContainerItemProxy section */
266 |
267 | /* Begin PBXFileReference section */
268 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
269 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
270 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
271 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
272 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
273 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
274 | 00E356EE1AD99517003FC87E /* ReactNavDrawerReduxTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNavDrawerReduxTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
275 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
276 | 00E356F21AD99517003FC87E /* ReactNavDrawerReduxTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNavDrawerReduxTests.m; sourceTree = ""; };
277 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
278 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
279 | 13B07F961A680F5B00A75B9A /* ReactNavDrawerRedux.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNavDrawerRedux.app; sourceTree = BUILT_PRODUCTS_DIR; };
280 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNavDrawerRedux/AppDelegate.h; sourceTree = ""; };
281 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNavDrawerRedux/AppDelegate.m; sourceTree = ""; };
282 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
283 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNavDrawerRedux/Images.xcassets; sourceTree = ""; };
284 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNavDrawerRedux/Info.plist; sourceTree = ""; };
285 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNavDrawerRedux/main.m; sourceTree = ""; };
286 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
287 | 1C48206CDC7F4BC591573E12 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; };
288 | 29813E070B0740698B0EE05A /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; };
289 | 2D02E47B1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNavDrawerRedux-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
290 | 2D02E4901E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNavDrawerRedux-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
291 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
292 | 60FEACB5C0FE4B118ACC4926 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; };
293 | 6BF36B64A5234E1685F706FD /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; };
294 | 7191521F9DBE47349D2A0601 /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; };
295 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
296 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
297 | 9FC63B2D7FC541CFBFEE5D31 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; };
298 | A17CAC87FE724DEA993608D6 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; };
299 | AA09D35E37B748489E4E33FB /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; };
300 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
301 | AE671154B3EC4EA1808CAF3F /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; };
302 | C7DB9D392F554A69931FE8AD /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; };
303 | D3FAFC0279414B1982F42BE8 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; };
304 | D8DF02A619804613B26D8FED /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; };
305 | DC9FFC7D71664D6EAE38BD7D /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; };
306 | /* End PBXFileReference section */
307 |
308 | /* Begin PBXFrameworksBuildPhase section */
309 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
310 | isa = PBXFrameworksBuildPhase;
311 | buildActionMask = 2147483647;
312 | files = (
313 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
314 | );
315 | runOnlyForDeploymentPostprocessing = 0;
316 | };
317 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
318 | isa = PBXFrameworksBuildPhase;
319 | buildActionMask = 2147483647;
320 | files = (
321 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
322 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
323 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
324 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
325 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
326 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
327 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
328 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
329 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
330 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
331 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
332 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
333 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
334 | AC1745FCAD01429B8937D627 /* libRNVectorIcons.a in Frameworks */,
335 | );
336 | runOnlyForDeploymentPostprocessing = 0;
337 | };
338 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
339 | isa = PBXFrameworksBuildPhase;
340 | buildActionMask = 2147483647;
341 | files = (
342 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */,
343 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
344 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
345 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
346 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
347 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
348 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
349 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
350 | );
351 | runOnlyForDeploymentPostprocessing = 0;
352 | };
353 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
354 | isa = PBXFrameworksBuildPhase;
355 | buildActionMask = 2147483647;
356 | files = (
357 | );
358 | runOnlyForDeploymentPostprocessing = 0;
359 | };
360 | /* End PBXFrameworksBuildPhase section */
361 |
362 | /* Begin PBXGroup section */
363 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
364 | isa = PBXGroup;
365 | children = (
366 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
367 | );
368 | name = Products;
369 | sourceTree = "";
370 | };
371 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
372 | isa = PBXGroup;
373 | children = (
374 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
375 | );
376 | name = Products;
377 | sourceTree = "";
378 | };
379 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
380 | isa = PBXGroup;
381 | children = (
382 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
383 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
384 | );
385 | name = Products;
386 | sourceTree = "";
387 | };
388 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
389 | isa = PBXGroup;
390 | children = (
391 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
392 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
393 | );
394 | name = Products;
395 | sourceTree = "";
396 | };
397 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
398 | isa = PBXGroup;
399 | children = (
400 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
401 | );
402 | name = Products;
403 | sourceTree = "";
404 | };
405 | 00E356EF1AD99517003FC87E /* ReactNavDrawerReduxTests */ = {
406 | isa = PBXGroup;
407 | children = (
408 | 00E356F21AD99517003FC87E /* ReactNavDrawerReduxTests.m */,
409 | 00E356F01AD99517003FC87E /* Supporting Files */,
410 | );
411 | path = ReactNavDrawerReduxTests;
412 | sourceTree = "";
413 | };
414 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
415 | isa = PBXGroup;
416 | children = (
417 | 00E356F11AD99517003FC87E /* Info.plist */,
418 | );
419 | name = "Supporting Files";
420 | sourceTree = "";
421 | };
422 | 139105B71AF99BAD00B5F7CC /* Products */ = {
423 | isa = PBXGroup;
424 | children = (
425 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
426 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
427 | );
428 | name = Products;
429 | sourceTree = "";
430 | };
431 | 139FDEE71B06529A00C62182 /* Products */ = {
432 | isa = PBXGroup;
433 | children = (
434 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
435 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
436 | );
437 | name = Products;
438 | sourceTree = "";
439 | };
440 | 13B07FAE1A68108700A75B9A /* ReactNavDrawerRedux */ = {
441 | isa = PBXGroup;
442 | children = (
443 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
444 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
445 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
446 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
447 | 13B07FB61A68108700A75B9A /* Info.plist */,
448 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
449 | 13B07FB71A68108700A75B9A /* main.m */,
450 | );
451 | name = ReactNavDrawerRedux;
452 | sourceTree = "";
453 | };
454 | 146834001AC3E56700842450 /* Products */ = {
455 | isa = PBXGroup;
456 | children = (
457 | 146834041AC3E56700842450 /* libReact.a */,
458 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
459 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
460 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
461 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
462 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
463 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
464 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */,
465 | );
466 | name = Products;
467 | sourceTree = "";
468 | };
469 | 462B1F0D1F7E170E00496E1B /* Recovered References */ = {
470 | isa = PBXGroup;
471 | children = (
472 | A17CAC87FE724DEA993608D6 /* libRNVectorIcons.a */,
473 | );
474 | name = "Recovered References";
475 | sourceTree = "";
476 | };
477 | 462B1F231F7E171000496E1B /* Products */ = {
478 | isa = PBXGroup;
479 | children = (
480 | 462B1F271F7E171100496E1B /* libRNVectorIcons.a */,
481 | );
482 | name = Products;
483 | sourceTree = "";
484 | };
485 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
486 | isa = PBXGroup;
487 | children = (
488 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
489 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
490 | );
491 | name = Products;
492 | sourceTree = "";
493 | };
494 | 78C398B11ACF4ADC00677621 /* Products */ = {
495 | isa = PBXGroup;
496 | children = (
497 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
498 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
499 | );
500 | name = Products;
501 | sourceTree = "";
502 | };
503 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
504 | isa = PBXGroup;
505 | children = (
506 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
507 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
508 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
509 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
510 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
511 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
512 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
513 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
514 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
515 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
516 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
517 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
518 | D8DF02A619804613B26D8FED /* RNVectorIcons.xcodeproj */,
519 | );
520 | name = Libraries;
521 | sourceTree = "";
522 | };
523 | 832341B11AAA6A8300B99B32 /* Products */ = {
524 | isa = PBXGroup;
525 | children = (
526 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
527 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
528 | );
529 | name = Products;
530 | sourceTree = "";
531 | };
532 | 83CBB9F61A601CBA00E9B192 = {
533 | isa = PBXGroup;
534 | children = (
535 | 13B07FAE1A68108700A75B9A /* ReactNavDrawerRedux */,
536 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
537 | 00E356EF1AD99517003FC87E /* ReactNavDrawerReduxTests */,
538 | 83CBBA001A601CBA00E9B192 /* Products */,
539 | 8CC77AEF4C0B4995AD1AA55A /* Resources */,
540 | 462B1F0D1F7E170E00496E1B /* Recovered References */,
541 | );
542 | indentWidth = 2;
543 | sourceTree = "";
544 | tabWidth = 2;
545 | usesTabs = 0;
546 | };
547 | 83CBBA001A601CBA00E9B192 /* Products */ = {
548 | isa = PBXGroup;
549 | children = (
550 | 13B07F961A680F5B00A75B9A /* ReactNavDrawerRedux.app */,
551 | 00E356EE1AD99517003FC87E /* ReactNavDrawerReduxTests.xctest */,
552 | 2D02E47B1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS.app */,
553 | 2D02E4901E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOSTests.xctest */,
554 | );
555 | name = Products;
556 | sourceTree = "";
557 | };
558 | 8CC77AEF4C0B4995AD1AA55A /* Resources */ = {
559 | isa = PBXGroup;
560 | children = (
561 | D3FAFC0279414B1982F42BE8 /* Entypo.ttf */,
562 | 60FEACB5C0FE4B118ACC4926 /* EvilIcons.ttf */,
563 | 7191521F9DBE47349D2A0601 /* Feather.ttf */,
564 | DC9FFC7D71664D6EAE38BD7D /* FontAwesome.ttf */,
565 | 29813E070B0740698B0EE05A /* Foundation.ttf */,
566 | 9FC63B2D7FC541CFBFEE5D31 /* Ionicons.ttf */,
567 | 6BF36B64A5234E1685F706FD /* MaterialCommunityIcons.ttf */,
568 | AE671154B3EC4EA1808CAF3F /* MaterialIcons.ttf */,
569 | C7DB9D392F554A69931FE8AD /* Octicons.ttf */,
570 | 1C48206CDC7F4BC591573E12 /* SimpleLineIcons.ttf */,
571 | AA09D35E37B748489E4E33FB /* Zocial.ttf */,
572 | );
573 | name = Resources;
574 | sourceTree = "";
575 | };
576 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
577 | isa = PBXGroup;
578 | children = (
579 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
580 | 462B1F141F7E170E00496E1B /* libRCTBlob-tvOS.a */,
581 | );
582 | name = Products;
583 | sourceTree = "";
584 | };
585 | /* End PBXGroup section */
586 |
587 | /* Begin PBXNativeTarget section */
588 | 00E356ED1AD99517003FC87E /* ReactNavDrawerReduxTests */ = {
589 | isa = PBXNativeTarget;
590 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNavDrawerReduxTests" */;
591 | buildPhases = (
592 | 00E356EA1AD99517003FC87E /* Sources */,
593 | 00E356EB1AD99517003FC87E /* Frameworks */,
594 | 00E356EC1AD99517003FC87E /* Resources */,
595 | );
596 | buildRules = (
597 | );
598 | dependencies = (
599 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
600 | );
601 | name = ReactNavDrawerReduxTests;
602 | productName = ReactNavDrawerReduxTests;
603 | productReference = 00E356EE1AD99517003FC87E /* ReactNavDrawerReduxTests.xctest */;
604 | productType = "com.apple.product-type.bundle.unit-test";
605 | };
606 | 13B07F861A680F5B00A75B9A /* ReactNavDrawerRedux */ = {
607 | isa = PBXNativeTarget;
608 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux" */;
609 | buildPhases = (
610 | 13B07F871A680F5B00A75B9A /* Sources */,
611 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
612 | 13B07F8E1A680F5B00A75B9A /* Resources */,
613 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
614 | );
615 | buildRules = (
616 | );
617 | dependencies = (
618 | );
619 | name = ReactNavDrawerRedux;
620 | productName = "Hello World";
621 | productReference = 13B07F961A680F5B00A75B9A /* ReactNavDrawerRedux.app */;
622 | productType = "com.apple.product-type.application";
623 | };
624 | 2D02E47A1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS */ = {
625 | isa = PBXNativeTarget;
626 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux-tvOS" */;
627 | buildPhases = (
628 | 2D02E4771E0B4A5D006451C7 /* Sources */,
629 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
630 | 2D02E4791E0B4A5D006451C7 /* Resources */,
631 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
632 | );
633 | buildRules = (
634 | );
635 | dependencies = (
636 | );
637 | name = "ReactNavDrawerRedux-tvOS";
638 | productName = "ReactNavDrawerRedux-tvOS";
639 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS.app */;
640 | productType = "com.apple.product-type.application";
641 | };
642 | 2D02E48F1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOSTests */ = {
643 | isa = PBXNativeTarget;
644 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux-tvOSTests" */;
645 | buildPhases = (
646 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
647 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
648 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
649 | );
650 | buildRules = (
651 | );
652 | dependencies = (
653 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
654 | );
655 | name = "ReactNavDrawerRedux-tvOSTests";
656 | productName = "ReactNavDrawerRedux-tvOSTests";
657 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOSTests.xctest */;
658 | productType = "com.apple.product-type.bundle.unit-test";
659 | };
660 | /* End PBXNativeTarget section */
661 |
662 | /* Begin PBXProject section */
663 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
664 | isa = PBXProject;
665 | attributes = {
666 | LastUpgradeCheck = 610;
667 | ORGANIZATIONNAME = Facebook;
668 | TargetAttributes = {
669 | 00E356ED1AD99517003FC87E = {
670 | CreatedOnToolsVersion = 6.2;
671 | TestTargetID = 13B07F861A680F5B00A75B9A;
672 | };
673 | 2D02E47A1E0B4A5D006451C7 = {
674 | CreatedOnToolsVersion = 8.2.1;
675 | ProvisioningStyle = Automatic;
676 | };
677 | 2D02E48F1E0B4A5D006451C7 = {
678 | CreatedOnToolsVersion = 8.2.1;
679 | ProvisioningStyle = Automatic;
680 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
681 | };
682 | };
683 | };
684 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNavDrawerRedux" */;
685 | compatibilityVersion = "Xcode 3.2";
686 | developmentRegion = English;
687 | hasScannedForEncodings = 0;
688 | knownRegions = (
689 | en,
690 | Base,
691 | );
692 | mainGroup = 83CBB9F61A601CBA00E9B192;
693 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
694 | projectDirPath = "";
695 | projectReferences = (
696 | {
697 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
698 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
699 | },
700 | {
701 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
702 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
703 | },
704 | {
705 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
706 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
707 | },
708 | {
709 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
710 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
711 | },
712 | {
713 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
714 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
715 | },
716 | {
717 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
718 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
719 | },
720 | {
721 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
722 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
723 | },
724 | {
725 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
726 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
727 | },
728 | {
729 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
730 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
731 | },
732 | {
733 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
734 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
735 | },
736 | {
737 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
738 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
739 | },
740 | {
741 | ProductGroup = 146834001AC3E56700842450 /* Products */;
742 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
743 | },
744 | {
745 | ProductGroup = 462B1F231F7E171000496E1B /* Products */;
746 | ProjectRef = D8DF02A619804613B26D8FED /* RNVectorIcons.xcodeproj */;
747 | },
748 | );
749 | projectRoot = "";
750 | targets = (
751 | 13B07F861A680F5B00A75B9A /* ReactNavDrawerRedux */,
752 | 00E356ED1AD99517003FC87E /* ReactNavDrawerReduxTests */,
753 | 2D02E47A1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS */,
754 | 2D02E48F1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOSTests */,
755 | );
756 | };
757 | /* End PBXProject section */
758 |
759 | /* Begin PBXReferenceProxy section */
760 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
761 | isa = PBXReferenceProxy;
762 | fileType = archive.ar;
763 | path = libRCTActionSheet.a;
764 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
765 | sourceTree = BUILT_PRODUCTS_DIR;
766 | };
767 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
768 | isa = PBXReferenceProxy;
769 | fileType = archive.ar;
770 | path = libRCTGeolocation.a;
771 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
772 | sourceTree = BUILT_PRODUCTS_DIR;
773 | };
774 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
775 | isa = PBXReferenceProxy;
776 | fileType = archive.ar;
777 | path = libRCTImage.a;
778 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
779 | sourceTree = BUILT_PRODUCTS_DIR;
780 | };
781 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
782 | isa = PBXReferenceProxy;
783 | fileType = archive.ar;
784 | path = libRCTNetwork.a;
785 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
786 | sourceTree = BUILT_PRODUCTS_DIR;
787 | };
788 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
789 | isa = PBXReferenceProxy;
790 | fileType = archive.ar;
791 | path = libRCTVibration.a;
792 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
793 | sourceTree = BUILT_PRODUCTS_DIR;
794 | };
795 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
796 | isa = PBXReferenceProxy;
797 | fileType = archive.ar;
798 | path = libRCTSettings.a;
799 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
800 | sourceTree = BUILT_PRODUCTS_DIR;
801 | };
802 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
803 | isa = PBXReferenceProxy;
804 | fileType = archive.ar;
805 | path = libRCTWebSocket.a;
806 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
807 | sourceTree = BUILT_PRODUCTS_DIR;
808 | };
809 | 146834041AC3E56700842450 /* libReact.a */ = {
810 | isa = PBXReferenceProxy;
811 | fileType = archive.ar;
812 | path = libReact.a;
813 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
814 | sourceTree = BUILT_PRODUCTS_DIR;
815 | };
816 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
817 | isa = PBXReferenceProxy;
818 | fileType = archive.ar;
819 | path = "libRCTImage-tvOS.a";
820 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
821 | sourceTree = BUILT_PRODUCTS_DIR;
822 | };
823 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
824 | isa = PBXReferenceProxy;
825 | fileType = archive.ar;
826 | path = "libRCTLinking-tvOS.a";
827 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
828 | sourceTree = BUILT_PRODUCTS_DIR;
829 | };
830 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
831 | isa = PBXReferenceProxy;
832 | fileType = archive.ar;
833 | path = "libRCTNetwork-tvOS.a";
834 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
835 | sourceTree = BUILT_PRODUCTS_DIR;
836 | };
837 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
838 | isa = PBXReferenceProxy;
839 | fileType = archive.ar;
840 | path = "libRCTSettings-tvOS.a";
841 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
842 | sourceTree = BUILT_PRODUCTS_DIR;
843 | };
844 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
845 | isa = PBXReferenceProxy;
846 | fileType = archive.ar;
847 | path = "libRCTText-tvOS.a";
848 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
849 | sourceTree = BUILT_PRODUCTS_DIR;
850 | };
851 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
852 | isa = PBXReferenceProxy;
853 | fileType = archive.ar;
854 | path = "libRCTWebSocket-tvOS.a";
855 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
856 | sourceTree = BUILT_PRODUCTS_DIR;
857 | };
858 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = {
859 | isa = PBXReferenceProxy;
860 | fileType = archive.ar;
861 | path = "libReact-tvOS.a";
862 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
863 | sourceTree = BUILT_PRODUCTS_DIR;
864 | };
865 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
866 | isa = PBXReferenceProxy;
867 | fileType = archive.ar;
868 | path = libyoga.a;
869 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
870 | sourceTree = BUILT_PRODUCTS_DIR;
871 | };
872 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
873 | isa = PBXReferenceProxy;
874 | fileType = archive.ar;
875 | path = libyoga.a;
876 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
877 | sourceTree = BUILT_PRODUCTS_DIR;
878 | };
879 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
880 | isa = PBXReferenceProxy;
881 | fileType = archive.ar;
882 | path = libcxxreact.a;
883 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
884 | sourceTree = BUILT_PRODUCTS_DIR;
885 | };
886 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
887 | isa = PBXReferenceProxy;
888 | fileType = archive.ar;
889 | path = libcxxreact.a;
890 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
891 | sourceTree = BUILT_PRODUCTS_DIR;
892 | };
893 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
894 | isa = PBXReferenceProxy;
895 | fileType = archive.ar;
896 | path = libjschelpers.a;
897 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
898 | sourceTree = BUILT_PRODUCTS_DIR;
899 | };
900 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
901 | isa = PBXReferenceProxy;
902 | fileType = archive.ar;
903 | path = libjschelpers.a;
904 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
905 | sourceTree = BUILT_PRODUCTS_DIR;
906 | };
907 | 462B1F141F7E170E00496E1B /* libRCTBlob-tvOS.a */ = {
908 | isa = PBXReferenceProxy;
909 | fileType = archive.ar;
910 | path = "libRCTBlob-tvOS.a";
911 | remoteRef = 462B1F131F7E170E00496E1B /* PBXContainerItemProxy */;
912 | sourceTree = BUILT_PRODUCTS_DIR;
913 | };
914 | 462B1F271F7E171100496E1B /* libRNVectorIcons.a */ = {
915 | isa = PBXReferenceProxy;
916 | fileType = archive.ar;
917 | path = libRNVectorIcons.a;
918 | remoteRef = 462B1F261F7E171100496E1B /* PBXContainerItemProxy */;
919 | sourceTree = BUILT_PRODUCTS_DIR;
920 | };
921 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
922 | isa = PBXReferenceProxy;
923 | fileType = archive.ar;
924 | path = libRCTAnimation.a;
925 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
926 | sourceTree = BUILT_PRODUCTS_DIR;
927 | };
928 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
929 | isa = PBXReferenceProxy;
930 | fileType = archive.ar;
931 | path = libRCTAnimation.a;
932 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
933 | sourceTree = BUILT_PRODUCTS_DIR;
934 | };
935 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
936 | isa = PBXReferenceProxy;
937 | fileType = archive.ar;
938 | path = libRCTLinking.a;
939 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
940 | sourceTree = BUILT_PRODUCTS_DIR;
941 | };
942 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
943 | isa = PBXReferenceProxy;
944 | fileType = archive.ar;
945 | path = libRCTText.a;
946 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
947 | sourceTree = BUILT_PRODUCTS_DIR;
948 | };
949 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
950 | isa = PBXReferenceProxy;
951 | fileType = archive.ar;
952 | path = libRCTBlob.a;
953 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
954 | sourceTree = BUILT_PRODUCTS_DIR;
955 | };
956 | /* End PBXReferenceProxy section */
957 |
958 | /* Begin PBXResourcesBuildPhase section */
959 | 00E356EC1AD99517003FC87E /* Resources */ = {
960 | isa = PBXResourcesBuildPhase;
961 | buildActionMask = 2147483647;
962 | files = (
963 | );
964 | runOnlyForDeploymentPostprocessing = 0;
965 | };
966 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
967 | isa = PBXResourcesBuildPhase;
968 | buildActionMask = 2147483647;
969 | files = (
970 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
971 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
972 | 17B7FCFC19C443CBA21B68D6 /* Entypo.ttf in Resources */,
973 | 91B225F9AD1D489EB413CACE /* EvilIcons.ttf in Resources */,
974 | 6E159D1259FA4B4EA5D4436B /* Feather.ttf in Resources */,
975 | 860BD53957B9479787DC4490 /* FontAwesome.ttf in Resources */,
976 | 46D1912C731C4A3F85173A41 /* Foundation.ttf in Resources */,
977 | 0435C825D0BF4B0788AF3031 /* Ionicons.ttf in Resources */,
978 | 8D506EB9899B453D9215A4DF /* MaterialCommunityIcons.ttf in Resources */,
979 | 83DC21930A074F648C94A3BA /* MaterialIcons.ttf in Resources */,
980 | 76A103059A2A421B9014721A /* Octicons.ttf in Resources */,
981 | 3D89E83C28CC4B6EAF37BC55 /* SimpleLineIcons.ttf in Resources */,
982 | 91618AA11179409F84150CCE /* Zocial.ttf in Resources */,
983 | );
984 | runOnlyForDeploymentPostprocessing = 0;
985 | };
986 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
987 | isa = PBXResourcesBuildPhase;
988 | buildActionMask = 2147483647;
989 | files = (
990 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
991 | );
992 | runOnlyForDeploymentPostprocessing = 0;
993 | };
994 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
995 | isa = PBXResourcesBuildPhase;
996 | buildActionMask = 2147483647;
997 | files = (
998 | );
999 | runOnlyForDeploymentPostprocessing = 0;
1000 | };
1001 | /* End PBXResourcesBuildPhase section */
1002 |
1003 | /* Begin PBXShellScriptBuildPhase section */
1004 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1005 | isa = PBXShellScriptBuildPhase;
1006 | buildActionMask = 2147483647;
1007 | files = (
1008 | );
1009 | inputPaths = (
1010 | );
1011 | name = "Bundle React Native code and images";
1012 | outputPaths = (
1013 | );
1014 | runOnlyForDeploymentPostprocessing = 0;
1015 | shellPath = /bin/sh;
1016 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1017 | };
1018 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1019 | isa = PBXShellScriptBuildPhase;
1020 | buildActionMask = 2147483647;
1021 | files = (
1022 | );
1023 | inputPaths = (
1024 | );
1025 | name = "Bundle React Native Code And Images";
1026 | outputPaths = (
1027 | );
1028 | runOnlyForDeploymentPostprocessing = 0;
1029 | shellPath = /bin/sh;
1030 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1031 | };
1032 | /* End PBXShellScriptBuildPhase section */
1033 |
1034 | /* Begin PBXSourcesBuildPhase section */
1035 | 00E356EA1AD99517003FC87E /* Sources */ = {
1036 | isa = PBXSourcesBuildPhase;
1037 | buildActionMask = 2147483647;
1038 | files = (
1039 | 00E356F31AD99517003FC87E /* ReactNavDrawerReduxTests.m in Sources */,
1040 | );
1041 | runOnlyForDeploymentPostprocessing = 0;
1042 | };
1043 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1044 | isa = PBXSourcesBuildPhase;
1045 | buildActionMask = 2147483647;
1046 | files = (
1047 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1048 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1049 | );
1050 | runOnlyForDeploymentPostprocessing = 0;
1051 | };
1052 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1053 | isa = PBXSourcesBuildPhase;
1054 | buildActionMask = 2147483647;
1055 | files = (
1056 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1057 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1058 | );
1059 | runOnlyForDeploymentPostprocessing = 0;
1060 | };
1061 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1062 | isa = PBXSourcesBuildPhase;
1063 | buildActionMask = 2147483647;
1064 | files = (
1065 | 2DCD954D1E0B4F2C00145EB5 /* ReactNavDrawerReduxTests.m in Sources */,
1066 | );
1067 | runOnlyForDeploymentPostprocessing = 0;
1068 | };
1069 | /* End PBXSourcesBuildPhase section */
1070 |
1071 | /* Begin PBXTargetDependency section */
1072 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1073 | isa = PBXTargetDependency;
1074 | target = 13B07F861A680F5B00A75B9A /* ReactNavDrawerRedux */;
1075 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1076 | };
1077 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1078 | isa = PBXTargetDependency;
1079 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNavDrawerRedux-tvOS */;
1080 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1081 | };
1082 | /* End PBXTargetDependency section */
1083 |
1084 | /* Begin PBXVariantGroup section */
1085 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1086 | isa = PBXVariantGroup;
1087 | children = (
1088 | 13B07FB21A68108700A75B9A /* Base */,
1089 | );
1090 | name = LaunchScreen.xib;
1091 | path = ReactNavDrawerRedux;
1092 | sourceTree = "";
1093 | };
1094 | /* End PBXVariantGroup section */
1095 |
1096 | /* Begin XCBuildConfiguration section */
1097 | 00E356F61AD99517003FC87E /* Debug */ = {
1098 | isa = XCBuildConfiguration;
1099 | buildSettings = {
1100 | BUNDLE_LOADER = "$(TEST_HOST)";
1101 | GCC_PREPROCESSOR_DEFINITIONS = (
1102 | "DEBUG=1",
1103 | "$(inherited)",
1104 | );
1105 | HEADER_SEARCH_PATHS = (
1106 | "$(inherited)",
1107 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1108 | );
1109 | INFOPLIST_FILE = ReactNavDrawerReduxTests/Info.plist;
1110 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1111 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1112 | LIBRARY_SEARCH_PATHS = (
1113 | "$(inherited)",
1114 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1115 | );
1116 | OTHER_LDFLAGS = (
1117 | "-ObjC",
1118 | "-lc++",
1119 | );
1120 | PRODUCT_NAME = "$(TARGET_NAME)";
1121 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNavDrawerRedux.app/ReactNavDrawerRedux";
1122 | };
1123 | name = Debug;
1124 | };
1125 | 00E356F71AD99517003FC87E /* Release */ = {
1126 | isa = XCBuildConfiguration;
1127 | buildSettings = {
1128 | BUNDLE_LOADER = "$(TEST_HOST)";
1129 | COPY_PHASE_STRIP = NO;
1130 | HEADER_SEARCH_PATHS = (
1131 | "$(inherited)",
1132 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1133 | );
1134 | INFOPLIST_FILE = ReactNavDrawerReduxTests/Info.plist;
1135 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1136 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1137 | LIBRARY_SEARCH_PATHS = (
1138 | "$(inherited)",
1139 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1140 | );
1141 | OTHER_LDFLAGS = (
1142 | "-ObjC",
1143 | "-lc++",
1144 | );
1145 | PRODUCT_NAME = "$(TARGET_NAME)";
1146 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNavDrawerRedux.app/ReactNavDrawerRedux";
1147 | };
1148 | name = Release;
1149 | };
1150 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1151 | isa = XCBuildConfiguration;
1152 | buildSettings = {
1153 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1154 | CURRENT_PROJECT_VERSION = 1;
1155 | DEAD_CODE_STRIPPING = NO;
1156 | HEADER_SEARCH_PATHS = (
1157 | "$(inherited)",
1158 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1159 | );
1160 | INFOPLIST_FILE = ReactNavDrawerRedux/Info.plist;
1161 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1162 | OTHER_LDFLAGS = (
1163 | "$(inherited)",
1164 | "-ObjC",
1165 | "-lc++",
1166 | );
1167 | PRODUCT_NAME = ReactNavDrawerRedux;
1168 | VERSIONING_SYSTEM = "apple-generic";
1169 | };
1170 | name = Debug;
1171 | };
1172 | 13B07F951A680F5B00A75B9A /* Release */ = {
1173 | isa = XCBuildConfiguration;
1174 | buildSettings = {
1175 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1176 | CURRENT_PROJECT_VERSION = 1;
1177 | HEADER_SEARCH_PATHS = (
1178 | "$(inherited)",
1179 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1180 | );
1181 | INFOPLIST_FILE = ReactNavDrawerRedux/Info.plist;
1182 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1183 | OTHER_LDFLAGS = (
1184 | "$(inherited)",
1185 | "-ObjC",
1186 | "-lc++",
1187 | );
1188 | PRODUCT_NAME = ReactNavDrawerRedux;
1189 | VERSIONING_SYSTEM = "apple-generic";
1190 | };
1191 | name = Release;
1192 | };
1193 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1194 | isa = XCBuildConfiguration;
1195 | buildSettings = {
1196 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1197 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1198 | CLANG_ANALYZER_NONNULL = YES;
1199 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1200 | CLANG_WARN_INFINITE_RECURSION = YES;
1201 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1202 | DEBUG_INFORMATION_FORMAT = dwarf;
1203 | ENABLE_TESTABILITY = YES;
1204 | GCC_NO_COMMON_BLOCKS = YES;
1205 | HEADER_SEARCH_PATHS = (
1206 | "$(inherited)",
1207 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1208 | );
1209 | INFOPLIST_FILE = "ReactNavDrawerRedux-tvOS/Info.plist";
1210 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1211 | LIBRARY_SEARCH_PATHS = (
1212 | "$(inherited)",
1213 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1214 | );
1215 | OTHER_LDFLAGS = (
1216 | "-ObjC",
1217 | "-lc++",
1218 | );
1219 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNavDrawerRedux-tvOS";
1220 | PRODUCT_NAME = "$(TARGET_NAME)";
1221 | SDKROOT = appletvos;
1222 | TARGETED_DEVICE_FAMILY = 3;
1223 | TVOS_DEPLOYMENT_TARGET = 9.2;
1224 | };
1225 | name = Debug;
1226 | };
1227 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1228 | isa = XCBuildConfiguration;
1229 | buildSettings = {
1230 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1231 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1232 | CLANG_ANALYZER_NONNULL = YES;
1233 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1234 | CLANG_WARN_INFINITE_RECURSION = YES;
1235 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1236 | COPY_PHASE_STRIP = NO;
1237 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1238 | GCC_NO_COMMON_BLOCKS = YES;
1239 | HEADER_SEARCH_PATHS = (
1240 | "$(inherited)",
1241 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1242 | );
1243 | INFOPLIST_FILE = "ReactNavDrawerRedux-tvOS/Info.plist";
1244 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1245 | LIBRARY_SEARCH_PATHS = (
1246 | "$(inherited)",
1247 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1248 | );
1249 | OTHER_LDFLAGS = (
1250 | "-ObjC",
1251 | "-lc++",
1252 | );
1253 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNavDrawerRedux-tvOS";
1254 | PRODUCT_NAME = "$(TARGET_NAME)";
1255 | SDKROOT = appletvos;
1256 | TARGETED_DEVICE_FAMILY = 3;
1257 | TVOS_DEPLOYMENT_TARGET = 9.2;
1258 | };
1259 | name = Release;
1260 | };
1261 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1262 | isa = XCBuildConfiguration;
1263 | buildSettings = {
1264 | BUNDLE_LOADER = "$(TEST_HOST)";
1265 | CLANG_ANALYZER_NONNULL = YES;
1266 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1267 | CLANG_WARN_INFINITE_RECURSION = YES;
1268 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1269 | DEBUG_INFORMATION_FORMAT = dwarf;
1270 | ENABLE_TESTABILITY = YES;
1271 | GCC_NO_COMMON_BLOCKS = YES;
1272 | INFOPLIST_FILE = "ReactNavDrawerRedux-tvOSTests/Info.plist";
1273 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1274 | LIBRARY_SEARCH_PATHS = (
1275 | "$(inherited)",
1276 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1277 | );
1278 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNavDrawerRedux-tvOSTests";
1279 | PRODUCT_NAME = "$(TARGET_NAME)";
1280 | SDKROOT = appletvos;
1281 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNavDrawerRedux-tvOS.app/ReactNavDrawerRedux-tvOS";
1282 | TVOS_DEPLOYMENT_TARGET = 10.1;
1283 | };
1284 | name = Debug;
1285 | };
1286 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1287 | isa = XCBuildConfiguration;
1288 | buildSettings = {
1289 | BUNDLE_LOADER = "$(TEST_HOST)";
1290 | CLANG_ANALYZER_NONNULL = YES;
1291 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1292 | CLANG_WARN_INFINITE_RECURSION = YES;
1293 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1294 | COPY_PHASE_STRIP = NO;
1295 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1296 | GCC_NO_COMMON_BLOCKS = YES;
1297 | INFOPLIST_FILE = "ReactNavDrawerRedux-tvOSTests/Info.plist";
1298 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1299 | LIBRARY_SEARCH_PATHS = (
1300 | "$(inherited)",
1301 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1302 | );
1303 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNavDrawerRedux-tvOSTests";
1304 | PRODUCT_NAME = "$(TARGET_NAME)";
1305 | SDKROOT = appletvos;
1306 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNavDrawerRedux-tvOS.app/ReactNavDrawerRedux-tvOS";
1307 | TVOS_DEPLOYMENT_TARGET = 10.1;
1308 | };
1309 | name = Release;
1310 | };
1311 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1312 | isa = XCBuildConfiguration;
1313 | buildSettings = {
1314 | ALWAYS_SEARCH_USER_PATHS = NO;
1315 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1316 | CLANG_CXX_LIBRARY = "libc++";
1317 | CLANG_ENABLE_MODULES = YES;
1318 | CLANG_ENABLE_OBJC_ARC = YES;
1319 | CLANG_WARN_BOOL_CONVERSION = YES;
1320 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1321 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1322 | CLANG_WARN_EMPTY_BODY = YES;
1323 | CLANG_WARN_ENUM_CONVERSION = YES;
1324 | CLANG_WARN_INT_CONVERSION = YES;
1325 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1326 | CLANG_WARN_UNREACHABLE_CODE = YES;
1327 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1328 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1329 | COPY_PHASE_STRIP = NO;
1330 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1331 | GCC_C_LANGUAGE_STANDARD = gnu99;
1332 | GCC_DYNAMIC_NO_PIC = NO;
1333 | GCC_OPTIMIZATION_LEVEL = 0;
1334 | GCC_PREPROCESSOR_DEFINITIONS = (
1335 | "DEBUG=1",
1336 | "$(inherited)",
1337 | );
1338 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1339 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1340 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1341 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1342 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1343 | GCC_WARN_UNUSED_FUNCTION = YES;
1344 | GCC_WARN_UNUSED_VARIABLE = YES;
1345 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1346 | MTL_ENABLE_DEBUG_INFO = YES;
1347 | ONLY_ACTIVE_ARCH = YES;
1348 | SDKROOT = iphoneos;
1349 | };
1350 | name = Debug;
1351 | };
1352 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1353 | isa = XCBuildConfiguration;
1354 | buildSettings = {
1355 | ALWAYS_SEARCH_USER_PATHS = NO;
1356 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1357 | CLANG_CXX_LIBRARY = "libc++";
1358 | CLANG_ENABLE_MODULES = YES;
1359 | CLANG_ENABLE_OBJC_ARC = YES;
1360 | CLANG_WARN_BOOL_CONVERSION = YES;
1361 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1362 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1363 | CLANG_WARN_EMPTY_BODY = YES;
1364 | CLANG_WARN_ENUM_CONVERSION = YES;
1365 | CLANG_WARN_INT_CONVERSION = YES;
1366 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1367 | CLANG_WARN_UNREACHABLE_CODE = YES;
1368 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1369 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1370 | COPY_PHASE_STRIP = YES;
1371 | ENABLE_NS_ASSERTIONS = NO;
1372 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1373 | GCC_C_LANGUAGE_STANDARD = gnu99;
1374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1376 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1377 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1378 | GCC_WARN_UNUSED_FUNCTION = YES;
1379 | GCC_WARN_UNUSED_VARIABLE = YES;
1380 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1381 | MTL_ENABLE_DEBUG_INFO = NO;
1382 | SDKROOT = iphoneos;
1383 | VALIDATE_PRODUCT = YES;
1384 | };
1385 | name = Release;
1386 | };
1387 | /* End XCBuildConfiguration section */
1388 |
1389 | /* Begin XCConfigurationList section */
1390 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNavDrawerReduxTests" */ = {
1391 | isa = XCConfigurationList;
1392 | buildConfigurations = (
1393 | 00E356F61AD99517003FC87E /* Debug */,
1394 | 00E356F71AD99517003FC87E /* Release */,
1395 | );
1396 | defaultConfigurationIsVisible = 0;
1397 | defaultConfigurationName = Release;
1398 | };
1399 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux" */ = {
1400 | isa = XCConfigurationList;
1401 | buildConfigurations = (
1402 | 13B07F941A680F5B00A75B9A /* Debug */,
1403 | 13B07F951A680F5B00A75B9A /* Release */,
1404 | );
1405 | defaultConfigurationIsVisible = 0;
1406 | defaultConfigurationName = Release;
1407 | };
1408 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux-tvOS" */ = {
1409 | isa = XCConfigurationList;
1410 | buildConfigurations = (
1411 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1412 | 2D02E4981E0B4A5E006451C7 /* Release */,
1413 | );
1414 | defaultConfigurationIsVisible = 0;
1415 | defaultConfigurationName = Release;
1416 | };
1417 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNavDrawerRedux-tvOSTests" */ = {
1418 | isa = XCConfigurationList;
1419 | buildConfigurations = (
1420 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1421 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1422 | );
1423 | defaultConfigurationIsVisible = 0;
1424 | defaultConfigurationName = Release;
1425 | };
1426 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNavDrawerRedux" */ = {
1427 | isa = XCConfigurationList;
1428 | buildConfigurations = (
1429 | 83CBBA201A601CBA00E9B192 /* Debug */,
1430 | 83CBBA211A601CBA00E9B192 /* Release */,
1431 | );
1432 | defaultConfigurationIsVisible = 0;
1433 | defaultConfigurationName = Release;
1434 | };
1435 | /* End XCConfigurationList section */
1436 | };
1437 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1438 | }
1439 |
--------------------------------------------------------------------------------