├── .watchmanconfig
├── .gitattributes
├── rust
└── mobile_app
│ ├── .gitignore
│ ├── .editorconfig
│ ├── Cargo.toml
│ ├── copy_android.sh
│ ├── Makefile
│ ├── src
│ ├── lib.rs
│ └── string.rs
│ ├── mobile_app.h
│ └── Cargo.lock
├── app.json
├── android
├── settings.gradle
├── local.properties
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── mobile_app
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── MobileAppBridge.java
│ │ │ │ ├── MobileAppPackage.java
│ │ │ │ └── MainApplication.java
│ │ │ └── AndroidManifest.xml
│ ├── BUCK
│ ├── proguard-rules.pro
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── keystores
│ ├── debug.keystore.properties
│ └── BUCK
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── .buckconfig
├── ios
├── mobile_app-Bridging-Header.h
├── mobile_app
│ ├── MobileAppBridge.m
│ ├── AppDelegate.h
│ ├── main.m
│ ├── MobileAppBridge.swift
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── String.swift
│ ├── AppDelegate.m
│ ├── Info.plist
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── mobile_appTests
│ ├── Info.plist
│ └── mobile_appTests.m
├── mobile_app-tvOSTests
│ └── Info.plist
├── mobile_app-tvOS
│ └── Info.plist
└── mobile_app.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── mobile_app.xcscheme
│ │ └── mobile_app-tvOS.xcscheme
│ └── project.pbxproj
├── .editorconfig
├── __tests__
├── index.ios.js
└── index.android.js
├── cargo-config.toml.template
├── package.json
├── create-ndk-standalone.sh
├── .gitignore
├── index.ios.js
├── index.android.js
└── .flowconfig
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/rust/mobile_app/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | **/*.rs.bk
3 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mobile_app",
3 | "displayName": "mobile_app"
4 | }
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'mobile_app'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/android/local.properties:
--------------------------------------------------------------------------------
1 | ndk.dir=/usr/local/opt/android-ndk
2 | sdk.dir=/Users/marek/Library/Android/sdk
3 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | mobile_app
3 |
4 |
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/debris/rust-react-native-boilerplate/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/debris/rust-react-native-boilerplate/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/debris/rust-react-native-boilerplate/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/debris/rust-react-native-boilerplate/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/debris/rust-react-native-boilerplate/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/ios/mobile_app-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | //
2 | // Use this file to import your target's public headers that you would like to expose to Swift.
3 | //
4 |
5 | #import
6 | #import "mobile_app.h"
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 | [*]
3 | indent_style=space
4 | indent_size=2
5 | tab_width=4
6 | end_of_line=lf
7 | charset=utf-8
8 | trim_trailing_whitespace=true
9 | max_line_length=120
10 | insert_final_newline=true
11 |
12 | [.travis.yml]
13 | indent_style=space
14 | indent_size=2
15 | tab_width=8
16 | end_of_line=lf
17 |
--------------------------------------------------------------------------------
/rust/mobile_app/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 | [*]
3 | indent_style=space
4 | indent_size=2
5 | tab_width=4
6 | end_of_line=lf
7 | charset=utf-8
8 | trim_trailing_whitespace=true
9 | max_line_length=120
10 | insert_final_newline=true
11 |
12 | [.travis.yml]
13 | indent_style=space
14 | indent_size=2
15 | tab_width=8
16 | end_of_line=lf
17 |
--------------------------------------------------------------------------------
/__tests__/index.ios.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.ios.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/__tests__/index.android.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.android.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/rust/mobile_app/Cargo.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "mobile_app"
3 | version = "0.1.0"
4 | authors = ["debris "]
5 |
6 | [lib]
7 | name = "mobile_app"
8 | crate-type = ["staticlib", "cdylib"]
9 |
10 | [dependencies]
11 | libc = "0.2"
12 | jni = { version = "0.5.1", optional = true, default-features = false }
13 |
14 | [features]
15 | default = ["jni"]
16 |
--------------------------------------------------------------------------------
/ios/mobile_app/MobileAppBridge.m:
--------------------------------------------------------------------------------
1 | //
2 | // MobileAppBridge.m
3 | // mobile_app
4 | //
5 | // Created by Marek Kotewicz on 18/08/2017.
6 | // Copyright © 2017 Facebook. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface RCT_EXTERN_MODULE(MobileAppBridge, NSObject)
12 |
13 | RCT_EXTERN_METHOD(sayHelloWorld:(NSString*)name resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject)
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/cargo-config.toml.template:
--------------------------------------------------------------------------------
1 | [target.aarch64-linux-android]
2 | ar = "$PWD/NDK/arm64/bin/aarch64-linux-android-ar"
3 | linker = "$PWD/NDK/arm64/bin/aarch64-linux-android-gcc"
4 |
5 | [target.armv7-linux-androideabi]
6 | ar = "$PWD/NDK/arm/bin/arm-linux-androideabi-ar"
7 | linker = "$PWD/NDK/arm/bin/arm-linux-androideabi-gcc"
8 |
9 | [target.i686-linux-android]
10 | ar = "$PWD/NDK/x86/bin/i686-linux-android-ar"
11 | linker = "$PWD/NDK/x86/bin/i686-linux-android-gcc"
12 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/mobile_app/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.mobile_app;
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 "mobile_app";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ios/mobile_app/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mobile_app",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "babel-preset-react-native": "^3.0.0",
11 | "react": "16.0.0-alpha.12",
12 | "react-native": "^0.47.1"
13 | },
14 | "devDependencies": {
15 | "babel-jest": "20.0.3",
16 | "jest": "20.0.4",
17 | "react-test-renderer": "16.0.0-alpha.12"
18 | },
19 | "jest": {
20 | "preset": "react-native"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ios/mobile_app/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | #import "AppDelegate.h"
13 |
14 | int main(int argc, char * argv[]) {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/rust/mobile_app/copy_android.sh:
--------------------------------------------------------------------------------
1 | #! /bin/bash
2 |
3 | mkdir -p ../../android/app/src/main/jniLibs
4 | mkdir -p ../../android/app/src/main/jniLibs/x86
5 | mkdir -p ../../android/app/src/main/jniLibs/arm64-v8a
6 | mkdir -p ../../android/app/src/main/jniLibs/armeabi-v7a
7 |
8 | cp ./target/i686-linux-android/release/libmobile_app.so ../../android/app/src/main/jniLibs/x86/libmobile_app.so
9 | cp ./target/aarch64-linux-android/release/libmobile_app.so ../../android/app/src/main/jniLibs/arm64-v8a/libmobile_app.so
10 | cp ./target/armv7-linux-androideabi/release/libmobile_app.so ../../android/app/src/main/jniLibs/armeabi-v7a/libmobile_app.so
11 |
--------------------------------------------------------------------------------
/rust/mobile_app/Makefile:
--------------------------------------------------------------------------------
1 | ARCHS_IOS = i386-apple-ios x86_64-apple-ios armv7-apple-ios armv7s-apple-ios aarch64-apple-ios
2 | ARCHS_ANDROID = aarch64-linux-android armv7-linux-androideabi i686-linux-android
3 | LIB=libmobile_app.a
4 |
5 | all: ios android
6 |
7 | ios: $(LIB)
8 |
9 | android: $(ARCHS_ANDROID)
10 | sh copy_android.sh
11 |
12 | .PHONY: $(ARCHS_IOS)
13 | $(ARCHS_IOS): %:
14 | cargo build --target $@ --release --no-default-features
15 |
16 | .PHONY: $(ARCHS_ANDROID)
17 | $(ARCHS_ANDROID): %:
18 | cargo build --target $@ --release
19 |
20 | $(LIB): $(ARCHS_IOS)
21 | lipo -create -output $@ $(foreach arch,$(ARCHS_IOS),$(wildcard target/$(arch)/release/$(LIB)))
22 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$rootDir/../node_modules/react-native/android"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ios/mobile_app/MobileAppBridge.swift:
--------------------------------------------------------------------------------
1 | //
2 | // MobileAppBridge.swift
3 | // mobile_app
4 | //
5 | // Created by Marek Kotewicz on 18/08/2017.
6 | // Copyright © 2017 Facebook. All rights reserved.
7 | //
8 |
9 | import Foundation
10 |
11 | @objc(MobileAppBridge)
12 |
13 | class MobileAppBridge: NSObject {
14 | @objc func sayHelloWorld(_ name: String, resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) -> Void {
15 | var name_ptr = name.asPtr()
16 | let result_rust_str = hello_world(&name_ptr)
17 | let result_rust_str_ptr = rust_string_ptr(result_rust_str)
18 | let result = String.fromStringPtr(ptr: result_rust_str_ptr!.pointee)
19 | rust_string_ptr_destroy(result_rust_str_ptr)
20 | rust_string_destroy(result_rust_str)
21 | resolve(result)
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/mobile_app/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/ios/mobile_appTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/mobile_app-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/mobile_app/MobileAppBridge.java:
--------------------------------------------------------------------------------
1 | package com.mobile_app;
2 |
3 | import com.facebook.react.bridge.Promise;
4 | import com.facebook.react.bridge.ReactApplicationContext;
5 | import com.facebook.react.bridge.ReactContextBaseJavaModule;
6 | import com.facebook.react.bridge.ReactMethod;
7 |
8 | /**
9 | * Created by marek on 17/08/2017.
10 | */
11 |
12 | public class MobileAppBridge extends ReactContextBaseJavaModule {
13 | static {
14 | System.loadLibrary("mobile_app");
15 | }
16 |
17 | @Override
18 | public String getName() {
19 | return "MobileAppBridge";
20 | }
21 |
22 | public MobileAppBridge(ReactApplicationContext reactContext) {
23 | super(reactContext);
24 | }
25 |
26 | @ReactMethod
27 | public void sayHelloWorld(String name, Promise promise) {
28 | promise.resolve(helloWorld(name));
29 | }
30 |
31 | private static native String helloWorld(String name);
32 | }
33 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/mobile_app/MobileAppPackage.java:
--------------------------------------------------------------------------------
1 | package com.mobile_app;
2 |
3 | import com.facebook.react.ReactPackage;
4 | import com.facebook.react.bridge.JavaScriptModule;
5 | import com.facebook.react.bridge.NativeModule;
6 | import com.facebook.react.bridge.ReactApplicationContext;
7 | import com.facebook.react.uimanager.ViewManager;
8 |
9 | import java.util.ArrayList;
10 | import java.util.Collections;
11 | import java.util.List;
12 |
13 | /**
14 | * Created by marek on 17/08/2017.
15 | */
16 |
17 | public class MobileAppPackage implements ReactPackage {
18 | @Override
19 | public List createViewManagers(ReactApplicationContext reactContext) {
20 | return Collections.emptyList();
21 | }
22 |
23 | @Override
24 | public List createNativeModules(ReactApplicationContext reactContext) {
25 | List modules = new ArrayList<>();
26 | modules.add(new MobileAppBridge(reactContext));
27 | return modules;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/create-ndk-standalone.sh:
--------------------------------------------------------------------------------
1 | #! /bin/bash
2 |
3 | # based on https://github.com/kennytm/rust-ios-android
4 |
5 | set -euo pipefail
6 |
7 | if [ -d NDK ]; then
8 | printf '\e[33;1mStandalone NDK already exists... Delete the NDK folder to make a new one.\e[0m\n\n'
9 | printf '$ rm -rf NDK\n'
10 | exit 0
11 | fi
12 |
13 | MAKER="$NDK_HOME/build/tools/make_standalone_toolchain.py"
14 |
15 | if [ -x "$MAKER" ]; then
16 | MAKER="$NDK_HOME/build/tools/make_standalone_toolchain.py"
17 | fi
18 |
19 | if [ -x "$MAKER" ]; then
20 | echo 'Creating standalone NDK...'
21 | else
22 | printf '\e[91;1mPlease install `android-ndk`!\e[0m\n\n'
23 | printf '$ brew install android-ndk\n'
24 | exit 1
25 | fi
26 |
27 | mkdir NDK
28 | cd NDK
29 |
30 | for ARCH in arm64 arm x86; do
31 | echo "($ARCH)..."
32 | "$MAKER" --arch $ARCH --install-dir $ARCH
33 | done
34 |
35 | echo 'Updating ./rust/.cargo/config.toml...'
36 |
37 | cd ..
38 | mkdir -p rust/.cargo
39 | sed 's|$PWD|'"${PWD}"'|g' cargo-config.toml.template > ./rust/.cargo/config
40 |
41 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # NDK
2 | NDK/
3 | rust/.cargo
4 | *.apk
5 |
6 | # rust output file
7 | *.a
8 | *.so
9 | .externalNativeBuild
10 |
11 | # OSX
12 | #
13 | .DS_Store
14 |
15 | # Xcode
16 | #
17 | build/
18 | *.pbxuser
19 | !default.pbxuser
20 | *.mode1v3
21 | !default.mode1v3
22 | *.mode2v3
23 | !default.mode2v3
24 | *.perspectivev3
25 | !default.perspectivev3
26 | xcuserdata
27 | *.xccheckout
28 | *.moved-aside
29 | DerivedData
30 | *.hmap
31 | *.ipa
32 | *.xcuserstate
33 | project.xcworkspace
34 |
35 | # Android/IntelliJ
36 | #
37 | build/
38 | .idea
39 | .gradle
40 | *.iml
41 |
42 | # node.js
43 | #
44 | node_modules/
45 | npm-debug.log
46 |
47 | # BUCK
48 | buck-out/
49 | \.buckd/
50 | android/app/libs
51 | *.keystore
52 |
53 | # fastlane
54 | #
55 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
56 | # screenshots whenever they are needed.
57 | # For more information about the recommended setup visit:
58 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
59 |
60 | fastlane/report.xml
61 | fastlane/Preview.html
62 | fastlane/screenshots
63 |
64 | # vim
65 | *.swp
66 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/mobile_app/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.mobile_app;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.facebook.react.ReactNativeHost;
7 | import com.facebook.react.ReactPackage;
8 | import com.facebook.react.shell.MainReactPackage;
9 | import com.facebook.soloader.SoLoader;
10 |
11 | import java.util.Arrays;
12 | import java.util.List;
13 |
14 | public class MainApplication extends Application implements ReactApplication {
15 |
16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
17 | @Override
18 | public boolean getUseDeveloperSupport() {
19 | return BuildConfig.DEBUG;
20 | }
21 |
22 | @Override
23 | protected List getPackages() {
24 | return Arrays.asList(
25 | new MainReactPackage(), new MobileAppPackage()
26 | );
27 | }
28 | };
29 |
30 | @Override
31 | public ReactNativeHost getReactNativeHost() {
32 | return mReactNativeHost;
33 | }
34 |
35 | @Override
36 | public void onCreate() {
37 | super.onCreate();
38 | SoLoader.init(this, /* native exopackage */ false);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
12 |
13 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/rust/mobile_app/src/lib.rs:
--------------------------------------------------------------------------------
1 | extern crate libc;
2 |
3 | mod string;
4 |
5 | use string::StringPtr;
6 |
7 | // string ffi
8 |
9 | #[no_mangle]
10 | pub unsafe extern fn rust_string_ptr(s: *mut String) -> *mut StringPtr {
11 | Box::into_raw(Box::new(StringPtr::from(&**s)))
12 | }
13 |
14 | #[no_mangle]
15 | pub unsafe extern fn rust_string_destroy(s: *mut String) {
16 | let _ = Box::from_raw(s);
17 | }
18 |
19 | #[no_mangle]
20 | pub unsafe extern fn rust_string_ptr_destroy(s: *mut StringPtr) {
21 | let _ = Box::from_raw(s);
22 | }
23 |
24 | #[no_mangle]
25 | pub unsafe extern fn hello_world(name: *mut StringPtr) -> *mut String {
26 | let name = (*name).as_str();
27 | let response = format!("Hello {}!", name);
28 | Box::into_raw(Box::new(response))
29 | }
30 |
31 | #[cfg(feature = "jni")]
32 | #[allow(non_snake_case)]
33 | pub mod android {
34 | extern crate jni;
35 |
36 | use self::jni::JNIEnv;
37 | use self::jni::objects::{JClass, JString};
38 | use self::jni::sys::jstring;
39 |
40 | #[no_mangle]
41 | pub unsafe extern fn Java_com_mobile_1app_MobileAppBridge_helloWorld(
42 | env: JNIEnv, _: JClass, name: JString
43 | ) -> jstring {
44 | let name: String = env.get_string(name).unwrap().into();
45 | let response = format!("Hello {}!", name);
46 | env.new_string(response).unwrap().into_inner()
47 | }
48 | }
49 |
50 |
--------------------------------------------------------------------------------
/rust/mobile_app/mobile_app.h:
--------------------------------------------------------------------------------
1 | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
2 | // This file is part of Parity.
3 |
4 | // Parity is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 |
9 | // Parity is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 |
14 | // You should have received a copy of the GNU General Public License
15 | // along with Parity. If not, see .
16 |
17 | #pragma once
18 |
19 | #include
20 |
21 | // rust ffi
22 |
23 | // string
24 | struct rust_string;
25 |
26 | // string_ptr
27 | struct rust_string_ptr {
28 | const uint8_t* ptr;
29 | size_t len;
30 | };
31 |
32 | // return ptr to rust_str
33 | struct rust_string_ptr* rust_string_ptr(const struct rust_string* s);
34 |
35 | // removes rust string
36 | void rust_string_destroy(struct rust_string* s);
37 |
38 | // removes string pointer
39 | void rust_string_ptr_destroy(struct rust_string_ptr* s);
40 |
41 | struct rust_string* hello_world(struct rust_string_ptr* s);
42 |
--------------------------------------------------------------------------------
/rust/mobile_app/src/string.rs:
--------------------------------------------------------------------------------
1 | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
2 | // This file is part of Parity.
3 |
4 | // Parity is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 |
9 | // Parity is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 |
14 | // You should have received a copy of the GNU General Public License
15 | // along with Parity. If not, see .
16 |
17 | use libc::size_t;
18 |
19 | // Helper struct that we'll use to give strings to C.
20 | #[repr(C)]
21 | pub struct StringPtr {
22 | pub ptr: *const u8,
23 | pub len: size_t,
24 | }
25 |
26 | impl<'a> From<&'a str> for StringPtr {
27 | fn from(s: &'a str) -> Self {
28 | StringPtr {
29 | ptr: s.as_ptr(),
30 | len: s.len() as size_t,
31 | }
32 | }
33 | }
34 |
35 | impl StringPtr {
36 | pub fn as_str(&self) -> &str {
37 | use std::{slice, str};
38 |
39 | unsafe {
40 | let slice = slice::from_raw_parts(self.ptr, self.len);
41 | str::from_utf8(slice).unwrap()
42 | }
43 | }
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/ios/mobile_app/String.swift:
--------------------------------------------------------------------------------
1 | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
2 | // This file is part of Parity.
3 |
4 | // Parity is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 |
9 | // Parity is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 |
14 | // You should have received a copy of the GNU General Public License
15 | // along with Parity. If not, see .
16 |
17 | //
18 | // String.swift
19 | // NativeSigner
20 | //
21 | // Created by Marek Kotewicz on 19/02/2017.
22 | //
23 |
24 | import Foundation
25 |
26 | extension String {
27 | static func fromStringPtr(ptr: rust_string_ptr) -> String {
28 | let data = NSData(bytes: UnsafeRawPointer(ptr.ptr), length: ptr.len)
29 | return String(data: data as Data, encoding: String.Encoding.utf8)!
30 | }
31 |
32 | func asPtr() -> rust_string_ptr {
33 | let data = self.data(using: String.Encoding.utf8, allowLossyConversion: false)!
34 | return rust_string_ptr(ptr: (data as NSData).bytes.bindMemory(to: UInt8.self, capacity: data.count), len: data.count)
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import {
9 | AppRegistry,
10 | StyleSheet,
11 | Text,
12 | View
13 | } from 'react-native';
14 | import { MobileAppBridge } from 'NativeModules';
15 |
16 | async function displayHelloWorld (self) {
17 | try {
18 | let text = await MobileAppBridge.sayHelloWorld("iOS")
19 | self.setState({
20 | hello: text
21 | })
22 | } catch (e) {
23 | console.log(e)
24 | }
25 | }
26 |
27 | export default class mobile_app extends Component {
28 |
29 | state = {}
30 |
31 | componentDidMount () {
32 | displayHelloWorld(this)
33 | }
34 |
35 | render() {
36 | return (
37 |
38 |
39 | rust says: {this.state.hello}
40 |
41 |
42 | );
43 | }
44 | }
45 |
46 | const styles = StyleSheet.create({
47 | container: {
48 | flex: 1,
49 | justifyContent: 'center',
50 | alignItems: 'center',
51 | backgroundColor: '#F5FCFF',
52 | },
53 | welcome: {
54 | fontSize: 20,
55 | textAlign: 'center',
56 | margin: 10,
57 | },
58 | instructions: {
59 | textAlign: 'center',
60 | color: '#333333',
61 | marginBottom: 5,
62 | },
63 | });
64 |
65 | AppRegistry.registerComponent('mobile_app', () => mobile_app);
66 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import {
9 | AppRegistry,
10 | StyleSheet,
11 | Text,
12 | View
13 | } from 'react-native';
14 | import { MobileAppBridge } from 'NativeModules';
15 |
16 | async function displayHelloWorld (self) {
17 | try {
18 | let text = await MobileAppBridge.sayHelloWorld("Android")
19 | self.setState({
20 | hello: text
21 | })
22 | } catch (e) {
23 | console.log(e)
24 | }
25 | }
26 |
27 | export default class mobile_app extends Component {
28 |
29 | state = {}
30 |
31 | componentDidMount () {
32 | displayHelloWorld(this)
33 | }
34 |
35 | render() {
36 | return (
37 |
38 |
39 | rust says: {this.state.hello}
40 |
41 |
42 | );
43 | }
44 | }
45 |
46 | const styles = StyleSheet.create({
47 | container: {
48 | flex: 1,
49 | justifyContent: 'center',
50 | alignItems: 'center',
51 | backgroundColor: '#F5FCFF',
52 | },
53 | welcome: {
54 | fontSize: 20,
55 | textAlign: 'center',
56 | margin: 10,
57 | },
58 | instructions: {
59 | textAlign: 'center',
60 | color: '#333333',
61 | marginBottom: 5,
62 | },
63 | });
64 |
65 | AppRegistry.registerComponent('mobile_app', () => mobile_app);
66 |
--------------------------------------------------------------------------------
/ios/mobile_app/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import "AppDelegate.h"
11 |
12 | #import
13 | #import
14 |
15 | @implementation AppDelegate
16 |
17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
18 | {
19 | NSURL *jsCodeLocation;
20 |
21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22 |
23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
24 | moduleName:@"mobile_app"
25 | initialProperties:nil
26 | launchOptions:launchOptions];
27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28 |
29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30 | UIViewController *rootViewController = [UIViewController new];
31 | rootViewController.view = rootView;
32 | self.window.rootViewController = rootViewController;
33 | [self.window makeKeyAndVisible];
34 | return YES;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 | .*/Libraries/react-native/ReactNative.js
16 |
17 | [include]
18 |
19 | [libs]
20 | node_modules/react-native/Libraries/react-native/react-native-interface.js
21 | node_modules/react-native/flow
22 | flow/
23 |
24 | [options]
25 | emoji=true
26 |
27 | module.system=haste
28 |
29 | munge_underscores=true
30 |
31 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
32 |
33 | suppress_type=$FlowIssue
34 | suppress_type=$FlowFixMe
35 | suppress_type=$FixMe
36 |
37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
40 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
41 |
42 | unsafe.enable_getters_and_setters=true
43 |
44 | [version]
45 | ^0.49.1
46 |
--------------------------------------------------------------------------------
/ios/mobile_app-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.mobile_app",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.mobile_app",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/ios/mobile_app/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | mobile_app
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UIViewControllerBasedStatusBarAppearance
40 |
41 | NSLocationWhenInUseUsageDescription
42 |
43 | NSAppTransportSecurity
44 |
45 |
46 | NSExceptionDomains
47 |
48 | localhost
49 |
50 | NSExceptionAllowsInsecureHTTPLoads
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/ios/mobile_appTests/mobile_appTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 | #import
12 |
13 | #import
14 | #import
15 |
16 | #define TIMEOUT_SECONDS 600
17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18 |
19 | @interface mobile_appTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation mobile_appTests
24 |
25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26 | {
27 | if (test(view)) {
28 | return YES;
29 | }
30 | for (UIView *subview in [view subviews]) {
31 | if ([self findSubviewInView:subview matching:test]) {
32 | return YES;
33 | }
34 | }
35 | return NO;
36 | }
37 |
38 | - (void)testRendersWelcomeScreen
39 | {
40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42 | BOOL foundElement = NO;
43 |
44 | __block NSString *redboxError = nil;
45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46 | if (level >= RCTLogLevelError) {
47 | redboxError = message;
48 | }
49 | });
50 |
51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54 |
55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57 | return YES;
58 | }
59 | return NO;
60 | }];
61 | }
62 |
63 | RCTSetLogFunction(RCTDefaultLogFunction);
64 |
65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67 | }
68 |
69 |
70 | @end
71 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30 |
31 | # Do not strip any method/class that is annotated with @DoNotStrip
32 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
33 | -keep @com.facebook.common.internal.DoNotStrip class *
34 | -keepclassmembers class * {
35 | @com.facebook.proguard.annotations.DoNotStrip *;
36 | @com.facebook.common.internal.DoNotStrip *;
37 | }
38 |
39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40 | void set*(***);
41 | *** get*();
42 | }
43 |
44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
46 | -keepclassmembers,includedescriptorclasses class * { native ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
50 |
51 | -dontwarn com.facebook.react.**
52 |
53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/rust/mobile_app/Cargo.lock:
--------------------------------------------------------------------------------
1 | [root]
2 | name = "mobile_app"
3 | version = "0.1.0"
4 | dependencies = [
5 | "jni 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
6 | "libc 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)",
7 | ]
8 |
9 | [[package]]
10 | name = "ascii"
11 | version = "0.7.1"
12 | source = "registry+https://github.com/rust-lang/crates.io-index"
13 |
14 | [[package]]
15 | name = "byteorder"
16 | version = "1.1.0"
17 | source = "registry+https://github.com/rust-lang/crates.io-index"
18 |
19 | [[package]]
20 | name = "cesu8"
21 | version = "1.1.0"
22 | source = "registry+https://github.com/rust-lang/crates.io-index"
23 |
24 | [[package]]
25 | name = "combine"
26 | version = "2.5.1"
27 | source = "registry+https://github.com/rust-lang/crates.io-index"
28 | dependencies = [
29 | "ascii 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
30 | "byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
31 | ]
32 |
33 | [[package]]
34 | name = "error-chain"
35 | version = "0.10.0"
36 | source = "registry+https://github.com/rust-lang/crates.io-index"
37 |
38 | [[package]]
39 | name = "jni"
40 | version = "0.5.1"
41 | source = "registry+https://github.com/rust-lang/crates.io-index"
42 | dependencies = [
43 | "cesu8 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
44 | "combine 2.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
45 | "error-chain 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
46 | "jni-sys 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
47 | "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
48 | ]
49 |
50 | [[package]]
51 | name = "jni-sys"
52 | version = "0.2.5"
53 | source = "registry+https://github.com/rust-lang/crates.io-index"
54 |
55 | [[package]]
56 | name = "libc"
57 | version = "0.2.29"
58 | source = "registry+https://github.com/rust-lang/crates.io-index"
59 |
60 | [[package]]
61 | name = "log"
62 | version = "0.3.8"
63 | source = "registry+https://github.com/rust-lang/crates.io-index"
64 |
65 | [metadata]
66 | "checksum ascii 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ae7d751998c189c1d4468cf0a39bb2eae052a9c58d50ebb3b9591ee3813ad50"
67 | "checksum byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff81738b726f5d099632ceaffe7fb65b90212e8dce59d518729e7e8634032d3d"
68 | "checksum cesu8 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
69 | "checksum combine 2.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f5c279781ad7b9b480fe265770ea5cb87fcbdc8ea1b2b6930d60a206e781dc6c"
70 | "checksum error-chain 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8"
71 | "checksum jni 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fbf2d20b5ccd32f3cce4655368e8a1f12a107f0cda1ffdc1052b1de40f3c6ca5"
72 | "checksum jni-sys 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "de0aaaba8809ab8d83a53fe2b313b996b79e8632b855eae9f70ad4323dca91b8"
73 | "checksum libc 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)" = "8a014d9226c2cc402676fbe9ea2e15dd5222cd1dd57f576b5b283178c944a264"
74 | "checksum log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "880f77541efa6e5cc74e76910c9884d9859683118839d6a1dc3b11e63512565b"
75 |
--------------------------------------------------------------------------------
/ios/mobile_app/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/mobile_app.xcodeproj/xcshareddata/xcschemes/mobile_app.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/mobile_app.xcodeproj/xcshareddata/xcschemes/mobile_app-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | apply from: "../../node_modules/react-native/react.gradle"
76 |
77 | /**
78 | * Set this to true to create two separate APKs instead of one:
79 | * - An APK that only works on ARM devices
80 | * - An APK that only works on x86 devices
81 | * The advantage is the size of the APK is reduced by about 4MB.
82 | * Upload all the APKs to the Play Store and people will download
83 | * the correct one based on the CPU architecture of their device.
84 | */
85 | def enableSeparateBuildPerCPUArchitecture = false
86 |
87 | /**
88 | * Run Proguard to shrink the Java bytecode in release builds.
89 | */
90 | def enableProguardInReleaseBuilds = false
91 |
92 | android {
93 | compileSdkVersion 23
94 | buildToolsVersion "23.0.1"
95 |
96 | defaultConfig {
97 | applicationId "com.mobile_app"
98 | minSdkVersion 16
99 | targetSdkVersion 22
100 | versionCode 1
101 | versionName "1.0"
102 | ndk {
103 | abiFilters "armeabi-v7a", "x86"
104 | }
105 | }
106 | splits {
107 | abi {
108 | reset()
109 | enable enableSeparateBuildPerCPUArchitecture
110 | universalApk false // If true, also generate a universal APK
111 | include "armeabi-v7a", "x86"
112 | }
113 | }
114 | buildTypes {
115 | release {
116 | minifyEnabled enableProguardInReleaseBuilds
117 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
118 | }
119 | }
120 | // applicationVariants are e.g. debug, release
121 | applicationVariants.all { variant ->
122 | variant.outputs.each { output ->
123 | // For each separate APK per architecture, set a unique version code as described here:
124 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
125 | def versionCodes = ["armeabi-v7a":1, "x86":2]
126 | def abi = output.getFilter(OutputFile.ABI)
127 | if (abi != null) { // null for the universal-debug, universal-release variants
128 | output.versionCodeOverride =
129 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
130 | }
131 | }
132 | }
133 | }
134 |
135 | dependencies {
136 | compile fileTree(dir: "libs", include: ["*.jar"])
137 | compile "com.android.support:appcompat-v7:23.0.1"
138 | compile "com.facebook.react:react-native:+" // From node_modules
139 | }
140 |
141 | // Run this once to be able to run the application with BUCK
142 | // puts all compile dependencies into folder libs for BUCK to use
143 | task copyDownloadableDepsToLibs(type: Copy) {
144 | from configurations.compile
145 | into 'libs'
146 | }
147 |
--------------------------------------------------------------------------------
/ios/mobile_app.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* mobile_appTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* mobile_appTests.m */; };
16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
35 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
36 | 2DCD954D1E0B4F2C00145EB5 /* mobile_appTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* mobile_appTests.m */; };
37 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
39 | EA3CAFE21F465130009196D8 /* MobileAppBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA3CAFE11F465130009196D8 /* MobileAppBridge.swift */; };
40 | EA3CAFF11F465177009196D8 /* MobileAppBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = EA3CAFF01F465177009196D8 /* MobileAppBridge.m */; };
41 | EA3CAFF61F4652CC009196D8 /* String.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA3CAFF51F4652CC009196D8 /* String.swift */; };
42 | EA3CAFF91F465425009196D8 /* libmobile_app_rust.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EA3CAFF81F465425009196D8 /* libmobile_app_rust.a */; };
43 | EA3CAFFB1F4656DF009196D8 /* libresolv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = EA3CAFFA1F4656DF009196D8 /* libresolv.tbd */; };
44 | /* End PBXBuildFile section */
45 |
46 | /* Begin PBXContainerItemProxy section */
47 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
48 | isa = PBXContainerItemProxy;
49 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
50 | proxyType = 2;
51 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
52 | remoteInfo = RCTActionSheet;
53 | };
54 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
55 | isa = PBXContainerItemProxy;
56 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
57 | proxyType = 2;
58 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
59 | remoteInfo = RCTGeolocation;
60 | };
61 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
62 | isa = PBXContainerItemProxy;
63 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
64 | proxyType = 2;
65 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
66 | remoteInfo = RCTImage;
67 | };
68 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
69 | isa = PBXContainerItemProxy;
70 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
71 | proxyType = 2;
72 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
73 | remoteInfo = RCTNetwork;
74 | };
75 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
76 | isa = PBXContainerItemProxy;
77 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
78 | proxyType = 2;
79 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
80 | remoteInfo = RCTVibration;
81 | };
82 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
83 | isa = PBXContainerItemProxy;
84 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
85 | proxyType = 1;
86 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
87 | remoteInfo = mobile_app;
88 | };
89 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
90 | isa = PBXContainerItemProxy;
91 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
92 | proxyType = 2;
93 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
94 | remoteInfo = RCTSettings;
95 | };
96 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
97 | isa = PBXContainerItemProxy;
98 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
99 | proxyType = 2;
100 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
101 | remoteInfo = RCTWebSocket;
102 | };
103 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
104 | isa = PBXContainerItemProxy;
105 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
106 | proxyType = 2;
107 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
108 | remoteInfo = React;
109 | };
110 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
111 | isa = PBXContainerItemProxy;
112 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
113 | proxyType = 1;
114 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
115 | remoteInfo = "mobile_app-tvOS";
116 | };
117 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
118 | isa = PBXContainerItemProxy;
119 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
120 | proxyType = 2;
121 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
122 | remoteInfo = "RCTImage-tvOS";
123 | };
124 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
125 | isa = PBXContainerItemProxy;
126 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
127 | proxyType = 2;
128 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
129 | remoteInfo = "RCTLinking-tvOS";
130 | };
131 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
132 | isa = PBXContainerItemProxy;
133 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
134 | proxyType = 2;
135 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
136 | remoteInfo = "RCTNetwork-tvOS";
137 | };
138 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
139 | isa = PBXContainerItemProxy;
140 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
141 | proxyType = 2;
142 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
143 | remoteInfo = "RCTSettings-tvOS";
144 | };
145 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
146 | isa = PBXContainerItemProxy;
147 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
148 | proxyType = 2;
149 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
150 | remoteInfo = "RCTText-tvOS";
151 | };
152 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
153 | isa = PBXContainerItemProxy;
154 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
155 | proxyType = 2;
156 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
157 | remoteInfo = "RCTWebSocket-tvOS";
158 | };
159 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
160 | isa = PBXContainerItemProxy;
161 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
162 | proxyType = 2;
163 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
164 | remoteInfo = "React-tvOS";
165 | };
166 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
167 | isa = PBXContainerItemProxy;
168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
169 | proxyType = 2;
170 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
171 | remoteInfo = yoga;
172 | };
173 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
174 | isa = PBXContainerItemProxy;
175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
176 | proxyType = 2;
177 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
178 | remoteInfo = "yoga-tvOS";
179 | };
180 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
181 | isa = PBXContainerItemProxy;
182 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
183 | proxyType = 2;
184 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
185 | remoteInfo = cxxreact;
186 | };
187 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
188 | isa = PBXContainerItemProxy;
189 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
190 | proxyType = 2;
191 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
192 | remoteInfo = "cxxreact-tvOS";
193 | };
194 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
195 | isa = PBXContainerItemProxy;
196 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
197 | proxyType = 2;
198 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
199 | remoteInfo = jschelpers;
200 | };
201 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
202 | isa = PBXContainerItemProxy;
203 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
204 | proxyType = 2;
205 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
206 | remoteInfo = "jschelpers-tvOS";
207 | };
208 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
209 | isa = PBXContainerItemProxy;
210 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
211 | proxyType = 2;
212 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
213 | remoteInfo = RCTAnimation;
214 | };
215 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
216 | isa = PBXContainerItemProxy;
217 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
218 | proxyType = 2;
219 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
220 | remoteInfo = "RCTAnimation-tvOS";
221 | };
222 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
223 | isa = PBXContainerItemProxy;
224 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
225 | proxyType = 2;
226 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
227 | remoteInfo = RCTLinking;
228 | };
229 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
230 | isa = PBXContainerItemProxy;
231 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
232 | proxyType = 2;
233 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
234 | remoteInfo = RCTText;
235 | };
236 | EA3CAFCB1F4650CC009196D8 /* PBXContainerItemProxy */ = {
237 | isa = PBXContainerItemProxy;
238 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
239 | proxyType = 2;
240 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
241 | remoteInfo = "third-party";
242 | };
243 | EA3CAFCD1F4650CC009196D8 /* PBXContainerItemProxy */ = {
244 | isa = PBXContainerItemProxy;
245 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
246 | proxyType = 2;
247 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
248 | remoteInfo = "third-party-tvOS";
249 | };
250 | EA3CAFCF1F4650CC009196D8 /* PBXContainerItemProxy */ = {
251 | isa = PBXContainerItemProxy;
252 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
253 | proxyType = 2;
254 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
255 | remoteInfo = "double-conversion";
256 | };
257 | EA3CAFD11F4650CC009196D8 /* PBXContainerItemProxy */ = {
258 | isa = PBXContainerItemProxy;
259 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
260 | proxyType = 2;
261 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
262 | remoteInfo = "double-conversion-tvOS";
263 | };
264 | /* End PBXContainerItemProxy section */
265 |
266 | /* Begin PBXFileReference section */
267 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
268 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
269 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
270 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
271 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
272 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
273 | 00E356EE1AD99517003FC87E /* mobile_appTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = mobile_appTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
274 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
275 | 00E356F21AD99517003FC87E /* mobile_appTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = mobile_appTests.m; sourceTree = ""; };
276 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
277 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
278 | 13B07F961A680F5B00A75B9A /* mobile_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = mobile_app.app; sourceTree = BUILT_PRODUCTS_DIR; };
279 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = mobile_app/AppDelegate.h; sourceTree = ""; };
280 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = mobile_app/AppDelegate.m; sourceTree = ""; };
281 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
282 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = mobile_app/Images.xcassets; sourceTree = ""; };
283 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = mobile_app/Info.plist; sourceTree = ""; };
284 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = mobile_app/main.m; sourceTree = ""; };
285 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
286 | 2D02E47B1E0B4A5D006451C7 /* mobile_app-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "mobile_app-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
287 | 2D02E4901E0B4A5D006451C7 /* mobile_app-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "mobile_app-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
288 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
289 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
290 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
291 | EA3CAFE01F465130009196D8 /* mobile_app-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "mobile_app-Bridging-Header.h"; sourceTree = ""; };
292 | EA3CAFE11F465130009196D8 /* MobileAppBridge.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MobileAppBridge.swift; path = mobile_app/MobileAppBridge.swift; sourceTree = ""; };
293 | EA3CAFF01F465177009196D8 /* MobileAppBridge.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MobileAppBridge.m; path = mobile_app/MobileAppBridge.m; sourceTree = ""; };
294 | EA3CAFF21F4651D2009196D8 /* mobile_app.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = mobile_app.h; path = ../rust/mobile_app/mobile_app.h; sourceTree = ""; };
295 | EA3CAFF51F4652CC009196D8 /* String.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = String.swift; path = mobile_app/String.swift; sourceTree = ""; };
296 | EA3CAFF81F465425009196D8 /* libmobile_app_rust.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmobile_app_rust.a; path = ../rust/mobile_app/libmobile_app_rust.a; sourceTree = ""; };
297 | EA3CAFFA1F4656DF009196D8 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; };
298 | /* End PBXFileReference section */
299 |
300 | /* Begin PBXFrameworksBuildPhase section */
301 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
302 | isa = PBXFrameworksBuildPhase;
303 | buildActionMask = 2147483647;
304 | files = (
305 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
306 | );
307 | runOnlyForDeploymentPostprocessing = 0;
308 | };
309 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
310 | isa = PBXFrameworksBuildPhase;
311 | buildActionMask = 2147483647;
312 | files = (
313 | EA3CAFFB1F4656DF009196D8 /* libresolv.tbd in Frameworks */,
314 | EA3CAFF91F465425009196D8 /* libmobile_app_rust.a in Frameworks */,
315 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
316 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
317 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
318 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
319 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
320 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
321 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
322 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
323 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
324 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
325 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
326 | );
327 | runOnlyForDeploymentPostprocessing = 0;
328 | };
329 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
330 | isa = PBXFrameworksBuildPhase;
331 | buildActionMask = 2147483647;
332 | files = (
333 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
334 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
335 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
336 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
337 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
338 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
339 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
340 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
341 | );
342 | runOnlyForDeploymentPostprocessing = 0;
343 | };
344 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
345 | isa = PBXFrameworksBuildPhase;
346 | buildActionMask = 2147483647;
347 | files = (
348 | );
349 | runOnlyForDeploymentPostprocessing = 0;
350 | };
351 | /* End PBXFrameworksBuildPhase section */
352 |
353 | /* Begin PBXGroup section */
354 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
355 | isa = PBXGroup;
356 | children = (
357 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
358 | );
359 | name = Products;
360 | sourceTree = "";
361 | };
362 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
363 | isa = PBXGroup;
364 | children = (
365 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
366 | );
367 | name = Products;
368 | sourceTree = "";
369 | };
370 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
371 | isa = PBXGroup;
372 | children = (
373 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
374 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
375 | );
376 | name = Products;
377 | sourceTree = "";
378 | };
379 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
380 | isa = PBXGroup;
381 | children = (
382 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
383 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
384 | );
385 | name = Products;
386 | sourceTree = "";
387 | };
388 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
389 | isa = PBXGroup;
390 | children = (
391 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
392 | );
393 | name = Products;
394 | sourceTree = "";
395 | };
396 | 00E356EF1AD99517003FC87E /* mobile_appTests */ = {
397 | isa = PBXGroup;
398 | children = (
399 | 00E356F21AD99517003FC87E /* mobile_appTests.m */,
400 | 00E356F01AD99517003FC87E /* Supporting Files */,
401 | );
402 | path = mobile_appTests;
403 | sourceTree = "";
404 | };
405 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
406 | isa = PBXGroup;
407 | children = (
408 | 00E356F11AD99517003FC87E /* Info.plist */,
409 | );
410 | name = "Supporting Files";
411 | sourceTree = "";
412 | };
413 | 139105B71AF99BAD00B5F7CC /* Products */ = {
414 | isa = PBXGroup;
415 | children = (
416 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
417 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
418 | );
419 | name = Products;
420 | sourceTree = "";
421 | };
422 | 139FDEE71B06529A00C62182 /* Products */ = {
423 | isa = PBXGroup;
424 | children = (
425 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
426 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
427 | );
428 | name = Products;
429 | sourceTree = "";
430 | };
431 | 13B07FAE1A68108700A75B9A /* mobile_app */ = {
432 | isa = PBXGroup;
433 | children = (
434 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
435 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
436 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
437 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
438 | 13B07FB61A68108700A75B9A /* Info.plist */,
439 | EA3CAFE11F465130009196D8 /* MobileAppBridge.swift */,
440 | EA3CAFF01F465177009196D8 /* MobileAppBridge.m */,
441 | EA3CAFF51F4652CC009196D8 /* String.swift */,
442 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
443 | EA3CAFF21F4651D2009196D8 /* mobile_app.h */,
444 | 13B07FB71A68108700A75B9A /* main.m */,
445 | EA3CAFE01F465130009196D8 /* mobile_app-Bridging-Header.h */,
446 | );
447 | name = mobile_app;
448 | sourceTree = "";
449 | };
450 | 146834001AC3E56700842450 /* Products */ = {
451 | isa = PBXGroup;
452 | children = (
453 | 146834041AC3E56700842450 /* libReact.a */,
454 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
455 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
456 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
457 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
458 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
459 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
460 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
461 | EA3CAFCC1F4650CC009196D8 /* libthird-party.a */,
462 | EA3CAFCE1F4650CC009196D8 /* libthird-party.a */,
463 | EA3CAFD01F4650CC009196D8 /* libdouble-conversion.a */,
464 | EA3CAFD21F4650CC009196D8 /* libdouble-conversion.a */,
465 | );
466 | name = Products;
467 | sourceTree = "";
468 | };
469 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
470 | isa = PBXGroup;
471 | children = (
472 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
473 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
474 | );
475 | name = Products;
476 | sourceTree = "";
477 | };
478 | 78C398B11ACF4ADC00677621 /* Products */ = {
479 | isa = PBXGroup;
480 | children = (
481 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
482 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
483 | );
484 | name = Products;
485 | sourceTree = "";
486 | };
487 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
488 | isa = PBXGroup;
489 | children = (
490 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
491 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
492 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
493 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
494 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
495 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
496 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
497 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
498 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
499 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
500 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
501 | );
502 | name = Libraries;
503 | sourceTree = "";
504 | };
505 | 832341B11AAA6A8300B99B32 /* Products */ = {
506 | isa = PBXGroup;
507 | children = (
508 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
509 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
510 | );
511 | name = Products;
512 | sourceTree = "";
513 | };
514 | 83CBB9F61A601CBA00E9B192 = {
515 | isa = PBXGroup;
516 | children = (
517 | 13B07FAE1A68108700A75B9A /* mobile_app */,
518 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
519 | 00E356EF1AD99517003FC87E /* mobile_appTests */,
520 | 83CBBA001A601CBA00E9B192 /* Products */,
521 | EA3CAFF71F465425009196D8 /* Frameworks */,
522 | );
523 | indentWidth = 2;
524 | sourceTree = "";
525 | tabWidth = 2;
526 | };
527 | 83CBBA001A601CBA00E9B192 /* Products */ = {
528 | isa = PBXGroup;
529 | children = (
530 | 13B07F961A680F5B00A75B9A /* mobile_app.app */,
531 | 00E356EE1AD99517003FC87E /* mobile_appTests.xctest */,
532 | 2D02E47B1E0B4A5D006451C7 /* mobile_app-tvOS.app */,
533 | 2D02E4901E0B4A5D006451C7 /* mobile_app-tvOSTests.xctest */,
534 | );
535 | name = Products;
536 | sourceTree = "";
537 | };
538 | EA3CAFF71F465425009196D8 /* Frameworks */ = {
539 | isa = PBXGroup;
540 | children = (
541 | EA3CAFFA1F4656DF009196D8 /* libresolv.tbd */,
542 | EA3CAFF81F465425009196D8 /* libmobile_app_rust.a */,
543 | );
544 | name = Frameworks;
545 | sourceTree = "";
546 | };
547 | /* End PBXGroup section */
548 |
549 | /* Begin PBXNativeTarget section */
550 | 00E356ED1AD99517003FC87E /* mobile_appTests */ = {
551 | isa = PBXNativeTarget;
552 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "mobile_appTests" */;
553 | buildPhases = (
554 | 00E356EA1AD99517003FC87E /* Sources */,
555 | 00E356EB1AD99517003FC87E /* Frameworks */,
556 | 00E356EC1AD99517003FC87E /* Resources */,
557 | );
558 | buildRules = (
559 | );
560 | dependencies = (
561 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
562 | );
563 | name = mobile_appTests;
564 | productName = mobile_appTests;
565 | productReference = 00E356EE1AD99517003FC87E /* mobile_appTests.xctest */;
566 | productType = "com.apple.product-type.bundle.unit-test";
567 | };
568 | 13B07F861A680F5B00A75B9A /* mobile_app */ = {
569 | isa = PBXNativeTarget;
570 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "mobile_app" */;
571 | buildPhases = (
572 | 13B07F871A680F5B00A75B9A /* Sources */,
573 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
574 | 13B07F8E1A680F5B00A75B9A /* Resources */,
575 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
576 | );
577 | buildRules = (
578 | );
579 | dependencies = (
580 | );
581 | name = mobile_app;
582 | productName = "Hello World";
583 | productReference = 13B07F961A680F5B00A75B9A /* mobile_app.app */;
584 | productType = "com.apple.product-type.application";
585 | };
586 | 2D02E47A1E0B4A5D006451C7 /* mobile_app-tvOS */ = {
587 | isa = PBXNativeTarget;
588 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "mobile_app-tvOS" */;
589 | buildPhases = (
590 | 2D02E4771E0B4A5D006451C7 /* Sources */,
591 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
592 | 2D02E4791E0B4A5D006451C7 /* Resources */,
593 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
594 | );
595 | buildRules = (
596 | );
597 | dependencies = (
598 | );
599 | name = "mobile_app-tvOS";
600 | productName = "mobile_app-tvOS";
601 | productReference = 2D02E47B1E0B4A5D006451C7 /* mobile_app-tvOS.app */;
602 | productType = "com.apple.product-type.application";
603 | };
604 | 2D02E48F1E0B4A5D006451C7 /* mobile_app-tvOSTests */ = {
605 | isa = PBXNativeTarget;
606 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "mobile_app-tvOSTests" */;
607 | buildPhases = (
608 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
609 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
610 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
611 | );
612 | buildRules = (
613 | );
614 | dependencies = (
615 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
616 | );
617 | name = "mobile_app-tvOSTests";
618 | productName = "mobile_app-tvOSTests";
619 | productReference = 2D02E4901E0B4A5D006451C7 /* mobile_app-tvOSTests.xctest */;
620 | productType = "com.apple.product-type.bundle.unit-test";
621 | };
622 | /* End PBXNativeTarget section */
623 |
624 | /* Begin PBXProject section */
625 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
626 | isa = PBXProject;
627 | attributes = {
628 | LastUpgradeCheck = 0610;
629 | ORGANIZATIONNAME = Facebook;
630 | TargetAttributes = {
631 | 00E356ED1AD99517003FC87E = {
632 | CreatedOnToolsVersion = 6.2;
633 | TestTargetID = 13B07F861A680F5B00A75B9A;
634 | };
635 | 13B07F861A680F5B00A75B9A = {
636 | LastSwiftMigration = 0820;
637 | };
638 | 2D02E47A1E0B4A5D006451C7 = {
639 | CreatedOnToolsVersion = 8.2.1;
640 | ProvisioningStyle = Automatic;
641 | };
642 | 2D02E48F1E0B4A5D006451C7 = {
643 | CreatedOnToolsVersion = 8.2.1;
644 | ProvisioningStyle = Automatic;
645 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
646 | };
647 | };
648 | };
649 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "mobile_app" */;
650 | compatibilityVersion = "Xcode 3.2";
651 | developmentRegion = English;
652 | hasScannedForEncodings = 0;
653 | knownRegions = (
654 | en,
655 | Base,
656 | );
657 | mainGroup = 83CBB9F61A601CBA00E9B192;
658 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
659 | projectDirPath = "";
660 | projectReferences = (
661 | {
662 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
663 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
664 | },
665 | {
666 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
667 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
668 | },
669 | {
670 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
671 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
672 | },
673 | {
674 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
675 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
676 | },
677 | {
678 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
679 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
680 | },
681 | {
682 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
683 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
684 | },
685 | {
686 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
687 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
688 | },
689 | {
690 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
691 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
692 | },
693 | {
694 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
695 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
696 | },
697 | {
698 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
699 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
700 | },
701 | {
702 | ProductGroup = 146834001AC3E56700842450 /* Products */;
703 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
704 | },
705 | );
706 | projectRoot = "";
707 | targets = (
708 | 13B07F861A680F5B00A75B9A /* mobile_app */,
709 | 00E356ED1AD99517003FC87E /* mobile_appTests */,
710 | 2D02E47A1E0B4A5D006451C7 /* mobile_app-tvOS */,
711 | 2D02E48F1E0B4A5D006451C7 /* mobile_app-tvOSTests */,
712 | );
713 | };
714 | /* End PBXProject section */
715 |
716 | /* Begin PBXReferenceProxy section */
717 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
718 | isa = PBXReferenceProxy;
719 | fileType = archive.ar;
720 | path = libRCTActionSheet.a;
721 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
722 | sourceTree = BUILT_PRODUCTS_DIR;
723 | };
724 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
725 | isa = PBXReferenceProxy;
726 | fileType = archive.ar;
727 | path = libRCTGeolocation.a;
728 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
729 | sourceTree = BUILT_PRODUCTS_DIR;
730 | };
731 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
732 | isa = PBXReferenceProxy;
733 | fileType = archive.ar;
734 | path = libRCTImage.a;
735 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
736 | sourceTree = BUILT_PRODUCTS_DIR;
737 | };
738 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
739 | isa = PBXReferenceProxy;
740 | fileType = archive.ar;
741 | path = libRCTNetwork.a;
742 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
743 | sourceTree = BUILT_PRODUCTS_DIR;
744 | };
745 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
746 | isa = PBXReferenceProxy;
747 | fileType = archive.ar;
748 | path = libRCTVibration.a;
749 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
750 | sourceTree = BUILT_PRODUCTS_DIR;
751 | };
752 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
753 | isa = PBXReferenceProxy;
754 | fileType = archive.ar;
755 | path = libRCTSettings.a;
756 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
757 | sourceTree = BUILT_PRODUCTS_DIR;
758 | };
759 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
760 | isa = PBXReferenceProxy;
761 | fileType = archive.ar;
762 | path = libRCTWebSocket.a;
763 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
764 | sourceTree = BUILT_PRODUCTS_DIR;
765 | };
766 | 146834041AC3E56700842450 /* libReact.a */ = {
767 | isa = PBXReferenceProxy;
768 | fileType = archive.ar;
769 | path = libReact.a;
770 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
771 | sourceTree = BUILT_PRODUCTS_DIR;
772 | };
773 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
774 | isa = PBXReferenceProxy;
775 | fileType = archive.ar;
776 | path = "libRCTImage-tvOS.a";
777 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
778 | sourceTree = BUILT_PRODUCTS_DIR;
779 | };
780 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
781 | isa = PBXReferenceProxy;
782 | fileType = archive.ar;
783 | path = "libRCTLinking-tvOS.a";
784 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
785 | sourceTree = BUILT_PRODUCTS_DIR;
786 | };
787 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
788 | isa = PBXReferenceProxy;
789 | fileType = archive.ar;
790 | path = "libRCTNetwork-tvOS.a";
791 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
792 | sourceTree = BUILT_PRODUCTS_DIR;
793 | };
794 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
795 | isa = PBXReferenceProxy;
796 | fileType = archive.ar;
797 | path = "libRCTSettings-tvOS.a";
798 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
799 | sourceTree = BUILT_PRODUCTS_DIR;
800 | };
801 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
802 | isa = PBXReferenceProxy;
803 | fileType = archive.ar;
804 | path = "libRCTText-tvOS.a";
805 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
806 | sourceTree = BUILT_PRODUCTS_DIR;
807 | };
808 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
809 | isa = PBXReferenceProxy;
810 | fileType = archive.ar;
811 | path = "libRCTWebSocket-tvOS.a";
812 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
813 | sourceTree = BUILT_PRODUCTS_DIR;
814 | };
815 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
816 | isa = PBXReferenceProxy;
817 | fileType = archive.ar;
818 | path = libReact.a;
819 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
820 | sourceTree = BUILT_PRODUCTS_DIR;
821 | };
822 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
823 | isa = PBXReferenceProxy;
824 | fileType = archive.ar;
825 | path = libyoga.a;
826 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
827 | sourceTree = BUILT_PRODUCTS_DIR;
828 | };
829 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
830 | isa = PBXReferenceProxy;
831 | fileType = archive.ar;
832 | path = libyoga.a;
833 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
834 | sourceTree = BUILT_PRODUCTS_DIR;
835 | };
836 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
837 | isa = PBXReferenceProxy;
838 | fileType = archive.ar;
839 | path = libcxxreact.a;
840 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
841 | sourceTree = BUILT_PRODUCTS_DIR;
842 | };
843 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
844 | isa = PBXReferenceProxy;
845 | fileType = archive.ar;
846 | path = libcxxreact.a;
847 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
848 | sourceTree = BUILT_PRODUCTS_DIR;
849 | };
850 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
851 | isa = PBXReferenceProxy;
852 | fileType = archive.ar;
853 | path = libjschelpers.a;
854 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
855 | sourceTree = BUILT_PRODUCTS_DIR;
856 | };
857 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
858 | isa = PBXReferenceProxy;
859 | fileType = archive.ar;
860 | path = libjschelpers.a;
861 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
862 | sourceTree = BUILT_PRODUCTS_DIR;
863 | };
864 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
865 | isa = PBXReferenceProxy;
866 | fileType = archive.ar;
867 | path = libRCTAnimation.a;
868 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
869 | sourceTree = BUILT_PRODUCTS_DIR;
870 | };
871 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
872 | isa = PBXReferenceProxy;
873 | fileType = archive.ar;
874 | path = libRCTAnimation.a;
875 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
876 | sourceTree = BUILT_PRODUCTS_DIR;
877 | };
878 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
879 | isa = PBXReferenceProxy;
880 | fileType = archive.ar;
881 | path = libRCTLinking.a;
882 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
883 | sourceTree = BUILT_PRODUCTS_DIR;
884 | };
885 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
886 | isa = PBXReferenceProxy;
887 | fileType = archive.ar;
888 | path = libRCTText.a;
889 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
890 | sourceTree = BUILT_PRODUCTS_DIR;
891 | };
892 | EA3CAFCC1F4650CC009196D8 /* libthird-party.a */ = {
893 | isa = PBXReferenceProxy;
894 | fileType = archive.ar;
895 | path = "libthird-party.a";
896 | remoteRef = EA3CAFCB1F4650CC009196D8 /* PBXContainerItemProxy */;
897 | sourceTree = BUILT_PRODUCTS_DIR;
898 | };
899 | EA3CAFCE1F4650CC009196D8 /* libthird-party.a */ = {
900 | isa = PBXReferenceProxy;
901 | fileType = archive.ar;
902 | path = "libthird-party.a";
903 | remoteRef = EA3CAFCD1F4650CC009196D8 /* PBXContainerItemProxy */;
904 | sourceTree = BUILT_PRODUCTS_DIR;
905 | };
906 | EA3CAFD01F4650CC009196D8 /* libdouble-conversion.a */ = {
907 | isa = PBXReferenceProxy;
908 | fileType = archive.ar;
909 | path = "libdouble-conversion.a";
910 | remoteRef = EA3CAFCF1F4650CC009196D8 /* PBXContainerItemProxy */;
911 | sourceTree = BUILT_PRODUCTS_DIR;
912 | };
913 | EA3CAFD21F4650CC009196D8 /* libdouble-conversion.a */ = {
914 | isa = PBXReferenceProxy;
915 | fileType = archive.ar;
916 | path = "libdouble-conversion.a";
917 | remoteRef = EA3CAFD11F4650CC009196D8 /* PBXContainerItemProxy */;
918 | sourceTree = BUILT_PRODUCTS_DIR;
919 | };
920 | /* End PBXReferenceProxy section */
921 |
922 | /* Begin PBXResourcesBuildPhase section */
923 | 00E356EC1AD99517003FC87E /* Resources */ = {
924 | isa = PBXResourcesBuildPhase;
925 | buildActionMask = 2147483647;
926 | files = (
927 | );
928 | runOnlyForDeploymentPostprocessing = 0;
929 | };
930 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
931 | isa = PBXResourcesBuildPhase;
932 | buildActionMask = 2147483647;
933 | files = (
934 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
935 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
936 | );
937 | runOnlyForDeploymentPostprocessing = 0;
938 | };
939 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
940 | isa = PBXResourcesBuildPhase;
941 | buildActionMask = 2147483647;
942 | files = (
943 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
944 | );
945 | runOnlyForDeploymentPostprocessing = 0;
946 | };
947 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
948 | isa = PBXResourcesBuildPhase;
949 | buildActionMask = 2147483647;
950 | files = (
951 | );
952 | runOnlyForDeploymentPostprocessing = 0;
953 | };
954 | /* End PBXResourcesBuildPhase section */
955 |
956 | /* Begin PBXShellScriptBuildPhase section */
957 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
958 | isa = PBXShellScriptBuildPhase;
959 | buildActionMask = 2147483647;
960 | files = (
961 | );
962 | inputPaths = (
963 | );
964 | name = "Bundle React Native code and images";
965 | outputPaths = (
966 | );
967 | runOnlyForDeploymentPostprocessing = 0;
968 | shellPath = /bin/sh;
969 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
970 | };
971 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
972 | isa = PBXShellScriptBuildPhase;
973 | buildActionMask = 2147483647;
974 | files = (
975 | );
976 | inputPaths = (
977 | );
978 | name = "Bundle React Native Code And Images";
979 | outputPaths = (
980 | );
981 | runOnlyForDeploymentPostprocessing = 0;
982 | shellPath = /bin/sh;
983 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
984 | };
985 | /* End PBXShellScriptBuildPhase section */
986 |
987 | /* Begin PBXSourcesBuildPhase section */
988 | 00E356EA1AD99517003FC87E /* Sources */ = {
989 | isa = PBXSourcesBuildPhase;
990 | buildActionMask = 2147483647;
991 | files = (
992 | 00E356F31AD99517003FC87E /* mobile_appTests.m in Sources */,
993 | );
994 | runOnlyForDeploymentPostprocessing = 0;
995 | };
996 | 13B07F871A680F5B00A75B9A /* Sources */ = {
997 | isa = PBXSourcesBuildPhase;
998 | buildActionMask = 2147483647;
999 | files = (
1000 | EA3CAFE21F465130009196D8 /* MobileAppBridge.swift in Sources */,
1001 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1002 | EA3CAFF61F4652CC009196D8 /* String.swift in Sources */,
1003 | EA3CAFF11F465177009196D8 /* MobileAppBridge.m in Sources */,
1004 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1005 | );
1006 | runOnlyForDeploymentPostprocessing = 0;
1007 | };
1008 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1009 | isa = PBXSourcesBuildPhase;
1010 | buildActionMask = 2147483647;
1011 | files = (
1012 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1013 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1014 | );
1015 | runOnlyForDeploymentPostprocessing = 0;
1016 | };
1017 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1018 | isa = PBXSourcesBuildPhase;
1019 | buildActionMask = 2147483647;
1020 | files = (
1021 | 2DCD954D1E0B4F2C00145EB5 /* mobile_appTests.m in Sources */,
1022 | );
1023 | runOnlyForDeploymentPostprocessing = 0;
1024 | };
1025 | /* End PBXSourcesBuildPhase section */
1026 |
1027 | /* Begin PBXTargetDependency section */
1028 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1029 | isa = PBXTargetDependency;
1030 | target = 13B07F861A680F5B00A75B9A /* mobile_app */;
1031 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1032 | };
1033 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1034 | isa = PBXTargetDependency;
1035 | target = 2D02E47A1E0B4A5D006451C7 /* mobile_app-tvOS */;
1036 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1037 | };
1038 | /* End PBXTargetDependency section */
1039 |
1040 | /* Begin PBXVariantGroup section */
1041 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1042 | isa = PBXVariantGroup;
1043 | children = (
1044 | 13B07FB21A68108700A75B9A /* Base */,
1045 | );
1046 | name = LaunchScreen.xib;
1047 | path = mobile_app;
1048 | sourceTree = "";
1049 | };
1050 | /* End PBXVariantGroup section */
1051 |
1052 | /* Begin XCBuildConfiguration section */
1053 | 00E356F61AD99517003FC87E /* Debug */ = {
1054 | isa = XCBuildConfiguration;
1055 | buildSettings = {
1056 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
1057 | BUNDLE_LOADER = "$(TEST_HOST)";
1058 | GCC_PREPROCESSOR_DEFINITIONS = (
1059 | "DEBUG=1",
1060 | "$(inherited)",
1061 | );
1062 | INFOPLIST_FILE = mobile_appTests/Info.plist;
1063 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1064 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1065 | OTHER_LDFLAGS = (
1066 | "-ObjC",
1067 | "-lc++",
1068 | );
1069 | PRODUCT_NAME = "$(TARGET_NAME)";
1070 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mobile_app.app/mobile_app";
1071 | };
1072 | name = Debug;
1073 | };
1074 | 00E356F71AD99517003FC87E /* Release */ = {
1075 | isa = XCBuildConfiguration;
1076 | buildSettings = {
1077 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
1078 | BUNDLE_LOADER = "$(TEST_HOST)";
1079 | COPY_PHASE_STRIP = NO;
1080 | INFOPLIST_FILE = mobile_appTests/Info.plist;
1081 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1082 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1083 | OTHER_LDFLAGS = (
1084 | "-ObjC",
1085 | "-lc++",
1086 | );
1087 | PRODUCT_NAME = "$(TARGET_NAME)";
1088 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mobile_app.app/mobile_app";
1089 | };
1090 | name = Release;
1091 | };
1092 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1093 | isa = XCBuildConfiguration;
1094 | buildSettings = {
1095 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1096 | CLANG_ENABLE_MODULES = YES;
1097 | CURRENT_PROJECT_VERSION = 1;
1098 | DEAD_CODE_STRIPPING = NO;
1099 | INFOPLIST_FILE = mobile_app/Info.plist;
1100 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1101 | LIBRARY_SEARCH_PATHS = ../rust/mobile_app;
1102 | OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
1103 | OTHER_LDFLAGS = (
1104 | "$(inherited)",
1105 | "-ObjC",
1106 | "-lc++",
1107 | );
1108 | PRODUCT_NAME = mobile_app;
1109 | SWIFT_OBJC_BRIDGING_HEADER = "mobile_app-Bridging-Header.h";
1110 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1111 | SWIFT_VERSION = 3.0;
1112 | VERSIONING_SYSTEM = "apple-generic";
1113 | };
1114 | name = Debug;
1115 | };
1116 | 13B07F951A680F5B00A75B9A /* Release */ = {
1117 | isa = XCBuildConfiguration;
1118 | buildSettings = {
1119 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1120 | CLANG_ENABLE_MODULES = YES;
1121 | CURRENT_PROJECT_VERSION = 1;
1122 | INFOPLIST_FILE = mobile_app/Info.plist;
1123 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1124 | LIBRARY_SEARCH_PATHS = ../rust/mobile_app;
1125 | OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
1126 | OTHER_LDFLAGS = (
1127 | "$(inherited)",
1128 | "-ObjC",
1129 | "-lc++",
1130 | );
1131 | PRODUCT_NAME = mobile_app;
1132 | SWIFT_OBJC_BRIDGING_HEADER = "mobile_app-Bridging-Header.h";
1133 | SWIFT_VERSION = 3.0;
1134 | VERSIONING_SYSTEM = "apple-generic";
1135 | };
1136 | name = Release;
1137 | };
1138 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1139 | isa = XCBuildConfiguration;
1140 | buildSettings = {
1141 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1142 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1143 | CLANG_ANALYZER_NONNULL = YES;
1144 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1145 | CLANG_WARN_INFINITE_RECURSION = YES;
1146 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1147 | DEBUG_INFORMATION_FORMAT = dwarf;
1148 | ENABLE_TESTABILITY = YES;
1149 | GCC_NO_COMMON_BLOCKS = YES;
1150 | INFOPLIST_FILE = "mobile_app-tvOS/Info.plist";
1151 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1152 | OTHER_LDFLAGS = (
1153 | "-ObjC",
1154 | "-lc++",
1155 | );
1156 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.mobile_app-tvOS";
1157 | PRODUCT_NAME = "$(TARGET_NAME)";
1158 | SDKROOT = appletvos;
1159 | TARGETED_DEVICE_FAMILY = 3;
1160 | TVOS_DEPLOYMENT_TARGET = 9.2;
1161 | };
1162 | name = Debug;
1163 | };
1164 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1165 | isa = XCBuildConfiguration;
1166 | buildSettings = {
1167 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1168 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1169 | CLANG_ANALYZER_NONNULL = YES;
1170 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1171 | CLANG_WARN_INFINITE_RECURSION = YES;
1172 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1173 | COPY_PHASE_STRIP = NO;
1174 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1175 | GCC_NO_COMMON_BLOCKS = YES;
1176 | INFOPLIST_FILE = "mobile_app-tvOS/Info.plist";
1177 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1178 | OTHER_LDFLAGS = (
1179 | "-ObjC",
1180 | "-lc++",
1181 | );
1182 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.mobile_app-tvOS";
1183 | PRODUCT_NAME = "$(TARGET_NAME)";
1184 | SDKROOT = appletvos;
1185 | TARGETED_DEVICE_FAMILY = 3;
1186 | TVOS_DEPLOYMENT_TARGET = 9.2;
1187 | };
1188 | name = Release;
1189 | };
1190 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1191 | isa = XCBuildConfiguration;
1192 | buildSettings = {
1193 | BUNDLE_LOADER = "$(TEST_HOST)";
1194 | CLANG_ANALYZER_NONNULL = YES;
1195 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1196 | CLANG_WARN_INFINITE_RECURSION = YES;
1197 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1198 | DEBUG_INFORMATION_FORMAT = dwarf;
1199 | ENABLE_TESTABILITY = YES;
1200 | GCC_NO_COMMON_BLOCKS = YES;
1201 | INFOPLIST_FILE = "mobile_app-tvOSTests/Info.plist";
1202 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1203 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.mobile_app-tvOSTests";
1204 | PRODUCT_NAME = "$(TARGET_NAME)";
1205 | SDKROOT = appletvos;
1206 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mobile_app-tvOS.app/mobile_app-tvOS";
1207 | TVOS_DEPLOYMENT_TARGET = 10.1;
1208 | };
1209 | name = Debug;
1210 | };
1211 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1212 | isa = XCBuildConfiguration;
1213 | buildSettings = {
1214 | BUNDLE_LOADER = "$(TEST_HOST)";
1215 | CLANG_ANALYZER_NONNULL = YES;
1216 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1217 | CLANG_WARN_INFINITE_RECURSION = YES;
1218 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1219 | COPY_PHASE_STRIP = NO;
1220 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1221 | GCC_NO_COMMON_BLOCKS = YES;
1222 | INFOPLIST_FILE = "mobile_app-tvOSTests/Info.plist";
1223 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1224 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.mobile_app-tvOSTests";
1225 | PRODUCT_NAME = "$(TARGET_NAME)";
1226 | SDKROOT = appletvos;
1227 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/mobile_app-tvOS.app/mobile_app-tvOS";
1228 | TVOS_DEPLOYMENT_TARGET = 10.1;
1229 | };
1230 | name = Release;
1231 | };
1232 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1233 | isa = XCBuildConfiguration;
1234 | buildSettings = {
1235 | ALWAYS_SEARCH_USER_PATHS = NO;
1236 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1237 | CLANG_CXX_LIBRARY = "libc++";
1238 | CLANG_ENABLE_MODULES = YES;
1239 | CLANG_ENABLE_OBJC_ARC = YES;
1240 | CLANG_WARN_BOOL_CONVERSION = YES;
1241 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1242 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1243 | CLANG_WARN_EMPTY_BODY = YES;
1244 | CLANG_WARN_ENUM_CONVERSION = YES;
1245 | CLANG_WARN_INT_CONVERSION = YES;
1246 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1247 | CLANG_WARN_UNREACHABLE_CODE = YES;
1248 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1249 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1250 | COPY_PHASE_STRIP = NO;
1251 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1252 | GCC_C_LANGUAGE_STANDARD = gnu99;
1253 | GCC_DYNAMIC_NO_PIC = NO;
1254 | GCC_OPTIMIZATION_LEVEL = 0;
1255 | GCC_PREPROCESSOR_DEFINITIONS = (
1256 | "DEBUG=1",
1257 | "$(inherited)",
1258 | );
1259 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1260 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1261 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1262 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1263 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1264 | GCC_WARN_UNUSED_FUNCTION = YES;
1265 | GCC_WARN_UNUSED_VARIABLE = YES;
1266 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1267 | MTL_ENABLE_DEBUG_INFO = YES;
1268 | ONLY_ACTIVE_ARCH = YES;
1269 | SDKROOT = iphoneos;
1270 | };
1271 | name = Debug;
1272 | };
1273 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1274 | isa = XCBuildConfiguration;
1275 | buildSettings = {
1276 | ALWAYS_SEARCH_USER_PATHS = NO;
1277 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1278 | CLANG_CXX_LIBRARY = "libc++";
1279 | CLANG_ENABLE_MODULES = YES;
1280 | CLANG_ENABLE_OBJC_ARC = YES;
1281 | CLANG_WARN_BOOL_CONVERSION = YES;
1282 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1283 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1284 | CLANG_WARN_EMPTY_BODY = YES;
1285 | CLANG_WARN_ENUM_CONVERSION = YES;
1286 | CLANG_WARN_INT_CONVERSION = YES;
1287 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1288 | CLANG_WARN_UNREACHABLE_CODE = YES;
1289 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1290 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1291 | COPY_PHASE_STRIP = YES;
1292 | ENABLE_NS_ASSERTIONS = NO;
1293 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1294 | GCC_C_LANGUAGE_STANDARD = gnu99;
1295 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1296 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1297 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1298 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1299 | GCC_WARN_UNUSED_FUNCTION = YES;
1300 | GCC_WARN_UNUSED_VARIABLE = YES;
1301 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1302 | MTL_ENABLE_DEBUG_INFO = NO;
1303 | SDKROOT = iphoneos;
1304 | VALIDATE_PRODUCT = YES;
1305 | };
1306 | name = Release;
1307 | };
1308 | /* End XCBuildConfiguration section */
1309 |
1310 | /* Begin XCConfigurationList section */
1311 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "mobile_appTests" */ = {
1312 | isa = XCConfigurationList;
1313 | buildConfigurations = (
1314 | 00E356F61AD99517003FC87E /* Debug */,
1315 | 00E356F71AD99517003FC87E /* Release */,
1316 | );
1317 | defaultConfigurationIsVisible = 0;
1318 | defaultConfigurationName = Release;
1319 | };
1320 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "mobile_app" */ = {
1321 | isa = XCConfigurationList;
1322 | buildConfigurations = (
1323 | 13B07F941A680F5B00A75B9A /* Debug */,
1324 | 13B07F951A680F5B00A75B9A /* Release */,
1325 | );
1326 | defaultConfigurationIsVisible = 0;
1327 | defaultConfigurationName = Release;
1328 | };
1329 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "mobile_app-tvOS" */ = {
1330 | isa = XCConfigurationList;
1331 | buildConfigurations = (
1332 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1333 | 2D02E4981E0B4A5E006451C7 /* Release */,
1334 | );
1335 | defaultConfigurationIsVisible = 0;
1336 | defaultConfigurationName = Release;
1337 | };
1338 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "mobile_app-tvOSTests" */ = {
1339 | isa = XCConfigurationList;
1340 | buildConfigurations = (
1341 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1342 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1343 | );
1344 | defaultConfigurationIsVisible = 0;
1345 | defaultConfigurationName = Release;
1346 | };
1347 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "mobile_app" */ = {
1348 | isa = XCConfigurationList;
1349 | buildConfigurations = (
1350 | 83CBBA201A601CBA00E9B192 /* Debug */,
1351 | 83CBBA211A601CBA00E9B192 /* Release */,
1352 | );
1353 | defaultConfigurationIsVisible = 0;
1354 | defaultConfigurationName = Release;
1355 | };
1356 | /* End XCConfigurationList section */
1357 | };
1358 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1359 | }
1360 |
--------------------------------------------------------------------------------