├── .watchmanconfig
├── .gitattributes
├── src
├── img
│ ├── c3po.png
│ ├── logo.png
│ ├── r2d2.png
│ ├── camera.png
│ ├── check.png
│ ├── heart.png
│ ├── compose.png
│ ├── heartFilled.png
│ └── profileEgg.png
├── redux
│ ├── reducers
│ │ ├── index.js
│ │ └── appReducers.js
│ ├── actions
│ │ └── appActions.js
│ └── Store.js
├── config
│ ├── consts.js
│ ├── Router.js
│ └── Enviroment.js
├── App.js
└── components
│ ├── common
│ ├── LoadingView.js
│ ├── Gallery.js
│ └── PostCard.js
│ ├── tweetsCreate
│ ├── mutation
│ │ └── TweetAddMutation.js
│ └── Create.js
│ ├── user
│ ├── mutation
│ │ ├── LoginEmailMutation.js
│ │ └── RegisterEmailMutation.js
│ ├── UserMenu.js
│ ├── Login.js
│ └── SignUp.js
│ ├── icons
│ ├── CloseIcon.js
│ ├── TwitterIcon.js
│ └── BackArrow.js
│ ├── splash
│ └── Splash.js
│ └── tweetsFeed
│ └── Feed.js
├── app.json
├── ios
├── ReactNativeRelayModern
│ ├── Images.xcassets
│ │ ├── Contents.json
│ │ ├── Image.imageset
│ │ │ ├── logo.png
│ │ │ ├── logo-1.png
│ │ │ ├── logo-2.png
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon-20.png
│ │ │ ├── Icon-21.png
│ │ │ ├── Icon-29.png
│ │ │ ├── Icon-30.png
│ │ │ ├── Icon-40.png
│ │ │ ├── Icon-41.png
│ │ │ ├── Icon-60.png
│ │ │ ├── Icon-61.png
│ │ │ ├── Icon-1024.png
│ │ │ ├── icon-20@1x.png
│ │ │ ├── icon-20@2x.png
│ │ │ ├── icon-20@3x.png
│ │ │ ├── icon-29@1x.png
│ │ │ ├── icon-29@2x.png
│ │ │ ├── icon-29@3x.png
│ │ │ ├── icon-40@1x.png
│ │ │ ├── icon-40@2x.png
│ │ │ ├── icon-40@3x.png
│ │ │ ├── icon-50@1x.png
│ │ │ ├── icon-50@2x.png
│ │ │ ├── icon-57@1x.png
│ │ │ ├── icon-57@2x.png
│ │ │ ├── icon-60@2x.png
│ │ │ ├── icon-60@3x.png
│ │ │ ├── icon-72@1x.png
│ │ │ ├── icon-72@2x.png
│ │ │ ├── icon-76@1x.png
│ │ │ ├── icon-76@2x.png
│ │ │ ├── icon-1024@1x.png
│ │ │ ├── icon-83.5@2x.png
│ │ │ └── Contents.json
│ ├── AppDelegate.h
│ ├── main.m
│ ├── AppDelegate.m
│ ├── Base.lproj
│ │ └── LaunchScreen.xib
│ └── Info.plist
├── ReactNativeRelayModernTests
│ ├── Info.plist
│ └── ReactNativeRelayModernTests.m
├── ReactNativeRelayModern-tvOSTests
│ └── Info.plist
├── ReactNativeRelayModern-tvOS
│ └── Info.plist
└── ReactNativeRelayModern.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── ReactNativeRelayModern.xcscheme
│ │ └── ReactNativeRelayModern-tvOS.xcscheme
│ └── project.pbxproj
├── android
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-ldpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── reactnativerelaymodern
│ │ │ │ ├── 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
├── .babelrc
├── index.ios.js
├── index.android.js
├── __tests__
├── index.ios.js
└── index.android.js
├── .eslintrc
├── .gitignore
├── .flowconfig
├── package.json
└── data
└── schema.graphql
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/src/img/c3po.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/c3po.png
--------------------------------------------------------------------------------
/src/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/logo.png
--------------------------------------------------------------------------------
/src/img/r2d2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/r2d2.png
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ReactNativeRelayModern",
3 | "displayName": "ReactNativeRelayModern"
4 | }
5 |
--------------------------------------------------------------------------------
/src/img/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/camera.png
--------------------------------------------------------------------------------
/src/img/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/check.png
--------------------------------------------------------------------------------
/src/img/heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/heart.png
--------------------------------------------------------------------------------
/src/img/compose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/compose.png
--------------------------------------------------------------------------------
/src/img/heartFilled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/heartFilled.png
--------------------------------------------------------------------------------
/src/img/profileEgg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/src/img/profileEgg.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ReactNativeRelayModern
3 |
4 |
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/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/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/android/app/src/main/res/mipmap-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/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/lXSPandora/TwitterClone-RelayModern/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/redux/reducers/index.js:
--------------------------------------------------------------------------------
1 | import appReducers from './appReducers';
2 | import { combineReducers } from 'redux';
3 |
4 | export default combineReducers({
5 | appReducers,
6 | });
7 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo.png
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo-1.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/logo-2.png
--------------------------------------------------------------------------------
/src/redux/actions/appActions.js:
--------------------------------------------------------------------------------
1 | export const imageAdd = image => ({
2 | type: 'IMAGE_ADD',
3 | image,
4 | });
5 |
6 | export const imageRemoveAll = () => ({
7 | type: 'IMAGE_REMOVE_ALL',
8 | });
9 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-20.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-21.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-29.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-30.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-40.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-41.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-41.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-60.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-61.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-61.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Icon-1024.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-20@3x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-29@3x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-40@3x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-50@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-50@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-57@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-57@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-60@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-60@3x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-72@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-72@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-76@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-76@2x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-1024@1x.png
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lXSPandora/TwitterClone-RelayModern/HEAD/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/icon-83.5@2x.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/redux/Store.js:
--------------------------------------------------------------------------------
1 | import { createStore, applyMiddleware } from 'redux';
2 | import logger from 'redux-logger';
3 |
4 | import reducers from './reducers/index';
5 |
6 | const Store = createStore(reducers, applyMiddleware(logger));
7 |
8 | export default Store;
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 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "retainLines": true,
3 | "compact": true,
4 | "comments": false,
5 | "presets": ["react-native", "react-native-stage-0/decorator-support"],
6 | "plugins": [["relay", { "schema": "data/schema.json" }]],
7 | "sourceMaps": false
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import { AppRegistry } from 'react-native';
9 | import App from './src/App';
10 |
11 | AppRegistry.registerComponent('ReactNativeRelayModern', () => App);
12 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import { AppRegistry } from 'react-native';
9 | import App from './src/App';
10 |
11 | AppRegistry.registerComponent('ReactNativeRelayModern', () => App);
12 |
--------------------------------------------------------------------------------
/__tests__/index.ios.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.ios.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/__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/config/consts.js:
--------------------------------------------------------------------------------
1 | export const firebaseConfig = {
2 | apiKey: 'AIzaSyB2HW2rGVy7pBCRQcIbOGJnlU-9ClmXUUs',
3 | authDomain: 'twitterclone-55b51.firebaseapp.com',
4 | databaseURL: 'https://twitterclone-55b51.firebaseio.com',
5 | projectId: 'twitterclone-55b51',
6 | storageBucket: 'twitterclone-55b51.appspot.com',
7 | messagingSenderId: '190303150985',
8 | };
9 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'ReactNativeRelayModern'
2 | include ':react-native-snackbar'
3 | project(':react-native-snackbar').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-snackbar/android')
4 | include ':react-native-svg'
5 | project(':react-native-svg').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-svg/android')
6 |
7 | include ':app'
8 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnativerelaymodern/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.reactnativerelaymodern;
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 "ReactNativeRelayModern";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | // import { AsyncStorage } from 'react-native';
4 | import { Router } from './config/Router';
5 | import Store from './redux/Store';
6 | import { Provider } from 'react-redux';
7 |
8 | class App extends Component {
9 | componentWillMount() {
10 | // AsyncStorage.clear();
11 | }
12 | render() {
13 | return (
14 |
15 |
16 |
17 | );
18 | }
19 | }
20 | export default App;
21 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/Image.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "logo-2.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "logo-1.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "logo.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/src/redux/reducers/appReducers.js:
--------------------------------------------------------------------------------
1 | const initialState = {
2 | image: '',
3 | };
4 |
5 | const appReducers = (state = initialState, action) => {
6 | switch (action.type) {
7 | case 'IMAGE_ADD': {
8 | const { image } = action;
9 | return {
10 | ...state,
11 | image,
12 | };
13 | }
14 | case 'IMAGE_REMOVE_ALL': {
15 | return {
16 | ...state,
17 | image: '',
18 | };
19 | }
20 | default:
21 | return {
22 | ...initialState,
23 | };
24 | }
25 | };
26 |
27 | export default appReducers;
28 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/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/components/common/LoadingView.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import { View, Text, StyleSheet } from 'react-native';
5 | import styled from 'styled-components/native';
6 | import * as Progress from 'react-native-progress';
7 |
8 | const Wrapper = styled.View`
9 | flex: 1;
10 | background-color: #fff;
11 | align-items: center;
12 | justify-content: center;
13 | `;
14 |
15 | class LoadingView extends Component {
16 | render() {
17 | return (
18 |
19 |
20 |
21 | );
22 | }
23 | }
24 |
25 | export default LoadingView;
26 |
--------------------------------------------------------------------------------
/src/components/tweetsCreate/mutation/TweetAddMutation.js:
--------------------------------------------------------------------------------
1 | import { graphql, commitMutation } from 'react-relay';
2 | import env from '../../../config/Enviroment';
3 |
4 | const mutation = graphql`
5 | mutation TweetAddMutation($input: TweetAddInput!) {
6 | TweetAdd(input: $input) {
7 | error
8 | }
9 | }
10 | `;
11 |
12 | // Adds a new Tweet
13 | const commit = (username, userImage, text, likes, onFinish, onError) => {
14 | return commitMutation(env, {
15 | mutation,
16 | variables: {
17 | input: {
18 | username,
19 | userImage,
20 | text,
21 | likes,
22 | },
23 | },
24 | onFinish,
25 | onError,
26 | });
27 | };
28 |
29 | export default commit;
30 |
--------------------------------------------------------------------------------
/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/user/mutation/LoginEmailMutation.js:
--------------------------------------------------------------------------------
1 | import { graphql, commitMutation } from 'react-relay';
2 | import env from '../../../config/Enviroment';
3 |
4 | const mutation = graphql`
5 | mutation LoginEmailMutation($input: LoginEmailInput!) {
6 | LoginEmail(input: $input) {
7 | token
8 | }
9 | }
10 | `;
11 |
12 | const commit = (email, password) => {
13 | const variables = {
14 | input: {
15 | email,
16 | password,
17 | },
18 | };
19 | return new Promise((resolve, reject) => {
20 | commitMutation(env, {
21 | mutation,
22 | variables,
23 | onCompleted: (response, errors) => {
24 | console.log(response.LoginEmail.token);
25 | resolve(response.LoginEmail.token);
26 | },
27 | onError: err => reject(err),
28 | });
29 | });
30 | };
31 |
32 | export default commit;
33 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModernTests/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/ReactNativeRelayModern-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/components/user/mutation/RegisterEmailMutation.js:
--------------------------------------------------------------------------------
1 | import { graphql, commitMutation } from 'react-relay';
2 | import env from '../../../config/Enviroment';
3 |
4 | const mutation = graphql`
5 | mutation RegisterEmailMutation($input: RegisterEmailInput!) {
6 | RegisterEmail(input: $input) {
7 | token
8 | }
9 | }
10 | `;
11 |
12 | const commit = (email, name, image, password) => {
13 | const variables = {
14 | input: {
15 | email,
16 | name,
17 | image,
18 | password,
19 | },
20 | };
21 | return new Promise((resolve, reject) => {
22 | commitMutation(env, {
23 | mutation,
24 | variables,
25 | onCompleted: (response, errors) => {
26 | console.log(response.RegisterEmail.token);
27 | resolve(response.RegisterEmail.token);
28 | },
29 | onError: err => reject(err),
30 | });
31 | });
32 | };
33 |
34 | export default commit;
35 |
--------------------------------------------------------------------------------
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "parser": "babel-eslint",
3 | "env": {
4 | "browser": true,
5 | "node": true,
6 | "jest": true
7 | },
8 | "plugins": ["react", "react-native", "flowtype", "import"],
9 | "extends": ["eslint:recommended", "plugin:react/recommended"],
10 | "rules": {
11 | "comma-dangle": [2, "always-multiline"],
12 | "quotes": [2, "single", { "allowTemplateLiterals": true }],
13 | "react/prop-types": 0,
14 | "react/jsx-no-bind": 0,
15 | "react/display-name": 0,
16 | "new-cap": 0,
17 | "react-native/no-unused-styles": 2,
18 | "react-native/split-platform-components": 2,
19 | "react-native/no-inline-styles": 1,
20 | "react-native/no-color-literals": 0,
21 | "no-class-assign": 1,
22 | "no-console": 1,
23 | "object-curly-spacing": [1, "always"],
24 | "flowtype/define-flow-type": 1,
25 | "flowtype/use-flow-type": 1,
26 | "import/first": 2
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/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 |
55 | #relay
56 | __generated__/
--------------------------------------------------------------------------------
/src/config/Router.js:
--------------------------------------------------------------------------------
1 | import { StackNavigator } from 'react-navigation';
2 | import Feed from '../components/tweetsFeed/Feed';
3 | import UserMenu from '../components/user/UserMenu';
4 | import Login from '../components/user/Login';
5 | import SignUp from '../components/user/SignUp';
6 | import Splash from '../components/splash/Splash';
7 | import Create from '../components/tweetsCreate/Create';
8 | import Gallery from '../components/common/Gallery';
9 |
10 | export const Router = StackNavigator(
11 | {
12 | Splash: {
13 | screen: Splash,
14 | },
15 | Feed: {
16 | screen: Feed,
17 | navigationOptions: {
18 | header: null,
19 | gesturesEnabled: false,
20 | },
21 | },
22 | Login: {
23 | screen: Login,
24 | },
25 | UserMenu: {
26 | screen: UserMenu,
27 | },
28 | SignUp: {
29 | screen: SignUp,
30 | },
31 | Create: {
32 | screen: Create,
33 | },
34 | Gallery: {
35 | screen: Gallery,
36 | },
37 | },
38 | {
39 | initialRouteName: 'Splash',
40 | mode: 'modal',
41 | }
42 | );
43 |
--------------------------------------------------------------------------------
/src/config/Enviroment.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @flow
3 | */
4 |
5 | import { AsyncStorage } from 'react-native';
6 | import { Environment, Network, RecordSource, Store } from 'relay-runtime';
7 |
8 | // Define a function that fetches the results of an operation (query/mutation/etc)
9 | // and returns its results as a Promise:
10 | const fetchQuery = async (operation, variables, cacheConfig, uploadables) => {
11 | return fetch('http://localhost:5000/graphql', {
12 | method: 'POST',
13 | headers: {
14 | Accept: 'application/json',
15 | 'Content-Type': 'application/json',
16 | Authorization: await AsyncStorage.getItem('token'),
17 | }, // Add authentication and other headers here
18 | body: JSON.stringify({
19 | query: operation.text, // GraphQL text from input
20 | variables,
21 | }),
22 | }).then(response => {
23 | return response.json();
24 | });
25 | };
26 |
27 | // Create a network layer from the fetch function
28 | const network = Network.create(fetchQuery);
29 |
30 | const source = new RecordSource();
31 | const store = new Store(source);
32 |
33 | const env = new Environment({
34 | network,
35 | store,
36 | });
37 |
38 | export default env;
39 |
--------------------------------------------------------------------------------
/src/components/icons/CloseIcon.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, Text, StyleSheet } from 'react-native';
4 | import Svg, { Path } from 'react-native-svg';
5 |
6 | class CloseIcon extends Component {
7 | static defaultProps = {
8 | color: 'black',
9 | size: 20,
10 | };
11 | render() {
12 | const { color, size, style } = this.props;
13 | return (
14 |
27 | );
28 | }
29 | }
30 | const styles = StyleSheet.create({
31 | container: {
32 | flex: 1,
33 | },
34 | });
35 | export default CloseIcon;
36 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/reactnativerelaymodern/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.reactnativerelaymodern;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.azendoo.reactnativesnackbar.SnackbarPackage;
7 | import com.horcrux.svg.SvgPackage;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.shell.MainReactPackage;
11 | import com.facebook.soloader.SoLoader;
12 |
13 | import java.util.Arrays;
14 | import java.util.List;
15 |
16 | public class MainApplication extends Application implements ReactApplication {
17 |
18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19 | @Override
20 | public boolean getUseDeveloperSupport() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Override
25 | protected List getPackages() {
26 | return Arrays.asList(
27 | new MainReactPackage(),
28 | new SnackbarPackage(),
29 | new SvgPackage()
30 | );
31 | }
32 | };
33 |
34 | @Override
35 | public ReactNativeHost getReactNativeHost() {
36 | return mReactNativeHost;
37 | }
38 |
39 | @Override
40 | public void onCreate() {
41 | super.onCreate();
42 | SoLoader.init(this, /* native exopackage */ false);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/components/icons/TwitterIcon.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, Text, StyleSheet } from 'react-native';
4 | import Svg, { Path } from 'react-native-svg';
5 |
6 | class TwitterIcon extends Component {
7 | static defaultProps = {
8 | size: 100,
9 | color: 'black',
10 | children: null,
11 | };
12 | render() {
13 | const { size, color, children, style } = this.props;
14 | return (
15 |
29 | );
30 | }
31 | }
32 | const styles = StyleSheet.create({
33 | container: {
34 | flex: 1,
35 | },
36 | });
37 | export default TwitterIcon;
38 |
--------------------------------------------------------------------------------
/src/components/icons/BackArrow.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, Text, StyleSheet } from 'react-native';
4 | import Svg, { Path } from 'react-native-svg';
5 |
6 | class BackArrowIcon extends Component {
7 | static defaultProps = {
8 | color: 'black',
9 | };
10 | render() {
11 | const { size, color } = this.props;
12 | return (
13 |
36 | );
37 | }
38 | }
39 | const styles = StyleSheet.create({
40 | container: {
41 | flex: 1,
42 | },
43 | });
44 | export default BackArrowIcon;
45 |
--------------------------------------------------------------------------------
/.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/ReactNativeRelayModern/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:@"ReactNativeRelayModern"
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/ReactNativeRelayModern/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern-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.reactnativerelaymodern",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.reactnativerelaymodern",
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 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | Twitter
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 | NSAppTransportSecurity
28 |
29 | NSExceptionDomains
30 |
31 | localhost
32 |
33 | NSExceptionAllowsInsecureHTTPLoads
34 |
35 |
36 |
37 |
38 | NSLocationWhenInUseUsageDescription
39 |
40 | NSPhotoLibraryUsageDescription
41 | This app requires access to the camera roll
42 | UILaunchStoryboardName
43 | LaunchScreen
44 | UIRequiredDeviceCapabilities
45 |
46 | armv7
47 |
48 | UISupportedInterfaceOrientations
49 |
50 | UIInterfaceOrientationPortrait
51 | UIInterfaceOrientationLandscapeLeft
52 | UIInterfaceOrientationLandscapeRight
53 |
54 | UIViewControllerBasedStatusBarAppearance
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModernTests/ReactNativeRelayModernTests.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 ReactNativeRelayModernTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation ReactNativeRelayModernTests
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 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "TwitterClone-RelayModern",
3 | "description": "React Native + Relay modern Twitter Clone",
4 | "version": "1.0.0",
5 | "author": {
6 | "name": "lXSPandora",
7 | "email": "luizepauloxd@gmail.com",
8 | "url": "https://github.com/lXSPandora"
9 | },
10 | "dependencies": {
11 | "firebase": "^4.8.1",
12 | "hoist-non-react-statics": "^2.3.1",
13 | "lint-staged": "^6.0.0",
14 | "react": "16.0.0-alpha.12",
15 | "react-native": "^0.51.0",
16 | "react-native-camera-roll-picker": "^1.2.3",
17 | "react-native-keyboard-aware-scrollview": "^1.1.7",
18 | "react-native-progress": "^3.4.0",
19 | "react-native-snackbar": "^0.4.4",
20 | "react-native-svg": "^5.4.1",
21 | "react-navigation": "^1.0.0-beta.11",
22 | "react-redux": "^5.0.6",
23 | "react-relay": "^1.3.0",
24 | "redux": "^3.7.2",
25 | "redux-logger": "^3.0.6",
26 | "relay-runtime": "^1.4.1",
27 | "styled-components": "^2.1.2"
28 | },
29 | "devDependencies": {
30 | "babel-eslint": "^7.2.3",
31 | "babel-jest": "21.0.2",
32 | "babel-plugin-relay": "^1.4.1",
33 | "babel-preset-react-native": "4.0.0",
34 | "babel-preset-react-native-stage-0": "^1.0.1",
35 | "eslint": "^4.13.1",
36 | "eslint-plugin-flowtype": "^2.40.1",
37 | "eslint-plugin-import": "^2.8.0",
38 | "eslint-plugin-react": "^7.5.1",
39 | "eslint-plugin-react-native": "^3.2.0",
40 | "jest": "21.1.0",
41 | "prettier": "^1.9.2",
42 | "react-test-renderer": "16.0.0-alpha.12",
43 | "relay-compiler": "^1.4.0"
44 | },
45 | "jest": {
46 | "preset": "react-native"
47 | },
48 | "lint-staged": {
49 | "*.js": [
50 | "prettier --write --single-quote true --trailing-comma all --print-width 120",
51 | "git add"
52 | ]
53 | },
54 | "pre-commit": "lint:staged",
55 | "private": true,
56 | "repository": {
57 | "url": "git@github.com:lXSPandora/TwitterClone-RelayModern.git",
58 | "type": "git"
59 | },
60 | "scripts": {
61 | "clear": "node node_modules/react-native/local-cli/cli.js start --reset-cache",
62 | "start": "node node_modules/react-native/local-cli/cli.js start",
63 | "test": "jest",
64 | "relay": "relay-compiler --src ./src --schema data/schema.graphql",
65 | "prettier": "prettier --write --single-quote true --trailing-comma all --print-width 120",
66 | "relay:watch": "yarn relay -- --watch",
67 | "lint:staged": "lint-staged"
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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/common/Gallery.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { connect } from 'react-redux';
4 | import styled from 'styled-components/native';
5 | import BackArrow from '../icons/BackArrow';
6 | import CameraRollPicker from 'react-native-camera-roll-picker';
7 | import { imageAdd } from '../../redux/actions/appActions';
8 |
9 | const Wrapper = styled.View`
10 | flex: 1;
11 | background-color: #fff;
12 | `;
13 |
14 | const Header = styled.View`
15 | padding-top: 20;
16 | flex-direction: row;
17 | align-items: center;
18 | height: 70;
19 | `;
20 |
21 | const BackButton = styled.TouchableOpacity`
22 | width: 20;
23 | margin-left: 5;
24 | `;
25 |
26 | const ActionButton = styled.TouchableOpacity`
27 | background-color: rgb(28, 156, 235);
28 | align-items: center;
29 | justify-content: center;
30 | width: 60;
31 | height: 60;
32 | border-radius: 30;
33 | bottom: 20;
34 | right: 20;
35 | position: absolute;
36 | `;
37 |
38 | const Title = styled.Text`
39 | color: black;
40 | font-size: 22;
41 | font-weight: bold;
42 | margin-left: 25;
43 | `;
44 |
45 | const CheckIcon = styled.Image`
46 | width: 20;
47 | height: 20;
48 | tint-color: #fff;
49 | `;
50 |
51 | class Gallery extends Component {
52 | static navigationOptions = {
53 | header: null,
54 | };
55 | state = {
56 | num: 0,
57 | image: [],
58 | uri: '',
59 | };
60 |
61 | getSelectedImage = (images: Image[]) => {
62 | // TODO - handle multiple images
63 |
64 | this.setState({
65 | image: images,
66 | uri: images[0].uri,
67 | });
68 | };
69 |
70 | confirmSelection = async () => {
71 | const { uri } = this.state;
72 |
73 | await this.props.imageAdd(uri);
74 |
75 | this.props.navigation.goBack();
76 | };
77 |
78 | render() {
79 | console.log(this.state);
80 | console.log(this.props);
81 | return (
82 |
83 |
84 |
85 |
86 |
87 | Pick a profile picture
88 |
89 |
98 |
106 |
107 |
108 |
109 | );
110 | }
111 | }
112 |
113 | const mapDispatchToProps = dispatch => ({
114 | imageAdd: uri => dispatch(imageAdd(uri)),
115 | });
116 |
117 | export default connect(null, mapDispatchToProps)(Gallery);
118 |
--------------------------------------------------------------------------------
/src/components/splash/Splash.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import {
4 | Animated,
5 | View,
6 | Text,
7 | StyleSheet,
8 | ImageBackground,
9 | AsyncStorage,
10 | } from 'react-native';
11 | import styled from 'styled-components/native';
12 | import Svg, { Path } from 'react-native-svg';
13 |
14 | const ViewAnimated = Animated.createAnimatedComponent(View);
15 |
16 | const Wrapper = styled.View`
17 | justify-content: center;
18 | align-items: center;
19 | flex: 1;
20 | background-color: rgb(29, 161, 242);
21 | `;
22 |
23 | const Logo = styled.ImageBackground`
24 | width: 100;
25 | height: 100;
26 | align-items: center;
27 | justify-content: center;
28 | `;
29 |
30 | class Login extends Component {
31 | state = {
32 | scaleAnimated: new Animated.Value(2),
33 | token: '',
34 | };
35 |
36 | static navigationOptions = {
37 | header: null,
38 | };
39 |
40 | componentDidMount() {
41 | AsyncStorage.getItem('token')
42 | .then(this.startViewAnimated)
43 | .done();
44 | }
45 |
46 | startViewAnimated = value => {
47 | const { scaleAnimated } = this.state;
48 | Animated.sequence([
49 | Animated.timing(scaleAnimated, {
50 | duration: 2000,
51 | toValue: 0.1,
52 | }),
53 | Animated.timing(scaleAnimated, {
54 | duration: 500,
55 | toValue: 1000,
56 | }),
57 | ]).start(() => {
58 | if (!value) {
59 | this.props.navigation.navigate('UserMenu');
60 | } else {
61 | this.props.navigation.navigate('Feed');
62 | }
63 | });
64 | };
65 |
66 | render() {
67 | const { scaleAnimated } = this.state;
68 |
69 | return (
70 |
71 |
100 |
101 | );
102 | }
103 | }
104 | const styles = StyleSheet.create({
105 | container: {
106 | flex: 1,
107 | },
108 | });
109 | export default Login;
110 |
--------------------------------------------------------------------------------
/src/components/common/PostCard.js:
--------------------------------------------------------------------------------
1 | // @flow
2 |
3 | import React, { Component } from 'react';
4 | import { View, Text, StyleSheet } from 'react-native';
5 | import styled from 'styled-components/native';
6 |
7 | const ProfilePicturePost = styled.Image`
8 | width: 50;
9 | height: 50;
10 | border-radius: 25;
11 | `;
12 |
13 | const PictureContainer = styled.View`
14 | width: 50;
15 | height: 50;
16 | border-radius: 25;
17 | margin-right: 10;
18 | `;
19 |
20 | const PostView = styled.View`
21 | flex-direction: row;
22 | padding-vertical: 10;
23 | padding-right: 20;
24 | padding-left: 10;
25 | `;
26 |
27 | const PostColumns = styled.View`
28 | flex-direction: column;
29 | justify-content: center;
30 | `;
31 |
32 | const PostTitle = styled.Text`
33 | font-size: 16;
34 | font-weight: bold;
35 | color: black;
36 | `;
37 |
38 | const PostUser = styled.Text`
39 | font-size: 16;
40 | font-weight: bold;
41 | color: grey;
42 | `;
43 |
44 | const PostDescription = styled.Text`
45 | font-size: 16;
46 | padding-right: 30;
47 | color: black;
48 | `;
49 |
50 | const IconButton = styled.TouchableOpacity`
51 | width: 30;
52 | height: 30;
53 | align-items: center;
54 | justify-content: center;
55 | flex-direction: row;
56 | margin-top: 2;
57 | margin-left: -5;
58 | `;
59 |
60 | const Icon = styled.Image`
61 | width: 40;
62 | height: 40;
63 | `;
64 |
65 | class PostCard extends Component {
66 | state = {
67 | checked: false,
68 | likes: [],
69 | };
70 | componentWillMount() {
71 | this.setState({
72 | likes: this.props.likes,
73 | });
74 | }
75 | like = checked => {
76 | const { likes } = this.state;
77 | this.setState({
78 | checked,
79 | });
80 | if (likes.indexOf(this.props.userLogged)) {
81 | const index = likes.indexOf(this.props.userLogged);
82 | const newLikes = likes.splice(index, 1);
83 | this.setState({
84 | likes: newLikes,
85 | });
86 | return;
87 | }
88 | this.setState({
89 | likes: [...likes, this.props.userLogged],
90 | });
91 | };
92 | render() {
93 | const { checked } = this.state;
94 | const { image, user, description, likes } = this.props;
95 | return (
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 | @{user}
105 |
106 | {description}
107 |
108 |
109 | {this.state.likes.length}
110 |
111 |
112 |
113 | );
114 | }
115 | }
116 |
117 | const styles = StyleSheet.create({
118 | shadow: {
119 | shadowOffset: { width: 1, height: 1 },
120 | shadowColor: 'darkgrey',
121 | shadowOpacity: 0.5,
122 | },
123 | });
124 |
125 | export default PostCard;
126 |
--------------------------------------------------------------------------------
/src/components/user/UserMenu.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, Text, StyleSheet, Dimensions } from 'react-native';
4 | import styled from 'styled-components/native';
5 | import Svg, { Path } from 'react-native-svg';
6 | import TwitterIcon from '../icons/TwitterIcon';
7 |
8 | const { width } = Dimensions.get('window');
9 |
10 | const birdWidth = width + 220;
11 |
12 | const BackgroundView = styled.View`
13 | background-color: rgb(29, 161, 242);
14 | flex: 1;
15 | `;
16 |
17 | const WelcomeText = styled.Text`
18 | color: #ffffff;
19 | font-size: 50;
20 | font-weight: 700;
21 | margin-top: 30;
22 | text-align: left;
23 | margin-left: 10;
24 | `;
25 |
26 | const DescriptionText = styled.Text`
27 | color: #ffffff;
28 | font-size: 22;
29 | font-weight: bold;
30 | margin-top: 10;
31 | margin-horizontal: 10;
32 | `;
33 |
34 | const ActionView = styled.View`
35 | margin-top: -550;
36 | background-color: rgba(0, 0, 0, 0);
37 | `;
38 |
39 | const SignUpButton = styled.TouchableOpacity`
40 | background-color: #ffffff;
41 | padding-horizontal: 40;
42 | padding-vertical: 10;
43 | align-items: center;
44 | margin-horizontal: 10;
45 | justify-content: center;
46 | border-radius: 45;
47 | `;
48 |
49 | const LoginButton = styled.TouchableOpacity`
50 | border-style: solid;
51 | border-width: 1;
52 | border-color: #ffffff;
53 | padding-horizontal: 40;
54 | padding-vertical: 10;
55 | align-items: center;
56 | justify-content: center;
57 | border-radius: 40;
58 | margin-horizontal: 10;
59 | `;
60 |
61 | const LoginButtonText = styled.Text`
62 | color: #ffffff;
63 | font-size: 22;
64 | font-weight: 800;
65 | `;
66 |
67 | const SignUpText = styled.Text`
68 | color: rgb(29, 161, 242);
69 | font-size: 22;
70 | font-weight: 800;
71 | `;
72 |
73 | const ButtonsContainer = styled.View`
74 | flex-direction: row;
75 | justify-content: space-around;
76 | position: absolute;
77 | left: 0;
78 | right: 0;
79 | bottom: 20;
80 | `;
81 |
82 | class UserMenu extends Component {
83 | static navigationOptions = {
84 | header: null,
85 | gesturesEnabled: false,
86 | };
87 | goLogin = () => {
88 | this.props.navigation.navigate('Login');
89 | };
90 |
91 | goSignUp = () => {
92 | this.props.navigation.navigate('SignUp');
93 | };
94 |
95 | render() {
96 | return (
97 |
98 |
106 |
107 | Welcome to {'\n'}Twitter
108 |
109 | See what’s happening in the world right now.
110 |
111 |
112 |
113 |
114 | Sign up
115 |
116 |
117 | Log in
118 |
119 |
120 |
121 | );
122 | }
123 | }
124 | const styles = StyleSheet.create({
125 | container: {
126 | flex: 1,
127 | },
128 | });
129 | export default UserMenu;
130 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "icon-20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "icon-20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "icon-29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "icon-29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "icon-29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "icon-40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "icon-40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "57x57",
47 | "idiom" : "iphone",
48 | "filename" : "icon-57@1x.png",
49 | "scale" : "1x"
50 | },
51 | {
52 | "size" : "57x57",
53 | "idiom" : "iphone",
54 | "filename" : "icon-57@2x.png",
55 | "scale" : "2x"
56 | },
57 | {
58 | "size" : "60x60",
59 | "idiom" : "iphone",
60 | "filename" : "icon-60@2x.png",
61 | "scale" : "2x"
62 | },
63 | {
64 | "size" : "60x60",
65 | "idiom" : "iphone",
66 | "filename" : "icon-60@3x.png",
67 | "scale" : "3x"
68 | },
69 | {
70 | "size" : "20x20",
71 | "idiom" : "ipad",
72 | "filename" : "icon-20@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "20x20",
77 | "idiom" : "ipad",
78 | "filename" : "icon-20@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "29x29",
83 | "idiom" : "ipad",
84 | "filename" : "icon-29@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "29x29",
89 | "idiom" : "ipad",
90 | "filename" : "icon-29@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "40x40",
95 | "idiom" : "ipad",
96 | "filename" : "icon-40@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "40x40",
101 | "idiom" : "ipad",
102 | "filename" : "icon-40@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "50x50",
107 | "idiom" : "ipad",
108 | "filename" : "icon-50@1x.png",
109 | "scale" : "1x"
110 | },
111 | {
112 | "size" : "50x50",
113 | "idiom" : "ipad",
114 | "filename" : "icon-50@2x.png",
115 | "scale" : "2x"
116 | },
117 | {
118 | "size" : "72x72",
119 | "idiom" : "ipad",
120 | "filename" : "icon-72@1x.png",
121 | "scale" : "1x"
122 | },
123 | {
124 | "size" : "72x72",
125 | "idiom" : "ipad",
126 | "filename" : "icon-72@2x.png",
127 | "scale" : "2x"
128 | },
129 | {
130 | "size" : "76x76",
131 | "idiom" : "ipad",
132 | "filename" : "icon-76@1x.png",
133 | "scale" : "1x"
134 | },
135 | {
136 | "size" : "76x76",
137 | "idiom" : "ipad",
138 | "filename" : "icon-76@2x.png",
139 | "scale" : "2x"
140 | },
141 | {
142 | "size" : "83.5x83.5",
143 | "idiom" : "ipad",
144 | "filename" : "icon-83.5@2x.png",
145 | "scale" : "2x"
146 | },
147 | {
148 | "size" : "1024x1024",
149 | "idiom" : "ios-marketing",
150 | "filename" : "icon-1024@1x.png",
151 | "scale" : "1x"
152 | }
153 | ],
154 | "info" : {
155 | "version" : 1,
156 | "author" : "xcode"
157 | }
158 | }
159 |
--------------------------------------------------------------------------------
/data/schema.graphql:
--------------------------------------------------------------------------------
1 | input ChangePasswordInput {
2 | oldPassword: String!
3 |
4 | # user new password
5 | password: String!
6 | clientMutationId: String
7 | }
8 |
9 | type ChangePasswordPayload {
10 | error: String
11 | me: User
12 | clientMutationId: String
13 | }
14 |
15 | input LoginEmailInput {
16 | email: String!
17 | password: String!
18 | clientMutationId: String
19 | }
20 |
21 | type LoginEmailPayload {
22 | token: String
23 | error: String
24 | clientMutationId: String
25 | }
26 |
27 | type Mutation {
28 | LoginEmail(input: LoginEmailInput!): LoginEmailPayload
29 | RegisterEmail(input: RegisterEmailInput!): RegisterEmailPayload
30 | ChangePassword(input: ChangePasswordInput!): ChangePasswordPayload
31 | TweetAdd(input: TweetAddInput!): TweetAddPayload
32 | TweetEdit(input: TweetEditInput!): TweetEditPayload
33 | }
34 |
35 | # An object with an ID
36 | interface Node {
37 | # The id of the object.
38 | id: ID!
39 | }
40 |
41 | # Information about pagination in a connection.
42 | type PageInfo {
43 | # When paginating forwards, are there more items?
44 | hasNextPage: Boolean!
45 |
46 | # When paginating backwards, are there more items?
47 | hasPreviousPage: Boolean!
48 |
49 | # When paginating backwards, the cursor to continue.
50 | startCursor: String
51 |
52 | # When paginating forwards, the cursor to continue.
53 | endCursor: String
54 | }
55 |
56 | # The root of all... queries
57 | type Query {
58 | # Fetches an object given its ID
59 | node(
60 | # The ID of an object
61 | id: ID!
62 | ): Node
63 | me: User
64 | user(id: ID!): User
65 | users(after: String, first: Int, before: String, last: Int, search: String): UserConnection
66 | tweet(id: ID!): Tweet
67 | tweets(after: String, first: Int, before: String, last: Int, search: String): TweetConnection
68 | }
69 |
70 | input RegisterEmailInput {
71 | name: String!
72 | image: String!
73 | email: String!
74 | password: String!
75 | clientMutationId: String
76 | }
77 |
78 | type RegisterEmailPayload {
79 | token: String
80 | error: String
81 | clientMutationId: String
82 | }
83 |
84 | # Represents Tweet
85 | type Tweet implements Node {
86 | # The ID of an object
87 | id: ID!
88 |
89 | # username of the tweet owner
90 | username: String
91 |
92 | # userImage of the tweet owner
93 | userImage: String
94 |
95 | # tweet body
96 | text: String
97 |
98 | # tweet likes
99 | likes: [String]
100 | }
101 |
102 | input TweetAddInput {
103 | # username of the tweet owner
104 | username: String
105 |
106 | # userImage of the tweet owner
107 | userImage: String
108 |
109 | # tweet body
110 | text: String
111 |
112 | # tweet likes
113 | likes: [String]
114 | clientMutationId: String
115 | }
116 |
117 | type TweetAddPayload {
118 | tweetEdge: TweetEdge
119 | error: String
120 | clientMutationId: String
121 | }
122 |
123 | # A connection to a list of items.
124 | type TweetConnection {
125 | # Information to aid in pagination.
126 | pageInfo: PageInfo!
127 |
128 | # A list of edges.
129 | edges: [TweetEdge]
130 | count: Int
131 | }
132 |
133 | # An edge in a connection.
134 | type TweetEdge {
135 | # The item at the end of the edge
136 | node: Tweet
137 |
138 | # A cursor for use in pagination
139 | cursor: String!
140 | }
141 |
142 | input TweetEditInput {
143 | id: ID!
144 | likes: [String]
145 | text: String
146 | clientMutationId: String
147 | }
148 |
149 | type TweetEditPayload {
150 | tweet: Tweet
151 | error: String
152 | clientMutationId: String
153 | }
154 |
155 | # User data
156 | type User implements Node {
157 | # The ID of an object
158 | id: ID!
159 | _id: String
160 | name: String
161 | image: String
162 | email: String
163 | active: Boolean
164 | }
165 |
166 | # A connection to a list of items.
167 | type UserConnection {
168 | # Information to aid in pagination.
169 | pageInfo: PageInfo!
170 |
171 | # A list of edges.
172 | edges: [UserEdge]
173 | count: Int
174 | }
175 |
176 | # An edge in a connection.
177 | type UserEdge {
178 | # The item at the end of the edge
179 | node: User
180 |
181 | # A cursor for use in pagination
182 | cursor: String!
183 | }
184 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern.xcodeproj/xcshareddata/xcschemes/ReactNativeRelayModern.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 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern.xcodeproj/xcshareddata/xcschemes/ReactNativeRelayModern-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 |
--------------------------------------------------------------------------------
/src/components/tweetsCreate/Create.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import {
4 | View,
5 | Text,
6 | StyleSheet,
7 | Animated,
8 | KeyboardAvoidingView,
9 | ActivityIndicator,
10 | } from 'react-native';
11 | import styled from 'styled-components/native';
12 | import CloseIcon from '../icons/CloseIcon';
13 | import { QueryRenderer, graphql } from 'react-relay';
14 | import env from '../../config/Enviroment';
15 | import Snackbar from 'react-native-snackbar';
16 | import hoistStatics from 'hoist-non-react-statics';
17 | import { withNavigation, NavigationActions } from 'react-navigation';
18 | import commit from './mutation/TweetAddMutation';
19 |
20 | const Header = styled.View`
21 | flex-direction: row;
22 | justify-content: space-between;
23 | padding: 20px;
24 | padding-top: 30;
25 | background-color: #ffffff;
26 | `;
27 |
28 | const ProfilePicture = styled.Image`
29 | width: 40;
30 | height: 40;
31 | border-radius: 20;
32 | `;
33 |
34 | const CloseButton = styled.TouchableOpacity`
35 | align-items: center;
36 | justify-content: center;
37 | `;
38 |
39 | const Textarea = styled.TextInput`
40 | padding: 20px;
41 | margin-top: 10;
42 | font-size: 20;
43 | font-weight: bold;
44 | color: #2d2d2d;
45 | `;
46 |
47 | const SignUpButton = styled.TouchableOpacity`
48 | background-color: rgb(29, 161, 242);
49 | padding-horizontal: 30;
50 | padding-vertical: 10;
51 | align-items: center;
52 | justify-content: center;
53 | border-radius: 40;
54 | `;
55 |
56 | const SignUpText = styled.Text`
57 | color: white;
58 | font-size: 18;
59 | font-weight: 800;
60 | `;
61 |
62 | const Footer = styled.View`
63 | align-items: flex-end;
64 | justify-content: center;
65 | bottom: 20;
66 | right: 20;
67 | `;
68 |
69 | const ViewAnimated = Animated.createAnimatedComponent(View);
70 |
71 | @withNavigation
72 | class Create extends Component {
73 | static navigationOptions = {
74 | header: null,
75 | };
76 |
77 | state = {
78 | tweetText: '',
79 | };
80 |
81 | showError = () => {
82 | Snackbar.show({
83 | title: 'Ocorreu um erro inesperado',
84 | duration: Snackbar.LENGTH_INDEFINITE,
85 | action: {
86 | title: 'RETRY',
87 | color: 'red',
88 | onPress: () => this.Tweet,
89 | },
90 | });
91 | };
92 |
93 | onComplete = () => {
94 | this.props.navigation.Snackbar.show({
95 | title: 'Hello world',
96 | duration: Snackbar.LENGTH_INDEFINITE,
97 | action: {
98 | title: 'UNDO',
99 | color: 'green',
100 | onPress: () => {},
101 | },
102 | });
103 | const navigateAction = NavigationActions.navigate({
104 | routeName: 'Profile',
105 |
106 | params: {},
107 |
108 | action: NavigationActions.navigate({ routeName: 'Feed' }),
109 | });
110 |
111 | this.props.navigation.dispatch(navigateAction);
112 | };
113 |
114 | goBack = () => {
115 | this.props.navigation.goBack();
116 | };
117 |
118 | Tweet = () => {
119 | const { me } = this.props;
120 | const { tweetText } = this.state;
121 |
122 | commit(me.name, me.image, tweetText, [], this.onComplete, this.showError);
123 | };
124 |
125 | render() {
126 | const { image } = this.props.me;
127 | const { tweetText } = this.state;
128 | return (
129 |
130 |
131 |
132 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
156 |
161 |
162 |
163 | );
164 | }
165 | }
166 |
167 | const query = graphql`
168 | query CreateQuery {
169 | me {
170 | image
171 | name
172 | }
173 | }
174 | `;
175 |
176 | const CreateQueryRenderer = () => (
177 | {
181 | if (error) {
182 | return Snackbar.show({
183 | title: 'An unexpected error occurred',
184 | duration: Snackbar.LENGTH_INDEFINITE,
185 | action: {
186 | title: 'OK',
187 | color: 'rgb(0, 148, 255)',
188 | },
189 | });
190 | } else if (props) {
191 | return ;
192 | }
193 | return (
194 |
201 |
206 |
207 | );
208 | }}
209 | />
210 | );
211 |
212 | const styles = StyleSheet.create({
213 | container: {
214 | flex: 1,
215 | backgroundColor: '#ffffff',
216 | },
217 | });
218 |
219 | export default hoistStatics(CreateQueryRenderer, Create);
220 |
--------------------------------------------------------------------------------
/src/components/user/Login.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, StyleSheet, Animated, AsyncStorage } from 'react-native';
4 | import styled from 'styled-components/native';
5 | import BackArrow from '../icons/BackArrow';
6 | import TwitterIcon from '../icons/TwitterIcon';
7 | import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scrollview';
8 | import commit from './mutation/LoginEmailMutation';
9 | import Snackbar from 'react-native-snackbar';
10 |
11 | const ViewAnimated = Animated.createAnimatedComponent(View);
12 |
13 | const LogoView = styled.View`
14 | align-items: center;
15 | justify-content: center;
16 | `;
17 |
18 | const LogoText = styled.Text`
19 | font-size: 22;
20 | text-align: center;
21 | margin-top: 20;
22 | `;
23 |
24 | const LoginButton = styled.TouchableOpacity`
25 | background-color: rgb(29, 161, 242);
26 | padding-vertical: 10;
27 | align-items: center;
28 | justify-content: center;
29 | margin-horizontal: 10;
30 | border-radius: 30;
31 | margin-top: 20;
32 | `;
33 |
34 | const LoginButtonText = styled.Text`
35 | color: #ffffff;
36 | font-size: 22;
37 | font-weight: 800;
38 | `;
39 |
40 | const Input = styled.TextInput`
41 | background-color: rgb(245, 248, 250);
42 | color: rgb(101, 119, 134),
43 | border-radius: 40;
44 | font-weight: 600;
45 | padding-horizontal: 20;
46 | padding-vertical: 15;
47 | margin-top: 10;
48 | margin-horizontal: 10;
49 | `;
50 |
51 | const BackButtonView = styled.View`
52 | height: 50;
53 | flex-direction: row;
54 | `;
55 |
56 | const BackButton = styled.TouchableOpacity`
57 | flex-direction: row;
58 | width: 30;
59 | margin-left: 5;
60 | `;
61 |
62 | const ForgetPassword = styled.Text`
63 | margin-vertical: 20;
64 | text-align: center;
65 | margin-horizontal: 10;
66 | font-weight: 500;
67 | color: rgb(29, 161, 242);
68 | background-color: rgba(0, 0, 0, 0);
69 | `;
70 |
71 | class Login extends Component {
72 | static navigationOptions = {
73 | header: null,
74 | };
75 |
76 | state = {
77 | scaleAnimated: new Animated.Value(2),
78 | email: null,
79 | password: null,
80 | };
81 |
82 | startViewAnimated = () => {
83 | const { scaleAnimated } = this.state;
84 |
85 | Animated.sequence([
86 | Animated.timing(scaleAnimated, {
87 | duration: 100,
88 | toValue: 0.1,
89 | }),
90 | Animated.timing(scaleAnimated, {
91 | duration: 300,
92 | toValue: 1000,
93 | }),
94 | ]).start(() => {
95 | this.props.navigation.navigate('Feed');
96 | });
97 | };
98 |
99 | login = async (email, password) => {
100 | if (email === null || password === null) {
101 | Snackbar.show({
102 | title: 'Please fill all the fields',
103 | duration: 3000,
104 | action: {
105 | title: 'OK',
106 | color: 'rgb(0, 148, 255)',
107 | },
108 | });
109 | return;
110 | }
111 | try {
112 | const token = await commit(email, password); //stores the token inside the token variable
113 |
114 | //checking if token is null
115 | if (token == null) {
116 | Snackbar.show({
117 | title: 'User not Found! Please Sign Up',
118 | duration: 3000,
119 | action: {
120 | title: 'OK',
121 | color: 'rgb(0, 148, 255)',
122 | },
123 | });
124 | return;
125 | }
126 |
127 | await AsyncStorage.setItem('token', token); // Stores the token on the storage
128 |
129 | return this.startViewAnimated();
130 | } catch (err) {
131 | console.log(err.message);
132 | Snackbar.show({
133 | title: 'An unexpected error occurred',
134 | duration: Snackbar.LENGTH_INDEFINITE,
135 | action: {
136 | title: 'OK',
137 | color: 'rgb(0, 148, 255)',
138 | },
139 | });
140 | }
141 | };
142 |
143 | render() {
144 | const { scaleAnimated } = this.state;
145 | return (
146 |
147 |
148 | {
150 | this.props.navigation.goBack();
151 | }}
152 | >
153 |
154 |
155 |
156 |
157 |
158 |
159 | Log in to Twitter
160 |
161 |
162 | this.setState({ email })}
165 | placeholder="Email"
166 | placeholderTextColor="rgb(101, 119, 134)"
167 | />
168 | this.setState({ password })}
172 | placeholder="Password"
173 | placeholderTextColor="rgb(101, 119, 134)"
174 | />
175 | this.login(this.state.email, this.state.password)}
177 | >
178 | Log in
179 |
192 |
193 | Forgot my Password
194 |
195 |
196 |
197 | );
198 | }
199 | }
200 | const styles = StyleSheet.create({
201 | container: {
202 | flex: 1,
203 | backgroundColor: 'white',
204 | },
205 | });
206 | export default Login;
207 |
--------------------------------------------------------------------------------
/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.reactnativerelaymodern"
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-snackbar')
137 | compile project(':react-native-svg')
138 | compile fileTree(dir: "libs", include: ["*.jar"])
139 | compile "com.android.support:appcompat-v7:23.0.1"
140 | compile "com.facebook.react:react-native:+" // From node_modules
141 | }
142 |
143 | // Run this once to be able to run the application with BUCK
144 | // puts all compile dependencies into folder libs for BUCK to use
145 | task copyDownloadableDepsToLibs(type: Copy) {
146 | from configurations.compile
147 | into 'libs'
148 | }
149 |
--------------------------------------------------------------------------------
/src/components/tweetsFeed/Feed.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import { View, Text, StyleSheet, ScrollView, Animated, ActivityIndicator } from 'react-native';
4 | import styled from 'styled-components/native';
5 | import PostCard from '../common/PostCard';
6 | import { QueryRenderer, graphql } from 'react-relay';
7 | import env from '../../config/Enviroment';
8 | import Snackbar from 'react-native-snackbar';
9 | import { withNavigation } from 'react-navigation';
10 | import hoistStatics from 'hoist-non-react-statics';
11 |
12 | const ActionButton = styled.TouchableOpacity`
13 | background-color: rgb(28, 156, 235);
14 | align-items: center;
15 | justify-content: center;
16 | width: 60;
17 | height: 60;
18 | border-radius: 30;
19 | bottom: 20;
20 | right: 20;
21 | position: absolute;
22 | `;
23 |
24 | const ActionButtonLogo = styled.Image`
25 | width: 30;
26 | height: 30;
27 | border-radius: 15;
28 | `;
29 |
30 | const Header = styled.View`
31 | flex-direction: row;
32 | padding-horizontal: 20;
33 | padding-top: 30;
34 | padding-bottom: 10;
35 | align-items: center;
36 | background-color: #ffffff;
37 | `;
38 |
39 | const HeaderText = styled.Text`
40 | font-size: 20;
41 | font-weight: bold;
42 | color: black;
43 | `;
44 |
45 | const ProfilePicture = styled.Image`
46 | width: 40;
47 | height: 40;
48 | border-radius: 20;
49 | margin-right: 10;
50 | `;
51 |
52 | const ProfilePicturePost = styled.Image`
53 | width: 50;
54 | height: 50;
55 | border-radius: 25;
56 | margin-right: 10;
57 | `;
58 |
59 | const PostView = styled.View`
60 | flex-direction: row;
61 | padding-vertical: 10;
62 | padding-right: 20;
63 | padding-left: 10;
64 | `;
65 |
66 | const PostColumns = styled.View`
67 | flex-direction: column;
68 | justify-content: center;
69 | `;
70 |
71 | const PostTitle = styled.Text`
72 | font-size: 16;
73 | font-weight: bold;
74 | color: black;
75 | `;
76 |
77 | const PostUser = styled.Text`
78 | font-size: 16;
79 | font-weight: bold;
80 | color: grey;
81 | `;
82 |
83 | const PostDescription = styled.Text`
84 | font-size: 16;
85 | padding-right: 30;
86 | color: black;
87 | `;
88 |
89 | const IconButton = styled.TouchableOpacity`
90 | width: 30;
91 | height: 30;
92 | align-items: center;
93 | justify-content: center;
94 | flex-direction: row;
95 | margin-top: 2;
96 | margin-left: -5;
97 | `;
98 |
99 | const Icon = styled.Image`
100 | width: 40;
101 | height: 40;
102 | `;
103 |
104 | const ViewAnimated = Animated.createAnimatedComponent(View);
105 |
106 | const Separator = styled.View`
107 | height: 1;
108 | `;
109 |
110 | @withNavigation
111 | class Feed extends Component {
112 | state = {
113 | liked: false,
114 | likes: 0,
115 | likeImg: require('../../img/heart.png'),
116 | scaleAnimated: new Animated.Value(2),
117 | };
118 |
119 | Create = () => {
120 | this.props.navigation.navigate('Create');
121 | };
122 |
123 | startViewAnimated = () => {
124 | const { scaleAnimated, username } = this.state;
125 |
126 | Animated.sequence([
127 | Animated.timing(scaleAnimated, {
128 | duration: 2000,
129 | toValue: 0.1,
130 | }),
131 | Animated.timing(scaleAnimated, {
132 | duration: 500,
133 | toValue: 500,
134 | }),
135 | ]).start(() => {
136 | if (username === null) {
137 | this.props.navigation.navigate('UserMenu');
138 | } else {
139 | this.props.navigation.navigate('Feed');
140 | }
141 | });
142 | };
143 |
144 | Like = () => {
145 | const { liked, likes } = this.state;
146 | if (liked === false) {
147 | let newLikes = likes + 1;
148 | this.setState({
149 | liked: true,
150 | });
151 | this.setState({
152 | likes: newLikes,
153 | });
154 | this.setState({
155 | likeImg: require('../../img/heartFilled.png'),
156 | });
157 | } else {
158 | let newLikes = likes - 1;
159 | this.setState({
160 | liked: false,
161 | });
162 | this.setState({
163 | likes: newLikes,
164 | });
165 | this.setState({
166 | likeImg: require('../../img/heart.png'),
167 | });
168 | }
169 | };
170 |
171 | render() {
172 | const { tweets, me } = this.props;
173 | console.log(this.props);
174 | return (
175 |
176 |
180 |
181 | {tweets.edges.map((tweet, i) => (
182 |
190 | ))}
191 |
192 |
193 |
194 |
195 |
196 | );
197 | }
198 | }
199 | const styles = StyleSheet.create({
200 | container: {
201 | flex: 1,
202 | backgroundColor: '#f9f9f9',
203 | },
204 | shadow: {
205 | shadowOffset: { width: 1, height: 1 },
206 | shadowColor: '#777777',
207 | shadowOpacity: 1.0,
208 | },
209 | });
210 |
211 | const query = graphql`
212 | query FeedQuery {
213 | me {
214 | image
215 | name
216 | }
217 | tweets {
218 | edges {
219 | node {
220 | id
221 | username
222 | userImage
223 | text
224 | likes
225 | }
226 | }
227 | }
228 | }
229 | `;
230 |
231 | const FeedQueryRenderer = () => (
232 | {
237 | if (error) {
238 | return Snackbar.show({
239 | title: 'An unexpected error occurred',
240 | duration: Snackbar.LENGTH_INDEFINITE,
241 | action: {
242 | title: 'OK',
243 | color: 'rgb(0, 148, 255)',
244 | },
245 | });
246 | } else if (props) {
247 | return ;
248 | }
249 | return (
250 |
257 |
258 |
259 | );
260 | }}
261 | />
262 | );
263 |
264 | export default hoistStatics(FeedQueryRenderer, Feed);
265 |
--------------------------------------------------------------------------------
/src/components/user/SignUp.js:
--------------------------------------------------------------------------------
1 | // @flow
2 | import React, { Component } from 'react';
3 | import {
4 | View,
5 | Text,
6 | StyleSheet,
7 | KeyboardAvoidingView,
8 | AsyncStorage,
9 | } from 'react-native';
10 | import styled from 'styled-components/native';
11 | import Svg, { Path } from 'react-native-svg';
12 | import BackArrow from '../icons/BackArrow';
13 | import TwitterIcon from '../icons/TwitterIcon';
14 | import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scrollview';
15 | import Snackbar from 'react-native-snackbar';
16 | import commit from './mutation/RegisterEmailMutation';
17 | import * as firebase from 'firebase';
18 | import { firebaseConfig } from '../../config/consts';
19 | import { connect } from 'react-redux';
20 | import { imageRemoveAll } from '../../redux/actions/appActions';
21 |
22 | const LogoView = styled.View`
23 | align-items: center;
24 | justify-content: center;
25 | `;
26 |
27 | const LogoText = styled.Text`
28 | font-size: 22;
29 | text-align: center;
30 | margin-top: 20;
31 | `;
32 |
33 | const LoginButton = styled.TouchableOpacity`
34 | background-color: rgb(29, 161, 242);
35 | padding-vertical: 10;
36 | align-items: center;
37 | justify-content: center;
38 | margin-horizontal: 10;
39 | border-radius: 30;
40 | margin-top: 20;
41 | `;
42 |
43 | const LoginButtonText = styled.Text`
44 | color: #ffffff;
45 | font-size: 22;
46 | font-weight: 800;
47 | `;
48 |
49 | const Input = styled.TextInput`
50 | background-color: rgb(245, 248, 250);
51 | color: rgb(101, 119, 134),
52 | border-radius: 40;
53 | font-weight: 600;
54 | padding-horizontal: 20;
55 | padding-vertical: 15;
56 | margin-top: 10;
57 | margin-horizontal: 10;
58 | `;
59 |
60 | const BackButtonView = styled.View`
61 | height: 50;
62 | flex-direction: row;
63 | `;
64 |
65 | const BackButton = styled.TouchableOpacity`
66 | flex-direction: row;
67 | width: 30;
68 | margin-left: 5;
69 | `;
70 |
71 | const PictureInput = styled.TouchableOpacity`
72 | background-color: rgb(245, 248, 250);
73 | border-radius: 40;
74 | padding-horizontal: 20;
75 | padding-vertical: 15;
76 | margin-top: 10;
77 | margin-left: 5;
78 | margin-right: 12;
79 | flex: 1;
80 | `;
81 |
82 | const PicturePreview = styled.View`
83 | width: 45;
84 | height: 45;
85 | border-radius: 22;
86 | align-items: center;
87 | justify-content: center;
88 | background-color: rgb(245, 248, 250);
89 | margin-top: 10;
90 | margin-left: 10;
91 | `;
92 |
93 | const ProfilePicture = styled.Image`
94 | width: 45;
95 | height: 45;
96 | border-radius: 22;
97 | `;
98 |
99 | const CameraIcon = styled.Image`
100 | height: 20;
101 | width: 20;
102 | tint-color: rgb(101, 119, 134);
103 | `;
104 |
105 | const PictureInputText = styled.Text`
106 | color: rgb(101, 119, 134);
107 | `;
108 |
109 | const InputContainer = styled.View`
110 | flex-direction: row;
111 | align-items: center;
112 | `;
113 |
114 | type Props = {
115 | image: string,
116 | navigation: any,
117 | imageRemoveAll: () => void,
118 | };
119 |
120 | type State = {
121 | name: string,
122 | email: string,
123 | password: string,
124 | confirmPassword: string,
125 | };
126 |
127 | class SignUp extends Component {
128 | state = {
129 | name: null,
130 | email: null,
131 | password: null,
132 | confirmPassword: null,
133 | };
134 | static navigationOptions = {
135 | header: null,
136 | };
137 |
138 | goToFeed = async token => {
139 | await AsyncStorage.setItem('token', token);
140 | this.props.navigation.navigate('Feed');
141 | };
142 |
143 | getPicture = () => {
144 | this.props.navigation.navigate('Gallery');
145 | };
146 |
147 | registerAndProceed = async (name, email, password, confirmPassword) => {
148 | if (
149 | name === null ||
150 | email === null ||
151 | password === null ||
152 | confirmPassword === 'null'
153 | ) {
154 | Snackbar.show({
155 | title: 'Please fill all the fields',
156 | duration: 3000,
157 | action: {
158 | title: 'OK',
159 | color: 'rgb(0, 148, 255)',
160 | },
161 | });
162 | return;
163 | }
164 | if (password !== confirmPassword) {
165 | Snackbar.show({
166 | title: 'The confirm password and password must be equal',
167 | duration: 3000,
168 | action: {
169 | title: 'OK',
170 | color: 'rgb(0, 148, 255)',
171 | },
172 | });
173 | return;
174 | }
175 |
176 | const userImage = 'https://i.imgur.com/C3YDUHi.png';
177 |
178 | try {
179 | const token = await commit(email, name, userImage, password); //stores the token inside the token variable
180 |
181 | if (token == null) {
182 | Snackbar.show({
183 | title: 'Email already in use',
184 | duration: 3000,
185 | action: {
186 | title: 'DISMISS',
187 | color: 'rgb(0, 148, 255)',
188 | action: () => this.goToFeed(),
189 | },
190 | });
191 | return;
192 | }
193 |
194 | Snackbar.show({
195 | title: 'The user has been added! Want to make the login?',
196 | duration: Snackbar.LENGTH_INDEFINITE,
197 | action: {
198 | title: 'MAKE LOGIN',
199 | color: 'rgb(0, 148, 255)',
200 | action: () => this.goToFeed(token),
201 | },
202 | });
203 | } catch (err) {
204 | console.log(err.message);
205 | Snackbar.show({
206 | title: 'An unexpected error occurred',
207 | duration: Snackbar.LENGTH_INDEFINITE,
208 | action: {
209 | title: 'OK',
210 | color: 'rgb(0, 148, 255)',
211 | },
212 | });
213 | }
214 | };
215 |
216 | uploadProfilePicture = (username: string) => {
217 | const { image } = this.props;
218 | };
219 |
220 | render() {
221 | const { name, email, password, confirmPassword } = this.state;
222 | const { image } = this.props;
223 | return (
224 |
225 |
226 | {
228 | this.props.navigation.goBack();
229 | }}
230 | >
231 |
232 |
233 |
234 |
235 |
236 |
237 | Sign up to Twitter
238 |
239 |
240 |
241 |
242 | {image === '' && (
243 |
244 | )}
245 | {image !== '' && }
246 |
247 |
248 | Select a profile picture
249 |
250 |
251 | this.setState({ name })}
254 | placeholder="Username"
255 | placeholderTextColor="rgb(101, 119, 134)"
256 | />
257 | this.setState({ email })}
260 | placeholder="Email"
261 | placeholderTextColor="rgb(101, 119, 134)"
262 | />
263 | this.setState({ password })}
267 | placeholder="Password"
268 | placeholderTextColor="rgb(101, 119, 134)"
269 | />
270 |
274 | this.setState({ confirmPassword })
275 | }
276 | placeholder="Confirm Password"
277 | placeholderTextColor="rgb(101, 119, 134)"
278 | />
279 |
281 | this.registerAndProceed(name, email, password, confirmPassword)
282 | }
283 | >
284 | Sign up
285 |
286 |
287 |
288 |
289 | );
290 | }
291 | }
292 | const styles = StyleSheet.create({
293 | container: {
294 | flex: 1,
295 | backgroundColor: 'white',
296 | },
297 | });
298 |
299 | const mapStateToProps = state => ({
300 | image: state.appReducers.image,
301 | });
302 |
303 | const mapDispatchToProps = dispatch => ({
304 | imageRemoveAll: () => dispatch(imageRemoveAll()),
305 | });
306 |
307 | export default connect(mapStateToProps, mapDispatchToProps)(SignUp);
308 |
--------------------------------------------------------------------------------
/ios/ReactNativeRelayModern.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 /* ReactNativeRelayModernTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeRelayModernTests.m */; };
16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 18335D150C1C495F9446DA91 /* libRNSVG.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3055F733D74246A98935B0AB /* libRNSVG.a */; };
26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
36 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
37 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeRelayModernTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeRelayModernTests.m */; };
38 | 4AB791A98A9D4276997802BB /* libRNSnackbar.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 621E689DB10247F0B880EF2F /* libRNSnackbar.a */; };
39 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
40 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
41 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
42 | FB29DF7C1FF776BC00E78B74 /* libRCTCameraRoll.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FB29DF7A1FF7766700E78B74 /* libRCTCameraRoll.a */; };
43 | /* End PBXBuildFile section */
44 |
45 | /* Begin PBXContainerItemProxy section */
46 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
47 | isa = PBXContainerItemProxy;
48 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
49 | proxyType = 2;
50 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
51 | remoteInfo = RCTActionSheet;
52 | };
53 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
54 | isa = PBXContainerItemProxy;
55 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
56 | proxyType = 2;
57 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
58 | remoteInfo = RCTGeolocation;
59 | };
60 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
61 | isa = PBXContainerItemProxy;
62 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
63 | proxyType = 2;
64 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
65 | remoteInfo = RCTImage;
66 | };
67 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
68 | isa = PBXContainerItemProxy;
69 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
70 | proxyType = 2;
71 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
72 | remoteInfo = RCTNetwork;
73 | };
74 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
75 | isa = PBXContainerItemProxy;
76 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
77 | proxyType = 2;
78 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
79 | remoteInfo = RCTVibration;
80 | };
81 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
82 | isa = PBXContainerItemProxy;
83 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
84 | proxyType = 1;
85 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
86 | remoteInfo = ReactNativeRelayModern;
87 | };
88 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
89 | isa = PBXContainerItemProxy;
90 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
91 | proxyType = 2;
92 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
93 | remoteInfo = RCTSettings;
94 | };
95 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
96 | isa = PBXContainerItemProxy;
97 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
98 | proxyType = 2;
99 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
100 | remoteInfo = RCTWebSocket;
101 | };
102 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
103 | isa = PBXContainerItemProxy;
104 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
105 | proxyType = 2;
106 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
107 | remoteInfo = React;
108 | };
109 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
110 | isa = PBXContainerItemProxy;
111 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
112 | proxyType = 1;
113 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
114 | remoteInfo = "ReactNativeRelayModern-tvOS";
115 | };
116 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
117 | isa = PBXContainerItemProxy;
118 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
119 | proxyType = 2;
120 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
121 | remoteInfo = "RCTImage-tvOS";
122 | };
123 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
124 | isa = PBXContainerItemProxy;
125 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
126 | proxyType = 2;
127 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
128 | remoteInfo = "RCTLinking-tvOS";
129 | };
130 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
131 | isa = PBXContainerItemProxy;
132 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
133 | proxyType = 2;
134 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
135 | remoteInfo = "RCTNetwork-tvOS";
136 | };
137 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
138 | isa = PBXContainerItemProxy;
139 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
140 | proxyType = 2;
141 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
142 | remoteInfo = "RCTSettings-tvOS";
143 | };
144 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
145 | isa = PBXContainerItemProxy;
146 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
147 | proxyType = 2;
148 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
149 | remoteInfo = "RCTText-tvOS";
150 | };
151 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
152 | isa = PBXContainerItemProxy;
153 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
154 | proxyType = 2;
155 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
156 | remoteInfo = "RCTWebSocket-tvOS";
157 | };
158 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
159 | isa = PBXContainerItemProxy;
160 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
161 | proxyType = 2;
162 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
163 | remoteInfo = "React-tvOS";
164 | };
165 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
166 | isa = PBXContainerItemProxy;
167 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
168 | proxyType = 2;
169 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
170 | remoteInfo = yoga;
171 | };
172 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
173 | isa = PBXContainerItemProxy;
174 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
175 | proxyType = 2;
176 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
177 | remoteInfo = "yoga-tvOS";
178 | };
179 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
180 | isa = PBXContainerItemProxy;
181 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
182 | proxyType = 2;
183 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
184 | remoteInfo = cxxreact;
185 | };
186 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
187 | isa = PBXContainerItemProxy;
188 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
189 | proxyType = 2;
190 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
191 | remoteInfo = "cxxreact-tvOS";
192 | };
193 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
194 | isa = PBXContainerItemProxy;
195 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
196 | proxyType = 2;
197 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
198 | remoteInfo = jschelpers;
199 | };
200 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
201 | isa = PBXContainerItemProxy;
202 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
203 | proxyType = 2;
204 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
205 | remoteInfo = "jschelpers-tvOS";
206 | };
207 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
208 | isa = PBXContainerItemProxy;
209 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
210 | proxyType = 2;
211 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
212 | remoteInfo = RCTAnimation;
213 | };
214 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
215 | isa = PBXContainerItemProxy;
216 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
217 | proxyType = 2;
218 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
219 | remoteInfo = "RCTAnimation-tvOS";
220 | };
221 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
222 | isa = PBXContainerItemProxy;
223 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
224 | proxyType = 2;
225 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
226 | remoteInfo = RCTLinking;
227 | };
228 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
229 | isa = PBXContainerItemProxy;
230 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
231 | proxyType = 2;
232 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
233 | remoteInfo = RCTText;
234 | };
235 | 9D0D03451FE4BF2A00293863 /* PBXContainerItemProxy */ = {
236 | isa = PBXContainerItemProxy;
237 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
238 | proxyType = 2;
239 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
240 | remoteInfo = "RCTBlob-tvOS";
241 | };
242 | 9D0D03591FE4BF2B00293863 /* PBXContainerItemProxy */ = {
243 | isa = PBXContainerItemProxy;
244 | containerPortal = 97A35929A5594CFABD612C52 /* RNSVG.xcodeproj */;
245 | proxyType = 2;
246 | remoteGlobalIDString = 0CF68AC11AF0540F00FF9E5C;
247 | remoteInfo = RNSVG;
248 | };
249 | 9D0D035B1FE4BF2B00293863 /* PBXContainerItemProxy */ = {
250 | isa = PBXContainerItemProxy;
251 | containerPortal = 97A35929A5594CFABD612C52 /* RNSVG.xcodeproj */;
252 | proxyType = 2;
253 | remoteGlobalIDString = 9D0D033F1FE4BF2800293863;
254 | remoteInfo = "RNSVG-tvOS";
255 | };
256 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
257 | isa = PBXContainerItemProxy;
258 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
259 | proxyType = 2;
260 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
261 | remoteInfo = RCTBlob;
262 | };
263 | FB29DF4A1FF775C700E78B74 /* PBXContainerItemProxy */ = {
264 | isa = PBXContainerItemProxy;
265 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
266 | proxyType = 2;
267 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
268 | remoteInfo = fishhook;
269 | };
270 | FB29DF4C1FF775C700E78B74 /* PBXContainerItemProxy */ = {
271 | isa = PBXContainerItemProxy;
272 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
273 | proxyType = 2;
274 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
275 | remoteInfo = "fishhook-tvOS";
276 | };
277 | FB29DF5C1FF775C700E78B74 /* PBXContainerItemProxy */ = {
278 | isa = PBXContainerItemProxy;
279 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
280 | proxyType = 2;
281 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
282 | remoteInfo = "third-party";
283 | };
284 | FB29DF5E1FF775C700E78B74 /* PBXContainerItemProxy */ = {
285 | isa = PBXContainerItemProxy;
286 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
287 | proxyType = 2;
288 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
289 | remoteInfo = "third-party-tvOS";
290 | };
291 | FB29DF601FF775C700E78B74 /* PBXContainerItemProxy */ = {
292 | isa = PBXContainerItemProxy;
293 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
294 | proxyType = 2;
295 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
296 | remoteInfo = "double-conversion";
297 | };
298 | FB29DF621FF775C700E78B74 /* PBXContainerItemProxy */ = {
299 | isa = PBXContainerItemProxy;
300 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
301 | proxyType = 2;
302 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
303 | remoteInfo = "double-conversion-tvOS";
304 | };
305 | FB29DF641FF775C700E78B74 /* PBXContainerItemProxy */ = {
306 | isa = PBXContainerItemProxy;
307 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
308 | proxyType = 2;
309 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
310 | remoteInfo = privatedata;
311 | };
312 | FB29DF661FF775C700E78B74 /* PBXContainerItemProxy */ = {
313 | isa = PBXContainerItemProxy;
314 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
315 | proxyType = 2;
316 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
317 | remoteInfo = "privatedata-tvOS";
318 | };
319 | FB29DF6D1FF775C800E78B74 /* PBXContainerItemProxy */ = {
320 | isa = PBXContainerItemProxy;
321 | containerPortal = D6144CDF887C43E2AFCB2081 /* RNSnackbar.xcodeproj */;
322 | proxyType = 2;
323 | remoteGlobalIDString = 4114DC4C1C187C3A003CD988;
324 | remoteInfo = RNSnackbar;
325 | };
326 | FB29DF791FF7766700E78B74 /* PBXContainerItemProxy */ = {
327 | isa = PBXContainerItemProxy;
328 | containerPortal = FB29DF751FF7766700E78B74 /* RCTCameraRoll.xcodeproj */;
329 | proxyType = 2;
330 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
331 | remoteInfo = RCTCameraRoll;
332 | };
333 | /* End PBXContainerItemProxy section */
334 |
335 | /* Begin PBXFileReference section */
336 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
337 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
338 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
339 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
340 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
341 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
342 | 00E356EE1AD99517003FC87E /* ReactNativeRelayModernTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeRelayModernTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
343 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
344 | 00E356F21AD99517003FC87E /* ReactNativeRelayModernTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeRelayModernTests.m; sourceTree = ""; };
345 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
346 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
347 | 13B07F961A680F5B00A75B9A /* ReactNativeRelayModern.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeRelayModern.app; sourceTree = BUILT_PRODUCTS_DIR; };
348 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeRelayModern/AppDelegate.h; sourceTree = ""; };
349 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeRelayModern/AppDelegate.m; sourceTree = ""; };
350 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
351 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeRelayModern/Images.xcassets; sourceTree = ""; };
352 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeRelayModern/Info.plist; sourceTree = ""; };
353 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeRelayModern/main.m; sourceTree = ""; };
354 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
355 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeRelayModern-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
356 | 2D02E4901E0B4A5D006451C7 /* ReactNativeRelayModern-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeRelayModern-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
357 | 3055F733D74246A98935B0AB /* libRNSVG.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSVG.a; sourceTree = ""; };
358 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
359 | 621E689DB10247F0B880EF2F /* libRNSnackbar.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSnackbar.a; sourceTree = ""; };
360 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
361 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
362 | 97A35929A5594CFABD612C52 /* RNSVG.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSVG.xcodeproj; path = "../node_modules/react-native-svg/ios/RNSVG.xcodeproj"; sourceTree = ""; };
363 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
364 | D6144CDF887C43E2AFCB2081 /* RNSnackbar.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSnackbar.xcodeproj; path = "../node_modules/react-native-snackbar/ios/RNSnackbar.xcodeproj"; sourceTree = ""; };
365 | FB29DF751FF7766700E78B74 /* RCTCameraRoll.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTCameraRoll.xcodeproj; path = "../node_modules/react-native/Libraries/CameraRoll/RCTCameraRoll.xcodeproj"; sourceTree = ""; };
366 | /* End PBXFileReference section */
367 |
368 | /* Begin PBXFrameworksBuildPhase section */
369 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
370 | isa = PBXFrameworksBuildPhase;
371 | buildActionMask = 2147483647;
372 | files = (
373 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
374 | );
375 | runOnlyForDeploymentPostprocessing = 0;
376 | };
377 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
378 | isa = PBXFrameworksBuildPhase;
379 | buildActionMask = 2147483647;
380 | files = (
381 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
382 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
383 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
384 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
385 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
386 | FB29DF7C1FF776BC00E78B74 /* libRCTCameraRoll.a in Frameworks */,
387 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
388 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
389 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
390 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
391 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
392 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
393 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
394 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
395 | 18335D150C1C495F9446DA91 /* libRNSVG.a in Frameworks */,
396 | 4AB791A98A9D4276997802BB /* libRNSnackbar.a in Frameworks */,
397 | );
398 | runOnlyForDeploymentPostprocessing = 0;
399 | };
400 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
401 | isa = PBXFrameworksBuildPhase;
402 | buildActionMask = 2147483647;
403 | files = (
404 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
405 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
406 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
407 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
408 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
409 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
410 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
411 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
412 | );
413 | runOnlyForDeploymentPostprocessing = 0;
414 | };
415 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
416 | isa = PBXFrameworksBuildPhase;
417 | buildActionMask = 2147483647;
418 | files = (
419 | );
420 | runOnlyForDeploymentPostprocessing = 0;
421 | };
422 | /* End PBXFrameworksBuildPhase section */
423 |
424 | /* Begin PBXGroup section */
425 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
426 | isa = PBXGroup;
427 | children = (
428 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
429 | );
430 | name = Products;
431 | sourceTree = "";
432 | };
433 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
434 | isa = PBXGroup;
435 | children = (
436 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
437 | );
438 | name = Products;
439 | sourceTree = "";
440 | };
441 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
442 | isa = PBXGroup;
443 | children = (
444 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
445 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
446 | );
447 | name = Products;
448 | sourceTree = "";
449 | };
450 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
451 | isa = PBXGroup;
452 | children = (
453 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
454 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
455 | );
456 | name = Products;
457 | sourceTree = "";
458 | };
459 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
460 | isa = PBXGroup;
461 | children = (
462 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
463 | );
464 | name = Products;
465 | sourceTree = "";
466 | };
467 | 00E356EF1AD99517003FC87E /* ReactNativeRelayModernTests */ = {
468 | isa = PBXGroup;
469 | children = (
470 | 00E356F21AD99517003FC87E /* ReactNativeRelayModernTests.m */,
471 | 00E356F01AD99517003FC87E /* Supporting Files */,
472 | );
473 | path = ReactNativeRelayModernTests;
474 | sourceTree = "";
475 | };
476 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
477 | isa = PBXGroup;
478 | children = (
479 | 00E356F11AD99517003FC87E /* Info.plist */,
480 | );
481 | name = "Supporting Files";
482 | sourceTree = "";
483 | };
484 | 139105B71AF99BAD00B5F7CC /* Products */ = {
485 | isa = PBXGroup;
486 | children = (
487 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
488 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
489 | );
490 | name = Products;
491 | sourceTree = "";
492 | };
493 | 139FDEE71B06529A00C62182 /* Products */ = {
494 | isa = PBXGroup;
495 | children = (
496 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
497 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
498 | FB29DF4B1FF775C700E78B74 /* libfishhook.a */,
499 | FB29DF4D1FF775C700E78B74 /* libfishhook-tvOS.a */,
500 | );
501 | name = Products;
502 | sourceTree = "";
503 | };
504 | 13B07FAE1A68108700A75B9A /* ReactNativeRelayModern */ = {
505 | isa = PBXGroup;
506 | children = (
507 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
508 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
509 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
510 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
511 | 13B07FB61A68108700A75B9A /* Info.plist */,
512 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
513 | 13B07FB71A68108700A75B9A /* main.m */,
514 | );
515 | name = ReactNativeRelayModern;
516 | sourceTree = "";
517 | };
518 | 146834001AC3E56700842450 /* Products */ = {
519 | isa = PBXGroup;
520 | children = (
521 | 146834041AC3E56700842450 /* libReact.a */,
522 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
523 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
524 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
525 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
526 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
527 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
528 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
529 | FB29DF5D1FF775C700E78B74 /* libthird-party.a */,
530 | FB29DF5F1FF775C700E78B74 /* libthird-party.a */,
531 | FB29DF611FF775C700E78B74 /* libdouble-conversion.a */,
532 | FB29DF631FF775C700E78B74 /* libdouble-conversion.a */,
533 | FB29DF651FF775C700E78B74 /* libprivatedata.a */,
534 | FB29DF671FF775C700E78B74 /* libprivatedata-tvOS.a */,
535 | );
536 | name = Products;
537 | sourceTree = "";
538 | };
539 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
540 | isa = PBXGroup;
541 | children = (
542 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
543 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
544 | );
545 | name = Products;
546 | sourceTree = "";
547 | };
548 | 78C398B11ACF4ADC00677621 /* Products */ = {
549 | isa = PBXGroup;
550 | children = (
551 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
552 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
553 | );
554 | name = Products;
555 | sourceTree = "";
556 | };
557 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
558 | isa = PBXGroup;
559 | children = (
560 | FB29DF751FF7766700E78B74 /* RCTCameraRoll.xcodeproj */,
561 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
562 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
563 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
564 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
565 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
566 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
567 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
568 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
569 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
570 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
571 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
572 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
573 | 97A35929A5594CFABD612C52 /* RNSVG.xcodeproj */,
574 | D6144CDF887C43E2AFCB2081 /* RNSnackbar.xcodeproj */,
575 | );
576 | name = Libraries;
577 | sourceTree = "";
578 | };
579 | 832341B11AAA6A8300B99B32 /* Products */ = {
580 | isa = PBXGroup;
581 | children = (
582 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
583 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
584 | );
585 | name = Products;
586 | sourceTree = "";
587 | };
588 | 83CBB9F61A601CBA00E9B192 = {
589 | isa = PBXGroup;
590 | children = (
591 | 13B07FAE1A68108700A75B9A /* ReactNativeRelayModern */,
592 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
593 | 00E356EF1AD99517003FC87E /* ReactNativeRelayModernTests */,
594 | 83CBBA001A601CBA00E9B192 /* Products */,
595 | 9D0D033E1FE4BF2500293863 /* Recovered References */,
596 | FB29DF7B1FF776BC00E78B74 /* Frameworks */,
597 | );
598 | indentWidth = 2;
599 | sourceTree = "";
600 | tabWidth = 2;
601 | usesTabs = 0;
602 | };
603 | 83CBBA001A601CBA00E9B192 /* Products */ = {
604 | isa = PBXGroup;
605 | children = (
606 | 13B07F961A680F5B00A75B9A /* ReactNativeRelayModern.app */,
607 | 00E356EE1AD99517003FC87E /* ReactNativeRelayModernTests.xctest */,
608 | 2D02E47B1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS.app */,
609 | 2D02E4901E0B4A5D006451C7 /* ReactNativeRelayModern-tvOSTests.xctest */,
610 | );
611 | name = Products;
612 | sourceTree = "";
613 | };
614 | 9D0D033E1FE4BF2500293863 /* Recovered References */ = {
615 | isa = PBXGroup;
616 | children = (
617 | 3055F733D74246A98935B0AB /* libRNSVG.a */,
618 | 621E689DB10247F0B880EF2F /* libRNSnackbar.a */,
619 | );
620 | name = "Recovered References";
621 | sourceTree = "";
622 | };
623 | 9D0D03551FE4BF2A00293863 /* Products */ = {
624 | isa = PBXGroup;
625 | children = (
626 | 9D0D035A1FE4BF2B00293863 /* libRNSVG.a */,
627 | 9D0D035C1FE4BF2B00293863 /* libRNSVG-tvOS.a */,
628 | );
629 | name = Products;
630 | sourceTree = "";
631 | };
632 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
633 | isa = PBXGroup;
634 | children = (
635 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
636 | 9D0D03461FE4BF2A00293863 /* libRCTBlob-tvOS.a */,
637 | );
638 | name = Products;
639 | sourceTree = "";
640 | };
641 | FB29DF6A1FF775C700E78B74 /* Products */ = {
642 | isa = PBXGroup;
643 | children = (
644 | FB29DF6E1FF775C800E78B74 /* libRNSnackbar.a */,
645 | );
646 | name = Products;
647 | sourceTree = "";
648 | };
649 | FB29DF761FF7766700E78B74 /* Products */ = {
650 | isa = PBXGroup;
651 | children = (
652 | FB29DF7A1FF7766700E78B74 /* libRCTCameraRoll.a */,
653 | );
654 | name = Products;
655 | sourceTree = "";
656 | };
657 | FB29DF7B1FF776BC00E78B74 /* Frameworks */ = {
658 | isa = PBXGroup;
659 | children = (
660 | );
661 | name = Frameworks;
662 | sourceTree = "";
663 | };
664 | /* End PBXGroup section */
665 |
666 | /* Begin PBXNativeTarget section */
667 | 00E356ED1AD99517003FC87E /* ReactNativeRelayModernTests */ = {
668 | isa = PBXNativeTarget;
669 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeRelayModernTests" */;
670 | buildPhases = (
671 | 00E356EA1AD99517003FC87E /* Sources */,
672 | 00E356EB1AD99517003FC87E /* Frameworks */,
673 | 00E356EC1AD99517003FC87E /* Resources */,
674 | );
675 | buildRules = (
676 | );
677 | dependencies = (
678 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
679 | );
680 | name = ReactNativeRelayModernTests;
681 | productName = ReactNativeRelayModernTests;
682 | productReference = 00E356EE1AD99517003FC87E /* ReactNativeRelayModernTests.xctest */;
683 | productType = "com.apple.product-type.bundle.unit-test";
684 | };
685 | 13B07F861A680F5B00A75B9A /* ReactNativeRelayModern */ = {
686 | isa = PBXNativeTarget;
687 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern" */;
688 | buildPhases = (
689 | 13B07F871A680F5B00A75B9A /* Sources */,
690 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
691 | 13B07F8E1A680F5B00A75B9A /* Resources */,
692 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
693 | );
694 | buildRules = (
695 | );
696 | dependencies = (
697 | );
698 | name = ReactNativeRelayModern;
699 | productName = "Hello World";
700 | productReference = 13B07F961A680F5B00A75B9A /* ReactNativeRelayModern.app */;
701 | productType = "com.apple.product-type.application";
702 | };
703 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS */ = {
704 | isa = PBXNativeTarget;
705 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern-tvOS" */;
706 | buildPhases = (
707 | 2D02E4771E0B4A5D006451C7 /* Sources */,
708 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
709 | 2D02E4791E0B4A5D006451C7 /* Resources */,
710 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
711 | );
712 | buildRules = (
713 | );
714 | dependencies = (
715 | );
716 | name = "ReactNativeRelayModern-tvOS";
717 | productName = "ReactNativeRelayModern-tvOS";
718 | productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS.app */;
719 | productType = "com.apple.product-type.application";
720 | };
721 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOSTests */ = {
722 | isa = PBXNativeTarget;
723 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern-tvOSTests" */;
724 | buildPhases = (
725 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
726 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
727 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
728 | );
729 | buildRules = (
730 | );
731 | dependencies = (
732 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
733 | );
734 | name = "ReactNativeRelayModern-tvOSTests";
735 | productName = "ReactNativeRelayModern-tvOSTests";
736 | productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeRelayModern-tvOSTests.xctest */;
737 | productType = "com.apple.product-type.bundle.unit-test";
738 | };
739 | /* End PBXNativeTarget section */
740 |
741 | /* Begin PBXProject section */
742 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
743 | isa = PBXProject;
744 | attributes = {
745 | LastUpgradeCheck = 610;
746 | ORGANIZATIONNAME = Facebook;
747 | TargetAttributes = {
748 | 00E356ED1AD99517003FC87E = {
749 | CreatedOnToolsVersion = 6.2;
750 | TestTargetID = 13B07F861A680F5B00A75B9A;
751 | };
752 | 2D02E47A1E0B4A5D006451C7 = {
753 | CreatedOnToolsVersion = 8.2.1;
754 | ProvisioningStyle = Automatic;
755 | };
756 | 2D02E48F1E0B4A5D006451C7 = {
757 | CreatedOnToolsVersion = 8.2.1;
758 | ProvisioningStyle = Automatic;
759 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
760 | };
761 | };
762 | };
763 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeRelayModern" */;
764 | compatibilityVersion = "Xcode 3.2";
765 | developmentRegion = English;
766 | hasScannedForEncodings = 0;
767 | knownRegions = (
768 | en,
769 | Base,
770 | );
771 | mainGroup = 83CBB9F61A601CBA00E9B192;
772 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
773 | projectDirPath = "";
774 | projectReferences = (
775 | {
776 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
777 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
778 | },
779 | {
780 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
781 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
782 | },
783 | {
784 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
785 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
786 | },
787 | {
788 | ProductGroup = FB29DF761FF7766700E78B74 /* Products */;
789 | ProjectRef = FB29DF751FF7766700E78B74 /* RCTCameraRoll.xcodeproj */;
790 | },
791 | {
792 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
793 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
794 | },
795 | {
796 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
797 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
798 | },
799 | {
800 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
801 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
802 | },
803 | {
804 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
805 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
806 | },
807 | {
808 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
809 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
810 | },
811 | {
812 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
813 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
814 | },
815 | {
816 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
817 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
818 | },
819 | {
820 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
821 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
822 | },
823 | {
824 | ProductGroup = 146834001AC3E56700842450 /* Products */;
825 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
826 | },
827 | {
828 | ProductGroup = FB29DF6A1FF775C700E78B74 /* Products */;
829 | ProjectRef = D6144CDF887C43E2AFCB2081 /* RNSnackbar.xcodeproj */;
830 | },
831 | {
832 | ProductGroup = 9D0D03551FE4BF2A00293863 /* Products */;
833 | ProjectRef = 97A35929A5594CFABD612C52 /* RNSVG.xcodeproj */;
834 | },
835 | );
836 | projectRoot = "";
837 | targets = (
838 | 13B07F861A680F5B00A75B9A /* ReactNativeRelayModern */,
839 | 00E356ED1AD99517003FC87E /* ReactNativeRelayModernTests */,
840 | 2D02E47A1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS */,
841 | 2D02E48F1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOSTests */,
842 | );
843 | };
844 | /* End PBXProject section */
845 |
846 | /* Begin PBXReferenceProxy section */
847 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
848 | isa = PBXReferenceProxy;
849 | fileType = archive.ar;
850 | path = libRCTActionSheet.a;
851 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
852 | sourceTree = BUILT_PRODUCTS_DIR;
853 | };
854 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
855 | isa = PBXReferenceProxy;
856 | fileType = archive.ar;
857 | path = libRCTGeolocation.a;
858 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
859 | sourceTree = BUILT_PRODUCTS_DIR;
860 | };
861 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
862 | isa = PBXReferenceProxy;
863 | fileType = archive.ar;
864 | path = libRCTImage.a;
865 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
866 | sourceTree = BUILT_PRODUCTS_DIR;
867 | };
868 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
869 | isa = PBXReferenceProxy;
870 | fileType = archive.ar;
871 | path = libRCTNetwork.a;
872 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
873 | sourceTree = BUILT_PRODUCTS_DIR;
874 | };
875 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
876 | isa = PBXReferenceProxy;
877 | fileType = archive.ar;
878 | path = libRCTVibration.a;
879 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
880 | sourceTree = BUILT_PRODUCTS_DIR;
881 | };
882 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
883 | isa = PBXReferenceProxy;
884 | fileType = archive.ar;
885 | path = libRCTSettings.a;
886 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
887 | sourceTree = BUILT_PRODUCTS_DIR;
888 | };
889 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
890 | isa = PBXReferenceProxy;
891 | fileType = archive.ar;
892 | path = libRCTWebSocket.a;
893 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
894 | sourceTree = BUILT_PRODUCTS_DIR;
895 | };
896 | 146834041AC3E56700842450 /* libReact.a */ = {
897 | isa = PBXReferenceProxy;
898 | fileType = archive.ar;
899 | path = libReact.a;
900 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
901 | sourceTree = BUILT_PRODUCTS_DIR;
902 | };
903 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
904 | isa = PBXReferenceProxy;
905 | fileType = archive.ar;
906 | path = "libRCTImage-tvOS.a";
907 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
908 | sourceTree = BUILT_PRODUCTS_DIR;
909 | };
910 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
911 | isa = PBXReferenceProxy;
912 | fileType = archive.ar;
913 | path = "libRCTLinking-tvOS.a";
914 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
915 | sourceTree = BUILT_PRODUCTS_DIR;
916 | };
917 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
918 | isa = PBXReferenceProxy;
919 | fileType = archive.ar;
920 | path = "libRCTNetwork-tvOS.a";
921 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
922 | sourceTree = BUILT_PRODUCTS_DIR;
923 | };
924 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
925 | isa = PBXReferenceProxy;
926 | fileType = archive.ar;
927 | path = "libRCTSettings-tvOS.a";
928 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
929 | sourceTree = BUILT_PRODUCTS_DIR;
930 | };
931 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
932 | isa = PBXReferenceProxy;
933 | fileType = archive.ar;
934 | path = "libRCTText-tvOS.a";
935 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
936 | sourceTree = BUILT_PRODUCTS_DIR;
937 | };
938 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
939 | isa = PBXReferenceProxy;
940 | fileType = archive.ar;
941 | path = "libRCTWebSocket-tvOS.a";
942 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
943 | sourceTree = BUILT_PRODUCTS_DIR;
944 | };
945 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
946 | isa = PBXReferenceProxy;
947 | fileType = archive.ar;
948 | path = libReact.a;
949 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
950 | sourceTree = BUILT_PRODUCTS_DIR;
951 | };
952 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
953 | isa = PBXReferenceProxy;
954 | fileType = archive.ar;
955 | path = libyoga.a;
956 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
957 | sourceTree = BUILT_PRODUCTS_DIR;
958 | };
959 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
960 | isa = PBXReferenceProxy;
961 | fileType = archive.ar;
962 | path = libyoga.a;
963 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
964 | sourceTree = BUILT_PRODUCTS_DIR;
965 | };
966 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
967 | isa = PBXReferenceProxy;
968 | fileType = archive.ar;
969 | path = libcxxreact.a;
970 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
971 | sourceTree = BUILT_PRODUCTS_DIR;
972 | };
973 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
974 | isa = PBXReferenceProxy;
975 | fileType = archive.ar;
976 | path = libcxxreact.a;
977 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
978 | sourceTree = BUILT_PRODUCTS_DIR;
979 | };
980 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
981 | isa = PBXReferenceProxy;
982 | fileType = archive.ar;
983 | path = libjschelpers.a;
984 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
985 | sourceTree = BUILT_PRODUCTS_DIR;
986 | };
987 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
988 | isa = PBXReferenceProxy;
989 | fileType = archive.ar;
990 | path = libjschelpers.a;
991 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
992 | sourceTree = BUILT_PRODUCTS_DIR;
993 | };
994 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
995 | isa = PBXReferenceProxy;
996 | fileType = archive.ar;
997 | path = libRCTAnimation.a;
998 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
999 | sourceTree = BUILT_PRODUCTS_DIR;
1000 | };
1001 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1002 | isa = PBXReferenceProxy;
1003 | fileType = archive.ar;
1004 | path = libRCTAnimation.a;
1005 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1006 | sourceTree = BUILT_PRODUCTS_DIR;
1007 | };
1008 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1009 | isa = PBXReferenceProxy;
1010 | fileType = archive.ar;
1011 | path = libRCTLinking.a;
1012 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1013 | sourceTree = BUILT_PRODUCTS_DIR;
1014 | };
1015 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1016 | isa = PBXReferenceProxy;
1017 | fileType = archive.ar;
1018 | path = libRCTText.a;
1019 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1020 | sourceTree = BUILT_PRODUCTS_DIR;
1021 | };
1022 | 9D0D03461FE4BF2A00293863 /* libRCTBlob-tvOS.a */ = {
1023 | isa = PBXReferenceProxy;
1024 | fileType = archive.ar;
1025 | path = "libRCTBlob-tvOS.a";
1026 | remoteRef = 9D0D03451FE4BF2A00293863 /* PBXContainerItemProxy */;
1027 | sourceTree = BUILT_PRODUCTS_DIR;
1028 | };
1029 | 9D0D035A1FE4BF2B00293863 /* libRNSVG.a */ = {
1030 | isa = PBXReferenceProxy;
1031 | fileType = archive.ar;
1032 | path = libRNSVG.a;
1033 | remoteRef = 9D0D03591FE4BF2B00293863 /* PBXContainerItemProxy */;
1034 | sourceTree = BUILT_PRODUCTS_DIR;
1035 | };
1036 | 9D0D035C1FE4BF2B00293863 /* libRNSVG-tvOS.a */ = {
1037 | isa = PBXReferenceProxy;
1038 | fileType = archive.ar;
1039 | path = "libRNSVG-tvOS.a";
1040 | remoteRef = 9D0D035B1FE4BF2B00293863 /* PBXContainerItemProxy */;
1041 | sourceTree = BUILT_PRODUCTS_DIR;
1042 | };
1043 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1044 | isa = PBXReferenceProxy;
1045 | fileType = archive.ar;
1046 | path = libRCTBlob.a;
1047 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1048 | sourceTree = BUILT_PRODUCTS_DIR;
1049 | };
1050 | FB29DF4B1FF775C700E78B74 /* libfishhook.a */ = {
1051 | isa = PBXReferenceProxy;
1052 | fileType = archive.ar;
1053 | path = libfishhook.a;
1054 | remoteRef = FB29DF4A1FF775C700E78B74 /* PBXContainerItemProxy */;
1055 | sourceTree = BUILT_PRODUCTS_DIR;
1056 | };
1057 | FB29DF4D1FF775C700E78B74 /* libfishhook-tvOS.a */ = {
1058 | isa = PBXReferenceProxy;
1059 | fileType = archive.ar;
1060 | path = "libfishhook-tvOS.a";
1061 | remoteRef = FB29DF4C1FF775C700E78B74 /* PBXContainerItemProxy */;
1062 | sourceTree = BUILT_PRODUCTS_DIR;
1063 | };
1064 | FB29DF5D1FF775C700E78B74 /* libthird-party.a */ = {
1065 | isa = PBXReferenceProxy;
1066 | fileType = archive.ar;
1067 | path = "libthird-party.a";
1068 | remoteRef = FB29DF5C1FF775C700E78B74 /* PBXContainerItemProxy */;
1069 | sourceTree = BUILT_PRODUCTS_DIR;
1070 | };
1071 | FB29DF5F1FF775C700E78B74 /* libthird-party.a */ = {
1072 | isa = PBXReferenceProxy;
1073 | fileType = archive.ar;
1074 | path = "libthird-party.a";
1075 | remoteRef = FB29DF5E1FF775C700E78B74 /* PBXContainerItemProxy */;
1076 | sourceTree = BUILT_PRODUCTS_DIR;
1077 | };
1078 | FB29DF611FF775C700E78B74 /* libdouble-conversion.a */ = {
1079 | isa = PBXReferenceProxy;
1080 | fileType = archive.ar;
1081 | path = "libdouble-conversion.a";
1082 | remoteRef = FB29DF601FF775C700E78B74 /* PBXContainerItemProxy */;
1083 | sourceTree = BUILT_PRODUCTS_DIR;
1084 | };
1085 | FB29DF631FF775C700E78B74 /* libdouble-conversion.a */ = {
1086 | isa = PBXReferenceProxy;
1087 | fileType = archive.ar;
1088 | path = "libdouble-conversion.a";
1089 | remoteRef = FB29DF621FF775C700E78B74 /* PBXContainerItemProxy */;
1090 | sourceTree = BUILT_PRODUCTS_DIR;
1091 | };
1092 | FB29DF651FF775C700E78B74 /* libprivatedata.a */ = {
1093 | isa = PBXReferenceProxy;
1094 | fileType = archive.ar;
1095 | path = libprivatedata.a;
1096 | remoteRef = FB29DF641FF775C700E78B74 /* PBXContainerItemProxy */;
1097 | sourceTree = BUILT_PRODUCTS_DIR;
1098 | };
1099 | FB29DF671FF775C700E78B74 /* libprivatedata-tvOS.a */ = {
1100 | isa = PBXReferenceProxy;
1101 | fileType = archive.ar;
1102 | path = "libprivatedata-tvOS.a";
1103 | remoteRef = FB29DF661FF775C700E78B74 /* PBXContainerItemProxy */;
1104 | sourceTree = BUILT_PRODUCTS_DIR;
1105 | };
1106 | FB29DF6E1FF775C800E78B74 /* libRNSnackbar.a */ = {
1107 | isa = PBXReferenceProxy;
1108 | fileType = archive.ar;
1109 | path = libRNSnackbar.a;
1110 | remoteRef = FB29DF6D1FF775C800E78B74 /* PBXContainerItemProxy */;
1111 | sourceTree = BUILT_PRODUCTS_DIR;
1112 | };
1113 | FB29DF7A1FF7766700E78B74 /* libRCTCameraRoll.a */ = {
1114 | isa = PBXReferenceProxy;
1115 | fileType = archive.ar;
1116 | path = libRCTCameraRoll.a;
1117 | remoteRef = FB29DF791FF7766700E78B74 /* PBXContainerItemProxy */;
1118 | sourceTree = BUILT_PRODUCTS_DIR;
1119 | };
1120 | /* End PBXReferenceProxy section */
1121 |
1122 | /* Begin PBXResourcesBuildPhase section */
1123 | 00E356EC1AD99517003FC87E /* Resources */ = {
1124 | isa = PBXResourcesBuildPhase;
1125 | buildActionMask = 2147483647;
1126 | files = (
1127 | );
1128 | runOnlyForDeploymentPostprocessing = 0;
1129 | };
1130 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1131 | isa = PBXResourcesBuildPhase;
1132 | buildActionMask = 2147483647;
1133 | files = (
1134 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1135 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1136 | );
1137 | runOnlyForDeploymentPostprocessing = 0;
1138 | };
1139 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1140 | isa = PBXResourcesBuildPhase;
1141 | buildActionMask = 2147483647;
1142 | files = (
1143 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1144 | );
1145 | runOnlyForDeploymentPostprocessing = 0;
1146 | };
1147 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1148 | isa = PBXResourcesBuildPhase;
1149 | buildActionMask = 2147483647;
1150 | files = (
1151 | );
1152 | runOnlyForDeploymentPostprocessing = 0;
1153 | };
1154 | /* End PBXResourcesBuildPhase section */
1155 |
1156 | /* Begin PBXShellScriptBuildPhase section */
1157 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1158 | isa = PBXShellScriptBuildPhase;
1159 | buildActionMask = 2147483647;
1160 | files = (
1161 | );
1162 | inputPaths = (
1163 | );
1164 | name = "Bundle React Native code and images";
1165 | outputPaths = (
1166 | );
1167 | runOnlyForDeploymentPostprocessing = 0;
1168 | shellPath = /bin/sh;
1169 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1170 | };
1171 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1172 | isa = PBXShellScriptBuildPhase;
1173 | buildActionMask = 2147483647;
1174 | files = (
1175 | );
1176 | inputPaths = (
1177 | );
1178 | name = "Bundle React Native Code And Images";
1179 | outputPaths = (
1180 | );
1181 | runOnlyForDeploymentPostprocessing = 0;
1182 | shellPath = /bin/sh;
1183 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1184 | };
1185 | /* End PBXShellScriptBuildPhase section */
1186 |
1187 | /* Begin PBXSourcesBuildPhase section */
1188 | 00E356EA1AD99517003FC87E /* Sources */ = {
1189 | isa = PBXSourcesBuildPhase;
1190 | buildActionMask = 2147483647;
1191 | files = (
1192 | 00E356F31AD99517003FC87E /* ReactNativeRelayModernTests.m in Sources */,
1193 | );
1194 | runOnlyForDeploymentPostprocessing = 0;
1195 | };
1196 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1197 | isa = PBXSourcesBuildPhase;
1198 | buildActionMask = 2147483647;
1199 | files = (
1200 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1201 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1202 | );
1203 | runOnlyForDeploymentPostprocessing = 0;
1204 | };
1205 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1206 | isa = PBXSourcesBuildPhase;
1207 | buildActionMask = 2147483647;
1208 | files = (
1209 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1210 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1211 | );
1212 | runOnlyForDeploymentPostprocessing = 0;
1213 | };
1214 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1215 | isa = PBXSourcesBuildPhase;
1216 | buildActionMask = 2147483647;
1217 | files = (
1218 | 2DCD954D1E0B4F2C00145EB5 /* ReactNativeRelayModernTests.m in Sources */,
1219 | );
1220 | runOnlyForDeploymentPostprocessing = 0;
1221 | };
1222 | /* End PBXSourcesBuildPhase section */
1223 |
1224 | /* Begin PBXTargetDependency section */
1225 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1226 | isa = PBXTargetDependency;
1227 | target = 13B07F861A680F5B00A75B9A /* ReactNativeRelayModern */;
1228 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1229 | };
1230 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1231 | isa = PBXTargetDependency;
1232 | target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeRelayModern-tvOS */;
1233 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1234 | };
1235 | /* End PBXTargetDependency section */
1236 |
1237 | /* Begin PBXVariantGroup section */
1238 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1239 | isa = PBXVariantGroup;
1240 | children = (
1241 | 13B07FB21A68108700A75B9A /* Base */,
1242 | );
1243 | name = LaunchScreen.xib;
1244 | path = ReactNativeRelayModern;
1245 | sourceTree = "";
1246 | };
1247 | /* End PBXVariantGroup section */
1248 |
1249 | /* Begin XCBuildConfiguration section */
1250 | 00E356F61AD99517003FC87E /* Debug */ = {
1251 | isa = XCBuildConfiguration;
1252 | buildSettings = {
1253 | BUNDLE_LOADER = "$(TEST_HOST)";
1254 | GCC_PREPROCESSOR_DEFINITIONS = (
1255 | "DEBUG=1",
1256 | "$(inherited)",
1257 | );
1258 | HEADER_SEARCH_PATHS = (
1259 | "$(inherited)",
1260 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1261 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1262 | );
1263 | INFOPLIST_FILE = ReactNativeRelayModernTests/Info.plist;
1264 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1265 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1266 | LIBRARY_SEARCH_PATHS = (
1267 | "$(inherited)",
1268 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1269 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1270 | );
1271 | OTHER_LDFLAGS = (
1272 | "-ObjC",
1273 | "-lc++",
1274 | );
1275 | PRODUCT_NAME = "$(TARGET_NAME)";
1276 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeRelayModern.app/ReactNativeRelayModern";
1277 | };
1278 | name = Debug;
1279 | };
1280 | 00E356F71AD99517003FC87E /* Release */ = {
1281 | isa = XCBuildConfiguration;
1282 | buildSettings = {
1283 | BUNDLE_LOADER = "$(TEST_HOST)";
1284 | COPY_PHASE_STRIP = NO;
1285 | HEADER_SEARCH_PATHS = (
1286 | "$(inherited)",
1287 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1288 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1289 | );
1290 | INFOPLIST_FILE = ReactNativeRelayModernTests/Info.plist;
1291 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1292 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1293 | LIBRARY_SEARCH_PATHS = (
1294 | "$(inherited)",
1295 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1296 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1297 | );
1298 | OTHER_LDFLAGS = (
1299 | "-ObjC",
1300 | "-lc++",
1301 | );
1302 | PRODUCT_NAME = "$(TARGET_NAME)";
1303 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeRelayModern.app/ReactNativeRelayModern";
1304 | };
1305 | name = Release;
1306 | };
1307 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1308 | isa = XCBuildConfiguration;
1309 | buildSettings = {
1310 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1311 | CURRENT_PROJECT_VERSION = 1;
1312 | DEAD_CODE_STRIPPING = NO;
1313 | HEADER_SEARCH_PATHS = (
1314 | "$(inherited)",
1315 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1316 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1317 | );
1318 | INFOPLIST_FILE = ReactNativeRelayModern/Info.plist;
1319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1320 | OTHER_LDFLAGS = (
1321 | "$(inherited)",
1322 | "-ObjC",
1323 | "-lc++",
1324 | );
1325 | PRODUCT_NAME = ReactNativeRelayModern;
1326 | VERSIONING_SYSTEM = "apple-generic";
1327 | };
1328 | name = Debug;
1329 | };
1330 | 13B07F951A680F5B00A75B9A /* Release */ = {
1331 | isa = XCBuildConfiguration;
1332 | buildSettings = {
1333 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1334 | CURRENT_PROJECT_VERSION = 1;
1335 | HEADER_SEARCH_PATHS = (
1336 | "$(inherited)",
1337 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1338 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1339 | );
1340 | INFOPLIST_FILE = ReactNativeRelayModern/Info.plist;
1341 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1342 | OTHER_LDFLAGS = (
1343 | "$(inherited)",
1344 | "-ObjC",
1345 | "-lc++",
1346 | );
1347 | PRODUCT_NAME = ReactNativeRelayModern;
1348 | VERSIONING_SYSTEM = "apple-generic";
1349 | };
1350 | name = Release;
1351 | };
1352 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1353 | isa = XCBuildConfiguration;
1354 | buildSettings = {
1355 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1356 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1357 | CLANG_ANALYZER_NONNULL = YES;
1358 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1359 | CLANG_WARN_INFINITE_RECURSION = YES;
1360 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1361 | DEBUG_INFORMATION_FORMAT = dwarf;
1362 | ENABLE_TESTABILITY = YES;
1363 | GCC_NO_COMMON_BLOCKS = YES;
1364 | HEADER_SEARCH_PATHS = (
1365 | "$(inherited)",
1366 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1367 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1368 | );
1369 | INFOPLIST_FILE = "ReactNativeRelayModern-tvOS/Info.plist";
1370 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1371 | LIBRARY_SEARCH_PATHS = (
1372 | "$(inherited)",
1373 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1374 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1375 | );
1376 | OTHER_LDFLAGS = (
1377 | "-ObjC",
1378 | "-lc++",
1379 | );
1380 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeRelayModern-tvOS";
1381 | PRODUCT_NAME = "$(TARGET_NAME)";
1382 | SDKROOT = appletvos;
1383 | TARGETED_DEVICE_FAMILY = 3;
1384 | TVOS_DEPLOYMENT_TARGET = 9.2;
1385 | };
1386 | name = Debug;
1387 | };
1388 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1389 | isa = XCBuildConfiguration;
1390 | buildSettings = {
1391 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1392 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1393 | CLANG_ANALYZER_NONNULL = YES;
1394 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1395 | CLANG_WARN_INFINITE_RECURSION = YES;
1396 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1397 | COPY_PHASE_STRIP = NO;
1398 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1399 | GCC_NO_COMMON_BLOCKS = YES;
1400 | HEADER_SEARCH_PATHS = (
1401 | "$(inherited)",
1402 | "$(SRCROOT)/../node_modules/react-native-svg/ios/**",
1403 | "$(SRCROOT)/../node_modules/react-native-snackbar/ios",
1404 | );
1405 | INFOPLIST_FILE = "ReactNativeRelayModern-tvOS/Info.plist";
1406 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1407 | LIBRARY_SEARCH_PATHS = (
1408 | "$(inherited)",
1409 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1410 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1411 | );
1412 | OTHER_LDFLAGS = (
1413 | "-ObjC",
1414 | "-lc++",
1415 | );
1416 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeRelayModern-tvOS";
1417 | PRODUCT_NAME = "$(TARGET_NAME)";
1418 | SDKROOT = appletvos;
1419 | TARGETED_DEVICE_FAMILY = 3;
1420 | TVOS_DEPLOYMENT_TARGET = 9.2;
1421 | };
1422 | name = Release;
1423 | };
1424 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1425 | isa = XCBuildConfiguration;
1426 | buildSettings = {
1427 | BUNDLE_LOADER = "$(TEST_HOST)";
1428 | CLANG_ANALYZER_NONNULL = YES;
1429 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1430 | CLANG_WARN_INFINITE_RECURSION = YES;
1431 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1432 | DEBUG_INFORMATION_FORMAT = dwarf;
1433 | ENABLE_TESTABILITY = YES;
1434 | GCC_NO_COMMON_BLOCKS = YES;
1435 | INFOPLIST_FILE = "ReactNativeRelayModern-tvOSTests/Info.plist";
1436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1437 | LIBRARY_SEARCH_PATHS = (
1438 | "$(inherited)",
1439 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1440 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1441 | );
1442 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeRelayModern-tvOSTests";
1443 | PRODUCT_NAME = "$(TARGET_NAME)";
1444 | SDKROOT = appletvos;
1445 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeRelayModern-tvOS.app/ReactNativeRelayModern-tvOS";
1446 | TVOS_DEPLOYMENT_TARGET = 10.1;
1447 | };
1448 | name = Debug;
1449 | };
1450 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1451 | isa = XCBuildConfiguration;
1452 | buildSettings = {
1453 | BUNDLE_LOADER = "$(TEST_HOST)";
1454 | CLANG_ANALYZER_NONNULL = YES;
1455 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1456 | CLANG_WARN_INFINITE_RECURSION = YES;
1457 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1458 | COPY_PHASE_STRIP = NO;
1459 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1460 | GCC_NO_COMMON_BLOCKS = YES;
1461 | INFOPLIST_FILE = "ReactNativeRelayModern-tvOSTests/Info.plist";
1462 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1463 | LIBRARY_SEARCH_PATHS = (
1464 | "$(inherited)",
1465 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1466 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1467 | );
1468 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeRelayModern-tvOSTests";
1469 | PRODUCT_NAME = "$(TARGET_NAME)";
1470 | SDKROOT = appletvos;
1471 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeRelayModern-tvOS.app/ReactNativeRelayModern-tvOS";
1472 | TVOS_DEPLOYMENT_TARGET = 10.1;
1473 | };
1474 | name = Release;
1475 | };
1476 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1477 | isa = XCBuildConfiguration;
1478 | buildSettings = {
1479 | ALWAYS_SEARCH_USER_PATHS = NO;
1480 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1481 | CLANG_CXX_LIBRARY = "libc++";
1482 | CLANG_ENABLE_MODULES = YES;
1483 | CLANG_ENABLE_OBJC_ARC = YES;
1484 | CLANG_WARN_BOOL_CONVERSION = YES;
1485 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1486 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1487 | CLANG_WARN_EMPTY_BODY = YES;
1488 | CLANG_WARN_ENUM_CONVERSION = YES;
1489 | CLANG_WARN_INT_CONVERSION = YES;
1490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1491 | CLANG_WARN_UNREACHABLE_CODE = YES;
1492 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1493 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1494 | COPY_PHASE_STRIP = NO;
1495 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1496 | GCC_C_LANGUAGE_STANDARD = gnu99;
1497 | GCC_DYNAMIC_NO_PIC = NO;
1498 | GCC_OPTIMIZATION_LEVEL = 0;
1499 | GCC_PREPROCESSOR_DEFINITIONS = (
1500 | "DEBUG=1",
1501 | "$(inherited)",
1502 | );
1503 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1504 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1505 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1506 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1507 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1508 | GCC_WARN_UNUSED_FUNCTION = YES;
1509 | GCC_WARN_UNUSED_VARIABLE = YES;
1510 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1511 | MTL_ENABLE_DEBUG_INFO = YES;
1512 | ONLY_ACTIVE_ARCH = YES;
1513 | SDKROOT = iphoneos;
1514 | };
1515 | name = Debug;
1516 | };
1517 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1518 | isa = XCBuildConfiguration;
1519 | buildSettings = {
1520 | ALWAYS_SEARCH_USER_PATHS = NO;
1521 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1522 | CLANG_CXX_LIBRARY = "libc++";
1523 | CLANG_ENABLE_MODULES = YES;
1524 | CLANG_ENABLE_OBJC_ARC = YES;
1525 | CLANG_WARN_BOOL_CONVERSION = YES;
1526 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1527 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1528 | CLANG_WARN_EMPTY_BODY = YES;
1529 | CLANG_WARN_ENUM_CONVERSION = YES;
1530 | CLANG_WARN_INT_CONVERSION = YES;
1531 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1532 | CLANG_WARN_UNREACHABLE_CODE = YES;
1533 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1534 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1535 | COPY_PHASE_STRIP = YES;
1536 | ENABLE_NS_ASSERTIONS = NO;
1537 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1538 | GCC_C_LANGUAGE_STANDARD = gnu99;
1539 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1540 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1541 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1542 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1543 | GCC_WARN_UNUSED_FUNCTION = YES;
1544 | GCC_WARN_UNUSED_VARIABLE = YES;
1545 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1546 | MTL_ENABLE_DEBUG_INFO = NO;
1547 | SDKROOT = iphoneos;
1548 | VALIDATE_PRODUCT = YES;
1549 | };
1550 | name = Release;
1551 | };
1552 | /* End XCBuildConfiguration section */
1553 |
1554 | /* Begin XCConfigurationList section */
1555 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeRelayModernTests" */ = {
1556 | isa = XCConfigurationList;
1557 | buildConfigurations = (
1558 | 00E356F61AD99517003FC87E /* Debug */,
1559 | 00E356F71AD99517003FC87E /* Release */,
1560 | );
1561 | defaultConfigurationIsVisible = 0;
1562 | defaultConfigurationName = Release;
1563 | };
1564 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern" */ = {
1565 | isa = XCConfigurationList;
1566 | buildConfigurations = (
1567 | 13B07F941A680F5B00A75B9A /* Debug */,
1568 | 13B07F951A680F5B00A75B9A /* Release */,
1569 | );
1570 | defaultConfigurationIsVisible = 0;
1571 | defaultConfigurationName = Release;
1572 | };
1573 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern-tvOS" */ = {
1574 | isa = XCConfigurationList;
1575 | buildConfigurations = (
1576 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1577 | 2D02E4981E0B4A5E006451C7 /* Release */,
1578 | );
1579 | defaultConfigurationIsVisible = 0;
1580 | defaultConfigurationName = Release;
1581 | };
1582 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeRelayModern-tvOSTests" */ = {
1583 | isa = XCConfigurationList;
1584 | buildConfigurations = (
1585 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1586 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1587 | );
1588 | defaultConfigurationIsVisible = 0;
1589 | defaultConfigurationName = Release;
1590 | };
1591 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeRelayModern" */ = {
1592 | isa = XCConfigurationList;
1593 | buildConfigurations = (
1594 | 83CBBA201A601CBA00E9B192 /* Debug */,
1595 | 83CBBA211A601CBA00E9B192 /* Release */,
1596 | );
1597 | defaultConfigurationIsVisible = 0;
1598 | defaultConfigurationName = Release;
1599 | };
1600 | /* End XCConfigurationList section */
1601 | };
1602 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1603 | }
1604 |
--------------------------------------------------------------------------------