├── .watchmanconfig ├── .babelrc ├── .gitattributes ├── app.json ├── .eslintrc ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Feather.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── AntDesign.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ ├── FontAwesome5_Brands.ttf │ │ │ │ ├── FontAwesome5_Solid.ttf │ │ │ │ ├── FontAwesome5_Regular.ttf │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── forextrendfinder │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ ├── BUCK │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── gradle.properties ├── build.gradle ├── gradlew.bat └── gradlew ├── ios ├── ForexTrendFinder │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── ForexTrendFinderTests │ ├── Info.plist │ └── ForexTrendFinderTests.m ├── ForexTrendFinder-tvOSTests │ └── Info.plist ├── ForexTrendFinder-tvOS │ └── Info.plist └── ForexTrendFinder.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── ForexTrendFinder.xcscheme │ │ └── ForexTrendFinder-tvOS.xcscheme │ └── project.pbxproj ├── src ├── actions │ ├── index.js │ ├── types.js │ ├── DataActions.js │ └── AuthActions.js ├── common │ ├── index.js │ ├── Card.js │ ├── Spinner.js │ ├── CardSection.js │ ├── Header.js │ ├── Button.js │ └── Input.js ├── reducers │ ├── index.js │ ├── DataReducer.js │ └── AuthReducer.js ├── Router.js ├── screens │ ├── Logout.js │ ├── Daily.js │ ├── Login.js │ └── Register.js ├── App.js ├── Navigate.js └── Styles.js ├── .buckconfig ├── index.js ├── package.json ├── .gitignore ├── README.md ├── .flowconfig └── GoogleAppScript.js /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["module:metro-react-native-babel-preset"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ForexTrendFinder", 3 | "displayName": "ForexTrendFinder" 4 | } 5 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "rallycoding", 3 | "rules": { 4 | "arrow-body-style": 0 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ForexTrendFinder 3 | 4 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/actions/index.js: -------------------------------------------------------------------------------- 1 | //export Redux actions for use elsewhere in the App 2 | export * from './AuthActions'; 3 | export * from './DataActions'; 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/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/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/rachhunter/ForexTrendFinder/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/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachhunter/ForexTrendFinder/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.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 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | //Register the App and reference ./src/App.js for code 2 | 3 | import { AppRegistry } from 'react-native'; 4 | import App from './src/App'; 5 | import { name as appName } from './app.json'; 6 | 7 | AppRegistry.registerComponent(appName, () => App); 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 6 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ForexTrendFinder' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /src/common/index.js: -------------------------------------------------------------------------------- 1 | //export files in the 'common' directory for use elsewhere in the App 2 | export * from './Button'; 3 | export * from './Card'; 4 | export * from './CardSection'; 5 | export * from './Header'; 6 | export * from './Input'; 7 | export * from './Spinner'; 8 | -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- 1 | //export and combine Redux reducers for use elsewhere in the App 2 | import { combineReducers } from 'redux'; 3 | import AuthReducer from './AuthReducer'; 4 | import DataReducer from './DataReducer'; 5 | 6 | export default combineReducers({ 7 | auth: AuthReducer, 8 | data: DataReducer 9 | }); 10 | -------------------------------------------------------------------------------- /src/common/Card.js: -------------------------------------------------------------------------------- 1 | //reuseable page design (called 'card') with common styling 2 | import React from 'react'; 3 | import { View } from 'react-native'; 4 | import styles from '../Styles'; 5 | 6 | const Card = (props) => { 7 | const { cardStyle } = styles; 8 | 9 | return ( 10 | 11 | {props.children} 12 | 13 | ); 14 | }; 15 | 16 | export { Card }; 17 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/common/Spinner.js: -------------------------------------------------------------------------------- 1 | //reuseable spinner with common styling 2 | import React from 'react'; 3 | import { View, ActivityIndicator } from 'react-native'; 4 | import styles from '../Styles'; 5 | 6 | const Spinner = ({ size }) => { 7 | const { spinnerStyle } = styles; 8 | 9 | return ( 10 | 11 | 12 | 13 | ); 14 | }; 15 | 16 | export { Spinner }; 17 | -------------------------------------------------------------------------------- /src/common/CardSection.js: -------------------------------------------------------------------------------- 1 | //reuseable page section design (called 'card section') with common styling 2 | import React from 'react'; 3 | import { View } from 'react-native'; 4 | import styles from '../Styles'; 5 | 6 | const CardSection = (props) => { 7 | const { cardsectionStyle } = styles; 8 | 9 | return ( 10 | 11 | {props.children} 12 | 13 | ); 14 | }; 15 | 16 | export { CardSection }; 17 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/forextrendfinder/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.forextrendfinder; 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 "ForexTrendFinder"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/common/Header.js: -------------------------------------------------------------------------------- 1 | //reuseable header design with common styling 2 | 3 | import React from 'react'; 4 | import { View, Text } from 'react-native'; 5 | import styles from '../Styles'; 6 | 7 | const Header = ({ children }) => { 8 | const { headerUserDetailsText, headerSectionStyle } = styles; 9 | 10 | return ( 11 | 12 | 13 | {children} 14 | 15 | 16 | ); 17 | }; 18 | 19 | export { Header }; 20 | -------------------------------------------------------------------------------- /src/common/Button.js: -------------------------------------------------------------------------------- 1 | //reuseable button design with common styling 2 | import React from 'react'; 3 | import { Text, TouchableOpacity } from 'react-native'; 4 | import styles from '../Styles'; 5 | 6 | const Button = ({ onPress, children }) => { 7 | const { buttonStyle, ButtonTextStyle } = styles; 8 | return ( 9 | 10 | 11 | {children} 12 | 13 | 14 | ); 15 | }; 16 | 17 | export { Button }; 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/Router.js: -------------------------------------------------------------------------------- 1 | // Determines which screen to show to the user, depending on 'user' state 2 | import React, { Component } from 'react'; 3 | import { connect } from 'react-redux'; 4 | import { Pages, AuthTabs } from './Navigate'; 5 | import { Spinner } from './common'; 6 | 7 | class Router extends Component { 8 | render() { 9 | switch (true) { 10 | case ((this.props.user === null || undefined)): 11 | return ; 12 | case ((this.props.user !== null || undefined)): 13 | return ; 14 | default: 15 | return ; 16 | } 17 | } 18 | } 19 | 20 | const mapStateToProps = ({ auth }) => ({ 21 | user: auth.user, 22 | }); 23 | 24 | export default connect(mapStateToProps)(Router); 25 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /src/reducers/DataReducer.js: -------------------------------------------------------------------------------- 1 | //Data related reducer - related to 'Daily' screen 2 | import { 3 | DAILY_DATE_UPDATE, 4 | DAILY_FETCH_SUCCESS, 5 | DAILY_FORMAT_DATE, 6 | DAILY_DATA_FAIL 7 | } from '../actions/types'; 8 | 9 | const INITIAL_STATE = { 10 | date: '', 11 | list: [], 12 | formatDate: '', 13 | dailyError: '', 14 | }; 15 | 16 | export default (state = INITIAL_STATE, action) => { 17 | switch (action.type) { 18 | case DAILY_DATE_UPDATE: 19 | return { ...state, date: action.payload }; 20 | case DAILY_FETCH_SUCCESS: 21 | return { ...state, list: action.payload }; 22 | case DAILY_FORMAT_DATE: 23 | return { ...state, formatDate: action.payload }; 24 | case DAILY_DATA_FAIL: 25 | return { ...state, dailyError: action.payload }; 26 | default: 27 | return state; 28 | } 29 | }; 30 | -------------------------------------------------------------------------------- /ios/ForexTrendFinderTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 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/ForexTrendFinder-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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ForexTrendFinder", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "@babel/core": "^7.2.0", 11 | "eslint-config-rallycoding": "^3.2.0", 12 | "firebase": "^5.7.0", 13 | "react": "16.6.1", 14 | "react-native": "0.57.7", 15 | "react-native-elements": "^0.19.1", 16 | "react-native-vector-icons": "^6.1.0", 17 | "react-navigation": "2.18.2", 18 | "react-redux": "^6.0.0", 19 | "redux": "^4.0.1", 20 | "redux-thunk": "^2.3.0" 21 | }, 22 | "devDependencies": { 23 | "babel-jest": "23.6.0", 24 | "jest": "23.6.0", 25 | "metro-react-native-babel-preset": "0.50.0", 26 | "react-test-renderer": "16.6.1" 27 | }, 28 | "jest": { 29 | "preset": "react-native" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/common/Input.js: -------------------------------------------------------------------------------- 1 | //reuseable user input design with common styling 2 | import React from 'react'; 3 | import { TextInput, View } from 'react-native'; 4 | import styles from '../Styles'; 5 | 6 | const Input = ({ 7 | placeholder, 8 | maxLength, 9 | value, 10 | onChangeText, 11 | secureTextEntry, 12 | keyboardType, 13 | returnKeyType 14 | }) => { 15 | const { inputStyle, inputContainerStyle } = styles; 16 | return ( 17 | 18 | 31 | 32 | ); 33 | }; 34 | 35 | export { Input }; 36 | -------------------------------------------------------------------------------- /src/screens/Logout.js: -------------------------------------------------------------------------------- 1 | //Logout screen 2 | import React, { Component } from 'react'; 3 | import { connect } from 'react-redux'; 4 | import { logoutUser } from '../actions'; 5 | import { Button, Card, CardSection, Header, Spinner } from '../common'; 6 | 7 | class Logout extends Component { 8 | 9 | onButtonPress() { 10 | this.props.logoutUser(); 11 | } 12 | 13 | //show spinner if auth state is 'loading' 14 | renderButton() { 15 | if (this.props.loading) { 16 | return ; 17 | } 18 | return ( 19 | 22 | ); 23 | } 24 | 25 | render() { 26 | return ( 27 | 28 |
29 | Log Out 30 |
31 | 32 | {this.renderButton()} 33 | 34 |
35 | ); 36 | } 37 | } 38 | 39 | const mapStateToProps = (state) => ({ 40 | loading: state.loading 41 | }); 42 | 43 | export default connect(mapStateToProps, { logoutUser })(Logout); 44 | -------------------------------------------------------------------------------- /.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://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | # Hide Firebase Config details 59 | src/Config.js 60 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | // Main App file including set up for the Redux store 2 | import React, { Component } from 'react'; 3 | import * as firebase from 'firebase'; 4 | import { createStore, applyMiddleware } from 'redux'; 5 | import { Provider } from 'react-redux'; 6 | import ReduxThunk from 'redux-thunk'; 7 | import reducers from './reducers'; 8 | import { Config } from './Config'; 9 | import Router from './Router'; 10 | 11 | class App extends Component { 12 | 13 | componentWillMount() { 14 | //firebase project details 15 | /* ADD YOUR OWN FIREBASE CONFIGURATION DETAILS IN ./src/Config.js */ 16 | firebase.initializeApp(Config); 17 | } 18 | 19 | render() { 20 | // use Redux Thunk middleware to allow asynchronous actions, like calls to Firebase 21 | const store = createStore(reducers, {}, applyMiddleware(ReduxThunk)); 22 | // view Redux store in the console 23 | store.subscribe(() => { 24 | console.log(store.getState()); 25 | }); 26 | return ( 27 | 28 | 29 | 30 | ); 31 | } 32 | } 33 | 34 | export default App; 35 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "27.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 27 8 | targetSdkVersion = 26 9 | supportLibVersion = "27.1.1" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.1.4' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | 35 | 36 | task wrapper(type: Wrapper) { 37 | gradleVersion = '4.4' 38 | distributionUrl = distributionUrl.replace("bin", "all") 39 | } 40 | -------------------------------------------------------------------------------- /src/actions/types.js: -------------------------------------------------------------------------------- 1 | //Redux action types 2 | 3 | //updated information for authorisation 4 | export const FIRST_NAME_CHANGED = 'first_name_changed'; 5 | export const LAST_NAME_CHANGED = 'last_name_changed'; 6 | export const EMAIL_CHANGED = 'email_changed'; 7 | export const PASSWORD_CHANGED = 'password_changed'; 8 | export const CONFIRM_PWD_CHANGED = 'confirm_pwd_changed'; 9 | 10 | //login existing user 11 | export const LOGIN_USER = 'login_user'; 12 | 13 | //login or registration success or failure 14 | export const LOGIN_USER_SUCCESS = 'login_user_success'; 15 | export const LOGIN_USER_FAIL = 'login_user_fail'; 16 | export const REGISTER_USER_FAIL = 'register_user_fail'; 17 | 18 | //logout user 19 | export const LOGOUT_USER = 'logout_user'; 20 | 21 | //save user details into Firebase Database (email, firstname, lastname) 22 | export const DATABASE_SAVE = 'database_save'; 23 | export const DATABASE_SAVE_SUCCESS = 'database_save_success'; 24 | export const DATABASE_SAVE_FAIL = 'database_save_fail'; 25 | 26 | //daily market data 27 | export const DAILY_DATE_UPDATE = 'daily_date_update'; 28 | export const DAILY_FETCH_SUCCESS = 'daily_fetch_success'; 29 | export const DAILY_FORMAT_DATE = 'daily_format_date'; 30 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/forextrendfinder/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.forextrendfinder; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.oblador.vectoricons.VectorIconsPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new VectorIconsPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"ForexTrendFinder" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Harvard CS50 Final Project
Forex Trend Finder App in React Native 2 | ## By Rachel Hunter for Harvard University's CS50 Introduction to Computer Science 3 | 4 | ### Problem the App aims to solve: 5 | 6 | What major FX currencies are moving the most? Rank them strongest to weakest. 7 | 8 | ### YouTube Demonstration of "Harvard CS50 Forex Trend Finder App in React Native" 9 | 10 | YouTube Demonstration of Harvard CS50 Forex Trend Finder App in React Native 11 | 12 | ### Technologies used: 13 | 1. Google Sheets: for data source. 14 | 2. Google App Script (in JavaScript): for analysing raw data to rank currencies strongest to weakest and sends results from Google Sheets to Google’s Firebase. 15 | 3. Firebase (stores data in json): database source for App authentication and data source. 16 | 4. React Native App (reads JavaScript): for developing an App compatible for iOS and Android. 17 | 5. Redux: for state management. 18 | 19 | ### Custom code (excluding libraries and dependencies): 20 | 1. ./src directory 21 | 2. ./GoogleAppScript.js 22 | 3. ./index.js 23 | 24 | The Google App Script is included in the ./GoogleAppScript.js file. 25 | 26 | ### Personal Firebase Realtime database code has been removed for privacy from: 27 | 1. ./src/App.js = configuration code 28 | 2. ./GoogleAppScript.js = database secret 29 | 30 | ### Dependencies used: 31 | 32 | Listed in the ./package.json file. 33 | 34 | *© This project has been prepared by Rachel Hunter, for copyright to TraderRach Limited, a company registered in New Zealand.* 35 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder-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.forextrendfinder", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.forextrendfinder", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /src/screens/Daily.js: -------------------------------------------------------------------------------- 1 | //Daily Strength Weakness results screen 2 | import React, { Component } from 'react'; 3 | import { FlatList, Text, View } from 'react-native'; 4 | import { connect } from 'react-redux'; 5 | import { Card, Header } from '../common'; 6 | import { dailyDateFetch } from '../actions'; 7 | import styles from '../Styles'; 8 | 9 | class Daily extends Component { 10 | 11 | static navigationOptions = { 12 | title: 'Daily', 13 | } 14 | 15 | //initiate 'dailyDateFetch' action 16 | componentDidMount() { 17 | this.props.dailyDateFetch(); 18 | } 19 | 20 | onRenderItem = ({ item }) => ( 21 | this.listText(item) 22 | ); 23 | 24 | //recognise 'date' state change 25 | ComponentDidUpdate(prevProps) { 26 | if (this.props.date !== prevProps.date) { 27 | this.props.date = prevProps.date; 28 | } 29 | } 30 | 31 | listText(item) { 32 | return ( 33 | 34 | {item.rank}: {item.currency} 35 | 36 | ); 37 | } 38 | 39 | //to set up the unique key for the Flatlist data (required) 40 | keyExtractor = (item) => item.id; 41 | 42 | render() { 43 | return ( 44 | 45 | 46 |
47 | Daily Timeframe 48 |
49 | 50 | 51 | 52 | Strongest to Weakest 53 | {'\n'}{this.props.formatDate} 54 | 55 | 56 | 57 | 65 | 66 | 67 | 68 |
69 | ); 70 | } 71 | } 72 | 73 | const mapStateToProps = ({ data }) => ({ 74 | date: data.date, 75 | list: data.list, 76 | formatDate: data.formatDate, 77 | }); 78 | 79 | export default connect(mapStateToProps, { dailyDateFetch })(Daily); 80 | -------------------------------------------------------------------------------- /src/Navigate.js: -------------------------------------------------------------------------------- 1 | //Sets up navigation in the App - in this case tabs 2 | import React from 'react'; 3 | import { createBottomTabNavigator } from 'react-navigation'; 4 | import Icon from 'react-native-vector-icons/FontAwesome'; 5 | import Login from './screens/Login'; 6 | import Logout from './screens/Logout'; 7 | import Register from './screens/Register'; 8 | import Daily from './screens/Daily'; 9 | 10 | //Tab navigation for Daily.js & Logout.js (when 'user' state exists) 11 | export const Pages = createBottomTabNavigator({ 12 | Daily: { 13 | screen: Daily, 14 | navigationOptions: { 15 | tabBarIcon: ({ tintColor }) => 16 | 17 | }, 18 | }, 19 | Logout: { 20 | screen: Logout, 21 | navigationOptions: { 22 | tabBarIcon: ({ tintColor }) => 23 | 24 | }, 25 | }, 26 | }, 27 | { 28 | animationEnabled: true, 29 | tabBarOptions: { 30 | activeTintColor: '#fff', 31 | activeBackgroundColor: '#33ccff', 32 | inactiveTintColor: '#33ccff', 33 | inactiveBackgroundColor: '#fff', 34 | showLabel: false, 35 | } 36 | }); 37 | 38 | //Tab navigation for Login.js & Register.js (when no 'user' state) 39 | export const AuthTabs = createBottomTabNavigator({ 40 | Login: { 41 | screen: Login, 42 | navigationOptions: { 43 | tabBarIcon: ({ tintColor }) => 44 | 45 | }, 46 | }, 47 | Register: { 48 | screen: Register, 49 | navigationOptions: { 50 | tabBarIcon: ({ tintColor }) => 51 | 52 | }, 53 | }, 54 | }, 55 | { 56 | animationEnabled: true, 57 | tabBarOptions: { 58 | activeTintColor: '#fff', 59 | activeBackgroundColor: '#33ccff', 60 | inactiveTintColor: '#33ccff', 61 | inactiveBackgroundColor: '#fff', 62 | showLabel: false, 63 | } 64 | }); 65 | -------------------------------------------------------------------------------- /ios/ForexTrendFinderTests/ForexTrendFinderTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface ForexTrendFinderTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation ForexTrendFinderTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ForexTrendFinder 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 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 | NSLocationWhenInUseUsageDescription 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UIViewControllerBasedStatusBarAppearance 42 | 43 | NSAppTransportSecurity 44 | 45 | NSAllowsArbitraryLoads 46 | 47 | NSExceptionDomains 48 | 49 | localhost 50 | 51 | NSExceptionAllowsInsecureHTTPLoads 52 | 53 | 54 | 55 | 56 | UIAppFonts 57 | 58 | AntDesign.ttf 59 | Entypo.ttf 60 | EvilIcons.ttf 61 | Feather.ttf 62 | FontAwesome.ttf 63 | FontAwesome5_Brands.ttf 64 | FontAwesome5_Regular.ttf 65 | FontAwesome5_Solid.ttf 66 | Foundation.ttf 67 | Ionicons.ttf 68 | MaterialCommunityIcons.ttf 69 | MaterialIcons.ttf 70 | Octicons.ttf 71 | SimpleLineIcons.ttf 72 | Zocial.ttf 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/reducers/AuthReducer.js: -------------------------------------------------------------------------------- 1 | //Authentication related reducer - related to 'Register', 'Login' and 'Logout' screens 2 | import { 3 | FIRST_NAME_CHANGED, 4 | LAST_NAME_CHANGED, 5 | EMAIL_CHANGED, 6 | PASSWORD_CHANGED, 7 | CONFIRM_PWD_CHANGED, 8 | REGISTER_USER_FAIL, 9 | LOGIN_USER_SUCCESS, 10 | LOGIN_USER_FAIL, 11 | LOGIN_USER, 12 | LOGOUT_USER, 13 | DATABASE_SAVE, 14 | DATABASE_SAVE_SUCCESS, 15 | DATABASE_SAVE_FAIL, 16 | } from '../actions/types'; 17 | 18 | const INITIAL_STATE = { 19 | email: '', 20 | password: '', 21 | firstname: '', 22 | lastname: '', 23 | passwordconfirm: '', 24 | user: null, 25 | error: '', 26 | loading: false, 27 | dberr: '' 28 | }; 29 | 30 | export default (state = INITIAL_STATE, action) => { 31 | // view Redux actions in the console 32 | console.log(action); 33 | 34 | switch (action.type) { 35 | case FIRST_NAME_CHANGED: 36 | return { ...state, firstname: action.payload }; 37 | case LAST_NAME_CHANGED: 38 | return { ...state, lastname: action.payload }; 39 | case EMAIL_CHANGED: 40 | return { ...state, email: action.payload }; 41 | case PASSWORD_CHANGED: 42 | return { ...state, password: action.payload }; 43 | case CONFIRM_PWD_CHANGED: 44 | return { ...state, passwordconfirm: action.payload }; 45 | case REGISTER_USER_FAIL: 46 | return { 47 | ...state, 48 | password: '', 49 | passwordconfirm: '', 50 | error: action.payload, 51 | loading: false 52 | }; 53 | case LOGIN_USER: 54 | return { ...state, loading: true, error: '' }; 55 | case LOGIN_USER_SUCCESS: 56 | return { 57 | ...state, 58 | user: action.payload, 59 | password: '', 60 | passwordconfirm: '', 61 | error: '', 62 | loading: false, 63 | }; 64 | case LOGIN_USER_FAIL: 65 | return { 66 | ...state, 67 | password: '', 68 | passwordconfirm: '', 69 | error: action.payload, 70 | loading: false 71 | }; 72 | case LOGOUT_USER: 73 | return INITIAL_STATE; 74 | 75 | case DATABASE_SAVE: 76 | return { 77 | ...state, loading: true 78 | }; 79 | case DATABASE_SAVE_SUCCESS: 80 | return { 81 | ...state, loading: false 82 | }; 83 | case DATABASE_SAVE_FAIL: 84 | return { 85 | ...state, 86 | dberr: action.payload, 87 | loading: false 88 | }; 89 | default: 90 | return state; 91 | } 92 | }; 93 | -------------------------------------------------------------------------------- /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 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 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 Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /.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 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | esproposal.optional_chaining=enable 33 | esproposal.nullish_coalescing=enable 34 | 35 | module.system=haste 36 | module.system.haste.use_name_reducers=true 37 | # get basename 38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 39 | # strip .js or .js.flow suffix 40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 41 | # strip .ios suffix 42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 45 | module.system.haste.paths.blacklist=.*/__tests__/.* 46 | module.system.haste.paths.blacklist=.*/__mocks__/.* 47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 49 | 50 | munge_underscores=true 51 | 52 | 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' 53 | 54 | module.file_ext=.js 55 | module.file_ext=.jsx 56 | module.file_ext=.json 57 | module.file_ext=.native.js 58 | 59 | suppress_type=$FlowIssue 60 | suppress_type=$FlowFixMe 61 | suppress_type=$FlowFixMeProps 62 | suppress_type=$FlowFixMeState 63 | 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 68 | 69 | [version] 70 | ^0.78.0 71 | -------------------------------------------------------------------------------- /src/actions/DataActions.js: -------------------------------------------------------------------------------- 1 | //Data related actions - related to 'Daily' screen 2 | import * as firebase from 'firebase'; 3 | import { 4 | DAILY_DATE_UPDATE, 5 | DAILY_FETCH_SUCCESS, 6 | DAILY_FORMAT_DATE 7 | } from './types'; 8 | 9 | //retreive lastest date to display 10 | export const dailyDateFetch = () => { 11 | const dateRef = firebase.database().ref(`/latest/daily`); 12 | let date = 'Loading'; //date format from Google Sheets is yyyy-m(m)-d(d) 13 | return (dispatch) => { 14 | dateRef.on(('value'), snapshot => { 15 | date = snapshot.val(); 16 | dispatch({ type: DAILY_DATE_UPDATE, payload: date.date }); 17 | dailyFetch(dispatch, date.date); 18 | }); 19 | }; 20 | }; 21 | 22 | //retrieve data for the latest date 23 | export const dailyFetch = (dispatch, date) => { 24 | const dataDate = date.toString(); 25 | const dailyRank = firebase.database().ref(`/daily/${dataDate}`); 26 | dailyRank.orderByValue().on('value', snapshot => { 27 | const data = []; 28 | snapshot.forEach((child) => { 29 | data.push({ 30 | id: child.key, 31 | currency: child.key, 32 | rank: child.val(), 33 | }); 34 | }); 35 | dispatch({ type: DAILY_FETCH_SUCCESS, payload: data }); 36 | formatDate(dispatch, dataDate); 37 | }); 38 | }; 39 | 40 | //format the date to display, showing month in words for improved clarity 41 | export const formatDate = (dispatch, dataDate) => { 42 | if (dataDate !== 'Loading') { 43 | const tempDate = dataDate; 44 | const [year, month, date] = tempDate.split('-'); 45 | let newMonth = ''; 46 | switch (month) { 47 | case '1': 48 | newMonth = 'Jan'; 49 | break; 50 | case '2': 51 | newMonth = 'Feb'; 52 | break; 53 | case '3': 54 | newMonth = 'Mar'; 55 | break; 56 | case '4': 57 | newMonth = 'Apr'; 58 | break; 59 | case '5': 60 | newMonth = 'May'; 61 | break; 62 | case '6': 63 | newMonth = 'Jun'; 64 | break; 65 | case '7': 66 | newMonth = 'Jul'; 67 | break; 68 | case '8': 69 | newMonth = 'Aug'; 70 | break; 71 | case '9': 72 | newMonth = 'Sep'; 73 | break; 74 | case '10': 75 | newMonth = 'Oct'; 76 | break; 77 | case '11': 78 | newMonth = 'Nov'; 79 | break; 80 | case '12': 81 | newMonth = 'Dec'; 82 | break; 83 | default: 84 | console.log('error calculating newMonth'); 85 | } 86 | const newDate = `${date} ${ newMonth} ${ year}`; 87 | dispatch({ type: DAILY_FORMAT_DATE, payload: newDate }); 88 | } 89 | }; 90 | -------------------------------------------------------------------------------- /src/screens/Login.js: -------------------------------------------------------------------------------- 1 | //Login screen 2 | import React, { Component } from 'react'; 3 | import { View, Text, Linking, TouchableOpacity } from 'react-native'; 4 | import { connect } from 'react-redux'; 5 | import { emailChanged, passwordChanged, loginUser } from '../actions'; 6 | import { Card, CardSection, Header, Input, Button, Spinner } from '../common'; 7 | import styles from '../Styles'; 8 | 9 | class Login extends Component { 10 | onEmailChange(text) { 11 | this.props.emailChanged(text); 12 | } 13 | 14 | onPasswordChange(text) { 15 | this.props.passwordChanged(text); 16 | } 17 | 18 | onButtonPress() { 19 | const { email, password } = this.props; 20 | this.props.loginUser({ email, password }); 21 | } 22 | 23 | //display error or allocate a blank area for it 24 | renderError() { 25 | if (this.props.error) { 26 | return ( 27 | 28 | 29 | {this.props.error} 30 | 31 | 32 | ); 33 | } 34 | return ( 35 | 36 | 37 | {" "} 38 | 39 | 40 | ); 41 | } 42 | 43 | //show spinner if auth state is 'loading' 44 | renderButton() { 45 | if (this.props.loading) { 46 | return ; 47 | } 48 | return ( 49 | 52 | ); 53 | } 54 | 55 | render() { 56 | return ( 57 | 58 |
59 | Forex Trend Finder 60 |
61 | 62 | 70 | 71 | 72 | 73 | 81 | 82 | 83 | {this.renderError()} 84 | 85 | 86 | {this.renderButton()} 87 | 88 | 89 | Linking.openURL('http://traderRach.com')}> 90 | 91 | {'\n'} Brought to you by http://traderRach.com 92 | 93 | 94 | 95 |
96 | ); 97 | } 98 | } 99 | 100 | const mapStateToProps = ({ auth }) => { 101 | const { email, password, error, loading } = auth; 102 | return { email, password, error, loading }; 103 | }; 104 | 105 | export default connect(mapStateToProps, { 106 | emailChanged, passwordChanged, loginUser 107 | })(Login); 108 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/Styles.js: -------------------------------------------------------------------------------- 1 | //Styles for the entire App => individual files reference this list for all styling 2 | import { StyleSheet } from 'react-native'; 3 | 4 | //This const list makes it easy to change these styles in a single place 5 | const BACKGROUND_COLOUR = '#F5F5F5'; //White Smoke 6 | const LIGHT_COLOUR = '#fff'; //White 7 | const DARK_COLOUR = '#000000'; //Black 8 | const ERROR_COLOUR = '#FF0000'; //Red 9 | const BUTTON_COLOUR = '#3561ff'; //Vivid Blue 10 | const HEADER_COLOUR = '#33ccff'; //Summer Sky 11 | const FONT = 'Arial'; 12 | const FONT_SIZE = 20; 13 | const FONT_SIZE_ERR = 15; 14 | 15 | export default StyleSheet.create({ 16 | //Button.js 17 | ButtonTextStyle: { 18 | flex: 1, 19 | textAlign: 'center', 20 | alignSelf: 'center', 21 | justifyContent: 'center', 22 | alignItems: 'center', 23 | color: LIGHT_COLOUR, 24 | fontFamily: FONT, 25 | fontSize: FONT_SIZE, 26 | fontWeight: '400', 27 | height: 40, 28 | paddingTop: 7, 29 | paddingBottom: 7, 30 | }, 31 | //Button.js 32 | buttonStyle: { 33 | flex: 1, 34 | elevation: 2, 35 | flexDirection: 'row', 36 | backgroundColor: BUTTON_COLOUR, 37 | borderRadius: 5 38 | }, 39 | //Card.js 40 | cardStyle: { 41 | backgroundColor: BACKGROUND_COLOUR, 42 | elevation: 1, 43 | flex: 1 44 | }, 45 | //CardSection.js 46 | cardsectionStyle: { 47 | justifyContent: 'center', 48 | alignItems: 'center', 49 | flexDirection: 'row', 50 | backgroundColor: LIGHT_COLOUR, 51 | height: 40, 52 | position: 'relative', 53 | marginRight: 35, 54 | marginLeft: 35, 55 | marginTop: 15, 56 | marginBottom: 10, 57 | borderRadius: 5 58 | }, 59 | //Header.js 60 | headerUserDetailsText: { 61 | fontFamily: FONT, 62 | fontSize: FONT_SIZE, 63 | textAlign: 'center', 64 | color: LIGHT_COLOUR, 65 | flexDirection: 'column', 66 | justifyContent: 'center', 67 | height: 30, 68 | padding: 2, 69 | backgroundColor: HEADER_COLOUR, 70 | fontWeight: '400', 71 | }, 72 | //Header.js 73 | headerSectionStyle: { 74 | elevation: 2, 75 | justifyContent: 'center', 76 | alignItems: 'center', 77 | flexDirection: 'row', 78 | backgroundColor: HEADER_COLOUR, 79 | height: 80, 80 | position: 'relative', 81 | paddingTop: 20 82 | }, 83 | //Input.js 84 | inputStyle: { 85 | fontFamily: FONT, 86 | fontSize: FONT_SIZE, 87 | paddingLeft: 10, 88 | flex: 1, 89 | color: DARK_COLOUR 90 | }, 91 | //Input.js 92 | inputContainerStyle: { 93 | flex: 1 94 | }, 95 | //Spinner.js 96 | spinnerStyle: { 97 | flex: 1, 98 | flexDirection: 'row', 99 | justifyContent: 'center', 100 | alignItems: 'center' 101 | }, 102 | //Login.js & Register.js 103 | errorText: { 104 | fontFamily: FONT, 105 | fontSize: FONT_SIZE_ERR, 106 | alignSelf: 'center', 107 | color: ERROR_COLOUR, 108 | }, 109 | //Login.js & Register.js 110 | errorView: { 111 | backgroundColor: BACKGROUND_COLOUR, 112 | }, 113 | //Login.js & Register.js 114 | creditText: { 115 | color: HEADER_COLOUR, 116 | textAlign: 'center', 117 | fontStyle: 'italic' 118 | }, 119 | //Daily.js 120 | listStyle: { 121 | textAlign: 'center', 122 | flex: 10, 123 | flexWrap: 'wrap', 124 | fontFamily: FONT, 125 | fontSize: FONT_SIZE, 126 | marginTop: 10, 127 | marginLeft: 40, 128 | marginRight: 40, 129 | color: DARK_COLOUR, 130 | padding: 12 131 | }, 132 | //Daily.js 133 | listHeaderStyle: { 134 | fontFamily: FONT, 135 | fontSize: 20, 136 | textAlign: 'center', 137 | color: DARK_COLOUR, 138 | backgroundColor: LIGHT_COLOUR, 139 | flexDirection: 'row', 140 | height: 70, 141 | padding: 12, 142 | }, 143 | }); 144 | -------------------------------------------------------------------------------- /src/screens/Register.js: -------------------------------------------------------------------------------- 1 | //Register screen 2 | import React, { Component } from 'react'; 3 | import { Text, View, Linking, TouchableOpacity } from 'react-native'; 4 | import { connect } from 'react-redux'; 5 | import { 6 | firstnameChanged, 7 | lastnameChanged, 8 | emailChanged, 9 | passwordChanged, 10 | confirmPwdChanged, 11 | registerUser 12 | } from '../actions'; 13 | import { Card, CardSection, Header, Input, Button, Spinner } from '../common'; 14 | import styles from '../Styles'; 15 | 16 | class Register extends Component { 17 | 18 | onFirstnameChange(text) { 19 | this.props.firstnameChanged(text); 20 | } 21 | 22 | onLastnameChange(text) { 23 | this.props.lastnameChanged(text); 24 | } 25 | 26 | onEmailChange(text) { 27 | this.props.emailChanged(text); 28 | } 29 | 30 | onPasswordChange(text) { 31 | this.props.passwordChanged(text); 32 | } 33 | 34 | onConfirmPwdChange(text) { 35 | this.props.confirmPwdChanged(text); 36 | } 37 | 38 | onButtonPress() { 39 | const { firstname, lastname, email, password, passwordconfirm } = this.props; 40 | 41 | this.props.registerUser({ firstname, lastname, email, password, passwordconfirm }); 42 | } 43 | 44 | //display error or allocate a blank area for it 45 | renderError() { 46 | if (this.props.error) { 47 | return ( 48 | 49 | 50 | {this.props.error} 51 | 52 | 53 | ); 54 | } 55 | return ( 56 | 57 | 58 | {" "} 59 | 60 | 61 | ); 62 | } 63 | 64 | //show spinner if auth state is 'loading' 65 | renderButton() { 66 | if (this.props.loading) { 67 | return ; 68 | } 69 | return ( 70 | 73 | ); 74 | } 75 | 76 | render() { 77 | return ( 78 | 79 | 80 |
81 | Forex Trend Finder 82 |
83 | 84 | 85 | 93 | 94 | 95 | 103 | 104 | 105 | 106 | 114 | 115 | 116 | 117 | 125 | 126 | 127 | 128 | 136 | 137 | 138 | {this.renderError()} 139 | 140 | 141 | {this.renderButton()} 142 | 143 | 144 | Linking.openURL('http://traderRach.com')}> 145 | 146 | {'\n'} Brought to you by http://traderRach.com 147 | 148 | 149 | 150 |
151 | ); 152 | } 153 | } 154 | 155 | const mapStateToProps = ({ auth }) => { 156 | const { firstname, lastname, email, password, passwordconfirm, error, loading } = auth; 157 | return { firstname, lastname, email, password, passwordconfirm, error, loading }; 158 | }; 159 | 160 | export default connect(mapStateToProps, { 161 | firstnameChanged, 162 | lastnameChanged, 163 | emailChanged, 164 | passwordChanged, 165 | confirmPwdChanged, 166 | registerUser 167 | })(Register); 168 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder.xcodeproj/xcshareddata/xcschemes/ForexTrendFinder.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder.xcodeproj/xcshareddata/xcschemes/ForexTrendFinder-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 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 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /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 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion rootProject.ext.compileSdkVersion 98 | buildToolsVersion rootProject.ext.buildToolsVersion 99 | 100 | defaultConfig { 101 | applicationId "com.forextrendfinder" 102 | minSdkVersion rootProject.ext.minSdkVersion 103 | targetSdkVersion rootProject.ext.targetSdkVersion 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-vector-icons') 141 | implementation fileTree(dir: "libs", include: ["*.jar"]) 142 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 143 | implementation "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /GoogleAppScript.js: -------------------------------------------------------------------------------- 1 | /* This is the code from Google App Script written in JavaScript 2 | It analyses raw data to rank currencies strongest to weakest and sends results from Google Sheets to Google’s Firebase. 3 | */ 4 | 5 | /* Run function "startDailySync" to send Daily data to Firebase 6 | Remove database secret from "function getFirebaseUrl(jsonPath)" when sharing - add your own at Line 162 7 | */ 8 | 9 | // initialize global variables 10 | var data = ''; 11 | var dateRangeData = ''; 12 | var day = ''; 13 | var month = ''; 14 | var year = ''; 15 | var convertedMonth = 0; 16 | 17 | var dataToImport = { 18 | AUD: 0, 19 | CAD: 0, 20 | CHF: 0, 21 | EUR: 0, 22 | GBP: 0, 23 | JPY: 0, 24 | NZD: 0, 25 | USD: 0 26 | }; 27 | 28 | // function to get the daily data from the spreadsheet 29 | function getDailySpreadsheetData() { 30 | var ss = SpreadsheetApp.getActiveSpreadsheet(); 31 | var sheet = ss.getSheetByName('Daily'); 32 | var range = sheet.getRange('A2:C29'); 33 | var dateRange = sheet.getRange('B1:B1'); 34 | 35 | data = range.getValues(); 36 | dateRangeData = dateRange.getValue(); 37 | 38 | return data, dateRangeData; 39 | } 40 | 41 | // function to split date into day, month, year 42 | function splitDate(dateRangeData) { 43 | //Google Sheets saves dates as numbers, so convert to string 44 | var date = dateRangeData.toString(); 45 | Logger.log('date = '+ date); 46 | 47 | // day, month, year are initialized global variables 48 | day = date.split(' ')[2]; 49 | month = date.split(' ')[1]; 50 | year = date.split(' ')[0]; 51 | Logger.log('day = '+ day); 52 | Logger.log('month = '+ month); 53 | Logger.log('year = ' + year); 54 | 55 | return day, month, year; 56 | } 57 | 58 | // function to convert text month to month number 59 | function convertMonth(month) { 60 | if (month === 'Jan') { 61 | convertedMonth = 1; 62 | return convertedMonth; 63 | } else if (month === 'Feb') { 64 | convertedMonth = 2; 65 | return convertedMonth; 66 | } else if (month === 'Mar') { 67 | convertedMonth = 3; 68 | return convertedMonth; 69 | } else if (month === 'Apr') { 70 | convertedMonth = 4; 71 | return convertedMonth; 72 | } else if (month === 'May') { 73 | convertedMonth = 5; 74 | return convertedMonth; 75 | } else if (month === 'Jun') { 76 | convertedMonth = 6; 77 | return convertedMonth; 78 | } else if (month === 'Jul') { 79 | convertedMonth = 7; 80 | return convertedMonth; 81 | } else if (month === 'Aug') { 82 | convertedMonth = 8; 83 | return convertedMonth; 84 | } else if (month === 'Sep') { 85 | convertedMonth = 9; 86 | return convertedMonth; 87 | } else if (month === 'Oct') { 88 | convertedMonth = 10; 89 | return convertedMonth; 90 | } else if (month === 'Nov') { 91 | convertedMonth = 11; 92 | return convertedMonth; 93 | } else if (month === 'Dec') { 94 | convertedMonth = 12; 95 | return convertedMonth; 96 | } else { 97 | Logger.log('error converting month to number'); 98 | } 99 | } 100 | 101 | // function to calculate the data to save to Firebase 102 | function calcDataToImport(data) { 103 | // initialize local variables 104 | var i = 0; 105 | var pair = ''; 106 | var pair1 = ''; 107 | var pair2 = ''; 108 | var price1 = ''; 109 | var price2 = ''; 110 | var diff = 0; 111 | //var currency = ''; 112 | 113 | // loop to convert data to currency ranking 114 | for (i; i < data.length; i++) { 115 | pair = data[i][0]; 116 | pair1 = pair.slice(0, 3); 117 | pair2 = pair.slice(-3); 118 | price1 = data[i][1]; 119 | price2 = data[i][2]; 120 | diff = parseInt((price1 - price2) * 100000, 10); 121 | 122 | // input individual currencies and direction to calculate count for currency ranking 123 | calculateCurrency(diff, pair1, pair2, pair); 124 | } 125 | } 126 | 127 | // function to determine stronger currency in currency pair 128 | function calculateCurrency(diff, pair1, pair2, pair) { 129 | var currency = ''; 130 | var currencyCount = ''; 131 | 132 | if (diff > 0) { 133 | currency = pair1; 134 | currencyCount++; 135 | Logger.log(currencyCount + ': ' + currency + ' = up'); 136 | parseInt(dataToImport[currency]++, 10); 137 | Logger.log(dataToImport[currency]); 138 | return dataToImport; 139 | } else if (diff < 0) { 140 | currency = pair2; 141 | currencyCount++; 142 | Logger.log(currencyCount + ': ' + currency + ' = up'); 143 | parseInt(dataToImport[currency]++, 10); 144 | Logger.log(dataToImport[currency]); 145 | return dataToImport; 146 | } else if (diff === 0) { 147 | currencyCount++; 148 | Logger.log(currencyCount + ': ' + pair1 + ' & ' + pair2 + ' are equal'); 149 | } else { 150 | Logger.log(pair + ' = error'); 151 | } 152 | } 153 | 154 | // return the jsonPath to access Firebase 155 | function getFirebaseUrl(jsonPath) { 156 | /* 157 | We then make a URL builde' = error' 158 | This takes in a path, and returns a URL that updates the data in that path 159 | */ 160 | 161 | //Private database secret 162 | var secret = 'ADD YOUR OWN FIREBASE DATABASE SECRET HERE'; 163 | 164 | return ( 165 | 'https://forex-trend-finder.firebaseio.com/' + 166 | '/daily/' + 167 | jsonPath + 168 | '.json?auth=' + 169 | secret 170 | ); 171 | } 172 | 173 | // sync the JSON results to Firebase with the date as a reference 174 | function syncSheet() { 175 | /* 176 | We make a PUT (update) request and send a JSON payload 177 | More info on the REST API here : https://firebase.google.com/docs/database/rest/start 178 | */ 179 | 180 | var options = { 181 | method: 'put', 182 | contentType: 'application/json', 183 | payload: JSON.stringify(dataToImport) 184 | }; 185 | 186 | var ref = year + '-' + convertedMonth + '-' + day; 187 | 188 | var fireBaseUrl = getFirebaseUrl(ref); 189 | 190 | /* 191 | We use the UrlFetchApp google scripts module 192 | More info on this here : https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app 193 | */ 194 | UrlFetchApp.fetch(fireBaseUrl, options); 195 | } 196 | 197 | // main function to run 198 | function startDailySync() { 199 | // get data from active Google spreadsheet 200 | getDailySpreadsheetData(); 201 | 202 | // split date into day + month + year 203 | splitDate(dateRangeData); 204 | 205 | // convert month from text to number 206 | convertMonth(month); 207 | 208 | // calculate the data to import to Firebase 209 | calcDataToImport(data); 210 | 211 | Logger.log('dataToImport = ' + JSON.stringify(dataToImport, null, 4)); 212 | 213 | //Use the syncMasterSheet function defined before to push this data to the 214 | //"masterSheet" key in the firebase database 215 | syncSheet(dataToImport); 216 | } 217 | -------------------------------------------------------------------------------- /src/actions/AuthActions.js: -------------------------------------------------------------------------------- 1 | //Authentication related actions - related to 'Register', 'Login' and 'Logout' screens 2 | import * as firebase from 'firebase'; 3 | import { 4 | FIRST_NAME_CHANGED, 5 | LAST_NAME_CHANGED, 6 | EMAIL_CHANGED, 7 | PASSWORD_CHANGED, 8 | CONFIRM_PWD_CHANGED, 9 | REGISTER_USER_FAIL, 10 | LOGIN_USER_SUCCESS, 11 | LOGIN_USER_FAIL, 12 | LOGIN_USER, 13 | LOGOUT_USER, 14 | DATABASE_SAVE, 15 | DATABASE_SAVE_SUCCESS, 16 | DATABASE_SAVE_FAIL, 17 | } from './types'; 18 | 19 | export const firstnameChanged = (text) => { 20 | return { 21 | type: FIRST_NAME_CHANGED, 22 | payload: text 23 | }; 24 | }; 25 | 26 | export const lastnameChanged = (text) => { 27 | return { 28 | type: LAST_NAME_CHANGED, 29 | payload: text 30 | }; 31 | }; 32 | 33 | 34 | export const emailChanged = (text) => { 35 | return { 36 | type: EMAIL_CHANGED, 37 | payload: text 38 | }; 39 | }; 40 | 41 | export const passwordChanged = (text) => { 42 | return { 43 | type: PASSWORD_CHANGED, 44 | payload: text 45 | }; 46 | }; 47 | 48 | export const confirmPwdChanged = (text) => { 49 | return { 50 | type: CONFIRM_PWD_CHANGED, 51 | payload: text 52 | }; 53 | }; 54 | 55 | export const loginUser = ({ email, password }) => { 56 | return (dispatch) => { 57 | dispatch({ type: LOGIN_USER }); 58 | testLoginDetails(dispatch, email, password); 59 | }; 60 | }; 61 | 62 | export const logoutUser = () => { 63 | return (dispatch) => { 64 | firebase.auth().signOut() 65 | .then(dispatch({ type: LOGOUT_USER })) 66 | .catch((error) => { 67 | const { code, message } = error; 68 | console.log(code + message); 69 | }); 70 | }; 71 | }; 72 | 73 | export const registerUser = ({ email, password, passwordconfirm, firstname, lastname }) => { 74 | return (dispatch) => { 75 | dispatch({ type: LOGIN_USER }); 76 | testRegisterDetails(dispatch, email, password, passwordconfirm, firstname, lastname); 77 | }; 78 | }; 79 | 80 | export const createUserFB = (dispatch, email, password, firstname, lastname) => { 81 | firebase.auth().createUserWithEmailAndPassword(email, password) 82 | // when Firebase returns a user, manually dispatch the user to Redux via 'loginUserSuccess' 83 | .then(user => loginUserSuccess(dispatch, user)) 84 | .then(() => saveNewUserFB(dispatch, email, firstname, lastname)) 85 | .catch((error) => { 86 | //catch two authentication fail promises from firebase - returns a 'code' and a 'message' 87 | const { code, message } = error; 88 | //dispatch the two authentication fail promises from firebase and 89 | //'code' goes to payload for LOGIN_USER_FAIL 90 | registerUserFail(dispatch, code, message); 91 | }); 92 | }; 93 | 94 | export const saveNewUserFB = (dispatch, email, firstname, lastname) => { 95 | databaseSave(dispatch); 96 | //save user profile values in Firebase or catch error returned 97 | const { currentUser } = firebase.auth(); 98 | firebase.database().ref(`/users/${currentUser.uid}`).set({ 99 | email: email, 100 | f_name: firstname, 101 | l_name: lastname, 102 | }) 103 | .then(dispatch(databaseSaveSuccess)) 104 | .catch((dberr) => { 105 | const { code, message } = dberr; 106 | databaseSaveFail(dispatch, code, message); 107 | }); 108 | }; 109 | 110 | export const loginFB = (dispatch, email, password) => { 111 | firebase.auth().signInWithEmailAndPassword(email, password) 112 | .then(user => loginUserSuccess(dispatch, user)) 113 | .catch((error) => { 114 | const { code, message } = error; 115 | loginUserFail(dispatch, code, message); 116 | }); 117 | }; 118 | 119 | const loginUserFail = (dispatch, error) => { 120 | dispatch({ 121 | type: LOGIN_USER_FAIL, 122 | payload: error 123 | }); 124 | }; 125 | 126 | const registerUserFail = (dispatch, error) => { 127 | dispatch({ 128 | type: REGISTER_USER_FAIL, 129 | payload: error 130 | }); 131 | }; 132 | 133 | const databaseSaveFail = (dispatch, dberr) => { 134 | dispatch({ 135 | type: DATABASE_SAVE_FAIL, 136 | payload: dberr 137 | }); 138 | }; 139 | 140 | const loginUserSuccess = (dispatch, user) => { 141 | dispatch({ 142 | type: LOGIN_USER_SUCCESS, 143 | payload: user 144 | }); 145 | }; 146 | 147 | const databaseSaveSuccess = (dispatch) => { 148 | dispatch({ 149 | type: DATABASE_SAVE_SUCCESS, 150 | }); 151 | }; 152 | 153 | const databaseSave = (dispatch) => { 154 | dispatch({ 155 | type: DATABASE_SAVE 156 | }); 157 | }; 158 | 159 | const testLoginDetails = (dispatch, email, password) => { 160 | let test = null; 161 | const emailmatch = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 162 | 163 | switch (true) { 164 | case (email.length === 0) : //fall through 165 | case (password.length === 0) : //fall through 166 | test = 'Complete empty fields'; 167 | loginUserFail(dispatch, test); 168 | break; 169 | case (!emailmatch.test(email)) : //check email format;; 170 | test = 'Enter a valid email address'; 171 | loginUserFail(dispatch, test); 172 | break; 173 | case (password.length < 6) : //min length for Firebase 174 | test = 'Password entered is wrong'; 175 | loginUserFail(dispatch, test); 176 | break; 177 | default: 178 | //if all cases fail, then dispatch email and password to Firebase and attempt to login 179 | return loginFB(dispatch, email, password); 180 | } 181 | }; 182 | 183 | // 184 | const testRegisterDetails = (dispatch, email, password, passwordconfirm, firstname, lastname) => { 185 | let test = null; 186 | //first & last name to include only letters, hyphen & space, with length 2 to 16 characters incl 187 | const namematch = /^[A-Za-z- ]{2,16}$/; 188 | 189 | //test that email address is in the correct format 190 | const emailmatch = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 191 | 192 | //test for password 193 | //min 2 digits, 1 special character, min 8 length 194 | const pwordmatch = /^(?=.*?[0-9].*?[0-9])(?=.*[!@#$%])[0-9a-zA-Z!@#$%0-9]{8,}$/; 195 | 196 | //test register form for input errors 197 | //switch true means continue through cases 198 | switch (true) { 199 | case (firstname.length === 0) : //fall through 200 | case (lastname.length === 0) : //fall through 201 | case (email.length === 0) : //fall through 202 | case (password.length === 0) : //fall through 203 | case (passwordconfirm.length === 0) : 204 | test = 'Complete empty fields'; 205 | loginUserFail(dispatch, test); 206 | break; 207 | case (firstname.length < 2) : //fall through 208 | case (lastname.length < 2) : //fall through 209 | test = 'Names - at least 2 characters'; 210 | loginUserFail(dispatch, test); 211 | break; 212 | case (!namematch.test(firstname)) : 213 | test = 'First name - only letters, hyphen and spaces'; 214 | loginUserFail(dispatch, test); 215 | break; 216 | case (!namematch.test(lastname)) : 217 | test = 'Last name - only letters, hyphen and spaces'; 218 | loginUserFail(dispatch, test); 219 | break; 220 | case (!emailmatch.test(email)) : 221 | test = 'Enter a valid email address'; 222 | loginUserFail(dispatch, test); 223 | break; 224 | case (password.length < 8) : 225 | test = 'Password must be at least 8 characters'; 226 | loginUserFail(dispatch, test); 227 | break; 228 | case (!pwordmatch.test(password)) : 229 | test = 'Password - min two digits & one !@#$%'; 230 | loginUserFail(dispatch, test); 231 | break; 232 | case (password !== passwordconfirm) : 233 | test = 'Your passwords do not match'; 234 | loginUserFail(dispatch, test); 235 | break; 236 | default: 237 | return createUserFB(dispatch, email, password, firstname, lastname); 238 | } 239 | }; 240 | -------------------------------------------------------------------------------- /ios/ForexTrendFinder.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* ForexTrendFinderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ForexTrendFinderTests.m */; }; 15 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 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 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* ForexTrendFinderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ForexTrendFinderTests.m */; }; 37 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 40 | 7D007FE58F3F466D91C0A28D /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B5DD84F46B3C46C19B1C2FF0 /* libRNVectorIcons.a */; }; 41 | 879A0C51999D49A1BCC40F1D /* libRNVectorIcons-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F1E4463C2B93467AA71E270F /* libRNVectorIcons-tvOS.a */; }; 42 | BF987C280D1C46B19AB8E252 /* AntDesign.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DF45396CD3084BF780078C5B /* AntDesign.ttf */; }; 43 | F53EB6E3347F424EB52E13B1 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 393EFC0E42254FF9A0F5AB6D /* Entypo.ttf */; }; 44 | D32FB3F0DD924D24AE30E33C /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6C81D0E44A0C48109BAB0228 /* EvilIcons.ttf */; }; 45 | 083514E967E8461E8FA4298D /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2A93ACE3C3624565BCC154B5 /* Feather.ttf */; }; 46 | 8BE05568319742CF9BB6CB36 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 430CBD30967144A19E975C01 /* FontAwesome.ttf */; }; 47 | 82E796DE73674506866FEAE9 /* FontAwesome5_Brands.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 073E6A100420495DA05767A2 /* FontAwesome5_Brands.ttf */; }; 48 | D2B3B05199574DF89ACC9439 /* FontAwesome5_Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0566723A8EF845AABAB9952C /* FontAwesome5_Regular.ttf */; }; 49 | 3B36C80D460E4CE0BCF13B97 /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EC3E47910DF840488021DCB0 /* FontAwesome5_Solid.ttf */; }; 50 | 00584C677CF24AEFA796523E /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E568759E98754CA69B94EC78 /* Foundation.ttf */; }; 51 | 1F6F3F16ADED43B6AEFC1388 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2EE7CBEB20EF4F9E8C56C666 /* Ionicons.ttf */; }; 52 | 204ACEE47F58422D83A2A957 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 916987DC48E2475482ADEE1A /* MaterialCommunityIcons.ttf */; }; 53 | 7042CB1893F143CD9A06D57B /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B52602A9EF054F74B59A6562 /* MaterialIcons.ttf */; }; 54 | FBF4ABCDB0F94B48B18FE7D3 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 831AB7AB34434A9D9CD507BA /* Octicons.ttf */; }; 55 | 6560E388FE434EB6A7EAAE29 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA0BFD4F817D43B992CF7088 /* SimpleLineIcons.ttf */; }; 56 | D78C3149A9E5455FB3A9B2D6 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E48C31C738FE4449A6A7BF41 /* Zocial.ttf */; }; 57 | /* End PBXBuildFile section */ 58 | 59 | /* Begin PBXContainerItemProxy section */ 60 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 61 | isa = PBXContainerItemProxy; 62 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 63 | proxyType = 2; 64 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 65 | remoteInfo = RCTActionSheet; 66 | }; 67 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 68 | isa = PBXContainerItemProxy; 69 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 70 | proxyType = 2; 71 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 72 | remoteInfo = RCTGeolocation; 73 | }; 74 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 75 | isa = PBXContainerItemProxy; 76 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 77 | proxyType = 2; 78 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 79 | remoteInfo = RCTImage; 80 | }; 81 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 82 | isa = PBXContainerItemProxy; 83 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 84 | proxyType = 2; 85 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 86 | remoteInfo = RCTNetwork; 87 | }; 88 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 89 | isa = PBXContainerItemProxy; 90 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 91 | proxyType = 2; 92 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 93 | remoteInfo = RCTVibration; 94 | }; 95 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 96 | isa = PBXContainerItemProxy; 97 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 98 | proxyType = 1; 99 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 100 | remoteInfo = ForexTrendFinder; 101 | }; 102 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 103 | isa = PBXContainerItemProxy; 104 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 105 | proxyType = 2; 106 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 107 | remoteInfo = RCTSettings; 108 | }; 109 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 110 | isa = PBXContainerItemProxy; 111 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 112 | proxyType = 2; 113 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 114 | remoteInfo = RCTWebSocket; 115 | }; 116 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 117 | isa = PBXContainerItemProxy; 118 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 119 | proxyType = 2; 120 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 121 | remoteInfo = React; 122 | }; 123 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 124 | isa = PBXContainerItemProxy; 125 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 126 | proxyType = 1; 127 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 128 | remoteInfo = "ForexTrendFinder-tvOS"; 129 | }; 130 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 131 | isa = PBXContainerItemProxy; 132 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 133 | proxyType = 2; 134 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 135 | remoteInfo = "RCTBlob-tvOS"; 136 | }; 137 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 138 | isa = PBXContainerItemProxy; 139 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 140 | proxyType = 2; 141 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 142 | remoteInfo = fishhook; 143 | }; 144 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 145 | isa = PBXContainerItemProxy; 146 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 147 | proxyType = 2; 148 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 149 | remoteInfo = "fishhook-tvOS"; 150 | }; 151 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 152 | isa = PBXContainerItemProxy; 153 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 154 | proxyType = 2; 155 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 156 | remoteInfo = jsinspector; 157 | }; 158 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 159 | isa = PBXContainerItemProxy; 160 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 161 | proxyType = 2; 162 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 163 | remoteInfo = "jsinspector-tvOS"; 164 | }; 165 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 166 | isa = PBXContainerItemProxy; 167 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 168 | proxyType = 2; 169 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 170 | remoteInfo = "third-party"; 171 | }; 172 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 173 | isa = PBXContainerItemProxy; 174 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 175 | proxyType = 2; 176 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 177 | remoteInfo = "third-party-tvOS"; 178 | }; 179 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 180 | isa = PBXContainerItemProxy; 181 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 182 | proxyType = 2; 183 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 184 | remoteInfo = "double-conversion"; 185 | }; 186 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 187 | isa = PBXContainerItemProxy; 188 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 189 | proxyType = 2; 190 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 191 | remoteInfo = "double-conversion-tvOS"; 192 | }; 193 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = { 194 | isa = PBXContainerItemProxy; 195 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 196 | proxyType = 2; 197 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 198 | remoteInfo = privatedata; 199 | }; 200 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = { 201 | isa = PBXContainerItemProxy; 202 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 203 | proxyType = 2; 204 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 205 | remoteInfo = "privatedata-tvOS"; 206 | }; 207 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 208 | isa = PBXContainerItemProxy; 209 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 210 | proxyType = 2; 211 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 212 | remoteInfo = "RCTImage-tvOS"; 213 | }; 214 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 215 | isa = PBXContainerItemProxy; 216 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 217 | proxyType = 2; 218 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 219 | remoteInfo = "RCTLinking-tvOS"; 220 | }; 221 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 222 | isa = PBXContainerItemProxy; 223 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 224 | proxyType = 2; 225 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 226 | remoteInfo = "RCTNetwork-tvOS"; 227 | }; 228 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 229 | isa = PBXContainerItemProxy; 230 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 231 | proxyType = 2; 232 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 233 | remoteInfo = "RCTSettings-tvOS"; 234 | }; 235 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 236 | isa = PBXContainerItemProxy; 237 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 238 | proxyType = 2; 239 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 240 | remoteInfo = "RCTText-tvOS"; 241 | }; 242 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 243 | isa = PBXContainerItemProxy; 244 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 245 | proxyType = 2; 246 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 247 | remoteInfo = "RCTWebSocket-tvOS"; 248 | }; 249 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 250 | isa = PBXContainerItemProxy; 251 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 252 | proxyType = 2; 253 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 254 | remoteInfo = "React-tvOS"; 255 | }; 256 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 257 | isa = PBXContainerItemProxy; 258 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 259 | proxyType = 2; 260 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 261 | remoteInfo = yoga; 262 | }; 263 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 264 | isa = PBXContainerItemProxy; 265 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 266 | proxyType = 2; 267 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 268 | remoteInfo = "yoga-tvOS"; 269 | }; 270 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 271 | isa = PBXContainerItemProxy; 272 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 273 | proxyType = 2; 274 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 275 | remoteInfo = cxxreact; 276 | }; 277 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 278 | isa = PBXContainerItemProxy; 279 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 280 | proxyType = 2; 281 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 282 | remoteInfo = "cxxreact-tvOS"; 283 | }; 284 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 285 | isa = PBXContainerItemProxy; 286 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 287 | proxyType = 2; 288 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 289 | remoteInfo = jschelpers; 290 | }; 291 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 292 | isa = PBXContainerItemProxy; 293 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 294 | proxyType = 2; 295 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 296 | remoteInfo = "jschelpers-tvOS"; 297 | }; 298 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 299 | isa = PBXContainerItemProxy; 300 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 301 | proxyType = 2; 302 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 303 | remoteInfo = RCTAnimation; 304 | }; 305 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 306 | isa = PBXContainerItemProxy; 307 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 308 | proxyType = 2; 309 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 310 | remoteInfo = "RCTAnimation-tvOS"; 311 | }; 312 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 313 | isa = PBXContainerItemProxy; 314 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 315 | proxyType = 2; 316 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 317 | remoteInfo = RCTLinking; 318 | }; 319 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 320 | isa = PBXContainerItemProxy; 321 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 322 | proxyType = 2; 323 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 324 | remoteInfo = RCTText; 325 | }; 326 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 327 | isa = PBXContainerItemProxy; 328 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 329 | proxyType = 2; 330 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 331 | remoteInfo = RCTBlob; 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 /* ForexTrendFinderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ForexTrendFinderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 343 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 344 | 00E356F21AD99517003FC87E /* ForexTrendFinderTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ForexTrendFinderTests.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 /* ForexTrendFinder.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ForexTrendFinder.app; sourceTree = BUILT_PRODUCTS_DIR; }; 348 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ForexTrendFinder/AppDelegate.h; sourceTree = ""; }; 349 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ForexTrendFinder/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 = ForexTrendFinder/Images.xcassets; sourceTree = ""; }; 352 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ForexTrendFinder/Info.plist; sourceTree = ""; }; 353 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ForexTrendFinder/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 /* ForexTrendFinder-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ForexTrendFinder-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 356 | 2D02E4901E0B4A5D006451C7 /* ForexTrendFinder-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ForexTrendFinder-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 357 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 358 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 359 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 360 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 361 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 362 | 8FB74B1734E84177AEB37F28 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; name = "RNVectorIcons.xcodeproj"; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 363 | B5DD84F46B3C46C19B1C2FF0 /* libRNVectorIcons.a */ = {isa = PBXFileReference; name = "libRNVectorIcons.a"; path = "libRNVectorIcons.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 364 | F1E4463C2B93467AA71E270F /* libRNVectorIcons-tvOS.a */ = {isa = PBXFileReference; name = "libRNVectorIcons-tvOS.a"; path = "libRNVectorIcons-tvOS.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 365 | DF45396CD3084BF780078C5B /* AntDesign.ttf */ = {isa = PBXFileReference; name = "AntDesign.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 366 | 393EFC0E42254FF9A0F5AB6D /* Entypo.ttf */ = {isa = PBXFileReference; name = "Entypo.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 367 | 6C81D0E44A0C48109BAB0228 /* EvilIcons.ttf */ = {isa = PBXFileReference; name = "EvilIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 368 | 2A93ACE3C3624565BCC154B5 /* Feather.ttf */ = {isa = PBXFileReference; name = "Feather.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 369 | 430CBD30967144A19E975C01 /* FontAwesome.ttf */ = {isa = PBXFileReference; name = "FontAwesome.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 370 | 073E6A100420495DA05767A2 /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Brands.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 371 | 0566723A8EF845AABAB9952C /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Regular.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 372 | EC3E47910DF840488021DCB0 /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Solid.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 373 | E568759E98754CA69B94EC78 /* Foundation.ttf */ = {isa = PBXFileReference; name = "Foundation.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 374 | 2EE7CBEB20EF4F9E8C56C666 /* Ionicons.ttf */ = {isa = PBXFileReference; name = "Ionicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 375 | 916987DC48E2475482ADEE1A /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; name = "MaterialCommunityIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 376 | B52602A9EF054F74B59A6562 /* MaterialIcons.ttf */ = {isa = PBXFileReference; name = "MaterialIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 377 | 831AB7AB34434A9D9CD507BA /* Octicons.ttf */ = {isa = PBXFileReference; name = "Octicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 378 | FA0BFD4F817D43B992CF7088 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; name = "SimpleLineIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 379 | E48C31C738FE4449A6A7BF41 /* Zocial.ttf */ = {isa = PBXFileReference; name = "Zocial.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 380 | /* End PBXFileReference section */ 381 | 382 | /* Begin PBXFrameworksBuildPhase section */ 383 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 384 | isa = PBXFrameworksBuildPhase; 385 | buildActionMask = 2147483647; 386 | files = ( 387 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 388 | ); 389 | runOnlyForDeploymentPostprocessing = 0; 390 | }; 391 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 392 | isa = PBXFrameworksBuildPhase; 393 | buildActionMask = 2147483647; 394 | files = ( 395 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 396 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 397 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 398 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 399 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 400 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 401 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 402 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 403 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 404 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 405 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 406 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 407 | 7D007FE58F3F466D91C0A28D /* libRNVectorIcons.a in Frameworks */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 412 | isa = PBXFrameworksBuildPhase; 413 | buildActionMask = 2147483647; 414 | files = ( 415 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 416 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 417 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 418 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 419 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 420 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 421 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 422 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 423 | 879A0C51999D49A1BCC40F1D /* libRNVectorIcons-tvOS.a in Frameworks */, 424 | ); 425 | runOnlyForDeploymentPostprocessing = 0; 426 | }; 427 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 428 | isa = PBXFrameworksBuildPhase; 429 | buildActionMask = 2147483647; 430 | files = ( 431 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 432 | ); 433 | runOnlyForDeploymentPostprocessing = 0; 434 | }; 435 | /* End PBXFrameworksBuildPhase section */ 436 | 437 | /* Begin PBXGroup section */ 438 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 439 | isa = PBXGroup; 440 | children = ( 441 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 442 | ); 443 | name = Products; 444 | sourceTree = ""; 445 | }; 446 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 447 | isa = PBXGroup; 448 | children = ( 449 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 450 | ); 451 | name = Products; 452 | sourceTree = ""; 453 | }; 454 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 458 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 459 | ); 460 | name = Products; 461 | sourceTree = ""; 462 | }; 463 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 464 | isa = PBXGroup; 465 | children = ( 466 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 467 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 468 | ); 469 | name = Products; 470 | sourceTree = ""; 471 | }; 472 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 473 | isa = PBXGroup; 474 | children = ( 475 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 476 | ); 477 | name = Products; 478 | sourceTree = ""; 479 | }; 480 | 00E356EF1AD99517003FC87E /* ForexTrendFinderTests */ = { 481 | isa = PBXGroup; 482 | children = ( 483 | 00E356F21AD99517003FC87E /* ForexTrendFinderTests.m */, 484 | 00E356F01AD99517003FC87E /* Supporting Files */, 485 | ); 486 | path = ForexTrendFinderTests; 487 | sourceTree = ""; 488 | }; 489 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 490 | isa = PBXGroup; 491 | children = ( 492 | 00E356F11AD99517003FC87E /* Info.plist */, 493 | ); 494 | name = "Supporting Files"; 495 | sourceTree = ""; 496 | }; 497 | 139105B71AF99BAD00B5F7CC /* Products */ = { 498 | isa = PBXGroup; 499 | children = ( 500 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 501 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 502 | ); 503 | name = Products; 504 | sourceTree = ""; 505 | }; 506 | 139FDEE71B06529A00C62182 /* Products */ = { 507 | isa = PBXGroup; 508 | children = ( 509 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 510 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 511 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 512 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 513 | ); 514 | name = Products; 515 | sourceTree = ""; 516 | }; 517 | 13B07FAE1A68108700A75B9A /* ForexTrendFinder */ = { 518 | isa = PBXGroup; 519 | children = ( 520 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 521 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 522 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 523 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 524 | 13B07FB61A68108700A75B9A /* Info.plist */, 525 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 526 | 13B07FB71A68108700A75B9A /* main.m */, 527 | ); 528 | name = ForexTrendFinder; 529 | sourceTree = ""; 530 | }; 531 | 146834001AC3E56700842450 /* Products */ = { 532 | isa = PBXGroup; 533 | children = ( 534 | 146834041AC3E56700842450 /* libReact.a */, 535 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 536 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 537 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 538 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 539 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 540 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 541 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 542 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 543 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 544 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 545 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 546 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 547 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 548 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */, 549 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 558 | ); 559 | name = Frameworks; 560 | sourceTree = ""; 561 | }; 562 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 563 | isa = PBXGroup; 564 | children = ( 565 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 566 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 567 | ); 568 | name = Products; 569 | sourceTree = ""; 570 | }; 571 | 78C398B11ACF4ADC00677621 /* Products */ = { 572 | isa = PBXGroup; 573 | children = ( 574 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 575 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 576 | ); 577 | name = Products; 578 | sourceTree = ""; 579 | }; 580 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 581 | isa = PBXGroup; 582 | children = ( 583 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 584 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 585 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 586 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 587 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 588 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 589 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 590 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 591 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 592 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 593 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 594 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 595 | 8FB74B1734E84177AEB37F28 /* RNVectorIcons.xcodeproj */, 596 | ); 597 | name = Libraries; 598 | sourceTree = ""; 599 | }; 600 | 832341B11AAA6A8300B99B32 /* Products */ = { 601 | isa = PBXGroup; 602 | children = ( 603 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 604 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 605 | ); 606 | name = Products; 607 | sourceTree = ""; 608 | }; 609 | 83CBB9F61A601CBA00E9B192 = { 610 | isa = PBXGroup; 611 | children = ( 612 | 13B07FAE1A68108700A75B9A /* ForexTrendFinder */, 613 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 614 | 00E356EF1AD99517003FC87E /* ForexTrendFinderTests */, 615 | 83CBBA001A601CBA00E9B192 /* Products */, 616 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 617 | 1CC504C732D847849F182662 /* Resources */, 618 | ); 619 | indentWidth = 2; 620 | sourceTree = ""; 621 | tabWidth = 2; 622 | usesTabs = 0; 623 | }; 624 | 83CBBA001A601CBA00E9B192 /* Products */ = { 625 | isa = PBXGroup; 626 | children = ( 627 | 13B07F961A680F5B00A75B9A /* ForexTrendFinder.app */, 628 | 00E356EE1AD99517003FC87E /* ForexTrendFinderTests.xctest */, 629 | 2D02E47B1E0B4A5D006451C7 /* ForexTrendFinder-tvOS.app */, 630 | 2D02E4901E0B4A5D006451C7 /* ForexTrendFinder-tvOSTests.xctest */, 631 | ); 632 | name = Products; 633 | sourceTree = ""; 634 | }; 635 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 636 | isa = PBXGroup; 637 | children = ( 638 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 639 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 640 | ); 641 | name = Products; 642 | sourceTree = ""; 643 | }; 644 | 1CC504C732D847849F182662 /* Resources */ = { 645 | isa = "PBXGroup"; 646 | children = ( 647 | DF45396CD3084BF780078C5B /* AntDesign.ttf */, 648 | 393EFC0E42254FF9A0F5AB6D /* Entypo.ttf */, 649 | 6C81D0E44A0C48109BAB0228 /* EvilIcons.ttf */, 650 | 2A93ACE3C3624565BCC154B5 /* Feather.ttf */, 651 | 430CBD30967144A19E975C01 /* FontAwesome.ttf */, 652 | 073E6A100420495DA05767A2 /* FontAwesome5_Brands.ttf */, 653 | 0566723A8EF845AABAB9952C /* FontAwesome5_Regular.ttf */, 654 | EC3E47910DF840488021DCB0 /* FontAwesome5_Solid.ttf */, 655 | E568759E98754CA69B94EC78 /* Foundation.ttf */, 656 | 2EE7CBEB20EF4F9E8C56C666 /* Ionicons.ttf */, 657 | 916987DC48E2475482ADEE1A /* MaterialCommunityIcons.ttf */, 658 | B52602A9EF054F74B59A6562 /* MaterialIcons.ttf */, 659 | 831AB7AB34434A9D9CD507BA /* Octicons.ttf */, 660 | FA0BFD4F817D43B992CF7088 /* SimpleLineIcons.ttf */, 661 | E48C31C738FE4449A6A7BF41 /* Zocial.ttf */, 662 | ); 663 | name = Resources; 664 | sourceTree = ""; 665 | path = ""; 666 | }; 667 | /* End PBXGroup section */ 668 | 669 | /* Begin PBXNativeTarget section */ 670 | 00E356ED1AD99517003FC87E /* ForexTrendFinderTests */ = { 671 | isa = PBXNativeTarget; 672 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ForexTrendFinderTests" */; 673 | buildPhases = ( 674 | 00E356EA1AD99517003FC87E /* Sources */, 675 | 00E356EB1AD99517003FC87E /* Frameworks */, 676 | 00E356EC1AD99517003FC87E /* Resources */, 677 | ); 678 | buildRules = ( 679 | ); 680 | dependencies = ( 681 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 682 | ); 683 | name = ForexTrendFinderTests; 684 | productName = ForexTrendFinderTests; 685 | productReference = 00E356EE1AD99517003FC87E /* ForexTrendFinderTests.xctest */; 686 | productType = "com.apple.product-type.bundle.unit-test"; 687 | }; 688 | 13B07F861A680F5B00A75B9A /* ForexTrendFinder */ = { 689 | isa = PBXNativeTarget; 690 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ForexTrendFinder" */; 691 | buildPhases = ( 692 | 13B07F871A680F5B00A75B9A /* Sources */, 693 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 694 | 13B07F8E1A680F5B00A75B9A /* Resources */, 695 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 696 | ); 697 | buildRules = ( 698 | ); 699 | dependencies = ( 700 | ); 701 | name = ForexTrendFinder; 702 | productName = "Hello World"; 703 | productReference = 13B07F961A680F5B00A75B9A /* ForexTrendFinder.app */; 704 | productType = "com.apple.product-type.application"; 705 | }; 706 | 2D02E47A1E0B4A5D006451C7 /* ForexTrendFinder-tvOS */ = { 707 | isa = PBXNativeTarget; 708 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ForexTrendFinder-tvOS" */; 709 | buildPhases = ( 710 | 2D02E4771E0B4A5D006451C7 /* Sources */, 711 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 712 | 2D02E4791E0B4A5D006451C7 /* Resources */, 713 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 714 | ); 715 | buildRules = ( 716 | ); 717 | dependencies = ( 718 | ); 719 | name = "ForexTrendFinder-tvOS"; 720 | productName = "ForexTrendFinder-tvOS"; 721 | productReference = 2D02E47B1E0B4A5D006451C7 /* ForexTrendFinder-tvOS.app */; 722 | productType = "com.apple.product-type.application"; 723 | }; 724 | 2D02E48F1E0B4A5D006451C7 /* ForexTrendFinder-tvOSTests */ = { 725 | isa = PBXNativeTarget; 726 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ForexTrendFinder-tvOSTests" */; 727 | buildPhases = ( 728 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 729 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 730 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 731 | ); 732 | buildRules = ( 733 | ); 734 | dependencies = ( 735 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 736 | ); 737 | name = "ForexTrendFinder-tvOSTests"; 738 | productName = "ForexTrendFinder-tvOSTests"; 739 | productReference = 2D02E4901E0B4A5D006451C7 /* ForexTrendFinder-tvOSTests.xctest */; 740 | productType = "com.apple.product-type.bundle.unit-test"; 741 | }; 742 | /* End PBXNativeTarget section */ 743 | 744 | /* Begin PBXProject section */ 745 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 746 | isa = PBXProject; 747 | attributes = { 748 | LastUpgradeCheck = 940; 749 | ORGANIZATIONNAME = Facebook; 750 | TargetAttributes = { 751 | 00E356ED1AD99517003FC87E = { 752 | CreatedOnToolsVersion = 6.2; 753 | TestTargetID = 13B07F861A680F5B00A75B9A; 754 | }; 755 | 2D02E47A1E0B4A5D006451C7 = { 756 | CreatedOnToolsVersion = 8.2.1; 757 | ProvisioningStyle = Automatic; 758 | }; 759 | 2D02E48F1E0B4A5D006451C7 = { 760 | CreatedOnToolsVersion = 8.2.1; 761 | ProvisioningStyle = Automatic; 762 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 763 | }; 764 | }; 765 | }; 766 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ForexTrendFinder" */; 767 | compatibilityVersion = "Xcode 3.2"; 768 | developmentRegion = English; 769 | hasScannedForEncodings = 0; 770 | knownRegions = ( 771 | en, 772 | Base, 773 | ); 774 | mainGroup = 83CBB9F61A601CBA00E9B192; 775 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 776 | projectDirPath = ""; 777 | projectReferences = ( 778 | { 779 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 780 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 781 | }, 782 | { 783 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 784 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 785 | }, 786 | { 787 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 788 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 789 | }, 790 | { 791 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 792 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 793 | }, 794 | { 795 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 796 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 797 | }, 798 | { 799 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 800 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 801 | }, 802 | { 803 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 804 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 805 | }, 806 | { 807 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 808 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 809 | }, 810 | { 811 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 812 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 813 | }, 814 | { 815 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 816 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 817 | }, 818 | { 819 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 820 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 821 | }, 822 | { 823 | ProductGroup = 146834001AC3E56700842450 /* Products */; 824 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 825 | }, 826 | ); 827 | projectRoot = ""; 828 | targets = ( 829 | 13B07F861A680F5B00A75B9A /* ForexTrendFinder */, 830 | 00E356ED1AD99517003FC87E /* ForexTrendFinderTests */, 831 | 2D02E47A1E0B4A5D006451C7 /* ForexTrendFinder-tvOS */, 832 | 2D02E48F1E0B4A5D006451C7 /* ForexTrendFinder-tvOSTests */, 833 | ); 834 | }; 835 | /* End PBXProject section */ 836 | 837 | /* Begin PBXReferenceProxy section */ 838 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 839 | isa = PBXReferenceProxy; 840 | fileType = archive.ar; 841 | path = libRCTActionSheet.a; 842 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 843 | sourceTree = BUILT_PRODUCTS_DIR; 844 | }; 845 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 846 | isa = PBXReferenceProxy; 847 | fileType = archive.ar; 848 | path = libRCTGeolocation.a; 849 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 850 | sourceTree = BUILT_PRODUCTS_DIR; 851 | }; 852 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 853 | isa = PBXReferenceProxy; 854 | fileType = archive.ar; 855 | path = libRCTImage.a; 856 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 857 | sourceTree = BUILT_PRODUCTS_DIR; 858 | }; 859 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 860 | isa = PBXReferenceProxy; 861 | fileType = archive.ar; 862 | path = libRCTNetwork.a; 863 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 864 | sourceTree = BUILT_PRODUCTS_DIR; 865 | }; 866 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 867 | isa = PBXReferenceProxy; 868 | fileType = archive.ar; 869 | path = libRCTVibration.a; 870 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 871 | sourceTree = BUILT_PRODUCTS_DIR; 872 | }; 873 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 874 | isa = PBXReferenceProxy; 875 | fileType = archive.ar; 876 | path = libRCTSettings.a; 877 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 878 | sourceTree = BUILT_PRODUCTS_DIR; 879 | }; 880 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 881 | isa = PBXReferenceProxy; 882 | fileType = archive.ar; 883 | path = libRCTWebSocket.a; 884 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 885 | sourceTree = BUILT_PRODUCTS_DIR; 886 | }; 887 | 146834041AC3E56700842450 /* libReact.a */ = { 888 | isa = PBXReferenceProxy; 889 | fileType = archive.ar; 890 | path = libReact.a; 891 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 892 | sourceTree = BUILT_PRODUCTS_DIR; 893 | }; 894 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 895 | isa = PBXReferenceProxy; 896 | fileType = archive.ar; 897 | path = "libRCTBlob-tvOS.a"; 898 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 899 | sourceTree = BUILT_PRODUCTS_DIR; 900 | }; 901 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 902 | isa = PBXReferenceProxy; 903 | fileType = archive.ar; 904 | path = libfishhook.a; 905 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 906 | sourceTree = BUILT_PRODUCTS_DIR; 907 | }; 908 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 909 | isa = PBXReferenceProxy; 910 | fileType = archive.ar; 911 | path = "libfishhook-tvOS.a"; 912 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 913 | sourceTree = BUILT_PRODUCTS_DIR; 914 | }; 915 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 916 | isa = PBXReferenceProxy; 917 | fileType = archive.ar; 918 | path = libjsinspector.a; 919 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 920 | sourceTree = BUILT_PRODUCTS_DIR; 921 | }; 922 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 923 | isa = PBXReferenceProxy; 924 | fileType = archive.ar; 925 | path = "libjsinspector-tvOS.a"; 926 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 927 | sourceTree = BUILT_PRODUCTS_DIR; 928 | }; 929 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 930 | isa = PBXReferenceProxy; 931 | fileType = archive.ar; 932 | path = "libthird-party.a"; 933 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 934 | sourceTree = BUILT_PRODUCTS_DIR; 935 | }; 936 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 937 | isa = PBXReferenceProxy; 938 | fileType = archive.ar; 939 | path = "libthird-party.a"; 940 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 941 | sourceTree = BUILT_PRODUCTS_DIR; 942 | }; 943 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 944 | isa = PBXReferenceProxy; 945 | fileType = archive.ar; 946 | path = "libdouble-conversion.a"; 947 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 948 | sourceTree = BUILT_PRODUCTS_DIR; 949 | }; 950 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 951 | isa = PBXReferenceProxy; 952 | fileType = archive.ar; 953 | path = "libdouble-conversion.a"; 954 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 955 | sourceTree = BUILT_PRODUCTS_DIR; 956 | }; 957 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = { 958 | isa = PBXReferenceProxy; 959 | fileType = archive.ar; 960 | path = libprivatedata.a; 961 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */; 962 | sourceTree = BUILT_PRODUCTS_DIR; 963 | }; 964 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = { 965 | isa = PBXReferenceProxy; 966 | fileType = archive.ar; 967 | path = "libprivatedata-tvOS.a"; 968 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */; 969 | sourceTree = BUILT_PRODUCTS_DIR; 970 | }; 971 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 972 | isa = PBXReferenceProxy; 973 | fileType = archive.ar; 974 | path = "libRCTImage-tvOS.a"; 975 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 976 | sourceTree = BUILT_PRODUCTS_DIR; 977 | }; 978 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 979 | isa = PBXReferenceProxy; 980 | fileType = archive.ar; 981 | path = "libRCTLinking-tvOS.a"; 982 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 983 | sourceTree = BUILT_PRODUCTS_DIR; 984 | }; 985 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 986 | isa = PBXReferenceProxy; 987 | fileType = archive.ar; 988 | path = "libRCTNetwork-tvOS.a"; 989 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 990 | sourceTree = BUILT_PRODUCTS_DIR; 991 | }; 992 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 993 | isa = PBXReferenceProxy; 994 | fileType = archive.ar; 995 | path = "libRCTSettings-tvOS.a"; 996 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 997 | sourceTree = BUILT_PRODUCTS_DIR; 998 | }; 999 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 1000 | isa = PBXReferenceProxy; 1001 | fileType = archive.ar; 1002 | path = "libRCTText-tvOS.a"; 1003 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 1004 | sourceTree = BUILT_PRODUCTS_DIR; 1005 | }; 1006 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 1007 | isa = PBXReferenceProxy; 1008 | fileType = archive.ar; 1009 | path = "libRCTWebSocket-tvOS.a"; 1010 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 1011 | sourceTree = BUILT_PRODUCTS_DIR; 1012 | }; 1013 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 1014 | isa = PBXReferenceProxy; 1015 | fileType = archive.ar; 1016 | path = libReact.a; 1017 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 1018 | sourceTree = BUILT_PRODUCTS_DIR; 1019 | }; 1020 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1021 | isa = PBXReferenceProxy; 1022 | fileType = archive.ar; 1023 | path = libyoga.a; 1024 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1025 | sourceTree = BUILT_PRODUCTS_DIR; 1026 | }; 1027 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1028 | isa = PBXReferenceProxy; 1029 | fileType = archive.ar; 1030 | path = libyoga.a; 1031 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1032 | sourceTree = BUILT_PRODUCTS_DIR; 1033 | }; 1034 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1035 | isa = PBXReferenceProxy; 1036 | fileType = archive.ar; 1037 | path = libcxxreact.a; 1038 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1039 | sourceTree = BUILT_PRODUCTS_DIR; 1040 | }; 1041 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1042 | isa = PBXReferenceProxy; 1043 | fileType = archive.ar; 1044 | path = libcxxreact.a; 1045 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1046 | sourceTree = BUILT_PRODUCTS_DIR; 1047 | }; 1048 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 1049 | isa = PBXReferenceProxy; 1050 | fileType = archive.ar; 1051 | path = libjschelpers.a; 1052 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 1053 | sourceTree = BUILT_PRODUCTS_DIR; 1054 | }; 1055 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1056 | isa = PBXReferenceProxy; 1057 | fileType = archive.ar; 1058 | path = libjschelpers.a; 1059 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1060 | sourceTree = BUILT_PRODUCTS_DIR; 1061 | }; 1062 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1063 | isa = PBXReferenceProxy; 1064 | fileType = archive.ar; 1065 | path = libRCTAnimation.a; 1066 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1067 | sourceTree = BUILT_PRODUCTS_DIR; 1068 | }; 1069 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1070 | isa = PBXReferenceProxy; 1071 | fileType = archive.ar; 1072 | path = libRCTAnimation.a; 1073 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1074 | sourceTree = BUILT_PRODUCTS_DIR; 1075 | }; 1076 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1077 | isa = PBXReferenceProxy; 1078 | fileType = archive.ar; 1079 | path = libRCTLinking.a; 1080 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1081 | sourceTree = BUILT_PRODUCTS_DIR; 1082 | }; 1083 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1084 | isa = PBXReferenceProxy; 1085 | fileType = archive.ar; 1086 | path = libRCTText.a; 1087 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1088 | sourceTree = BUILT_PRODUCTS_DIR; 1089 | }; 1090 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1091 | isa = PBXReferenceProxy; 1092 | fileType = archive.ar; 1093 | path = libRCTBlob.a; 1094 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1095 | sourceTree = BUILT_PRODUCTS_DIR; 1096 | }; 1097 | /* End PBXReferenceProxy section */ 1098 | 1099 | /* Begin PBXResourcesBuildPhase section */ 1100 | 00E356EC1AD99517003FC87E /* Resources */ = { 1101 | isa = PBXResourcesBuildPhase; 1102 | buildActionMask = 2147483647; 1103 | files = ( 1104 | ); 1105 | runOnlyForDeploymentPostprocessing = 0; 1106 | }; 1107 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1108 | isa = PBXResourcesBuildPhase; 1109 | buildActionMask = 2147483647; 1110 | files = ( 1111 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1112 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1113 | BF987C280D1C46B19AB8E252 /* AntDesign.ttf in Resources */, 1114 | F53EB6E3347F424EB52E13B1 /* Entypo.ttf in Resources */, 1115 | D32FB3F0DD924D24AE30E33C /* EvilIcons.ttf in Resources */, 1116 | 083514E967E8461E8FA4298D /* Feather.ttf in Resources */, 1117 | 8BE05568319742CF9BB6CB36 /* FontAwesome.ttf in Resources */, 1118 | 82E796DE73674506866FEAE9 /* FontAwesome5_Brands.ttf in Resources */, 1119 | D2B3B05199574DF89ACC9439 /* FontAwesome5_Regular.ttf in Resources */, 1120 | 3B36C80D460E4CE0BCF13B97 /* FontAwesome5_Solid.ttf in Resources */, 1121 | 00584C677CF24AEFA796523E /* Foundation.ttf in Resources */, 1122 | 1F6F3F16ADED43B6AEFC1388 /* Ionicons.ttf in Resources */, 1123 | 204ACEE47F58422D83A2A957 /* MaterialCommunityIcons.ttf in Resources */, 1124 | 7042CB1893F143CD9A06D57B /* MaterialIcons.ttf in Resources */, 1125 | FBF4ABCDB0F94B48B18FE7D3 /* Octicons.ttf in Resources */, 1126 | 6560E388FE434EB6A7EAAE29 /* SimpleLineIcons.ttf in Resources */, 1127 | D78C3149A9E5455FB3A9B2D6 /* Zocial.ttf in Resources */, 1128 | ); 1129 | runOnlyForDeploymentPostprocessing = 0; 1130 | }; 1131 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1132 | isa = PBXResourcesBuildPhase; 1133 | buildActionMask = 2147483647; 1134 | files = ( 1135 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1136 | ); 1137 | runOnlyForDeploymentPostprocessing = 0; 1138 | }; 1139 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1140 | isa = PBXResourcesBuildPhase; 1141 | buildActionMask = 2147483647; 1142 | files = ( 1143 | ); 1144 | runOnlyForDeploymentPostprocessing = 0; 1145 | }; 1146 | /* End PBXResourcesBuildPhase section */ 1147 | 1148 | /* Begin PBXShellScriptBuildPhase section */ 1149 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1150 | isa = PBXShellScriptBuildPhase; 1151 | buildActionMask = 2147483647; 1152 | files = ( 1153 | ); 1154 | inputPaths = ( 1155 | ); 1156 | name = "Bundle React Native code and images"; 1157 | outputPaths = ( 1158 | ); 1159 | runOnlyForDeploymentPostprocessing = 0; 1160 | shellPath = /bin/sh; 1161 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1162 | }; 1163 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1164 | isa = PBXShellScriptBuildPhase; 1165 | buildActionMask = 2147483647; 1166 | files = ( 1167 | ); 1168 | inputPaths = ( 1169 | ); 1170 | name = "Bundle React Native Code And Images"; 1171 | outputPaths = ( 1172 | ); 1173 | runOnlyForDeploymentPostprocessing = 0; 1174 | shellPath = /bin/sh; 1175 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1176 | }; 1177 | /* End PBXShellScriptBuildPhase section */ 1178 | 1179 | /* Begin PBXSourcesBuildPhase section */ 1180 | 00E356EA1AD99517003FC87E /* Sources */ = { 1181 | isa = PBXSourcesBuildPhase; 1182 | buildActionMask = 2147483647; 1183 | files = ( 1184 | 00E356F31AD99517003FC87E /* ForexTrendFinderTests.m in Sources */, 1185 | ); 1186 | runOnlyForDeploymentPostprocessing = 0; 1187 | }; 1188 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1189 | isa = PBXSourcesBuildPhase; 1190 | buildActionMask = 2147483647; 1191 | files = ( 1192 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1193 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1194 | ); 1195 | runOnlyForDeploymentPostprocessing = 0; 1196 | }; 1197 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1198 | isa = PBXSourcesBuildPhase; 1199 | buildActionMask = 2147483647; 1200 | files = ( 1201 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1202 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1203 | ); 1204 | runOnlyForDeploymentPostprocessing = 0; 1205 | }; 1206 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1207 | isa = PBXSourcesBuildPhase; 1208 | buildActionMask = 2147483647; 1209 | files = ( 1210 | 2DCD954D1E0B4F2C00145EB5 /* ForexTrendFinderTests.m in Sources */, 1211 | ); 1212 | runOnlyForDeploymentPostprocessing = 0; 1213 | }; 1214 | /* End PBXSourcesBuildPhase section */ 1215 | 1216 | /* Begin PBXTargetDependency section */ 1217 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1218 | isa = PBXTargetDependency; 1219 | target = 13B07F861A680F5B00A75B9A /* ForexTrendFinder */; 1220 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1221 | }; 1222 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1223 | isa = PBXTargetDependency; 1224 | target = 2D02E47A1E0B4A5D006451C7 /* ForexTrendFinder-tvOS */; 1225 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1226 | }; 1227 | /* End PBXTargetDependency section */ 1228 | 1229 | /* Begin PBXVariantGroup section */ 1230 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1231 | isa = PBXVariantGroup; 1232 | children = ( 1233 | 13B07FB21A68108700A75B9A /* Base */, 1234 | ); 1235 | name = LaunchScreen.xib; 1236 | path = ForexTrendFinder; 1237 | sourceTree = ""; 1238 | }; 1239 | /* End PBXVariantGroup section */ 1240 | 1241 | /* Begin XCBuildConfiguration section */ 1242 | 00E356F61AD99517003FC87E /* Debug */ = { 1243 | isa = XCBuildConfiguration; 1244 | buildSettings = { 1245 | BUNDLE_LOADER = "$(TEST_HOST)"; 1246 | GCC_PREPROCESSOR_DEFINITIONS = ( 1247 | "DEBUG=1", 1248 | "$(inherited)", 1249 | ); 1250 | INFOPLIST_FILE = ForexTrendFinderTests/Info.plist; 1251 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1252 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1253 | OTHER_LDFLAGS = ( 1254 | "-ObjC", 1255 | "-lc++", 1256 | ); 1257 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1258 | PRODUCT_NAME = "$(TARGET_NAME)"; 1259 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ForexTrendFinder.app/ForexTrendFinder"; 1260 | LIBRARY_SEARCH_PATHS = ( 1261 | "$(inherited)", 1262 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1263 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1264 | ); 1265 | HEADER_SEARCH_PATHS = ( 1266 | "$(inherited)", 1267 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1268 | ); 1269 | }; 1270 | name = Debug; 1271 | }; 1272 | 00E356F71AD99517003FC87E /* Release */ = { 1273 | isa = XCBuildConfiguration; 1274 | buildSettings = { 1275 | BUNDLE_LOADER = "$(TEST_HOST)"; 1276 | COPY_PHASE_STRIP = NO; 1277 | INFOPLIST_FILE = ForexTrendFinderTests/Info.plist; 1278 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1279 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1280 | OTHER_LDFLAGS = ( 1281 | "-ObjC", 1282 | "-lc++", 1283 | ); 1284 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1285 | PRODUCT_NAME = "$(TARGET_NAME)"; 1286 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ForexTrendFinder.app/ForexTrendFinder"; 1287 | LIBRARY_SEARCH_PATHS = ( 1288 | "$(inherited)", 1289 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1290 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1291 | ); 1292 | HEADER_SEARCH_PATHS = ( 1293 | "$(inherited)", 1294 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1295 | ); 1296 | }; 1297 | name = Release; 1298 | }; 1299 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1300 | isa = XCBuildConfiguration; 1301 | buildSettings = { 1302 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1303 | CURRENT_PROJECT_VERSION = 1; 1304 | DEAD_CODE_STRIPPING = NO; 1305 | INFOPLIST_FILE = ForexTrendFinder/Info.plist; 1306 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1307 | OTHER_LDFLAGS = ( 1308 | "$(inherited)", 1309 | "-ObjC", 1310 | "-lc++", 1311 | ); 1312 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1313 | PRODUCT_NAME = ForexTrendFinder; 1314 | VERSIONING_SYSTEM = "apple-generic"; 1315 | HEADER_SEARCH_PATHS = ( 1316 | "$(inherited)", 1317 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1318 | ); 1319 | }; 1320 | name = Debug; 1321 | }; 1322 | 13B07F951A680F5B00A75B9A /* Release */ = { 1323 | isa = XCBuildConfiguration; 1324 | buildSettings = { 1325 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1326 | CURRENT_PROJECT_VERSION = 1; 1327 | INFOPLIST_FILE = ForexTrendFinder/Info.plist; 1328 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1329 | OTHER_LDFLAGS = ( 1330 | "$(inherited)", 1331 | "-ObjC", 1332 | "-lc++", 1333 | ); 1334 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1335 | PRODUCT_NAME = ForexTrendFinder; 1336 | VERSIONING_SYSTEM = "apple-generic"; 1337 | HEADER_SEARCH_PATHS = ( 1338 | "$(inherited)", 1339 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1340 | ); 1341 | }; 1342 | name = Release; 1343 | }; 1344 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1345 | isa = XCBuildConfiguration; 1346 | buildSettings = { 1347 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1348 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1349 | CLANG_ANALYZER_NONNULL = YES; 1350 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1351 | CLANG_WARN_INFINITE_RECURSION = YES; 1352 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1353 | DEBUG_INFORMATION_FORMAT = dwarf; 1354 | ENABLE_TESTABILITY = YES; 1355 | GCC_NO_COMMON_BLOCKS = YES; 1356 | INFOPLIST_FILE = "ForexTrendFinder-tvOS/Info.plist"; 1357 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1358 | OTHER_LDFLAGS = ( 1359 | "-ObjC", 1360 | "-lc++", 1361 | ); 1362 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ForexTrendFinder-tvOS"; 1363 | PRODUCT_NAME = "$(TARGET_NAME)"; 1364 | SDKROOT = appletvos; 1365 | TARGETED_DEVICE_FAMILY = 3; 1366 | TVOS_DEPLOYMENT_TARGET = 9.2; 1367 | LIBRARY_SEARCH_PATHS = ( 1368 | "$(inherited)", 1369 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1370 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1371 | ); 1372 | HEADER_SEARCH_PATHS = ( 1373 | "$(inherited)", 1374 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1375 | ); 1376 | }; 1377 | name = Debug; 1378 | }; 1379 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1380 | isa = XCBuildConfiguration; 1381 | buildSettings = { 1382 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1383 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1384 | CLANG_ANALYZER_NONNULL = YES; 1385 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1386 | CLANG_WARN_INFINITE_RECURSION = YES; 1387 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1388 | COPY_PHASE_STRIP = NO; 1389 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1390 | GCC_NO_COMMON_BLOCKS = YES; 1391 | INFOPLIST_FILE = "ForexTrendFinder-tvOS/Info.plist"; 1392 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1393 | OTHER_LDFLAGS = ( 1394 | "-ObjC", 1395 | "-lc++", 1396 | ); 1397 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ForexTrendFinder-tvOS"; 1398 | PRODUCT_NAME = "$(TARGET_NAME)"; 1399 | SDKROOT = appletvos; 1400 | TARGETED_DEVICE_FAMILY = 3; 1401 | TVOS_DEPLOYMENT_TARGET = 9.2; 1402 | LIBRARY_SEARCH_PATHS = ( 1403 | "$(inherited)", 1404 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1405 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1406 | ); 1407 | HEADER_SEARCH_PATHS = ( 1408 | "$(inherited)", 1409 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1410 | ); 1411 | }; 1412 | name = Release; 1413 | }; 1414 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1415 | isa = XCBuildConfiguration; 1416 | buildSettings = { 1417 | BUNDLE_LOADER = "$(TEST_HOST)"; 1418 | CLANG_ANALYZER_NONNULL = YES; 1419 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1420 | CLANG_WARN_INFINITE_RECURSION = YES; 1421 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1422 | DEBUG_INFORMATION_FORMAT = dwarf; 1423 | ENABLE_TESTABILITY = YES; 1424 | GCC_NO_COMMON_BLOCKS = YES; 1425 | INFOPLIST_FILE = "ForexTrendFinder-tvOSTests/Info.plist"; 1426 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1427 | OTHER_LDFLAGS = ( 1428 | "-ObjC", 1429 | "-lc++", 1430 | ); 1431 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ForexTrendFinder-tvOSTests"; 1432 | PRODUCT_NAME = "$(TARGET_NAME)"; 1433 | SDKROOT = appletvos; 1434 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ForexTrendFinder-tvOS.app/ForexTrendFinder-tvOS"; 1435 | TVOS_DEPLOYMENT_TARGET = 10.1; 1436 | LIBRARY_SEARCH_PATHS = ( 1437 | "$(inherited)", 1438 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1439 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1440 | ); 1441 | HEADER_SEARCH_PATHS = ( 1442 | "$(inherited)", 1443 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1444 | ); 1445 | }; 1446 | name = Debug; 1447 | }; 1448 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1449 | isa = XCBuildConfiguration; 1450 | buildSettings = { 1451 | BUNDLE_LOADER = "$(TEST_HOST)"; 1452 | CLANG_ANALYZER_NONNULL = YES; 1453 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1454 | CLANG_WARN_INFINITE_RECURSION = YES; 1455 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1456 | COPY_PHASE_STRIP = NO; 1457 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1458 | GCC_NO_COMMON_BLOCKS = YES; 1459 | INFOPLIST_FILE = "ForexTrendFinder-tvOSTests/Info.plist"; 1460 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1461 | OTHER_LDFLAGS = ( 1462 | "-ObjC", 1463 | "-lc++", 1464 | ); 1465 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ForexTrendFinder-tvOSTests"; 1466 | PRODUCT_NAME = "$(TARGET_NAME)"; 1467 | SDKROOT = appletvos; 1468 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ForexTrendFinder-tvOS.app/ForexTrendFinder-tvOS"; 1469 | TVOS_DEPLOYMENT_TARGET = 10.1; 1470 | LIBRARY_SEARCH_PATHS = ( 1471 | "$(inherited)", 1472 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1473 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1474 | ); 1475 | HEADER_SEARCH_PATHS = ( 1476 | "$(inherited)", 1477 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1478 | ); 1479 | }; 1480 | name = Release; 1481 | }; 1482 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1483 | isa = XCBuildConfiguration; 1484 | buildSettings = { 1485 | ALWAYS_SEARCH_USER_PATHS = NO; 1486 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1487 | CLANG_CXX_LIBRARY = "libc++"; 1488 | CLANG_ENABLE_MODULES = YES; 1489 | CLANG_ENABLE_OBJC_ARC = YES; 1490 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1491 | CLANG_WARN_BOOL_CONVERSION = YES; 1492 | CLANG_WARN_COMMA = YES; 1493 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1494 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1495 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1496 | CLANG_WARN_EMPTY_BODY = YES; 1497 | CLANG_WARN_ENUM_CONVERSION = YES; 1498 | CLANG_WARN_INFINITE_RECURSION = YES; 1499 | CLANG_WARN_INT_CONVERSION = YES; 1500 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1501 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1502 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1503 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1504 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1505 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1506 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1507 | CLANG_WARN_UNREACHABLE_CODE = YES; 1508 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1509 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1510 | COPY_PHASE_STRIP = NO; 1511 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1512 | ENABLE_TESTABILITY = YES; 1513 | GCC_C_LANGUAGE_STANDARD = gnu99; 1514 | GCC_DYNAMIC_NO_PIC = NO; 1515 | GCC_NO_COMMON_BLOCKS = YES; 1516 | GCC_OPTIMIZATION_LEVEL = 0; 1517 | GCC_PREPROCESSOR_DEFINITIONS = ( 1518 | "DEBUG=1", 1519 | "$(inherited)", 1520 | ); 1521 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1522 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1523 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1524 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1525 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1526 | GCC_WARN_UNUSED_FUNCTION = YES; 1527 | GCC_WARN_UNUSED_VARIABLE = YES; 1528 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1529 | MTL_ENABLE_DEBUG_INFO = YES; 1530 | ONLY_ACTIVE_ARCH = YES; 1531 | SDKROOT = iphoneos; 1532 | }; 1533 | name = Debug; 1534 | }; 1535 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1536 | isa = XCBuildConfiguration; 1537 | buildSettings = { 1538 | ALWAYS_SEARCH_USER_PATHS = NO; 1539 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1540 | CLANG_CXX_LIBRARY = "libc++"; 1541 | CLANG_ENABLE_MODULES = YES; 1542 | CLANG_ENABLE_OBJC_ARC = YES; 1543 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1544 | CLANG_WARN_BOOL_CONVERSION = YES; 1545 | CLANG_WARN_COMMA = YES; 1546 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1547 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1548 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1549 | CLANG_WARN_EMPTY_BODY = YES; 1550 | CLANG_WARN_ENUM_CONVERSION = YES; 1551 | CLANG_WARN_INFINITE_RECURSION = YES; 1552 | CLANG_WARN_INT_CONVERSION = YES; 1553 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1554 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1555 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1556 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1557 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1558 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1559 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1560 | CLANG_WARN_UNREACHABLE_CODE = YES; 1561 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1562 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1563 | COPY_PHASE_STRIP = YES; 1564 | ENABLE_NS_ASSERTIONS = NO; 1565 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1566 | GCC_C_LANGUAGE_STANDARD = gnu99; 1567 | GCC_NO_COMMON_BLOCKS = YES; 1568 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1569 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1570 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1571 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1572 | GCC_WARN_UNUSED_FUNCTION = YES; 1573 | GCC_WARN_UNUSED_VARIABLE = YES; 1574 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1575 | MTL_ENABLE_DEBUG_INFO = NO; 1576 | SDKROOT = iphoneos; 1577 | VALIDATE_PRODUCT = YES; 1578 | }; 1579 | name = Release; 1580 | }; 1581 | /* End XCBuildConfiguration section */ 1582 | 1583 | /* Begin XCConfigurationList section */ 1584 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ForexTrendFinderTests" */ = { 1585 | isa = XCConfigurationList; 1586 | buildConfigurations = ( 1587 | 00E356F61AD99517003FC87E /* Debug */, 1588 | 00E356F71AD99517003FC87E /* Release */, 1589 | ); 1590 | defaultConfigurationIsVisible = 0; 1591 | defaultConfigurationName = Release; 1592 | }; 1593 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ForexTrendFinder" */ = { 1594 | isa = XCConfigurationList; 1595 | buildConfigurations = ( 1596 | 13B07F941A680F5B00A75B9A /* Debug */, 1597 | 13B07F951A680F5B00A75B9A /* Release */, 1598 | ); 1599 | defaultConfigurationIsVisible = 0; 1600 | defaultConfigurationName = Release; 1601 | }; 1602 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ForexTrendFinder-tvOS" */ = { 1603 | isa = XCConfigurationList; 1604 | buildConfigurations = ( 1605 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1606 | 2D02E4981E0B4A5E006451C7 /* Release */, 1607 | ); 1608 | defaultConfigurationIsVisible = 0; 1609 | defaultConfigurationName = Release; 1610 | }; 1611 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ForexTrendFinder-tvOSTests" */ = { 1612 | isa = XCConfigurationList; 1613 | buildConfigurations = ( 1614 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1615 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1616 | ); 1617 | defaultConfigurationIsVisible = 0; 1618 | defaultConfigurationName = Release; 1619 | }; 1620 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ForexTrendFinder" */ = { 1621 | isa = XCConfigurationList; 1622 | buildConfigurations = ( 1623 | 83CBBA201A601CBA00E9B192 /* Debug */, 1624 | 83CBBA211A601CBA00E9B192 /* Release */, 1625 | ); 1626 | defaultConfigurationIsVisible = 0; 1627 | defaultConfigurationName = Release; 1628 | }; 1629 | /* End XCConfigurationList section */ 1630 | }; 1631 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1632 | } 1633 | --------------------------------------------------------------------------------