├── .editorconfig
├── .eslintignore
├── .gitattributes
├── .gitignore
├── .prettierignore
├── .watchmanconfig
├── App.js
├── README.md
├── __tests__
└── App.js
├── android
├── app
│ ├── BUCK
│ ├── build.gradle
│ ├── build_defs.bzl
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tapp
│ │ │ ├── MainActivity.java
│ │ │ └── MainApplication.java
│ │ └── res
│ │ ├── 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
│ │ └── values
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── keystores
│ ├── BUCK
│ └── debug.keystore.properties
├── mobile
│ └── build.gradle
└── settings.gradle
├── app.json
├── babel.config.js
├── index.js
├── ios
├── Podfile
├── TApp.xcodeproj
│ ├── project.pbxproj
│ └── xcshareddata
│ │ └── xcschemes
│ │ ├── TApp-tvOS.xcscheme
│ │ └── TApp.xcscheme
├── TApp.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── TApp
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Base.lproj
│ └── LaunchScreen.xib
│ ├── Images.xcassets
│ ├── AppIcon.appiconset
│ │ └── Contents.json
│ └── Contents.json
│ ├── Info.plist
│ └── main.m
├── package-lock.json
├── package.json
├── rn-cli.config.js
├── src
├── Containers
│ ├── Home.tsx
│ └── Styles
│ │ └── index.tsx
├── Navigation
│ ├── Service.ts
│ └── index.ts
├── Redux
│ ├── MainRedux.ts
│ ├── RootReducer.ts
│ ├── Types.ts
│ └── configureStore.ts
├── Sagas
│ ├── MainSagas.ts
│ └── index.ts
└── Setup
│ ├── App.tsx
│ └── RootContainer.tsx
├── tsconfig.jest.json
├── tsconfig.json
└── yarn.lock
/.editorconfig:
--------------------------------------------------------------------------------
1 | # 2019 May 25
2 | # https://github.com/textileio/base
3 |
4 | # Standards
5 | # Same as: https://github.com/bevry/base
6 | root = true
7 |
8 | [*]
9 | end_of_line = lf
10 | charset = utf-8
11 | trim_trailing_whitespace = true
12 | insert_final_newline = false
13 | indent_style = tab
14 |
15 | [{*.mk,*.py}]
16 | indent_style = tab
17 | indent_size = 4
18 |
19 | [*.md]
20 | indent_style = space
21 | indent_size = 4
22 |
23 | [{*.json,*.lsrules,*.yml,*.bowerrc,*.babelrc}]
24 | indent_style = space
25 | indent_size = 2
26 |
27 | [{*.json,*.lsrules}]
28 | insert_final_newline = true
29 |
30 | # Preferences
31 | # Textile uses 2 space indentation for JavaScript/TypeScript
32 | [{*.js,*.jsx,*.ts,*.tsx,*.mjs}]
33 | indent_style = space
34 | indent_size = 2
35 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | # 2019 May 25
2 | # https://github.com/textileio/base
3 |
4 | android/**
5 | ios/**
6 | coverage/**
7 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # 2019 May 25
2 |
3 | # =====================================
4 | # Bevry
5 | # https://github.com/bevry/base
6 |
7 | # System Files
8 | **/.DS_Store
9 |
10 | # Temp Files
11 | **/.tmp
12 | **/*.log
13 | **/*.cpuprofile
14 | **/*.heapsnapshot
15 |
16 | # Editor Files
17 | .c9/
18 | .vscode/
19 | .idea/
20 | launch.json
21 |
22 | # Private Files
23 | .env
24 | .env.*
25 | .cake_task_cache
26 |
27 | # Build Caches
28 | build/
29 | bower_components/
30 | node_modules/
31 | .next/
32 | .pnp/
33 | .pnp.js
34 |
35 | # Build Outputs
36 | **/out.*
37 | **/*.out
38 | **/*.out.*
39 | **/out/
40 | **/output/
41 | **/dist/
42 | edition*/
43 | coffeejs/
44 | coffee/
45 | es5/
46 | es2015/
47 | esnext/
48 | docs/
49 |
50 | # =====================================
51 | # Textile
52 | # https://github.com/textileio/base
53 |
54 | # Caches
55 | .glide/
56 | .gx/
57 | __pycache__
58 |
59 | # Compiled Object files, Static and Dynamic libs (Shared Objects)
60 | **/*.o
61 | **/*.a
62 | **/*.so
63 | **/*.pyc
64 | **/*.dylib
65 | **/*.dll
66 | **/*.exe
67 | **/*.syso
68 | **/*.test
69 | **/*.prof
70 | .ipfs
71 | .textile*
72 |
73 | # Architecture specific extensions/prefixes
74 | **/*.[568vq]
75 |
76 | # Local Development Files
77 | .ackrc
78 | .tags*
79 | *.sw?
80 |
81 | # Mobile
82 | **/*.aar
83 | **/*.jar
84 | **/*.framework
85 |
86 | # Keys
87 | **/*.pem
88 |
89 | # Swarm
90 | docker-compose.swarm.yml
91 |
92 | # Other
93 | _obj
94 | _test
95 | *.cgo1.go
96 | *.cgo2.c
97 | _cgo_defun.c
98 | _cgo_gotypes.go
99 | _cgo_export.*
100 | _testmain.go
101 | local.properties
102 | *.keystore
103 | *.iml
104 |
105 | # Buck
106 | buck-out/
107 | .buckd/
108 | *.keystore
109 |
110 | # Gradle
111 | .gradle
112 |
113 | # Android
114 | *.jks
115 | android/**/*.settings
116 | android/**/*.project
117 | android/**/*.classpath
118 |
119 | # Xcode
120 | ios/Podfile.lock
121 | ios/Pods/
122 | DerivedData
123 | xcuserdata
124 | *.xccheckout
125 | *.moved-aside
126 | *.xcuserstate
127 | *.xcworkspace
128 | *.hmap
129 | *.ipa
130 |
131 | # Xcode Advanced
132 | *.pbxuser
133 | !default.pbxuser
134 | *.mode1v3
135 | !default.mode1v3
136 | *.mode2v3
137 | !default.mode2v3
138 | *.perspectivev3
139 | !default.perspectivev3
140 |
141 | # fastlane
142 | # It is recommended to not store the screenshots in the git repo.
143 | # Instead, use fastlane to re-generate the screenshots whenever they are needed.
144 | # For more information about the recommended setup visit:
145 | # https://docs.fastlane.tools/best-practices/source-control/
146 | **/fastlane/report.xml
147 | **/fastlane/Preview.html
148 | **/fastlane/screenshots
149 | **/fastlane/test_output
150 |
151 | # Bundle Artifact
152 | *.jsbundle
153 | sourcemap.js
154 |
155 | # Jest
156 | .jest/
157 | coverage/
158 |
159 | # =====================================
160 | # Repository
161 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | # 2019 May 25
2 | # https://github.com/textileio/base
3 |
4 | **/docs/
5 | **/dist/
6 | **/vendor/
7 | **/node_modules/
8 | **/*.d.ts
9 |
--------------------------------------------------------------------------------
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | * @flow
7 | * @lint-ignore-every XPLATJSCOPYRIGHT1
8 | */
9 |
10 | import React, { Component } from 'react'
11 | import { Platform, StyleSheet, Text, View } from 'react-native'
12 |
13 | const instructions = Platform.select({
14 | ios: 'Press Cmd+R to reload,\nCmd+D or shake for dev menu',
15 | android:
16 | 'Double tap R on your keyboard to reload,\n' +
17 | 'Shake or press menu button for dev menu'
18 | })
19 |
20 | const styles = StyleSheet.create({
21 | container: {
22 | flex: 1,
23 | justifyContent: 'center',
24 | alignItems: 'center',
25 | backgroundColor: '#F5FCFF'
26 | },
27 | welcome: {
28 | fontSize: 20,
29 | textAlign: 'center',
30 | margin: 10
31 | },
32 | instructions: {
33 | textAlign: 'center',
34 | color: '#333333',
35 | marginBottom: 5
36 | }
37 | })
38 |
39 | export default class App extends Component {
40 | render() {
41 | return (
42 |
43 | Welcome to React Native!
44 | To get started, edit App.tsx
45 | {instructions}
46 |
47 | )
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # @textile/advanced-react-native-boilerplate
2 |
3 | React Native boilerplate including react-navigation, redux, and sagas with example [Textile](https://github.com/textileio/go-textile/wiki) management. Built using the [Textile React Native SDK](https://github.com/textileio/react-native-sdk) and runs an [IPFS](https://ipfs.io) node directly in your app.
4 |
5 | This project uses [Typescript](https://www.typescriptlang.org/).
6 |
7 | The project setup was inspired by [Textile Photos](https://github.com/textileio/textile-mobile/) and was used in [AirSecure](http://github.com/airsecure/airsecure).
8 |
9 | ## How to use.
10 |
11 | ##### Clone this repo
12 |
13 |
14 | ```
15 | git clone git@github.com:textileio/advanced-react-native-boilerplate.git
16 | cd advanced-react-native-boilerplate
17 | ```
18 |
19 | #### Install dependencies
20 |
21 | We use Yarn for development and recommend [installing it](https://yarnpkg.com/lang/en/docs/install/), however, `npm` alone _might_ work.
22 |
23 | ```bash
24 | yarn install
25 | (cd ios/; pod install)
26 | ```
27 |
28 | #### Run the app
29 |
30 | ```bash
31 | react-native run-ios
32 | ```
33 |
34 | #### Issues
35 |
36 | Please add any issues to the [react-native-sdk repo](https://github.com/textileio/react-native-sdk).
37 |
38 |
39 | ## Adding new screens
40 |
41 | You can add new views as React Native components in `src/Containers`. Take a look at the [Home.tsx](https://github.com/textileio/advanced-react-native-boilerplate/blob/master/src/Containers/Home.tsx) for how we've structured a basic screen, reading Textile node state information from our Redux state data.
42 |
43 | After adding a new view, you'll want to include it in your Navigation object found at [src/Navigation/index.ts](https://github.com/textileio/advanced-react-native-boilerplate/blob/master/src/Navigation/index.ts).
44 |
45 | Import your new view,
46 |
47 | ```javascript
48 | import from '../Containers/'
49 | ```
50 |
51 | And add it to the Navigator,
52 |
53 |
54 | ```javascript
55 | const nav = createSwitchNavigator(
56 | {
57 | Home,
58 |
59 | },
60 | {
61 | initialRouteName: 'Home'
62 | }
63 | )
64 | ```
65 |
66 | ### Adding new state information to Redux
67 |
68 | We've included one Redux file here, [MainRedux](https://github.com/textileio/advanced-react-native-boilerplate/blob/master/src/Redux/MainRedux.ts), but you can look at the source code for [Textile Photos](https://github.com/textileio/textile-mobile/) for more advanced Redux handling.
69 |
70 | You can trigger a new Redux action with no state changes simply by updating MainRedux, for example,
71 |
72 | ```javascript
73 | const actions = {
74 | nodeStarted: createAction('NODE_STARTED'),
75 | newNodeState: createAction('NEW_NODE_STATE', (resolve) => {
76 | return (nodeState: NodeState) => resolve({ nodeState })
77 | }),
78 | yourNewEvent: createAction('NEW_EVENT_HAPPENED')
79 | }
80 | ```
81 |
82 | Or, you can create an event's payload to update the Redux state with,
83 |
84 | ```javascript
85 | const actions = {
86 | nodeStarted: createAction('NODE_STARTED'),
87 | newNodeState: createAction('NEW_NODE_STATE', (resolve) => {
88 | return (nodeState: NodeState) => resolve({ nodeState })
89 | }),
90 | yourNewEvent: createAction('NEW_EVENT_HAPPENED', (resolve) => {
91 | return (message: String) => resolve({ message })
92 | })
93 | }
94 | ...
95 | // update the redux state to store the latest message from yourNewEvent
96 | export interface MainState {
97 | started: boolean
98 | nodeState: NodeState
99 | latestMessage?: string
100 | }
101 | // we don't need to include it in the initialState since latestMessage is an optional
102 |
103 | ...
104 | // Add a new switch case to process the payload (message string in this case)
105 | ...
106 | case getType(actions.yourNewEvent): {
107 | return { ...state, latestMessage: action.payload.message }
108 | }
109 | ...
110 | ```
111 |
112 | ### Use Sagas to trigger other processes from Redux actions
113 |
114 | You can use [MainSagas](https://github.com/textileio/advanced-react-native-boilerplate/blob/master/src/Sagas/MainSagas.ts) to attach advanced processing to new Redux actions.
115 |
116 | Again, MainSagas is a simple example for taking each new event and passing it to a function, but look at Textile Photos for advanced redux/saga interaction.
117 |
118 | Take every time your new event is fired and run a function,
119 |
120 | ```javascript
121 | // Add a new takeLatest to our sagaInit
122 | export function* mainSagaInit() {
123 | yield takeLatest('NODE_STARTED', nodeStarted)
124 | yield takeLatest('NEW_NODE_STATE', newNodeState)
125 | yield takeLatest('NEW_EVENT_HAPPENED', consoleLogNewEvent)
126 | }
127 | ...
128 | // Create a function to execute for NEW_EVENT_HAPPENED
129 | export function * consoleLogNewEvent(action: ActionType) {
130 | const { message } = action.payload
131 | console.info('New event with message: ', message)
132 | }
133 | ```
134 |
--------------------------------------------------------------------------------
/__tests__/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | * @lint-ignore-every XPLATJSCOPYRIGHT1
4 | */
5 |
6 | import 'react-native'
7 | import React from 'react'
8 | import App from '../App'
9 |
10 | // Note: test renderer must be required after react-native.
11 | import renderer from 'react-test-renderer'
12 |
13 | it('renders correctly', () => {
14 | renderer.create()
15 | })
16 |
--------------------------------------------------------------------------------
/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 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12 |
13 | lib_deps = []
14 |
15 | create_aar_targets(glob(["libs/*.aar"]))
16 |
17 | create_jar_targets(glob(["libs/*.jar"]))
18 |
19 | android_library(
20 | name = "all-libs",
21 | exported_deps = lib_deps,
22 | )
23 |
24 | android_library(
25 | name = "app-code",
26 | srcs = glob([
27 | "src/main/java/**/*.java",
28 | ]),
29 | deps = [
30 | ":all-libs",
31 | ":build_config",
32 | ":res",
33 | ],
34 | )
35 |
36 | android_build_config(
37 | name = "build_config",
38 | package = "com.tapp",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.tapp",
44 | res = "src/main/res",
45 | )
46 |
47 | android_binary(
48 | name = "app",
49 | keystore = "//android/keystores:debug",
50 | manifest = "src/main/AndroidManifest.xml",
51 | package_type = "debug",
52 | deps = [
53 | ":app-code",
54 | ],
55 | )
56 |
--------------------------------------------------------------------------------
/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.tapp"
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 | multiDexEnabled true
110 | }
111 | splits {
112 | abi {
113 | reset()
114 | enable enableSeparateBuildPerCPUArchitecture
115 | universalApk false // If true, also generate a universal APK
116 | include "armeabi-v7a", "arm64-v8a"
117 | }
118 | }
119 | buildTypes {
120 | release {
121 | minifyEnabled enableProguardInReleaseBuilds
122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
123 | }
124 | }
125 | // applicationVariants are e.g. debug, release
126 | applicationVariants.all { variant ->
127 | variant.outputs.each { output ->
128 | // For each separate APK per architecture, set a unique version code as described here:
129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
130 | def versionCodes = ["armeabi-v7a":1, "x86":2]
131 | def abi = output.getFilter(OutputFile.ABI)
132 | if (abi != null) { // null for the universal-debug, universal-release variants
133 | output.versionCodeOverride =
134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
135 | }
136 | }
137 | }
138 | compileOptions {
139 | sourceCompatibility 1.8
140 | targetCompatibility 1.8
141 | }
142 | dexOptions {
143 | javaMaxHeapSize "4g"
144 | }
145 | }
146 |
147 | dependencies {
148 | implementation project(':@textile_react-native-sdk')
149 | compile project(':react-native-fs')
150 | compile project(':react-native-background-timer')
151 | compile project(':react-native-background-fetch')
152 | implementation fileTree(dir: "libs", include: ["*.jar"])
153 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
154 | implementation "com.facebook.react:react-native:+" // From node_modules
155 | implementation project(':react-native-gesture-handler')
156 | }
157 |
158 | // Run this once to be able to run the application with BUCK
159 | // puts all compile dependencies into folder libs for BUCK to use
160 | task copyDownloadableDepsToLibs(type: Copy) {
161 | from configurations.compile
162 | into 'libs'
163 | }
164 |
--------------------------------------------------------------------------------
/android/app/build_defs.bzl:
--------------------------------------------------------------------------------
1 | """Helper definitions to glob .aar and .jar targets"""
2 |
3 | def create_aar_targets(aarfiles):
4 | for aarfile in aarfiles:
5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
6 | lib_deps.append(":" + name)
7 | android_prebuilt_aar(
8 | name = name,
9 | aar = aarfile,
10 | )
11 |
12 | def create_jar_targets(jarfiles):
13 | for jarfile in jarfiles:
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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
14 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/tapp/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.tapp;
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 "TApp";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/tapp/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.tapp;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
7 | import com.rnfs.RNFSPackage;
8 | import com.ocetnik.timer.BackgroundTimerPackage;
9 | import com.transistorsoft.rnbackgroundfetch.RNBackgroundFetchPackage;
10 | import io.textile.rnmobile.RNTextilePackage;
11 | import com.facebook.react.ReactNativeHost;
12 | import com.facebook.react.ReactPackage;
13 | import com.facebook.react.shell.MainReactPackage;
14 | import com.facebook.soloader.SoLoader;
15 |
16 | import java.util.Arrays;
17 | import java.util.List;
18 |
19 | public class MainApplication extends Application implements ReactApplication {
20 |
21 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
22 | @Override
23 | public boolean getUseDeveloperSupport() {
24 | return BuildConfig.DEBUG;
25 | }
26 |
27 | @Override
28 | protected List getPackages() {
29 | return Arrays.asList(
30 | new MainReactPackage(),
31 | new RNGestureHandlerPackage(),
32 | new RNFSPackage(),
33 | new BackgroundTimerPackage(),
34 | new RNBackgroundFetchPackage(),
35 | new RNTextilePackage()
36 | );
37 | }
38 |
39 | @Override
40 | protected String getJSMainModuleName() {
41 | return "index";
42 | }
43 | };
44 |
45 | @Override
46 | public ReactNativeHost getReactNativeHost() {
47 | return mReactNativeHost;
48 | }
49 |
50 | @Override
51 | public void onCreate() {
52 | super.onCreate();
53 | SoLoader.init(this, /* native exopackage */ false);
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | TApp
3 |
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/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 = "28.0.2"
6 | minSdkVersion = 24
7 | compileSdkVersion = 28
8 | targetSdkVersion = 27
9 | supportLibVersion = "28.0.0"
10 | }
11 | repositories {
12 | google()
13 | jcenter()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.2.1'
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 | url "https://dl.bintray.com/textile/maven"
30 | }
31 | maven {
32 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
33 | url "$rootDir/../node_modules/react-native/android"
34 | }
35 | maven {
36 | url "$rootDir/../node_modules/react-native-background-fetch/android/libs"
37 | }
38 | maven {
39 | url 'https://jitpack.io'
40 | }
41 | }
42 | }
43 |
44 |
45 | task wrapper(type: Wrapper) {
46 | gradleVersion = '4.7'
47 | distributionUrl = distributionUrl.replace("bin", "all")
48 | }
49 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textileio/advanced-react-native-boilerplate/98a7f84315cc546b840a7991d61772d147e5c201/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Feb 28 11:31:04 CET 2019
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
7 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/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/mobile/build.gradle:
--------------------------------------------------------------------------------
1 | configurations.maybeCreate("default")
2 | artifacts.add("default", file('../../node_modules/@textile/go-mobile/dist/android/mobile.aar'))
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'TApp'
2 | include ':react-native-fs'
3 | project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android')
4 | include ':react-native-background-timer'
5 | project(':react-native-background-timer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-timer/android')
6 | include ':react-native-background-fetch'
7 | project(':react-native-background-fetch').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-fetch/android')
8 | include ':react-native-gesture-handler'
9 | project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
10 | include ':@textile_react-native-sdk'
11 | project(':@textile_react-native-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/@textile/react-native-sdk/android')
12 | include ':app'
13 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "TApp",
3 | "displayName": "TApp"
4 | }
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ['module:metro-react-native-babel-preset']
3 | }
4 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | * @lint-ignore-every XPLATJSCOPYRIGHT1
4 | */
5 |
6 | import { AppRegistry } from 'react-native'
7 | import App from './src/Setup/App'
8 | import { name as appName } from './app.json'
9 |
10 | AppRegistry.registerComponent(appName, () => App)
11 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | platform :ios, '10.0'
2 |
3 | target 'TApp' do
4 | pod 'React', :path => '../node_modules/react-native', :subspecs => [
5 | 'Core',
6 | 'CxxBridge',
7 | 'DevSupport',
8 | # the following ones are the ones taken from "Libraries" in Xcode:
9 | 'RCTAnimation',
10 | 'RCTActionSheet',
11 | 'RCTBlob',
12 | 'RCTGeolocation',
13 | 'RCTImage',
14 | 'RCTLinkingIOS',
15 | 'RCTNetwork',
16 | 'RCTSettings',
17 | 'RCTText',
18 | 'RCTVibration',
19 | 'RCTWebSocket'
20 | ]
21 |
22 | # the following dependencies are dependencies of React native itself.
23 | pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga/yoga.podspec'
24 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
25 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
26 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
27 |
28 | # your other libraries will follow here!
29 | pod 'textile-react-native-sdk', :path => '../node_modules/@textile/react-native-sdk'
30 | pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
31 |
32 | end
33 |
34 | # The following is needed to ensure the "archive" step works in XCode.
35 | # It removes React from the Pods project, as it is already included in the main project.
36 | post_install do |installer|
37 | installer.pods_project.targets.each do |target|
38 | if target.name == "React"
39 | target.remove_from_project
40 | end
41 | end
42 | end
43 |
--------------------------------------------------------------------------------
/ios/TApp.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 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 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 74AFCD8CBE9E4A6AA9423C1E /* libRNBackgroundTimer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88C11B53611E41DA9F9BCB55 /* libRNBackgroundTimer.a */; };
25 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
26 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
27 | C2B3622C68EA4D5091E75B33 /* RNBackgroundFetch+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = EFB5ED374DA542B4B4D71D4F /* RNBackgroundFetch+AppDelegate.m */; };
28 | DDC165CC0C0C4063B8704987 /* libRNBackgroundFetch.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AC947CAF7CA3430DACB7DAB5 /* libRNBackgroundFetch.a */; };
29 | EA57387E188692E19FD92C3E /* libPods-TApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4AD99D38B8E47E300C7C9C33 /* libPods-TApp.a */; };
30 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
31 | F29CCA3D6181435E9B8B11E2 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 083A85397F58457A82B1B990 /* libRNFS.a */; };
32 | F62A32FF7B06403F9E57EEEC /* TSBackgroundFetch.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 487594E845DE49A8888046F8 /* TSBackgroundFetch.framework */; };
33 | /* End PBXBuildFile section */
34 |
35 | /* Begin PBXContainerItemProxy section */
36 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
37 | isa = PBXContainerItemProxy;
38 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
39 | proxyType = 2;
40 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
41 | remoteInfo = RCTActionSheet;
42 | };
43 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
44 | isa = PBXContainerItemProxy;
45 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
46 | proxyType = 2;
47 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
48 | remoteInfo = RCTGeolocation;
49 | };
50 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
51 | isa = PBXContainerItemProxy;
52 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
53 | proxyType = 2;
54 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
55 | remoteInfo = RCTImage;
56 | };
57 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
58 | isa = PBXContainerItemProxy;
59 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
60 | proxyType = 2;
61 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
62 | remoteInfo = RCTNetwork;
63 | };
64 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
65 | isa = PBXContainerItemProxy;
66 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
67 | proxyType = 2;
68 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
69 | remoteInfo = RCTVibration;
70 | };
71 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
72 | isa = PBXContainerItemProxy;
73 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
74 | proxyType = 2;
75 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
76 | remoteInfo = RCTSettings;
77 | };
78 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
79 | isa = PBXContainerItemProxy;
80 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
81 | proxyType = 2;
82 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
83 | remoteInfo = RCTWebSocket;
84 | };
85 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
86 | isa = PBXContainerItemProxy;
87 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
88 | proxyType = 2;
89 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
90 | remoteInfo = React;
91 | };
92 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
93 | isa = PBXContainerItemProxy;
94 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
95 | proxyType = 2;
96 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
97 | remoteInfo = "RCTBlob-tvOS";
98 | };
99 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
100 | isa = PBXContainerItemProxy;
101 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
102 | proxyType = 2;
103 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
104 | remoteInfo = fishhook;
105 | };
106 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
107 | isa = PBXContainerItemProxy;
108 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
109 | proxyType = 2;
110 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
111 | remoteInfo = "fishhook-tvOS";
112 | };
113 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
114 | isa = PBXContainerItemProxy;
115 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
116 | proxyType = 2;
117 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
118 | remoteInfo = jsinspector;
119 | };
120 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
121 | isa = PBXContainerItemProxy;
122 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
123 | proxyType = 2;
124 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
125 | remoteInfo = "jsinspector-tvOS";
126 | };
127 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
128 | isa = PBXContainerItemProxy;
129 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
130 | proxyType = 2;
131 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
132 | remoteInfo = "third-party";
133 | };
134 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
135 | isa = PBXContainerItemProxy;
136 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
137 | proxyType = 2;
138 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
139 | remoteInfo = "third-party-tvOS";
140 | };
141 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
142 | isa = PBXContainerItemProxy;
143 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
144 | proxyType = 2;
145 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
146 | remoteInfo = "double-conversion";
147 | };
148 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
149 | isa = PBXContainerItemProxy;
150 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
151 | proxyType = 2;
152 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
153 | remoteInfo = "double-conversion-tvOS";
154 | };
155 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
156 | isa = PBXContainerItemProxy;
157 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
158 | proxyType = 2;
159 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
160 | remoteInfo = privatedata;
161 | };
162 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
163 | isa = PBXContainerItemProxy;
164 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
165 | proxyType = 2;
166 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
167 | remoteInfo = "privatedata-tvOS";
168 | };
169 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
170 | isa = PBXContainerItemProxy;
171 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
172 | proxyType = 2;
173 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
174 | remoteInfo = "RCTImage-tvOS";
175 | };
176 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
177 | isa = PBXContainerItemProxy;
178 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
179 | proxyType = 2;
180 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
181 | remoteInfo = "RCTLinking-tvOS";
182 | };
183 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
184 | isa = PBXContainerItemProxy;
185 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
186 | proxyType = 2;
187 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
188 | remoteInfo = "RCTNetwork-tvOS";
189 | };
190 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
191 | isa = PBXContainerItemProxy;
192 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
193 | proxyType = 2;
194 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
195 | remoteInfo = "RCTSettings-tvOS";
196 | };
197 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
198 | isa = PBXContainerItemProxy;
199 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
200 | proxyType = 2;
201 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
202 | remoteInfo = "RCTText-tvOS";
203 | };
204 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
205 | isa = PBXContainerItemProxy;
206 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
207 | proxyType = 2;
208 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
209 | remoteInfo = "RCTWebSocket-tvOS";
210 | };
211 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
212 | isa = PBXContainerItemProxy;
213 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
214 | proxyType = 2;
215 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
216 | remoteInfo = "React-tvOS";
217 | };
218 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
219 | isa = PBXContainerItemProxy;
220 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
221 | proxyType = 2;
222 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
223 | remoteInfo = yoga;
224 | };
225 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
226 | isa = PBXContainerItemProxy;
227 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
228 | proxyType = 2;
229 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
230 | remoteInfo = "yoga-tvOS";
231 | };
232 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
233 | isa = PBXContainerItemProxy;
234 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
235 | proxyType = 2;
236 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
237 | remoteInfo = cxxreact;
238 | };
239 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
240 | isa = PBXContainerItemProxy;
241 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
242 | proxyType = 2;
243 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
244 | remoteInfo = "cxxreact-tvOS";
245 | };
246 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
247 | isa = PBXContainerItemProxy;
248 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
249 | proxyType = 2;
250 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
251 | remoteInfo = jschelpers;
252 | };
253 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
254 | isa = PBXContainerItemProxy;
255 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
256 | proxyType = 2;
257 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
258 | remoteInfo = "jschelpers-tvOS";
259 | };
260 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
261 | isa = PBXContainerItemProxy;
262 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
263 | proxyType = 2;
264 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
265 | remoteInfo = RCTAnimation;
266 | };
267 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
268 | isa = PBXContainerItemProxy;
269 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
270 | proxyType = 2;
271 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
272 | remoteInfo = "RCTAnimation-tvOS";
273 | };
274 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
275 | isa = PBXContainerItemProxy;
276 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
277 | proxyType = 2;
278 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
279 | remoteInfo = RCTLinking;
280 | };
281 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
282 | isa = PBXContainerItemProxy;
283 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
284 | proxyType = 2;
285 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
286 | remoteInfo = RCTText;
287 | };
288 | A28F170E22259D09001BBEC9 /* PBXContainerItemProxy */ = {
289 | isa = PBXContainerItemProxy;
290 | containerPortal = 69EC79EF625049D388DA26B0 /* RNBackgroundFetch.xcodeproj */;
291 | proxyType = 2;
292 | remoteGlobalIDString = 835318541D52293F005738CD;
293 | remoteInfo = RNBackgroundFetch;
294 | };
295 | A28F171222259D09001BBEC9 /* PBXContainerItemProxy */ = {
296 | isa = PBXContainerItemProxy;
297 | containerPortal = 6E4D259CEF684F6F902F9D00 /* RNBackgroundTimer.xcodeproj */;
298 | proxyType = 2;
299 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
300 | remoteInfo = RNBackgroundTimer;
301 | };
302 | A28F171422259D09001BBEC9 /* PBXContainerItemProxy */ = {
303 | isa = PBXContainerItemProxy;
304 | containerPortal = 6E4D259CEF684F6F902F9D00 /* RNBackgroundTimer.xcodeproj */;
305 | proxyType = 2;
306 | remoteGlobalIDString = 641926921ECB4257009CF731;
307 | remoteInfo = "RNBackgroundTimer-tvOS";
308 | };
309 | A28F171822259D09001BBEC9 /* PBXContainerItemProxy */ = {
310 | isa = PBXContainerItemProxy;
311 | containerPortal = 15DF5F880B7E4379AD01A4C4 /* RNFS.xcodeproj */;
312 | proxyType = 2;
313 | remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
314 | remoteInfo = RNFS;
315 | };
316 | A28F171A22259D09001BBEC9 /* PBXContainerItemProxy */ = {
317 | isa = PBXContainerItemProxy;
318 | containerPortal = 15DF5F880B7E4379AD01A4C4 /* RNFS.xcodeproj */;
319 | proxyType = 2;
320 | remoteGlobalIDString = 6456441F1EB8DA9100672408;
321 | remoteInfo = "RNFS-tvOS";
322 | };
323 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
324 | isa = PBXContainerItemProxy;
325 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
326 | proxyType = 2;
327 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
328 | remoteInfo = RCTBlob;
329 | };
330 | /* End PBXContainerItemProxy section */
331 |
332 | /* Begin PBXFileReference section */
333 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
334 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
335 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
336 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
337 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
338 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
339 | 083A85397F58457A82B1B990 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = ""; };
340 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
341 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
342 | 13B07F961A680F5B00A75B9A /* TApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
343 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = TApp/AppDelegate.h; sourceTree = ""; };
344 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = TApp/AppDelegate.m; sourceTree = ""; };
345 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
346 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = TApp/Images.xcassets; sourceTree = ""; };
347 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = TApp/Info.plist; sourceTree = ""; };
348 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = TApp/main.m; sourceTree = ""; };
349 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
350 | 15DF5F880B7E4379AD01A4C4 /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = ""; };
351 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
352 | 487594E845DE49A8888046F8 /* TSBackgroundFetch.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = TSBackgroundFetch.framework; path = "../node_modules/react-native-background-fetch/ios/RNBackgroundFetch/TSBackgroundFetch.framework"; sourceTree = SDKROOT; };
353 | 4AD99D38B8E47E300C7C9C33 /* libPods-TApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-TApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
354 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
355 | 69EC79EF625049D388DA26B0 /* RNBackgroundFetch.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNBackgroundFetch.xcodeproj; path = "../node_modules/react-native-background-fetch/ios/RNBackgroundFetch.xcodeproj"; sourceTree = ""; };
356 | 6E4D259CEF684F6F902F9D00 /* RNBackgroundTimer.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNBackgroundTimer.xcodeproj; path = "../node_modules/react-native-background-timer/ios/RNBackgroundTimer.xcodeproj"; sourceTree = ""; };
357 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
358 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
359 | 88C11B53611E41DA9F9BCB55 /* libRNBackgroundTimer.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNBackgroundTimer.a; sourceTree = ""; };
360 | A29CF8822298AAFD00E19523 /* libDoubleConversion.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libDoubleConversion.a; sourceTree = BUILT_PRODUCTS_DIR; };
361 | AC947CAF7CA3430DACB7DAB5 /* libRNBackgroundFetch.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNBackgroundFetch.a; sourceTree = ""; };
362 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
363 | B2BB0EEAB9631477E7955A74 /* Pods-TApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TApp.release.xcconfig"; path = "Target Support Files/Pods-TApp/Pods-TApp.release.xcconfig"; sourceTree = ""; };
364 | B3721CD0EE906CD2444CBABC /* Pods-TApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TApp.debug.xcconfig"; path = "Target Support Files/Pods-TApp/Pods-TApp.debug.xcconfig"; sourceTree = ""; };
365 | CACEABCEB841484ABF6CBA58 /* libRNTextile.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNTextile.a; sourceTree = ""; };
366 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
367 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
368 | EFB5ED374DA542B4B4D71D4F /* RNBackgroundFetch+AppDelegate.m */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.c.objc; name = "RNBackgroundFetch+AppDelegate.m"; path = "../node_modules/react-native-background-fetch/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m"; sourceTree = ""; };
369 | /* End PBXFileReference section */
370 |
371 | /* Begin PBXFrameworksBuildPhase section */
372 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
373 | isa = PBXFrameworksBuildPhase;
374 | buildActionMask = 2147483647;
375 | files = (
376 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
377 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
378 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
379 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
380 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
381 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
382 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
383 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
384 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
385 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
386 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
387 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
388 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
389 | DDC165CC0C0C4063B8704987 /* libRNBackgroundFetch.a in Frameworks */,
390 | F62A32FF7B06403F9E57EEEC /* TSBackgroundFetch.framework in Frameworks */,
391 | 74AFCD8CBE9E4A6AA9423C1E /* libRNBackgroundTimer.a in Frameworks */,
392 | F29CCA3D6181435E9B8B11E2 /* libRNFS.a in Frameworks */,
393 | EA57387E188692E19FD92C3E /* libPods-TApp.a in Frameworks */,
394 | );
395 | runOnlyForDeploymentPostprocessing = 0;
396 | };
397 | /* End PBXFrameworksBuildPhase section */
398 |
399 | /* Begin PBXGroup section */
400 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
401 | isa = PBXGroup;
402 | children = (
403 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
404 | );
405 | name = Products;
406 | sourceTree = "";
407 | };
408 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
409 | isa = PBXGroup;
410 | children = (
411 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
412 | );
413 | name = Products;
414 | sourceTree = "";
415 | };
416 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
417 | isa = PBXGroup;
418 | children = (
419 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
420 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
421 | );
422 | name = Products;
423 | sourceTree = "";
424 | };
425 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
426 | isa = PBXGroup;
427 | children = (
428 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
429 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
430 | );
431 | name = Products;
432 | sourceTree = "";
433 | };
434 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
435 | isa = PBXGroup;
436 | children = (
437 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
438 | );
439 | name = Products;
440 | sourceTree = "";
441 | };
442 | 139105B71AF99BAD00B5F7CC /* Products */ = {
443 | isa = PBXGroup;
444 | children = (
445 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
446 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
447 | );
448 | name = Products;
449 | sourceTree = "";
450 | };
451 | 139FDEE71B06529A00C62182 /* Products */ = {
452 | isa = PBXGroup;
453 | children = (
454 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
455 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
456 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
457 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
458 | );
459 | name = Products;
460 | sourceTree = "";
461 | };
462 | 13B07FAE1A68108700A75B9A /* TApp */ = {
463 | isa = PBXGroup;
464 | children = (
465 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
466 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
467 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
468 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
469 | 13B07FB61A68108700A75B9A /* Info.plist */,
470 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
471 | 13B07FB71A68108700A75B9A /* main.m */,
472 | EFB5ED374DA542B4B4D71D4F /* RNBackgroundFetch+AppDelegate.m */,
473 | );
474 | name = TApp;
475 | sourceTree = "";
476 | };
477 | 146834001AC3E56700842450 /* Products */ = {
478 | isa = PBXGroup;
479 | children = (
480 | 146834041AC3E56700842450 /* libReact.a */,
481 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
482 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
483 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
484 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
485 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
486 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
487 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
488 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
489 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
490 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
491 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
492 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
493 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
494 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
495 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
496 | );
497 | name = Products;
498 | sourceTree = "";
499 | };
500 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
501 | isa = PBXGroup;
502 | children = (
503 | A29CF8822298AAFD00E19523 /* libDoubleConversion.a */,
504 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
505 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
506 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
507 | 487594E845DE49A8888046F8 /* TSBackgroundFetch.framework */,
508 | 4AD99D38B8E47E300C7C9C33 /* libPods-TApp.a */,
509 | );
510 | name = Frameworks;
511 | sourceTree = "";
512 | };
513 | 3C494A9935CB9854674A1D92 /* Pods */ = {
514 | isa = PBXGroup;
515 | children = (
516 | B3721CD0EE906CD2444CBABC /* Pods-TApp.debug.xcconfig */,
517 | B2BB0EEAB9631477E7955A74 /* Pods-TApp.release.xcconfig */,
518 | );
519 | path = Pods;
520 | sourceTree = "";
521 | };
522 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
523 | isa = PBXGroup;
524 | children = (
525 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
526 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
527 | );
528 | name = Products;
529 | sourceTree = "";
530 | };
531 | 78C398B11ACF4ADC00677621 /* Products */ = {
532 | isa = PBXGroup;
533 | children = (
534 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
535 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
536 | );
537 | name = Products;
538 | sourceTree = "";
539 | };
540 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
541 | isa = PBXGroup;
542 | children = (
543 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
544 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
545 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
546 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
547 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
548 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
549 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
550 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
551 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
552 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
553 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
554 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
555 | 69EC79EF625049D388DA26B0 /* RNBackgroundFetch.xcodeproj */,
556 | 6E4D259CEF684F6F902F9D00 /* RNBackgroundTimer.xcodeproj */,
557 | 15DF5F880B7E4379AD01A4C4 /* RNFS.xcodeproj */,
558 | );
559 | name = Libraries;
560 | sourceTree = "";
561 | };
562 | 832341B11AAA6A8300B99B32 /* Products */ = {
563 | isa = PBXGroup;
564 | children = (
565 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
566 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
567 | );
568 | name = Products;
569 | sourceTree = "";
570 | };
571 | 83CBB9F61A601CBA00E9B192 = {
572 | isa = PBXGroup;
573 | children = (
574 | 13B07FAE1A68108700A75B9A /* TApp */,
575 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
576 | 83CBBA001A601CBA00E9B192 /* Products */,
577 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
578 | A28F16DF22259D05001BBEC9 /* Recovered References */,
579 | 3C494A9935CB9854674A1D92 /* Pods */,
580 | );
581 | indentWidth = 2;
582 | sourceTree = "";
583 | tabWidth = 2;
584 | usesTabs = 0;
585 | };
586 | 83CBBA001A601CBA00E9B192 /* Products */ = {
587 | isa = PBXGroup;
588 | children = (
589 | 13B07F961A680F5B00A75B9A /* TApp.app */,
590 | );
591 | name = Products;
592 | sourceTree = "";
593 | };
594 | A28F16DF22259D05001BBEC9 /* Recovered References */ = {
595 | isa = PBXGroup;
596 | children = (
597 | CACEABCEB841484ABF6CBA58 /* libRNTextile.a */,
598 | AC947CAF7CA3430DACB7DAB5 /* libRNBackgroundFetch.a */,
599 | 88C11B53611E41DA9F9BCB55 /* libRNBackgroundTimer.a */,
600 | 083A85397F58457A82B1B990 /* libRNFS.a */,
601 | );
602 | name = "Recovered References";
603 | sourceTree = "";
604 | };
605 | A28F170722259D09001BBEC9 /* Products */ = {
606 | isa = PBXGroup;
607 | children = (
608 | A28F170F22259D09001BBEC9 /* libRNBackgroundFetch.a */,
609 | );
610 | name = Products;
611 | sourceTree = "";
612 | };
613 | A28F170922259D09001BBEC9 /* Products */ = {
614 | isa = PBXGroup;
615 | children = (
616 | A28F171322259D09001BBEC9 /* libRNBackgroundTimer.a */,
617 | A28F171522259D09001BBEC9 /* libRNBackgroundTimer.a */,
618 | );
619 | name = Products;
620 | sourceTree = "";
621 | };
622 | A28F170B22259D09001BBEC9 /* Products */ = {
623 | isa = PBXGroup;
624 | children = (
625 | A28F171922259D09001BBEC9 /* libRNFS.a */,
626 | A28F171B22259D09001BBEC9 /* libRNFS.a */,
627 | );
628 | name = Products;
629 | sourceTree = "";
630 | };
631 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
632 | isa = PBXGroup;
633 | children = (
634 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
635 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
636 | );
637 | name = Products;
638 | sourceTree = "";
639 | };
640 | /* End PBXGroup section */
641 |
642 | /* Begin PBXNativeTarget section */
643 | 13B07F861A680F5B00A75B9A /* TApp */ = {
644 | isa = PBXNativeTarget;
645 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TApp" */;
646 | buildPhases = (
647 | 43E16AD9653740D3F2465090 /* [CP] Check Pods Manifest.lock */,
648 | 13B07F871A680F5B00A75B9A /* Sources */,
649 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
650 | 13B07F8E1A680F5B00A75B9A /* Resources */,
651 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
652 | );
653 | buildRules = (
654 | );
655 | dependencies = (
656 | );
657 | name = TApp;
658 | productName = "Hello World";
659 | productReference = 13B07F961A680F5B00A75B9A /* TApp.app */;
660 | productType = "com.apple.product-type.application";
661 | };
662 | /* End PBXNativeTarget section */
663 |
664 | /* Begin PBXProject section */
665 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
666 | isa = PBXProject;
667 | attributes = {
668 | LastUpgradeCheck = 940;
669 | ORGANIZATIONNAME = Facebook;
670 | TargetAttributes = {
671 | 13B07F861A680F5B00A75B9A = {
672 | DevelopmentTeam = 5VHA5U5FY8;
673 | SystemCapabilities = {
674 | com.apple.BackgroundModes = {
675 | enabled = true;
676 | };
677 | };
678 | };
679 | };
680 | };
681 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TApp" */;
682 | compatibilityVersion = "Xcode 3.2";
683 | developmentRegion = English;
684 | hasScannedForEncodings = 0;
685 | knownRegions = (
686 | English,
687 | en,
688 | Base,
689 | );
690 | mainGroup = 83CBB9F61A601CBA00E9B192;
691 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
692 | projectDirPath = "";
693 | projectReferences = (
694 | {
695 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
696 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
697 | },
698 | {
699 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
700 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
701 | },
702 | {
703 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
704 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
705 | },
706 | {
707 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
708 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
709 | },
710 | {
711 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
712 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
713 | },
714 | {
715 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
716 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
717 | },
718 | {
719 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
720 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
721 | },
722 | {
723 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
724 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
725 | },
726 | {
727 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
728 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
729 | },
730 | {
731 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
732 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
733 | },
734 | {
735 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
736 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
737 | },
738 | {
739 | ProductGroup = 146834001AC3E56700842450 /* Products */;
740 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
741 | },
742 | {
743 | ProductGroup = A28F170722259D09001BBEC9 /* Products */;
744 | ProjectRef = 69EC79EF625049D388DA26B0 /* RNBackgroundFetch.xcodeproj */;
745 | },
746 | {
747 | ProductGroup = A28F170922259D09001BBEC9 /* Products */;
748 | ProjectRef = 6E4D259CEF684F6F902F9D00 /* RNBackgroundTimer.xcodeproj */;
749 | },
750 | {
751 | ProductGroup = A28F170B22259D09001BBEC9 /* Products */;
752 | ProjectRef = 15DF5F880B7E4379AD01A4C4 /* RNFS.xcodeproj */;
753 | },
754 | );
755 | projectRoot = "";
756 | targets = (
757 | 13B07F861A680F5B00A75B9A /* TApp */,
758 | );
759 | };
760 | /* End PBXProject section */
761 |
762 | /* Begin PBXReferenceProxy section */
763 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
764 | isa = PBXReferenceProxy;
765 | fileType = archive.ar;
766 | path = libRCTActionSheet.a;
767 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
768 | sourceTree = BUILT_PRODUCTS_DIR;
769 | };
770 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
771 | isa = PBXReferenceProxy;
772 | fileType = archive.ar;
773 | path = libRCTGeolocation.a;
774 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
775 | sourceTree = BUILT_PRODUCTS_DIR;
776 | };
777 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
778 | isa = PBXReferenceProxy;
779 | fileType = archive.ar;
780 | path = libRCTImage.a;
781 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
782 | sourceTree = BUILT_PRODUCTS_DIR;
783 | };
784 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
785 | isa = PBXReferenceProxy;
786 | fileType = archive.ar;
787 | path = libRCTNetwork.a;
788 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
789 | sourceTree = BUILT_PRODUCTS_DIR;
790 | };
791 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
792 | isa = PBXReferenceProxy;
793 | fileType = archive.ar;
794 | path = libRCTVibration.a;
795 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
796 | sourceTree = BUILT_PRODUCTS_DIR;
797 | };
798 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
799 | isa = PBXReferenceProxy;
800 | fileType = archive.ar;
801 | path = libRCTSettings.a;
802 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
803 | sourceTree = BUILT_PRODUCTS_DIR;
804 | };
805 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
806 | isa = PBXReferenceProxy;
807 | fileType = archive.ar;
808 | path = libRCTWebSocket.a;
809 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
810 | sourceTree = BUILT_PRODUCTS_DIR;
811 | };
812 | 146834041AC3E56700842450 /* libReact.a */ = {
813 | isa = PBXReferenceProxy;
814 | fileType = archive.ar;
815 | path = libReact.a;
816 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
817 | sourceTree = BUILT_PRODUCTS_DIR;
818 | };
819 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
820 | isa = PBXReferenceProxy;
821 | fileType = archive.ar;
822 | path = "libRCTBlob-tvOS.a";
823 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
824 | sourceTree = BUILT_PRODUCTS_DIR;
825 | };
826 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
827 | isa = PBXReferenceProxy;
828 | fileType = archive.ar;
829 | path = libfishhook.a;
830 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
831 | sourceTree = BUILT_PRODUCTS_DIR;
832 | };
833 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
834 | isa = PBXReferenceProxy;
835 | fileType = archive.ar;
836 | path = "libfishhook-tvOS.a";
837 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
838 | sourceTree = BUILT_PRODUCTS_DIR;
839 | };
840 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
841 | isa = PBXReferenceProxy;
842 | fileType = archive.ar;
843 | path = libjsinspector.a;
844 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
845 | sourceTree = BUILT_PRODUCTS_DIR;
846 | };
847 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
848 | isa = PBXReferenceProxy;
849 | fileType = archive.ar;
850 | path = "libjsinspector-tvOS.a";
851 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
852 | sourceTree = BUILT_PRODUCTS_DIR;
853 | };
854 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
855 | isa = PBXReferenceProxy;
856 | fileType = archive.ar;
857 | path = "libthird-party.a";
858 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
859 | sourceTree = BUILT_PRODUCTS_DIR;
860 | };
861 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
862 | isa = PBXReferenceProxy;
863 | fileType = archive.ar;
864 | path = "libthird-party.a";
865 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
866 | sourceTree = BUILT_PRODUCTS_DIR;
867 | };
868 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
869 | isa = PBXReferenceProxy;
870 | fileType = archive.ar;
871 | path = "libdouble-conversion.a";
872 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
873 | sourceTree = BUILT_PRODUCTS_DIR;
874 | };
875 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
876 | isa = PBXReferenceProxy;
877 | fileType = archive.ar;
878 | path = "libdouble-conversion.a";
879 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
880 | sourceTree = BUILT_PRODUCTS_DIR;
881 | };
882 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
883 | isa = PBXReferenceProxy;
884 | fileType = archive.ar;
885 | path = libprivatedata.a;
886 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
887 | sourceTree = BUILT_PRODUCTS_DIR;
888 | };
889 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
890 | isa = PBXReferenceProxy;
891 | fileType = archive.ar;
892 | path = "libprivatedata-tvOS.a";
893 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
894 | sourceTree = BUILT_PRODUCTS_DIR;
895 | };
896 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
897 | isa = PBXReferenceProxy;
898 | fileType = archive.ar;
899 | path = "libRCTImage-tvOS.a";
900 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
901 | sourceTree = BUILT_PRODUCTS_DIR;
902 | };
903 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
904 | isa = PBXReferenceProxy;
905 | fileType = archive.ar;
906 | path = "libRCTLinking-tvOS.a";
907 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
908 | sourceTree = BUILT_PRODUCTS_DIR;
909 | };
910 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
911 | isa = PBXReferenceProxy;
912 | fileType = archive.ar;
913 | path = "libRCTNetwork-tvOS.a";
914 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
915 | sourceTree = BUILT_PRODUCTS_DIR;
916 | };
917 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
918 | isa = PBXReferenceProxy;
919 | fileType = archive.ar;
920 | path = "libRCTSettings-tvOS.a";
921 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
922 | sourceTree = BUILT_PRODUCTS_DIR;
923 | };
924 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
925 | isa = PBXReferenceProxy;
926 | fileType = archive.ar;
927 | path = "libRCTText-tvOS.a";
928 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
929 | sourceTree = BUILT_PRODUCTS_DIR;
930 | };
931 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
932 | isa = PBXReferenceProxy;
933 | fileType = archive.ar;
934 | path = "libRCTWebSocket-tvOS.a";
935 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
936 | sourceTree = BUILT_PRODUCTS_DIR;
937 | };
938 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
939 | isa = PBXReferenceProxy;
940 | fileType = archive.ar;
941 | path = libReact.a;
942 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
943 | sourceTree = BUILT_PRODUCTS_DIR;
944 | };
945 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
946 | isa = PBXReferenceProxy;
947 | fileType = archive.ar;
948 | path = libyoga.a;
949 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
950 | sourceTree = BUILT_PRODUCTS_DIR;
951 | };
952 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
953 | isa = PBXReferenceProxy;
954 | fileType = archive.ar;
955 | path = libyoga.a;
956 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
957 | sourceTree = BUILT_PRODUCTS_DIR;
958 | };
959 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
960 | isa = PBXReferenceProxy;
961 | fileType = archive.ar;
962 | path = libcxxreact.a;
963 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
964 | sourceTree = BUILT_PRODUCTS_DIR;
965 | };
966 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
967 | isa = PBXReferenceProxy;
968 | fileType = archive.ar;
969 | path = libcxxreact.a;
970 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
971 | sourceTree = BUILT_PRODUCTS_DIR;
972 | };
973 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
974 | isa = PBXReferenceProxy;
975 | fileType = archive.ar;
976 | path = libjschelpers.a;
977 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
978 | sourceTree = BUILT_PRODUCTS_DIR;
979 | };
980 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
981 | isa = PBXReferenceProxy;
982 | fileType = archive.ar;
983 | path = libjschelpers.a;
984 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
985 | sourceTree = BUILT_PRODUCTS_DIR;
986 | };
987 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
988 | isa = PBXReferenceProxy;
989 | fileType = archive.ar;
990 | path = libRCTAnimation.a;
991 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
992 | sourceTree = BUILT_PRODUCTS_DIR;
993 | };
994 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
995 | isa = PBXReferenceProxy;
996 | fileType = archive.ar;
997 | path = libRCTAnimation.a;
998 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
999 | sourceTree = BUILT_PRODUCTS_DIR;
1000 | };
1001 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1002 | isa = PBXReferenceProxy;
1003 | fileType = archive.ar;
1004 | path = libRCTLinking.a;
1005 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1006 | sourceTree = BUILT_PRODUCTS_DIR;
1007 | };
1008 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1009 | isa = PBXReferenceProxy;
1010 | fileType = archive.ar;
1011 | path = libRCTText.a;
1012 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1013 | sourceTree = BUILT_PRODUCTS_DIR;
1014 | };
1015 | A28F170F22259D09001BBEC9 /* libRNBackgroundFetch.a */ = {
1016 | isa = PBXReferenceProxy;
1017 | fileType = archive.ar;
1018 | path = libRNBackgroundFetch.a;
1019 | remoteRef = A28F170E22259D09001BBEC9 /* PBXContainerItemProxy */;
1020 | sourceTree = BUILT_PRODUCTS_DIR;
1021 | };
1022 | A28F171322259D09001BBEC9 /* libRNBackgroundTimer.a */ = {
1023 | isa = PBXReferenceProxy;
1024 | fileType = archive.ar;
1025 | path = libRNBackgroundTimer.a;
1026 | remoteRef = A28F171222259D09001BBEC9 /* PBXContainerItemProxy */;
1027 | sourceTree = BUILT_PRODUCTS_DIR;
1028 | };
1029 | A28F171522259D09001BBEC9 /* libRNBackgroundTimer.a */ = {
1030 | isa = PBXReferenceProxy;
1031 | fileType = archive.ar;
1032 | path = libRNBackgroundTimer.a;
1033 | remoteRef = A28F171422259D09001BBEC9 /* PBXContainerItemProxy */;
1034 | sourceTree = BUILT_PRODUCTS_DIR;
1035 | };
1036 | A28F171922259D09001BBEC9 /* libRNFS.a */ = {
1037 | isa = PBXReferenceProxy;
1038 | fileType = archive.ar;
1039 | path = libRNFS.a;
1040 | remoteRef = A28F171822259D09001BBEC9 /* PBXContainerItemProxy */;
1041 | sourceTree = BUILT_PRODUCTS_DIR;
1042 | };
1043 | A28F171B22259D09001BBEC9 /* libRNFS.a */ = {
1044 | isa = PBXReferenceProxy;
1045 | fileType = archive.ar;
1046 | path = libRNFS.a;
1047 | remoteRef = A28F171A22259D09001BBEC9 /* PBXContainerItemProxy */;
1048 | sourceTree = BUILT_PRODUCTS_DIR;
1049 | };
1050 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1051 | isa = PBXReferenceProxy;
1052 | fileType = archive.ar;
1053 | path = libRCTBlob.a;
1054 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1055 | sourceTree = BUILT_PRODUCTS_DIR;
1056 | };
1057 | /* End PBXReferenceProxy section */
1058 |
1059 | /* Begin PBXResourcesBuildPhase section */
1060 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1061 | isa = PBXResourcesBuildPhase;
1062 | buildActionMask = 2147483647;
1063 | files = (
1064 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1065 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1066 | );
1067 | runOnlyForDeploymentPostprocessing = 0;
1068 | };
1069 | /* End PBXResourcesBuildPhase section */
1070 |
1071 | /* Begin PBXShellScriptBuildPhase section */
1072 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1073 | isa = PBXShellScriptBuildPhase;
1074 | buildActionMask = 2147483647;
1075 | files = (
1076 | );
1077 | inputPaths = (
1078 | );
1079 | name = "Bundle React Native code and images";
1080 | outputPaths = (
1081 | );
1082 | runOnlyForDeploymentPostprocessing = 0;
1083 | shellPath = /bin/sh;
1084 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1085 | };
1086 | 43E16AD9653740D3F2465090 /* [CP] Check Pods Manifest.lock */ = {
1087 | isa = PBXShellScriptBuildPhase;
1088 | buildActionMask = 2147483647;
1089 | files = (
1090 | );
1091 | inputFileListPaths = (
1092 | );
1093 | inputPaths = (
1094 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
1095 | "${PODS_ROOT}/Manifest.lock",
1096 | );
1097 | name = "[CP] Check Pods Manifest.lock";
1098 | outputFileListPaths = (
1099 | );
1100 | outputPaths = (
1101 | "$(DERIVED_FILE_DIR)/Pods-TApp-checkManifestLockResult.txt",
1102 | );
1103 | runOnlyForDeploymentPostprocessing = 0;
1104 | shellPath = /bin/sh;
1105 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
1106 | showEnvVarsInLog = 0;
1107 | };
1108 | /* End PBXShellScriptBuildPhase section */
1109 |
1110 | /* Begin PBXSourcesBuildPhase section */
1111 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1112 | isa = PBXSourcesBuildPhase;
1113 | buildActionMask = 2147483647;
1114 | files = (
1115 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1116 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1117 | C2B3622C68EA4D5091E75B33 /* RNBackgroundFetch+AppDelegate.m in Sources */,
1118 | );
1119 | runOnlyForDeploymentPostprocessing = 0;
1120 | };
1121 | /* End PBXSourcesBuildPhase section */
1122 |
1123 | /* Begin PBXVariantGroup section */
1124 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1125 | isa = PBXVariantGroup;
1126 | children = (
1127 | 13B07FB21A68108700A75B9A /* Base */,
1128 | );
1129 | name = LaunchScreen.xib;
1130 | path = TApp;
1131 | sourceTree = "";
1132 | };
1133 | /* End PBXVariantGroup section */
1134 |
1135 | /* Begin XCBuildConfiguration section */
1136 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1137 | isa = XCBuildConfiguration;
1138 | baseConfigurationReference = B3721CD0EE906CD2444CBABC /* Pods-TApp.debug.xcconfig */;
1139 | buildSettings = {
1140 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1141 | CURRENT_PROJECT_VERSION = 1;
1142 | DEAD_CODE_STRIPPING = NO;
1143 | DEVELOPMENT_TEAM = 5VHA5U5FY8;
1144 | ENABLE_BITCODE = NO;
1145 | FRAMEWORK_SEARCH_PATHS = (
1146 | "$(PROJECT_DIR)/../node_modules/react-native-background-fetch/ios/**",
1147 | "$(PROJECT_DIR)",
1148 | "$(inherited)",
1149 | );
1150 | HEADER_SEARCH_PATHS = "$(inherited)";
1151 | INFOPLIST_FILE = TApp/Info.plist;
1152 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
1153 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1154 | LIBRARY_SEARCH_PATHS = "$(inherited)";
1155 | OTHER_LDFLAGS = (
1156 | "$(inherited)",
1157 | "-ObjC",
1158 | "-lc++",
1159 | );
1160 | PRODUCT_BUNDLE_IDENTIFIER = io.textile.examples.tapp;
1161 | PRODUCT_NAME = TApp;
1162 | VERSIONING_SYSTEM = "apple-generic";
1163 | };
1164 | name = Debug;
1165 | };
1166 | 13B07F951A680F5B00A75B9A /* Release */ = {
1167 | isa = XCBuildConfiguration;
1168 | baseConfigurationReference = B2BB0EEAB9631477E7955A74 /* Pods-TApp.release.xcconfig */;
1169 | buildSettings = {
1170 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1171 | CURRENT_PROJECT_VERSION = 1;
1172 | DEVELOPMENT_TEAM = 5VHA5U5FY8;
1173 | ENABLE_BITCODE = NO;
1174 | FRAMEWORK_SEARCH_PATHS = (
1175 | "$(PROJECT_DIR)/../node_modules/react-native-background-fetch/ios/**",
1176 | "$(PROJECT_DIR)",
1177 | "$(inherited)",
1178 | );
1179 | HEADER_SEARCH_PATHS = "$(inherited)";
1180 | INFOPLIST_FILE = TApp/Info.plist;
1181 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
1182 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1183 | LIBRARY_SEARCH_PATHS = "$(inherited)";
1184 | OTHER_LDFLAGS = (
1185 | "$(inherited)",
1186 | "-ObjC",
1187 | "-lc++",
1188 | );
1189 | PRODUCT_BUNDLE_IDENTIFIER = io.textile.examples.tapp;
1190 | PRODUCT_NAME = TApp;
1191 | VERSIONING_SYSTEM = "apple-generic";
1192 | };
1193 | name = Release;
1194 | };
1195 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1196 | isa = XCBuildConfiguration;
1197 | buildSettings = {
1198 | ALWAYS_SEARCH_USER_PATHS = NO;
1199 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1200 | CLANG_CXX_LIBRARY = "libc++";
1201 | CLANG_ENABLE_MODULES = YES;
1202 | CLANG_ENABLE_OBJC_ARC = YES;
1203 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1204 | CLANG_WARN_BOOL_CONVERSION = YES;
1205 | CLANG_WARN_COMMA = YES;
1206 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1207 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1208 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1209 | CLANG_WARN_EMPTY_BODY = YES;
1210 | CLANG_WARN_ENUM_CONVERSION = YES;
1211 | CLANG_WARN_INFINITE_RECURSION = YES;
1212 | CLANG_WARN_INT_CONVERSION = YES;
1213 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1214 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1215 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1216 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1217 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1218 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1219 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1220 | CLANG_WARN_UNREACHABLE_CODE = YES;
1221 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1222 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1223 | COPY_PHASE_STRIP = NO;
1224 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1225 | ENABLE_TESTABILITY = YES;
1226 | GCC_C_LANGUAGE_STANDARD = gnu99;
1227 | GCC_DYNAMIC_NO_PIC = NO;
1228 | GCC_NO_COMMON_BLOCKS = YES;
1229 | GCC_OPTIMIZATION_LEVEL = 0;
1230 | GCC_PREPROCESSOR_DEFINITIONS = (
1231 | "DEBUG=1",
1232 | "$(inherited)",
1233 | );
1234 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1235 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1236 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1237 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1238 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1239 | GCC_WARN_UNUSED_FUNCTION = YES;
1240 | GCC_WARN_UNUSED_VARIABLE = YES;
1241 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1242 | MTL_ENABLE_DEBUG_INFO = YES;
1243 | ONLY_ACTIVE_ARCH = YES;
1244 | SDKROOT = iphoneos;
1245 | };
1246 | name = Debug;
1247 | };
1248 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1249 | isa = XCBuildConfiguration;
1250 | buildSettings = {
1251 | ALWAYS_SEARCH_USER_PATHS = NO;
1252 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1253 | CLANG_CXX_LIBRARY = "libc++";
1254 | CLANG_ENABLE_MODULES = YES;
1255 | CLANG_ENABLE_OBJC_ARC = YES;
1256 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1257 | CLANG_WARN_BOOL_CONVERSION = YES;
1258 | CLANG_WARN_COMMA = YES;
1259 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1260 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1261 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1262 | CLANG_WARN_EMPTY_BODY = YES;
1263 | CLANG_WARN_ENUM_CONVERSION = YES;
1264 | CLANG_WARN_INFINITE_RECURSION = YES;
1265 | CLANG_WARN_INT_CONVERSION = YES;
1266 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1267 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1268 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1269 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1270 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1271 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1272 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1273 | CLANG_WARN_UNREACHABLE_CODE = YES;
1274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1275 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1276 | COPY_PHASE_STRIP = YES;
1277 | ENABLE_NS_ASSERTIONS = NO;
1278 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1279 | GCC_C_LANGUAGE_STANDARD = gnu99;
1280 | GCC_NO_COMMON_BLOCKS = YES;
1281 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1282 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1283 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1284 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1285 | GCC_WARN_UNUSED_FUNCTION = YES;
1286 | GCC_WARN_UNUSED_VARIABLE = YES;
1287 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1288 | MTL_ENABLE_DEBUG_INFO = NO;
1289 | SDKROOT = iphoneos;
1290 | VALIDATE_PRODUCT = YES;
1291 | };
1292 | name = Release;
1293 | };
1294 | /* End XCBuildConfiguration section */
1295 |
1296 | /* Begin XCConfigurationList section */
1297 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "TApp" */ = {
1298 | isa = XCConfigurationList;
1299 | buildConfigurations = (
1300 | 13B07F941A680F5B00A75B9A /* Debug */,
1301 | 13B07F951A680F5B00A75B9A /* Release */,
1302 | );
1303 | defaultConfigurationIsVisible = 0;
1304 | defaultConfigurationName = Release;
1305 | };
1306 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "TApp" */ = {
1307 | isa = XCConfigurationList;
1308 | buildConfigurations = (
1309 | 83CBBA201A601CBA00E9B192 /* Debug */,
1310 | 83CBBA211A601CBA00E9B192 /* Release */,
1311 | );
1312 | defaultConfigurationIsVisible = 0;
1313 | defaultConfigurationName = Release;
1314 | };
1315 | /* End XCConfigurationList section */
1316 | };
1317 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1318 | }
1319 |
--------------------------------------------------------------------------------
/ios/TApp.xcodeproj/xcshareddata/xcschemes/TApp-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 |
--------------------------------------------------------------------------------
/ios/TApp.xcodeproj/xcshareddata/xcschemes/TApp.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 |
107 |
108 |
109 |
110 |
111 |
112 |
118 |
120 |
126 |
127 |
128 |
129 |
131 |
132 |
135 |
136 |
137 |
--------------------------------------------------------------------------------
/ios/TApp.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/TApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/TApp/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 |
--------------------------------------------------------------------------------
/ios/TApp/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #import "AppDelegate.h"
2 |
3 | #import
4 | #import
5 |
6 | @implementation AppDelegate
7 |
8 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
9 | {
10 | NSURL *jsCodeLocation;
11 |
12 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
13 |
14 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
15 | moduleName:@"TApp"
16 | initialProperties:nil
17 | launchOptions:launchOptions];
18 | rootView.backgroundColor = [UIColor blackColor];
19 |
20 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
21 | UIViewController *rootViewController = [UIViewController new];
22 | rootViewController.view = rootView;
23 | self.window.rootViewController = rootViewController;
24 | [self.window makeKeyAndVisible];
25 | return YES;
26 | }
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/ios/TApp/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 |
--------------------------------------------------------------------------------
/ios/TApp/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ios-marketing",
45 | "size" : "1024x1024",
46 | "scale" : "1x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
--------------------------------------------------------------------------------
/ios/TApp/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/TApp/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | TApp
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 | NSAppTransportSecurity
28 |
29 | NSAllowsArbitraryLoads
30 |
31 | NSExceptionDomains
32 |
33 | localhost
34 |
35 | NSExceptionAllowsInsecureHTTPLoads
36 |
37 |
38 |
39 |
40 | NSLocationWhenInUseUsageDescription
41 |
42 | UIBackgroundModes
43 |
44 | fetch
45 |
46 | UILaunchStoryboardName
47 | LaunchScreen
48 | UIRequiredDeviceCapabilities
49 |
50 | armv7
51 |
52 | UISupportedInterfaceOrientations
53 |
54 | UIInterfaceOrientationPortrait
55 | UIInterfaceOrientationLandscapeLeft
56 | UIInterfaceOrientationLandscapeRight
57 |
58 | UIViewControllerBasedStatusBarAppearance
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/ios/TApp/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tApp",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "tsc": "tsc -p . --noEmit",
8 | "lint": "eslint --fix --ext .mjs,.js,.jsx,.ts,.tsx .",
9 | "test": "jest"
10 | },
11 | "dependencies": {
12 | "@textile/react-native-sdk": "3.0.12",
13 | "buffer": "^5.2.1",
14 | "react": "^16.6.3",
15 | "react-native": "0.58.6",
16 | "react-native-background-fetch": "^2.4.3",
17 | "react-native-background-timer": "2.1.0-alpha.6",
18 | "react-native-fs": "^2.11.17",
19 | "react-native-gesture-handler": "v1.3.0",
20 | "react-native-responsive-fontsize": "^0.1.8",
21 | "react-native-typography": "^1.4.0",
22 | "react-navigation": "^3.2.3",
23 | "react-redux": "^6.0.0",
24 | "redux": "^4.0.1",
25 | "redux-persist": "^5.10.0",
26 | "redux-saga": "^1.0.1",
27 | "typesafe-actions": "^3.0.0"
28 | },
29 | "devDependencies": {
30 | "@types/enzyme": "^3.1.14",
31 | "@types/enzyme-adapter-react-16": "^1.0.3",
32 | "@types/jest": "^24.0.0",
33 | "@types/react": "^16.8.3",
34 | "@types/react-native": "^0.57.36",
35 | "@types/react-native-background-timer": "^2.0.0",
36 | "@types/react-native-fs": "^2.8.2",
37 | "@types/react-navigation": "^3.0.2",
38 | "@types/react-redux": "^6.0.9",
39 | "@types/react-test-renderer": "^16.0.3",
40 | "@typescript-eslint/eslint-plugin": "^1.9.0",
41 | "@typescript-eslint/parser": "^1.9.0",
42 | "babel-core": "^7.0.0-bridge.0",
43 | "babel-jest": "24.1.0",
44 | "enzyme": "^3.7.0",
45 | "enzyme-adapter-react-16": "^1.6.0",
46 | "eslint": "^5.16.0",
47 | "eslint-config-bevry": "^1.2.0",
48 | "eslint-config-prettier": "^4.2.0",
49 | "eslint-plugin-prettier": "^3.1.0",
50 | "eslint-plugin-react": "^7.13.0",
51 | "eslint-plugin-react-hooks": "^1.6.0",
52 | "jest": "24.1.0",
53 | "metro-react-native-babel-preset": "0.48.0",
54 | "prettier": "^1.17.0",
55 | "react-dom": "^16.5.2",
56 | "react-native-typescript-transformer": "^1.2.11",
57 | "react-test-renderer": "16.6.3",
58 | "ts-jest": "^23.10.5",
59 | "typescript": "^3.2.4"
60 | },
61 | "jest": {
62 | "preset": "react-native",
63 | "moduleFileExtensions": [
64 | "ts",
65 | "tsx",
66 | "js"
67 | ],
68 | "transform": {
69 | "^.+\\.(js)$": "/node_modules/babel-jest",
70 | "\\.(ts|tsx)$": "/node_modules/ts-jest/preprocessor.js"
71 | },
72 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
73 | "testPathIgnorePatterns": [
74 | "\\.snap$",
75 | "/node_modules/"
76 | ],
77 | "cacheDirectory": ".jest/cache"
78 | },
79 | "eslintConfig": {
80 | "extends": [
81 | "bevry"
82 | ],
83 | "parserOptions": {
84 | "ecmaVersion": 6,
85 | "sourceType": "module",
86 | "ecmaFeatures": {
87 | "jsx": true
88 | }
89 | }
90 | },
91 | "prettier": {
92 | "semi": false,
93 | "singleQuote": true
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/rn-cli.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | getTransformModulePath() {
3 | return require.resolve('react-native-typescript-transformer')
4 | },
5 | getSourceExts() {
6 | return ['ts', 'tsx']
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/Containers/Home.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import { connect } from 'react-redux'
3 | import { Dispatch } from 'redux'
4 | import {
5 | View,
6 | Text,
7 | Image,
8 | } from 'react-native'
9 | import { RootAction, RootState } from '../Redux/Types'
10 | import styles from './Styles'
11 | import { NodeState } from '../Redux/MainRedux'
12 |
13 | class Home extends React.Component {
14 | render() {
15 | const previewText = !this.props.online
16 | ? 'waiting to come online...'
17 | : this.props.ipfsImage == null
18 | ? 'requesting ipfs hash...'
19 | : 'ipfs request complete'
20 | // if (this.props.online) {
21 | // return this.renderPanZoom()
22 | // }
23 | return (
24 |
25 |
26 |
27 | local node state: {this.props.nodeState}
28 |
29 |
30 |
31 | {previewText}
32 | {this.props.ipfsImage && this.renderImage()}
33 |
34 |
35 | )
36 | }
37 |
38 | renderImage = () => {
39 | console.log(this.props.ipfsImage)
40 | return (
41 |
46 | )
47 | }
48 | }
49 |
50 | interface StateProps {
51 | nodeState: NodeState
52 | online: boolean
53 | ipfsImage?: string
54 | }
55 | function mapStateToProps(state: RootState): StateProps {
56 | return {
57 | nodeState: state.main.nodeState,
58 | online: state.main.online,
59 | ipfsImage: state.main.ipfsImage
60 | }
61 | }
62 |
63 | function mapDispatchToProps(dispatch: Dispatch): {} {
64 | return {}
65 | }
66 |
67 | export default connect(
68 | mapStateToProps,
69 | mapDispatchToProps
70 | )(Home)
71 |
--------------------------------------------------------------------------------
/src/Containers/Styles/index.tsx:
--------------------------------------------------------------------------------
1 | import { StyleSheet, TextStyle, ViewStyle, ImageStyle } from 'react-native'
2 |
3 | import {
4 | material,
5 | materialColors,
6 | systemWeights
7 | } from 'react-native-typography'
8 |
9 | interface Style {
10 | applicationView: ViewStyle
11 | header: ViewStyle
12 | container: ViewStyle
13 | title: TextStyle
14 | statusText: TextStyle
15 | hashText: TextStyle
16 | ipfs: ViewStyle
17 | imageView: ViewStyle
18 | }
19 |
20 | const styles = StyleSheet.create