├── packages
├── rider
│ ├── .watchmanconfig
│ ├── .gitattributes
│ ├── app.json
│ ├── babel.config.js
│ ├── android
│ │ ├── app
│ │ │ ├── src
│ │ │ │ ├── main
│ │ │ │ │ ├── res
│ │ │ │ │ │ ├── values
│ │ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ └── mipmap-xxxhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ ├── java
│ │ │ │ │ │ └── com
│ │ │ │ │ │ │ └── rider
│ │ │ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ │ │ └── MainApplication.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ └── debug
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ ├── build_defs.bzl
│ │ │ ├── proguard-rules.pro
│ │ │ ├── BUCK
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── settings.gradle
│ │ ├── gradle.properties
│ │ ├── build.gradle
│ │ ├── gradlew.bat
│ │ └── gradlew
│ ├── ios
│ │ ├── rider
│ │ │ ├── Images.xcassets
│ │ │ │ ├── Contents.json
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── AppDelegate.h
│ │ │ ├── main.m
│ │ │ ├── AppDelegate.m
│ │ │ ├── Info.plist
│ │ │ └── Base.lproj
│ │ │ │ └── LaunchScreen.xib
│ │ ├── rider.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── riderTests
│ │ │ ├── Info.plist
│ │ │ └── riderTests.m
│ │ ├── Podfile
│ │ ├── Podfile.lock
│ │ └── rider.xcodeproj
│ │ │ ├── xcshareddata
│ │ │ └── xcschemes
│ │ │ │ ├── rider.xcscheme
│ │ │ │ └── rider-tvOS.xcscheme
│ │ │ └── project.pbxproj
│ ├── .buckconfig
│ ├── index.js
│ ├── __tests__
│ │ └── App-test.js
│ ├── package.json
│ ├── .gitignore
│ ├── App.js
│ ├── metro.config.js
│ └── .flowconfig
├── consumer
│ ├── .watchmanconfig
│ ├── .gitattributes
│ ├── app.json
│ ├── babel.config.js
│ ├── android
│ │ ├── app
│ │ │ ├── src
│ │ │ │ ├── main
│ │ │ │ │ ├── res
│ │ │ │ │ │ ├── values
│ │ │ │ │ │ │ ├── strings.xml
│ │ │ │ │ │ │ └── styles.xml
│ │ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ │ └── mipmap-xxxhdpi
│ │ │ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ │ ├── java
│ │ │ │ │ │ └── com
│ │ │ │ │ │ │ └── consumer
│ │ │ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ │ │ └── MainApplication.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ └── debug
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ ├── build_defs.bzl
│ │ │ ├── proguard-rules.pro
│ │ │ ├── BUCK
│ │ │ └── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── settings.gradle
│ │ ├── gradle.properties
│ │ ├── build.gradle
│ │ ├── gradlew.bat
│ │ └── gradlew
│ ├── ios
│ │ ├── consumer
│ │ │ ├── Images.xcassets
│ │ │ │ ├── Contents.json
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── AppDelegate.h
│ │ │ ├── main.m
│ │ │ ├── AppDelegate.m
│ │ │ ├── Info.plist
│ │ │ └── Base.lproj
│ │ │ │ └── LaunchScreen.xib
│ │ ├── consumer.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ ├── consumerTests
│ │ │ ├── Info.plist
│ │ │ └── consumerTests.m
│ │ ├── Podfile
│ │ ├── Podfile.lock
│ │ └── consumer.xcodeproj
│ │ │ ├── xcshareddata
│ │ │ └── xcschemes
│ │ │ │ ├── consumer.xcscheme
│ │ │ │ └── consumer-tvOS.xcscheme
│ │ │ └── project.pbxproj
│ ├── .buckconfig
│ ├── index.js
│ ├── __tests__
│ │ └── App-test.js
│ ├── package.json
│ ├── .gitignore
│ ├── App.js
│ ├── metro.config.js
│ └── .flowconfig
└── delivery-core
│ ├── src
│ ├── index.js
│ └── chatHeads
│ │ └── index.js
│ └── package.json
├── .gitattributes
├── babel.config.js
├── lerna.json
├── .gitignore
├── README.md
├── package.json
└── LICENSE
/packages/rider/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/packages/consumer/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/packages/consumer/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/packages/rider/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/packages/rider/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rider",
3 | "displayName": "rider"
4 | }
--------------------------------------------------------------------------------
/packages/consumer/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "consumer",
3 | "displayName": "consumer"
4 | }
--------------------------------------------------------------------------------
/packages/consumer/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: '../../babel.config.js',
3 | };
4 |
--------------------------------------------------------------------------------
/packages/rider/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: '../../babel.config.js',
3 | };
4 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ['module:metro-react-native-babel-preset'],
3 | };
4 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | rider
3 |
4 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | consumer
3 |
4 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/packages/delivery-core/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @flow
3 | */
4 |
5 | export function amazingFunction(): string {
6 | return 'Woooooooo this has changed'
7 | }
--------------------------------------------------------------------------------
/packages/consumer/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/packages/rider/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/packages/rider/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/packages/consumer/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/lerna.json:
--------------------------------------------------------------------------------
1 | {
2 | "lerna": "2.9.0",
3 | "packages": [
4 | "packages/*"
5 | ],
6 | "npmClient": "yarn",
7 | "useWorkspaces": true,
8 | "version": "0.0.1"
9 | }
10 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/rider/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AndrewJack/yarn-workspaces/HEAD/packages/consumer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/rider/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import {AppRegistry} from 'react-native';
6 | import App from './App';
7 | import {name as appName} from './app.json';
8 |
9 | AppRegistry.registerComponent(appName, () => App);
10 |
--------------------------------------------------------------------------------
/packages/consumer/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import {AppRegistry} from 'react-native';
6 | import App from './App';
7 | import {name as appName} from './app.json';
8 |
9 | AppRegistry.registerComponent(appName, () => App);
10 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/rider/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
6 |
--------------------------------------------------------------------------------
/packages/consumer/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
6 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/delivery-core/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "delivery-core",
3 | "version": "0.0.1",
4 | "main": "src/index.js",
5 | "private": true,
6 | "dependencies": {
7 | "react": "16.8.3",
8 | "react-native": "0.59.8",
9 | "react-native-gesture-handler": "1.2.1",
10 | "react-native-reanimated": "1.0.1"
11 | }
12 | }
--------------------------------------------------------------------------------
/packages/rider/__tests__/App-test.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import 'react-native';
6 | import React from 'react';
7 | import App from '../App';
8 |
9 | // Note: test renderer must be required after react-native.
10 | import renderer from 'react-test-renderer';
11 |
12 | it('renders correctly', () => {
13 | renderer.create();
14 | });
15 |
--------------------------------------------------------------------------------
/packages/consumer/__tests__/App-test.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import 'react-native';
6 | import React from 'react';
7 | import App from '../App';
8 |
9 | // Note: test renderer must be required after react-native.
10 | import renderer from 'react-test-renderer';
11 |
12 | it('renders correctly', () => {
13 | renderer.create();
14 | });
15 |
--------------------------------------------------------------------------------
/packages/rider/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'rider'
2 |
3 | include ':app', ':react-native-reanimated', ':react-native-gesture-handler'
4 |
5 | project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
6 | project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-reanimated/android')
7 |
--------------------------------------------------------------------------------
/packages/consumer/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'consumer'
2 |
3 | include ':app', ':react-native-reanimated', ':react-native-gesture-handler'
4 |
5 | project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
6 | project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-reanimated/android')
7 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (nonatomic, strong) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (nonatomic, strong) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/build_defs.bzl:
--------------------------------------------------------------------------------
1 | """Helper definitions to glob .aar and .jar targets"""
2 |
3 | def create_aar_targets(aarfiles):
4 | for aarfile in aarfiles:
5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
6 | lib_deps.append(":" + name)
7 | android_prebuilt_aar(
8 | name = name,
9 | aar = aarfile,
10 | )
11 |
12 | def create_jar_targets(jarfiles):
13 | for jarfile in jarfiles:
14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
15 | lib_deps.append(":" + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
--------------------------------------------------------------------------------
/packages/rider/android/app/build_defs.bzl:
--------------------------------------------------------------------------------
1 | """Helper definitions to glob .aar and .jar targets"""
2 |
3 | def create_aar_targets(aarfiles):
4 | for aarfile in aarfiles:
5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
6 | lib_deps.append(":" + name)
7 | android_prebuilt_aar(
8 | name = name,
9 | aar = aarfile,
10 | )
11 |
12 | def create_jar_targets(jarfiles):
13 | for jarfile in jarfiles:
14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
15 | lib_deps.append(":" + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
--------------------------------------------------------------------------------
/packages/rider/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rider",
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 | "workspaces": {
10 | "nohoist": [
11 | "react-native-gesture-handler",
12 | "react-native-reanimated"
13 | ]
14 | },
15 | "dependencies": {
16 | "delivery-core": "0.0.1",
17 | "react": "16.8.3",
18 | "react-native": "0.59.8",
19 | "react-native-gesture-handler": "1.2.1",
20 | "react-native-reanimated": "1.0.1"
21 | },
22 | "devDependencies": {
23 | "flow-bin": "0.92.1"
24 | },
25 | "jest": {
26 | "preset": "react-native"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/packages/consumer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "consumer",
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 | "workspaces": {
10 | "nohoist": [
11 | "react-native-gesture-handler",
12 | "react-native-reanimated"
13 | ]
14 | },
15 | "dependencies": {
16 | "delivery-core": "0.0.1",
17 | "react": "16.8.3",
18 | "react-native": "0.59.8",
19 | "react-native-gesture-handler": "1.2.1",
20 | "react-native-reanimated": "1.0.1"
21 | },
22 | "devDependencies": {
23 | "flow-bin": "0.92.1"
24 | },
25 | "jest": {
26 | "preset": "react-native"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/packages/rider/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 |
--------------------------------------------------------------------------------
/packages/consumer/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 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/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 | }
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/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 | }
--------------------------------------------------------------------------------
/packages/rider/ios/riderTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumerTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/rider/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 |
--------------------------------------------------------------------------------
/packages/consumer/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 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | Pods/
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # yarn-workspaces
2 | React Native & yarn workspaces
3 |
4 |
5 | ## Things to remember when using workspaces
6 |
7 | - Flow runs in each package not on the whole workspace
8 | - apply nohoist to all modules that contain native code (ios & android code)
9 | - Avoids ios and android build directory clashes
10 | - More likely to work with react-native link
11 | - Pure JS libraries work fine without nohoist
12 | - Always `yarn install` at the root not in a `package/rider` directory
13 |
14 | ## Links
15 |
16 | - https://yarnpkg.com/lang/en/docs/workspaces/
17 | - https://github.com/lerna/lerna
18 | - https://yarnpkg.com/blog/2018/02/15/nohoist/
19 |
20 | ## Blogs
21 |
22 | - https://medium.com/viewsdx/how-to-use-yarn-workspaces-with-create-react-app-and-create-react-native-app-expo-to-share-common-ea27bc4bad62
23 |
24 | ## Examples
25 |
26 | - https://github.com/connectdotz/yarn-nohoist-examples
27 | - http://www.benjiegillam.com/2017/08/switching-graphile-to-yarn-workspaces/
28 |
--------------------------------------------------------------------------------
/packages/consumer/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "28.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 28
8 | targetSdkVersion = 28
9 | supportLibVersion = "28.0.0"
10 | }
11 | repositories {
12 | google()
13 | jcenter()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.3.1'
17 |
18 | // NOTE: Do not place your application dependencies here; they belong
19 | // in the individual module build.gradle files
20 | }
21 | }
22 |
23 | allprojects {
24 | repositories {
25 | mavenLocal()
26 | google()
27 | jcenter()
28 | maven {
29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30 | url "$rootDir/../node_modules/react-native/android"
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/packages/rider/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "28.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 28
8 | targetSdkVersion = 28
9 | supportLibVersion = "28.0.0"
10 | }
11 | repositories {
12 | google()
13 | jcenter()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.3.1'
17 |
18 | // NOTE: Do not place your application dependencies here; they belong
19 | // in the individual module build.gradle files
20 | }
21 | }
22 |
23 | allprojects {
24 | repositories {
25 | mavenLocal()
26 | google()
27 | jcenter()
28 | maven {
29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30 | url "$rootDir/../node_modules/react-native/android"
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/java/com/rider/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.rider;
2 |
3 | import com.facebook.react.ReactActivity;
4 | import com.facebook.react.ReactActivityDelegate;
5 | import com.facebook.react.ReactRootView;
6 | import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
7 |
8 | public class MainActivity extends ReactActivity {
9 |
10 | /**
11 | * Returns the name of the main component registered from JavaScript.
12 | * This is used to schedule rendering of the component.
13 | */
14 | @Override
15 | protected String getMainComponentName() {
16 | return "rider";
17 | }
18 |
19 | @Override
20 | protected ReactActivityDelegate createReactActivityDelegate() {
21 | return new ReactActivityDelegate(this, getMainComponentName()) {
22 | @Override
23 | protected ReactRootView createRootView() {
24 | return new RNGestureHandlerEnabledRootView(MainActivity.this);
25 | }
26 | };
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/java/com/consumer/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.consumer;
2 |
3 | import com.facebook.react.ReactActivity;
4 | import com.facebook.react.ReactActivityDelegate;
5 | import com.facebook.react.ReactRootView;
6 | import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
7 |
8 | public class MainActivity extends ReactActivity {
9 |
10 | /**
11 | * Returns the name of the main component registered from JavaScript.
12 | * This is used to schedule rendering of the component.
13 | */
14 | @Override
15 | protected String getMainComponentName() {
16 | return "consumer";
17 | }
18 |
19 | @Override
20 | protected ReactActivityDelegate createReactActivityDelegate() {
21 | return new ReactActivityDelegate(this, getMainComponentName()) {
22 | @Override
23 | protected ReactRootView createRootView() {
24 | return new RNGestureHandlerEnabledRootView(MainActivity.this);
25 | }
26 | };
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/packages/consumer/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
55 | # Bundle artifact
56 | *.jsbundle
57 |
--------------------------------------------------------------------------------
/packages/rider/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
55 | # Bundle artifact
56 | *.jsbundle
57 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "workspaces": {
4 | "packages": [
5 | "packages/*"
6 | ],
7 | "nohoist": [
8 | "consumer/react-native",
9 | "consumer/react-native/**",
10 | "rider/react-native",
11 | "rider/react-native/**"
12 | ]
13 | },
14 | "scripts": {
15 | "clean-pods": "rm -rf packages/*/ios/Pods",
16 | "flow-symlinks": "./node_modules/.bin/flow-mono create-symlinks",
17 | "lerna-check": "lerna run test && lerna run lint && lerna run schemas && lerna run flow",
18 | "postinstall": "yarn run flow-symlinks",
19 | "reset-modules": "rm -rf node_modules/ packages/*/node_modules",
20 | "reset-rn": "watchman watch-del-all; rm -fr $TMPDIR/react-*; rm -rf $TMPDIR/haste-map-react-native-packager-*",
21 | "reset": "yarn reset-modules && yarn reset-rn"
22 | },
23 | "flow-mono": {
24 | "create-symlinks": {
25 | "ignore": [
26 | "react-native"
27 | ]
28 | }
29 | },
30 | "devDependencies": {
31 | "@babel/core": "^7.4.5",
32 | "@babel/runtime": "^7.4.5",
33 | "babel-jest": "^24.8.0",
34 | "glob": "7.1.4",
35 | "flow-mono-cli": "1.5.0",
36 | "jest": "^24.8.0",
37 | "lerna": "3.14.1",
38 | "metro-react-native-babel-preset": "^0.54.1",
39 | "react-test-renderer": "16.8.3"
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/packages/consumer/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | * @flow
7 | */
8 |
9 | import React, {Component} from 'react';
10 | import {Platform, StyleSheet, Text, View} from 'react-native';
11 |
12 | import { amazingFunction } from 'delivery-core';
13 |
14 | const instructions = Platform.select({
15 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
16 | android:
17 | 'Double tap R on your keyboard to reload,\n' +
18 | 'Shake or press menu button for dev menu',
19 | });
20 |
21 | type Props = {};
22 | export default class App extends Component {
23 | render() {
24 | return (
25 |
26 | {`Result of shared core module ${amazingFunction()}`}
27 | To get started, edit App.js
28 | {instructions}
29 |
30 | );
31 | }
32 | }
33 |
34 | const styles = StyleSheet.create({
35 | container: {
36 | flex: 1,
37 | justifyContent: 'center',
38 | alignItems: 'center',
39 | backgroundColor: '#F5FCFF',
40 | },
41 | welcome: {
42 | fontSize: 20,
43 | textAlign: 'center',
44 | margin: 10,
45 | },
46 | instructions: {
47 | textAlign: 'center',
48 | color: '#333333',
49 | marginBottom: 5,
50 | },
51 | });
52 |
--------------------------------------------------------------------------------
/packages/rider/ios/Podfile:
--------------------------------------------------------------------------------
1 | platform :ios, '10'
2 | inhibit_all_warnings!
3 |
4 | # Fix for Xcode 10 https://github.com/CocoaPods/CocoaPods/issues/8069#issuecomment-420044112
5 | post_install do |installer|
6 | installer.pods_project.targets.each do |target|
7 | target.build_configurations.each do |config|
8 | if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 10
9 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10'
10 | end
11 | end
12 | end
13 | end
14 |
15 | target 'rider' do
16 | # React Native
17 | pod 'yoga', :path => "../node_modules/react-native/ReactCommon/yoga/yoga.podspec"
18 | pod 'React', :path => '../node_modules/react-native', :subspecs => [
19 | "Core",
20 | "CxxBridge",
21 | "DevSupport",
22 | "RCTAnimation",
23 | "RCTImage",
24 | "RCTNetwork",
25 | "RCTText"
26 | ]
27 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
28 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
29 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
30 |
31 | # Third party React Native libraries
32 | pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
33 | pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
34 | end
35 |
36 | target 'riderTests' do
37 | inherit! :search_paths
38 | end
39 |
--------------------------------------------------------------------------------
/packages/consumer/ios/Podfile:
--------------------------------------------------------------------------------
1 | platform :ios, '10'
2 | inhibit_all_warnings!
3 |
4 | # Fix for Xcode 10 https://github.com/CocoaPods/CocoaPods/issues/8069#issuecomment-420044112
5 | post_install do |installer|
6 | installer.pods_project.targets.each do |target|
7 | target.build_configurations.each do |config|
8 | if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 10
9 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10'
10 | end
11 | end
12 | end
13 | end
14 |
15 | target 'consumer' do
16 | # React Native
17 | pod 'yoga', :path => "../node_modules/react-native/ReactCommon/yoga/yoga.podspec"
18 | pod 'React', :path => '../node_modules/react-native', :subspecs => [
19 | "Core",
20 | "CxxBridge",
21 | "DevSupport",
22 | "RCTAnimation",
23 | "RCTImage",
24 | "RCTNetwork",
25 | "RCTText"
26 | ]
27 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
28 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
29 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
30 |
31 | # Third party React Native libraries
32 | pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
33 | pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
34 | end
35 |
36 | target 'consumerTests' do
37 | inherit! :search_paths
38 | end
39 |
--------------------------------------------------------------------------------
/packages/rider/android/app/src/main/java/com/rider/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.rider;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
7 | import com.swmansion.reanimated.ReanimatedPackage;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.shell.MainReactPackage;
11 | import com.facebook.soloader.SoLoader;
12 |
13 | import java.util.Arrays;
14 | import java.util.List;
15 |
16 | public class MainApplication extends Application implements ReactApplication {
17 |
18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19 | @Override
20 | public boolean getUseDeveloperSupport() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Override
25 | protected List getPackages() {
26 | return Arrays.asList(
27 | new MainReactPackage(),
28 | new RNGestureHandlerPackage(),
29 | new ReanimatedPackage()
30 | );
31 | }
32 |
33 | @Override
34 | protected String getJSMainModuleName() {
35 | return "index";
36 | }
37 | };
38 |
39 | @Override
40 | public ReactNativeHost getReactNativeHost() {
41 | return mReactNativeHost;
42 | }
43 |
44 | @Override
45 | public void onCreate() {
46 | super.onCreate();
47 | SoLoader.init(this, /* native exopackage */ false);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/src/main/java/com/consumer/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.consumer;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.swmansion.reanimated.ReanimatedPackage;
7 | import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.shell.MainReactPackage;
11 | import com.facebook.soloader.SoLoader;
12 |
13 | import java.util.Arrays;
14 | import java.util.List;
15 |
16 | public class MainApplication extends Application implements ReactApplication {
17 |
18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19 | @Override
20 | public boolean getUseDeveloperSupport() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Override
25 | protected List getPackages() {
26 | return Arrays.asList(
27 | new MainReactPackage(),
28 | new ReanimatedPackage(),
29 | new RNGestureHandlerPackage()
30 | );
31 | }
32 |
33 | @Override
34 | protected String getJSMainModuleName() {
35 | return "index";
36 | }
37 | };
38 |
39 | @Override
40 | public ReactNativeHost getReactNativeHost() {
41 | return mReactNativeHost;
42 | }
43 |
44 | @Override
45 | public void onCreate() {
46 | super.onCreate();
47 | SoLoader.init(this, /* native exopackage */ false);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/packages/rider/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12 |
13 | lib_deps = []
14 |
15 | create_aar_targets(glob(["libs/*.aar"]))
16 |
17 | create_jar_targets(glob(["libs/*.jar"]))
18 |
19 | android_library(
20 | name = "all-libs",
21 | exported_deps = lib_deps,
22 | )
23 |
24 | android_library(
25 | name = "app-code",
26 | srcs = glob([
27 | "src/main/java/**/*.java",
28 | ]),
29 | deps = [
30 | ":all-libs",
31 | ":build_config",
32 | ":res",
33 | ],
34 | )
35 |
36 | android_build_config(
37 | name = "build_config",
38 | package = "com.rider",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.rider",
44 | res = "src/main/res",
45 | )
46 |
47 | android_binary(
48 | name = "app",
49 | keystore = "//android/keystores:debug",
50 | manifest = "src/main/AndroidManifest.xml",
51 | package_type = "debug",
52 | deps = [
53 | ":app-code",
54 | ],
55 | )
56 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12 |
13 | lib_deps = []
14 |
15 | create_aar_targets(glob(["libs/*.aar"]))
16 |
17 | create_jar_targets(glob(["libs/*.jar"]))
18 |
19 | android_library(
20 | name = "all-libs",
21 | exported_deps = lib_deps,
22 | )
23 |
24 | android_library(
25 | name = "app-code",
26 | srcs = glob([
27 | "src/main/java/**/*.java",
28 | ]),
29 | deps = [
30 | ":all-libs",
31 | ":build_config",
32 | ":res",
33 | ],
34 | )
35 |
36 | android_build_config(
37 | name = "build_config",
38 | package = "com.consumer",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.consumer",
44 | res = "src/main/res",
45 | )
46 |
47 | android_binary(
48 | name = "app",
49 | keystore = "//android/keystores:debug",
50 | manifest = "src/main/AndroidManifest.xml",
51 | package_type = "debug",
52 | deps = [
53 | ":app-code",
54 | ],
55 | )
56 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 | #import
13 |
14 | @implementation AppDelegate
15 |
16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17 | {
18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
20 | moduleName:@"rider"
21 | initialProperties:nil];
22 |
23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
24 |
25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26 | UIViewController *rootViewController = [UIViewController new];
27 | rootViewController.view = rootView;
28 | self.window.rootViewController = rootViewController;
29 | [self.window makeKeyAndVisible];
30 | return YES;
31 | }
32 |
33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
34 | {
35 | #if DEBUG
36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
37 | #else
38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
39 | #endif
40 | }
41 |
42 | @end
43 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 | #import
13 |
14 | @implementation AppDelegate
15 |
16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17 | {
18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
20 | moduleName:@"consumer"
21 | initialProperties:nil];
22 |
23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
24 |
25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26 | UIViewController *rootViewController = [UIViewController new];
27 | rootViewController.view = rootView;
28 | self.window.rootViewController = rootViewController;
29 | [self.window makeKeyAndVisible];
30 | return YES;
31 | }
32 |
33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
34 | {
35 | #if DEBUG
36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
37 | #else
38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
39 | #endif
40 | }
41 |
42 | @end
43 |
--------------------------------------------------------------------------------
/packages/rider/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | * @flow
7 | */
8 |
9 | import React, { Component } from 'react';
10 | import { Platform, StyleSheet, Text, View } from 'react-native';
11 |
12 | import { amazingFunction } from 'delivery-core';
13 | import ChatHeads from 'delivery-core/src/chatHeads';
14 | import { RectButton } from 'react-native-gesture-handler';
15 |
16 | const instructions = Platform.select({
17 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
18 | android:
19 | 'Double tap R on your keyboard to reload,\n' +
20 | 'Shake or press menu button for dev menu'
21 | });
22 |
23 | type Props = {};
24 | type State = {
25 | showChatHeads: boolean
26 | };
27 |
28 | export default class App extends Component {
29 | state = {
30 | showChatHeads: false
31 | };
32 |
33 | render() {
34 | return this.state.showChatHeads ? (
35 |
36 | ) : (
37 |
38 | {`Result of shared core module ${amazingFunction()}`}
41 | To get started, edit App.js
42 | {instructions}
43 | this.setState({ showChatHeads: true })}>
44 | View chat heads
45 |
46 |
47 | );
48 | }
49 | }
50 |
51 | const styles = StyleSheet.create({
52 | container: {
53 | flex: 1,
54 | justifyContent: 'center',
55 | alignItems: 'center',
56 | backgroundColor: '#F5FCFF'
57 | },
58 | welcome: {
59 | fontSize: 20,
60 | textAlign: 'center',
61 | margin: 10
62 | },
63 | instructions: {
64 | textAlign: 'center',
65 | color: '#333333',
66 | marginBottom: 5
67 | }
68 | });
69 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | rider
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | consumer
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/packages/rider/ios/riderTests/riderTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface riderTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation riderTests
22 |
23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
24 | {
25 | if (test(view)) {
26 | return YES;
27 | }
28 | for (UIView *subview in [view subviews]) {
29 | if ([self findSubviewInView:subview matching:test]) {
30 | return YES;
31 | }
32 | }
33 | return NO;
34 | }
35 |
36 | - (void)testRendersWelcomeScreen
37 | {
38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
40 | BOOL foundElement = NO;
41 |
42 | __block NSString *redboxError = nil;
43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
44 | if (level >= RCTLogLevelError) {
45 | redboxError = message;
46 | }
47 | });
48 |
49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
52 |
53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
55 | return YES;
56 | }
57 | return NO;
58 | }];
59 | }
60 |
61 | RCTSetLogFunction(RCTDefaultLogFunction);
62 |
63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumerTests/consumerTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface consumerTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation consumerTests
22 |
23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
24 | {
25 | if (test(view)) {
26 | return YES;
27 | }
28 | for (UIView *subview in [view subviews]) {
29 | if ([self findSubviewInView:subview matching:test]) {
30 | return YES;
31 | }
32 | }
33 | return NO;
34 | }
35 |
36 | - (void)testRendersWelcomeScreen
37 | {
38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
40 | BOOL foundElement = NO;
41 |
42 | __block NSString *redboxError = nil;
43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
44 | if (level >= RCTLogLevelError) {
45 | redboxError = message;
46 | }
47 | });
48 |
49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
52 |
53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
55 | return YES;
56 | }
57 | return NO;
58 | }];
59 | }
60 |
61 | RCTSetLogFunction(RCTDefaultLogFunction);
62 |
63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/packages/consumer/metro.config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * This a horrible hack
3 | */
4 |
5 | const blacklist = require('metro-config/src/defaults/blacklist')
6 | const path = require('path')
7 | const cwd = path.resolve(__dirname)
8 | const glob = require('glob')
9 |
10 | function flatten(list) {
11 | return list.reduce((acc, item) => {
12 | if (Array.isArray(item)) {
13 | return acc.concat(flatten(item))
14 | } else {
15 | return acc.concat(item)
16 | }
17 | }, [])
18 | }
19 |
20 | function getWorkspaces(from) {
21 | const root = path.resolve(cwd, '../..')
22 | const { workspaces } = require(path.join(root, 'package.json'))
23 | return flatten(
24 | workspaces.packages.map(name => glob.sync(path.join(root, name)))
25 | )
26 | }
27 |
28 | const excludedPackages = ['packages/consumer', 'packages/rider']
29 | const workspaces = getWorkspaces(__dirname).filter(
30 | dir => !excludedPackages.some(excluded => dir.includes(excluded))
31 | )
32 |
33 | const noHoistDependencies = (() => {
34 | const { workspaces } = require('./package.json')
35 | const nohoist = workspaces && workspaces.nohoist ? workspaces.nohoist : []
36 | return ['react-native', 'react', ...nohoist]
37 | })()
38 |
39 | function getBlacklist() {
40 | const rootPath = path.resolve(cwd, '../..')
41 | const directories = [rootPath].concat(workspaces)
42 | const blacklistPaths = noHoistDependencies
43 | .map(dependency =>
44 | directories.map(dir => `${dir}/node_modules/${dependency}/.*`)
45 | )
46 | .reduce((acc, value) => {
47 | return [...acc, ...value]
48 | })
49 | .map(dir => new RegExp(dir.replace(/\//g, path.sep)))
50 |
51 | return blacklist(blacklistPaths)
52 | }
53 |
54 | function getExtraNodeModules() {
55 | return noHoistDependencies.reduce((obj, dep) => {
56 | obj[dep] = path.resolve(cwd, `./node_modules/${dep}`)
57 | return obj
58 | }, {})
59 | }
60 |
61 | module.exports = {
62 | transformer: {
63 | getTransformOptions: async () => ({
64 | transform: {
65 | experimentalImportSupport: true,
66 | inlineRequires: true
67 | }
68 | })
69 | },
70 | resolver: {
71 | blacklistRE: getBlacklist(),
72 | extraNodeModules: getExtraNodeModules()
73 | },
74 | watchFolders: [path.resolve(cwd, '../..', 'node_modules')].concat(workspaces)
75 | }
76 |
--------------------------------------------------------------------------------
/packages/rider/metro.config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * This a horrible hack
3 | */
4 |
5 | const blacklist = require('metro-config/src/defaults/blacklist')
6 | const path = require('path')
7 | const cwd = path.resolve(__dirname)
8 | const glob = require('glob')
9 |
10 | function flatten(list) {
11 | return list.reduce((acc, item) => {
12 | if (Array.isArray(item)) {
13 | return acc.concat(flatten(item))
14 | } else {
15 | return acc.concat(item)
16 | }
17 | }, [])
18 | }
19 |
20 | function getWorkspaces(from) {
21 | const root = path.resolve(cwd, '../..')
22 | const { workspaces } = require(path.join(root, 'package.json'))
23 | return flatten(
24 | workspaces.packages.map(name => glob.sync(path.join(root, name)))
25 | )
26 | }
27 |
28 | const excludedPackages = ['packages/consumer', 'packages/rider']
29 | const workspaces = getWorkspaces(__dirname).filter(
30 | dir => !excludedPackages.some(excluded => dir.includes(excluded))
31 | )
32 |
33 | const noHoistDependencies = (() => {
34 | const { workspaces } = require('./package.json')
35 | const nohoist = workspaces && workspaces.nohoist ? workspaces.nohoist : []
36 | return ['react-native', 'react', ...nohoist]
37 | })()
38 |
39 | function getBlacklist() {
40 | const rootPath = path.resolve(cwd, '../..')
41 | const directories = [rootPath].concat(workspaces)
42 | const blacklistPaths = noHoistDependencies
43 | .map(dependency =>
44 | directories.map(dir => `${dir}/node_modules/${dependency}/.*`)
45 | )
46 | .reduce((acc, value) => {
47 | return [...acc, ...value]
48 | })
49 | .map(dir => new RegExp(dir.replace(/\//g, path.sep)))
50 |
51 | return blacklist(blacklistPaths)
52 | }
53 |
54 | function getExtraNodeModules() {
55 | return noHoistDependencies.reduce((obj, dep) => {
56 | obj[dep] = path.resolve(cwd, `./node_modules/${dep}`)
57 | return obj
58 | }, {})
59 | }
60 |
61 | module.exports = {
62 | transformer: {
63 | getTransformOptions: async () => ({
64 | transform: {
65 | experimentalImportSupport: true,
66 | inlineRequires: true
67 | }
68 | })
69 | },
70 | resolver: {
71 | blacklistRE: getBlacklist(),
72 | extraNodeModules: getExtraNodeModules()
73 | },
74 | watchFolders: [path.resolve(cwd, '../..', 'node_modules')].concat(workspaces)
75 | }
76 |
--------------------------------------------------------------------------------
/packages/consumer/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 |
28 | [options]
29 | emoji=true
30 |
31 | esproposal.optional_chaining=enable
32 | esproposal.nullish_coalescing=enable
33 |
34 | module.system=haste
35 | module.system.haste.use_name_reducers=true
36 | # get basename
37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
38 | # strip .js or .js.flow suffix
39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
40 | # strip .ios suffix
41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
44 | module.system.haste.paths.blacklist=.*/__tests__/.*
45 | module.system.haste.paths.blacklist=.*/__mocks__/.*
46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
48 |
49 | munge_underscores=true
50 |
51 | 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'
52 |
53 | module.file_ext=.js
54 | module.file_ext=.jsx
55 | module.file_ext=.json
56 | module.file_ext=.native.js
57 |
58 | suppress_type=$FlowIssue
59 | suppress_type=$FlowFixMe
60 | suppress_type=$FlowFixMeProps
61 | suppress_type=$FlowFixMeState
62 |
63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
67 |
68 | [version]
69 | ^0.92.0
70 |
--------------------------------------------------------------------------------
/packages/rider/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 |
28 | [options]
29 | emoji=true
30 |
31 | esproposal.optional_chaining=enable
32 | esproposal.nullish_coalescing=enable
33 |
34 | module.system=haste
35 | module.system.haste.use_name_reducers=true
36 | # get basename
37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
38 | # strip .js or .js.flow suffix
39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
40 | # strip .ios suffix
41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
44 | module.system.haste.paths.blacklist=.*/__tests__/.*
45 | module.system.haste.paths.blacklist=.*/__mocks__/.*
46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
48 |
49 | munge_underscores=true
50 |
51 | 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'
52 |
53 | module.file_ext=.js
54 | module.file_ext=.jsx
55 | module.file_ext=.json
56 | module.file_ext=.native.js
57 |
58 | suppress_type=$FlowIssue
59 | suppress_type=$FlowFixMe
60 | suppress_type=$FlowFixMeProps
61 | suppress_type=$FlowFixMeState
62 |
63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
67 |
68 | [version]
69 | ^0.92.0
70 |
--------------------------------------------------------------------------------
/packages/consumer/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/packages/rider/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider/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 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer/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 |
--------------------------------------------------------------------------------
/packages/consumer/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - boost-for-react-native (1.63.0)
3 | - DoubleConversion (1.1.6)
4 | - Folly (2018.10.22.00):
5 | - boost-for-react-native
6 | - DoubleConversion
7 | - glog
8 | - glog (0.3.5)
9 | - React (0.59.8):
10 | - React/Core (= 0.59.8)
11 | - React/Core (0.59.8):
12 | - yoga (= 0.59.8.React)
13 | - React/CxxBridge (0.59.8):
14 | - Folly (= 2018.10.22.00)
15 | - React/Core
16 | - React/cxxreact
17 | - React/jsiexecutor
18 | - React/cxxreact (0.59.8):
19 | - boost-for-react-native (= 1.63.0)
20 | - DoubleConversion
21 | - Folly (= 2018.10.22.00)
22 | - glog
23 | - React/jsinspector
24 | - React/DevSupport (0.59.8):
25 | - React/Core
26 | - React/RCTWebSocket
27 | - React/fishhook (0.59.8)
28 | - React/jsi (0.59.8):
29 | - DoubleConversion
30 | - Folly (= 2018.10.22.00)
31 | - glog
32 | - React/jsiexecutor (0.59.8):
33 | - DoubleConversion
34 | - Folly (= 2018.10.22.00)
35 | - glog
36 | - React/cxxreact
37 | - React/jsi
38 | - React/jsinspector (0.59.8)
39 | - React/RCTAnimation (0.59.8):
40 | - React/Core
41 | - React/RCTBlob (0.59.8):
42 | - React/Core
43 | - React/RCTImage (0.59.8):
44 | - React/Core
45 | - React/RCTNetwork
46 | - React/RCTNetwork (0.59.8):
47 | - React/Core
48 | - React/RCTText (0.59.8):
49 | - React/Core
50 | - React/RCTWebSocket (0.59.8):
51 | - React/Core
52 | - React/fishhook
53 | - React/RCTBlob
54 | - RNGestureHandler (1.2.1):
55 | - React
56 | - RNReanimated (1.0.1):
57 | - React
58 | - yoga (0.59.8.React)
59 |
60 | DEPENDENCIES:
61 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
62 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
63 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
64 | - React/Core (from `../node_modules/react-native`)
65 | - React/CxxBridge (from `../node_modules/react-native`)
66 | - React/DevSupport (from `../node_modules/react-native`)
67 | - React/RCTAnimation (from `../node_modules/react-native`)
68 | - React/RCTImage (from `../node_modules/react-native`)
69 | - React/RCTNetwork (from `../node_modules/react-native`)
70 | - React/RCTText (from `../node_modules/react-native`)
71 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
72 | - RNReanimated (from `../node_modules/react-native-reanimated`)
73 | - yoga (from `../node_modules/react-native/ReactCommon/yoga/yoga.podspec`)
74 |
75 | SPEC REPOS:
76 | https://github.com/cocoapods/specs.git:
77 | - boost-for-react-native
78 |
79 | EXTERNAL SOURCES:
80 | DoubleConversion:
81 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
82 | Folly:
83 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
84 | glog:
85 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
86 | React:
87 | :path: "../node_modules/react-native"
88 | RNGestureHandler:
89 | :path: "../node_modules/react-native-gesture-handler"
90 | RNReanimated:
91 | :path: "../node_modules/react-native-reanimated"
92 | yoga:
93 | :path: "../node_modules/react-native/ReactCommon/yoga/yoga.podspec"
94 |
95 | SPEC CHECKSUMS:
96 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
97 | DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
98 | Folly: de497beb10f102453a1afa9edbf8cf8a251890de
99 | glog: aefd1eb5dda2ab95ba0938556f34b98e2da3a60d
100 | React: 76e6aa2b87d05eb6cccb6926d72685c9a07df152
101 | RNGestureHandler: aea90f0ad8e35fec23438db6fc3ad79be58bb734
102 | RNReanimated: c8dd490ca98a4edcba229bfa49f2516c95a43afb
103 | yoga: 92b2102c3d373d1a790db4ab761d2b0ffc634f64
104 |
105 | PODFILE CHECKSUM: 60f8d90a612c67314fe791bb5144f07a7ef22a84
106 |
107 | COCOAPODS: 1.6.1
108 |
--------------------------------------------------------------------------------
/packages/rider/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - boost-for-react-native (1.63.0)
3 | - DoubleConversion (1.1.6)
4 | - Folly (2018.10.22.00):
5 | - boost-for-react-native
6 | - DoubleConversion
7 | - glog
8 | - glog (0.3.5)
9 | - React (0.59.8):
10 | - React/Core (= 0.59.8)
11 | - React/Core (0.59.8):
12 | - yoga (= 0.59.8.React)
13 | - React/CxxBridge (0.59.8):
14 | - Folly (= 2018.10.22.00)
15 | - React/Core
16 | - React/cxxreact
17 | - React/jsiexecutor
18 | - React/cxxreact (0.59.8):
19 | - boost-for-react-native (= 1.63.0)
20 | - DoubleConversion
21 | - Folly (= 2018.10.22.00)
22 | - glog
23 | - React/jsinspector
24 | - React/DevSupport (0.59.8):
25 | - React/Core
26 | - React/RCTWebSocket
27 | - React/fishhook (0.59.8)
28 | - React/jsi (0.59.8):
29 | - DoubleConversion
30 | - Folly (= 2018.10.22.00)
31 | - glog
32 | - React/jsiexecutor (0.59.8):
33 | - DoubleConversion
34 | - Folly (= 2018.10.22.00)
35 | - glog
36 | - React/cxxreact
37 | - React/jsi
38 | - React/jsinspector (0.59.8)
39 | - React/RCTAnimation (0.59.8):
40 | - React/Core
41 | - React/RCTBlob (0.59.8):
42 | - React/Core
43 | - React/RCTImage (0.59.8):
44 | - React/Core
45 | - React/RCTNetwork
46 | - React/RCTNetwork (0.59.8):
47 | - React/Core
48 | - React/RCTText (0.59.8):
49 | - React/Core
50 | - React/RCTWebSocket (0.59.8):
51 | - React/Core
52 | - React/fishhook
53 | - React/RCTBlob
54 | - RNGestureHandler (1.2.1):
55 | - React
56 | - RNReanimated (1.0.1):
57 | - React
58 | - yoga (0.59.8.React)
59 |
60 | DEPENDENCIES:
61 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
62 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
63 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
64 | - React/Core (from `../node_modules/react-native`)
65 | - React/CxxBridge (from `../node_modules/react-native`)
66 | - React/DevSupport (from `../node_modules/react-native`)
67 | - React/RCTAnimation (from `../node_modules/react-native`)
68 | - React/RCTImage (from `../node_modules/react-native`)
69 | - React/RCTNetwork (from `../node_modules/react-native`)
70 | - React/RCTText (from `../node_modules/react-native`)
71 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
72 | - RNReanimated (from `../node_modules/react-native-reanimated`)
73 | - yoga (from `../node_modules/react-native/ReactCommon/yoga/yoga.podspec`)
74 |
75 | SPEC REPOS:
76 | https://github.com/cocoapods/specs.git:
77 | - boost-for-react-native
78 |
79 | EXTERNAL SOURCES:
80 | DoubleConversion:
81 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
82 | Folly:
83 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
84 | glog:
85 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
86 | React:
87 | :path: "../node_modules/react-native"
88 | RNGestureHandler:
89 | :path: "../node_modules/react-native-gesture-handler"
90 | RNReanimated:
91 | :path: "../node_modules/react-native-reanimated"
92 | yoga:
93 | :path: "../node_modules/react-native/ReactCommon/yoga/yoga.podspec"
94 |
95 | SPEC CHECKSUMS:
96 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
97 | DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
98 | Folly: de497beb10f102453a1afa9edbf8cf8a251890de
99 | glog: aefd1eb5dda2ab95ba0938556f34b98e2da3a60d
100 | React: 76e6aa2b87d05eb6cccb6926d72685c9a07df152
101 | RNGestureHandler: aea90f0ad8e35fec23438db6fc3ad79be58bb734
102 | RNReanimated: c8dd490ca98a4edcba229bfa49f2516c95a43afb
103 | yoga: 92b2102c3d373d1a790db4ab761d2b0ffc634f64
104 |
105 | PODFILE CHECKSUM: c5ce8a9dacc03137e67aad9046f7111dcb70c329
106 |
107 | COCOAPODS: 1.6.1
108 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider.xcodeproj/xcshareddata/xcschemes/rider.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 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer.xcodeproj/xcshareddata/xcschemes/consumer.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 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider.xcodeproj/xcshareddata/xcschemes/rider-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 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer.xcodeproj/xcshareddata/xcschemes/consumer-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 |
--------------------------------------------------------------------------------
/packages/consumer/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/packages/rider/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/packages/rider/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion rootProject.ext.compileSdkVersion
98 |
99 | compileOptions {
100 | sourceCompatibility JavaVersion.VERSION_1_8
101 | targetCompatibility JavaVersion.VERSION_1_8
102 | }
103 |
104 | defaultConfig {
105 | applicationId "com.rider"
106 | minSdkVersion rootProject.ext.minSdkVersion
107 | targetSdkVersion rootProject.ext.targetSdkVersion
108 | versionCode 1
109 | versionName "1.0"
110 | }
111 | splits {
112 | abi {
113 | reset()
114 | enable enableSeparateBuildPerCPUArchitecture
115 | universalApk false // If true, also generate a universal APK
116 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
117 | }
118 | }
119 | buildTypes {
120 | release {
121 | minifyEnabled enableProguardInReleaseBuilds
122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
123 | }
124 | }
125 | // applicationVariants are e.g. debug, release
126 | applicationVariants.all { variant ->
127 | variant.outputs.each { output ->
128 | // For each separate APK per architecture, set a unique version code as described here:
129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
130 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4]
131 | def abi = output.getFilter(OutputFile.ABI)
132 | if (abi != null) { // null for the universal-debug, universal-release variants
133 | output.versionCodeOverride =
134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
135 | }
136 | }
137 | }
138 | }
139 |
140 | dependencies {
141 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
142 | implementation "com.facebook.react:react-native:+" // From node_modules
143 | implementation project(':react-native-gesture-handler')
144 | implementation project(':react-native-reanimated')
145 | }
146 |
147 | // Run this once to be able to run the application with BUCK
148 | // puts all compile dependencies into folder libs for BUCK to use
149 | task copyDownloadableDepsToLibs(type: Copy) {
150 | from configurations.compile
151 | into 'libs'
152 | }
153 |
--------------------------------------------------------------------------------
/packages/consumer/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion rootProject.ext.compileSdkVersion
98 |
99 | compileOptions {
100 | sourceCompatibility JavaVersion.VERSION_1_8
101 | targetCompatibility JavaVersion.VERSION_1_8
102 | }
103 |
104 | defaultConfig {
105 | applicationId "com.consumer"
106 | minSdkVersion rootProject.ext.minSdkVersion
107 | targetSdkVersion rootProject.ext.targetSdkVersion
108 | versionCode 1
109 | versionName "1.0"
110 | }
111 | splits {
112 | abi {
113 | reset()
114 | enable enableSeparateBuildPerCPUArchitecture
115 | universalApk false // If true, also generate a universal APK
116 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
117 | }
118 | }
119 | buildTypes {
120 | release {
121 | minifyEnabled enableProguardInReleaseBuilds
122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
123 | }
124 | }
125 | // applicationVariants are e.g. debug, release
126 | applicationVariants.all { variant ->
127 | variant.outputs.each { output ->
128 | // For each separate APK per architecture, set a unique version code as described here:
129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
130 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4]
131 | def abi = output.getFilter(OutputFile.ABI)
132 | if (abi != null) { // null for the universal-debug, universal-release variants
133 | output.versionCodeOverride =
134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
135 | }
136 | }
137 | }
138 | }
139 |
140 | dependencies {
141 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
142 | implementation "com.facebook.react:react-native:+" // From node_modules
143 | implementation project(':react-native-gesture-handler')
144 | implementation project(':react-native-reanimated')
145 | }
146 |
147 | // Run this once to be able to run the application with BUCK
148 | // puts all compile dependencies into folder libs for BUCK to use
149 | task copyDownloadableDepsToLibs(type: Copy) {
150 | from configurations.compile
151 | into 'libs'
152 | }
153 |
--------------------------------------------------------------------------------
/packages/delivery-core/src/chatHeads/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Example from https://github.com/kmagiera/react-native-reanimated/blob/master/Example/chatHeads/index.js
3 | */
4 |
5 | import React, { Component } from 'react';
6 | import { Dimensions, Image, View, StyleSheet } from 'react-native';
7 | import Animated from 'react-native-reanimated';
8 |
9 | import { PanGestureHandler, State } from 'react-native-gesture-handler';
10 |
11 | const { width } = Dimensions.get('window');
12 |
13 | const {
14 | set,
15 | neq,
16 | cond,
17 | eq,
18 | add,
19 | multiply,
20 | lessThan,
21 | spring,
22 | block,
23 | startClock,
24 | stopClock,
25 | clockRunning,
26 | sub,
27 | defined,
28 | Value,
29 | Clock,
30 | event,
31 | } = Animated;
32 |
33 | function follow(value) {
34 | const config = {
35 | damping: 28,
36 | mass: 0.3,
37 | stiffness: 188.296,
38 | overshootClamping: false,
39 | toValue: value,
40 | restSpeedThreshold: 0.001,
41 | restDisplacementThreshold: 0.001,
42 | };
43 |
44 | const clock = new Clock();
45 |
46 | const state = {
47 | finished: new Value(0),
48 | velocity: new Value(0),
49 | position: new Value(0),
50 | time: new Value(0),
51 | };
52 | return block([
53 | cond(clockRunning(clock), 0, startClock(clock)),
54 | spring(clock, state, config),
55 | state.position,
56 | ]);
57 | }
58 |
59 | class Tracking extends Component {
60 | constructor(props) {
61 | super(props);
62 |
63 | const TOSS_SEC = 0.2;
64 |
65 | const dragX = new Value(0);
66 | const dragY = new Value(0);
67 |
68 | const gestureState = new Value(-1);
69 | const dragVX = new Value(0);
70 | const dragVY = new Value(0);
71 |
72 | this._onGestureEvent = event([
73 | {
74 | nativeEvent: {
75 | translationX: dragX,
76 | velocityX: dragVX,
77 | velocityY: dragVY,
78 | state: gestureState,
79 | translationY: dragY,
80 | },
81 | },
82 | ]);
83 |
84 | const transX = new Value(0);
85 | const transY = new Value(0);
86 | const clock = new Clock();
87 | const prevDragX = new Value(0);
88 | const prevDragY = new Value(0);
89 | const snapPoint = cond(
90 | lessThan(add(transX, multiply(TOSS_SEC, dragVX)), 0),
91 | -(width / 2),
92 | width / 2
93 | );
94 |
95 | const config = {
96 | damping: 12,
97 | mass: 1,
98 | stiffness: 150,
99 | overshootClamping: false,
100 | restSpeedThreshold: 0.001,
101 | restDisplacementThreshold: 0.001,
102 | toValue: snapPoint,
103 | };
104 |
105 | const state = {
106 | finished: new Value(0),
107 | velocity: dragVX,
108 | position: new Value(0),
109 | time: new Value(0),
110 | };
111 |
112 | this._transX = cond(
113 | eq(gestureState, State.ACTIVE),
114 | [
115 | stopClock(clock),
116 | set(transX, add(transX, sub(dragX, prevDragX))),
117 | set(prevDragX, dragX),
118 | transX,
119 | ],
120 | cond(neq(gestureState, -1), [
121 | set(prevDragX, 0),
122 | set(
123 | transX,
124 | cond(
125 | defined(transX),
126 | [
127 | cond(clockRunning(clock), 0, [
128 | set(state.finished, 0),
129 | set(state.velocity, dragVX),
130 | set(state.position, transX),
131 | startClock(clock),
132 | ]),
133 | spring(clock, state, config),
134 | cond(state.finished, stopClock(clock)),
135 | state.position,
136 | ],
137 | 0
138 | )
139 | ),
140 | ])
141 | );
142 |
143 | this._transY = block([
144 | cond(
145 | eq(gestureState, State.ACTIVE),
146 | [
147 | set(transY, add(transY, sub(dragY, prevDragY))),
148 | set(prevDragY, dragY),
149 | ],
150 | set(prevDragY, 0)
151 | ),
152 | transY,
153 | ]);
154 |
155 | this.follow1x = follow(this._transX);
156 | this.follow1y = follow(this._transY);
157 |
158 | this.follow2x = follow(this.follow1x);
159 | this.follow2y = follow(this.follow1y);
160 |
161 | this.follow3x = follow(this.follow2x);
162 | this.follow3y = follow(this.follow2y);
163 | }
164 |
165 | render() {
166 | return (
167 |
168 |
181 |
194 |
195 |
208 |
212 |
225 |
226 |
227 | );
228 | }
229 | }
230 |
231 | export default class Example extends Component {
232 | render() {
233 | return (
234 |
235 |
236 |
237 | );
238 | }
239 | }
240 |
241 | const BOX_SIZE = 80;
242 |
243 | const styles = StyleSheet.create({
244 | container: {
245 | flex: 1,
246 | backgroundColor: '#F5FCFF',
247 | },
248 | box: {
249 | position: 'absolute',
250 | width: BOX_SIZE,
251 | height: BOX_SIZE,
252 | alignSelf: 'center',
253 | borderColor: '#F5FCFF',
254 | borderRadius: BOX_SIZE / 2,
255 | margin: BOX_SIZE / 2,
256 | },
257 | });
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright 2019 Andrew Jack
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/packages/rider/ios/rider.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00E356F31AD99517003FC87E /* riderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* riderTests.m */; };
11 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
12 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15 | D34508DD69844B39B2550859 /* libPods-rider.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C1F5DD8A1ABB15BFF9391D2 /* libPods-rider.a */; };
16 | D7EAD4E7CE63133B561ACE94 /* libPods-riderTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 942F7351613716F9DE8D7F5B /* libPods-riderTests.a */; };
17 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
26 | remoteInfo = rider;
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
32 | 00E356EE1AD99517003FC87E /* riderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = riderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
33 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
34 | 00E356F21AD99517003FC87E /* riderTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = riderTests.m; sourceTree = ""; };
35 | 13B07F961A680F5B00A75B9A /* rider.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = rider.app; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = rider/AppDelegate.h; sourceTree = ""; };
37 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = rider/AppDelegate.m; sourceTree = ""; };
38 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
39 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = rider/Images.xcassets; sourceTree = ""; };
40 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = rider/Info.plist; sourceTree = ""; };
41 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = rider/main.m; sourceTree = ""; };
42 | 1C326A04198B6D60C0412C73 /* Pods-riderTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-riderTests.debug.xcconfig"; path = "Target Support Files/Pods-riderTests/Pods-riderTests.debug.xcconfig"; sourceTree = ""; };
43 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
44 | 8C1F5DD8A1ABB15BFF9391D2 /* libPods-rider.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-rider.a"; sourceTree = BUILT_PRODUCTS_DIR; };
45 | 92BC7C24EEA75FD0D0AEE9AA /* Pods-rider.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rider.debug.xcconfig"; path = "Target Support Files/Pods-rider/Pods-rider.debug.xcconfig"; sourceTree = ""; };
46 | 942F7351613716F9DE8D7F5B /* libPods-riderTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-riderTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
47 | 956548D32D10A6895A663FEF /* Pods-rider.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rider.release.xcconfig"; path = "Target Support Files/Pods-rider/Pods-rider.release.xcconfig"; sourceTree = ""; };
48 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
49 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
50 | F79BE278150789231019354F /* Pods-riderTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-riderTests.release.xcconfig"; path = "Target Support Files/Pods-riderTests/Pods-riderTests.release.xcconfig"; sourceTree = ""; };
51 | /* End PBXFileReference section */
52 |
53 | /* Begin PBXFrameworksBuildPhase section */
54 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
55 | isa = PBXFrameworksBuildPhase;
56 | buildActionMask = 2147483647;
57 | files = (
58 | D7EAD4E7CE63133B561ACE94 /* libPods-riderTests.a in Frameworks */,
59 | );
60 | runOnlyForDeploymentPostprocessing = 0;
61 | };
62 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
67 | D34508DD69844B39B2550859 /* libPods-rider.a in Frameworks */,
68 | );
69 | runOnlyForDeploymentPostprocessing = 0;
70 | };
71 | /* End PBXFrameworksBuildPhase section */
72 |
73 | /* Begin PBXGroup section */
74 | 00E356EF1AD99517003FC87E /* riderTests */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 00E356F21AD99517003FC87E /* riderTests.m */,
78 | 00E356F01AD99517003FC87E /* Supporting Files */,
79 | );
80 | path = riderTests;
81 | sourceTree = "";
82 | };
83 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
84 | isa = PBXGroup;
85 | children = (
86 | 00E356F11AD99517003FC87E /* Info.plist */,
87 | );
88 | name = "Supporting Files";
89 | sourceTree = "";
90 | };
91 | 13B07FAE1A68108700A75B9A /* rider */ = {
92 | isa = PBXGroup;
93 | children = (
94 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
95 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
96 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
97 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
98 | 13B07FB61A68108700A75B9A /* Info.plist */,
99 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
100 | 13B07FB71A68108700A75B9A /* main.m */,
101 | );
102 | name = rider;
103 | sourceTree = "";
104 | };
105 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
106 | isa = PBXGroup;
107 | children = (
108 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
109 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
110 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
111 | 8C1F5DD8A1ABB15BFF9391D2 /* libPods-rider.a */,
112 | 942F7351613716F9DE8D7F5B /* libPods-riderTests.a */,
113 | );
114 | name = Frameworks;
115 | sourceTree = "";
116 | };
117 | 41E3952C67C3BF331525BC6C /* Pods */ = {
118 | isa = PBXGroup;
119 | children = (
120 | 92BC7C24EEA75FD0D0AEE9AA /* Pods-rider.debug.xcconfig */,
121 | 956548D32D10A6895A663FEF /* Pods-rider.release.xcconfig */,
122 | 1C326A04198B6D60C0412C73 /* Pods-riderTests.debug.xcconfig */,
123 | F79BE278150789231019354F /* Pods-riderTests.release.xcconfig */,
124 | );
125 | path = Pods;
126 | sourceTree = "";
127 | };
128 | 83CBB9F61A601CBA00E9B192 = {
129 | isa = PBXGroup;
130 | children = (
131 | 13B07FAE1A68108700A75B9A /* rider */,
132 | 00E356EF1AD99517003FC87E /* riderTests */,
133 | 83CBBA001A601CBA00E9B192 /* Products */,
134 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
135 | 41E3952C67C3BF331525BC6C /* Pods */,
136 | );
137 | indentWidth = 2;
138 | sourceTree = "";
139 | tabWidth = 2;
140 | usesTabs = 0;
141 | };
142 | 83CBBA001A601CBA00E9B192 /* Products */ = {
143 | isa = PBXGroup;
144 | children = (
145 | 13B07F961A680F5B00A75B9A /* rider.app */,
146 | 00E356EE1AD99517003FC87E /* riderTests.xctest */,
147 | );
148 | name = Products;
149 | sourceTree = "";
150 | };
151 | /* End PBXGroup section */
152 |
153 | /* Begin PBXNativeTarget section */
154 | 00E356ED1AD99517003FC87E /* riderTests */ = {
155 | isa = PBXNativeTarget;
156 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "riderTests" */;
157 | buildPhases = (
158 | B2B869E2D371D9FCB8EFBCA6 /* [CP] Check Pods Manifest.lock */,
159 | 00E356EA1AD99517003FC87E /* Sources */,
160 | 00E356EB1AD99517003FC87E /* Frameworks */,
161 | 00E356EC1AD99517003FC87E /* Resources */,
162 | );
163 | buildRules = (
164 | );
165 | dependencies = (
166 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
167 | );
168 | name = riderTests;
169 | productName = riderTests;
170 | productReference = 00E356EE1AD99517003FC87E /* riderTests.xctest */;
171 | productType = "com.apple.product-type.bundle.unit-test";
172 | };
173 | 13B07F861A680F5B00A75B9A /* rider */ = {
174 | isa = PBXNativeTarget;
175 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rider" */;
176 | buildPhases = (
177 | 32761C5863D2B8BFFFC334E4 /* [CP] Check Pods Manifest.lock */,
178 | 13B07F871A680F5B00A75B9A /* Sources */,
179 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
180 | 13B07F8E1A680F5B00A75B9A /* Resources */,
181 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
182 | );
183 | buildRules = (
184 | );
185 | dependencies = (
186 | );
187 | name = rider;
188 | productName = "Hello World";
189 | productReference = 13B07F961A680F5B00A75B9A /* rider.app */;
190 | productType = "com.apple.product-type.application";
191 | };
192 | /* End PBXNativeTarget section */
193 |
194 | /* Begin PBXProject section */
195 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
196 | isa = PBXProject;
197 | attributes = {
198 | LastUpgradeCheck = 0940;
199 | ORGANIZATIONNAME = Facebook;
200 | TargetAttributes = {
201 | 00E356ED1AD99517003FC87E = {
202 | CreatedOnToolsVersion = 6.2;
203 | TestTargetID = 13B07F861A680F5B00A75B9A;
204 | };
205 | };
206 | };
207 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rider" */;
208 | compatibilityVersion = "Xcode 3.2";
209 | developmentRegion = English;
210 | hasScannedForEncodings = 0;
211 | knownRegions = (
212 | English,
213 | en,
214 | Base,
215 | );
216 | mainGroup = 83CBB9F61A601CBA00E9B192;
217 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
218 | projectDirPath = "";
219 | projectRoot = "";
220 | targets = (
221 | 13B07F861A680F5B00A75B9A /* rider */,
222 | 00E356ED1AD99517003FC87E /* riderTests */,
223 | );
224 | };
225 | /* End PBXProject section */
226 |
227 | /* Begin PBXResourcesBuildPhase section */
228 | 00E356EC1AD99517003FC87E /* Resources */ = {
229 | isa = PBXResourcesBuildPhase;
230 | buildActionMask = 2147483647;
231 | files = (
232 | );
233 | runOnlyForDeploymentPostprocessing = 0;
234 | };
235 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
236 | isa = PBXResourcesBuildPhase;
237 | buildActionMask = 2147483647;
238 | files = (
239 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
240 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXResourcesBuildPhase section */
245 |
246 | /* Begin PBXShellScriptBuildPhase section */
247 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
248 | isa = PBXShellScriptBuildPhase;
249 | buildActionMask = 2147483647;
250 | files = (
251 | );
252 | inputPaths = (
253 | );
254 | name = "Bundle React Native code and images";
255 | outputPaths = (
256 | );
257 | runOnlyForDeploymentPostprocessing = 0;
258 | shellPath = /bin/sh;
259 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
260 | };
261 | 32761C5863D2B8BFFFC334E4 /* [CP] Check Pods Manifest.lock */ = {
262 | isa = PBXShellScriptBuildPhase;
263 | buildActionMask = 2147483647;
264 | files = (
265 | );
266 | inputFileListPaths = (
267 | );
268 | inputPaths = (
269 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
270 | "${PODS_ROOT}/Manifest.lock",
271 | );
272 | name = "[CP] Check Pods Manifest.lock";
273 | outputFileListPaths = (
274 | );
275 | outputPaths = (
276 | "$(DERIVED_FILE_DIR)/Pods-rider-checkManifestLockResult.txt",
277 | );
278 | runOnlyForDeploymentPostprocessing = 0;
279 | shellPath = /bin/sh;
280 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
281 | showEnvVarsInLog = 0;
282 | };
283 | B2B869E2D371D9FCB8EFBCA6 /* [CP] Check Pods Manifest.lock */ = {
284 | isa = PBXShellScriptBuildPhase;
285 | buildActionMask = 2147483647;
286 | files = (
287 | );
288 | inputFileListPaths = (
289 | );
290 | inputPaths = (
291 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
292 | "${PODS_ROOT}/Manifest.lock",
293 | );
294 | name = "[CP] Check Pods Manifest.lock";
295 | outputFileListPaths = (
296 | );
297 | outputPaths = (
298 | "$(DERIVED_FILE_DIR)/Pods-riderTests-checkManifestLockResult.txt",
299 | );
300 | runOnlyForDeploymentPostprocessing = 0;
301 | shellPath = /bin/sh;
302 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
303 | showEnvVarsInLog = 0;
304 | };
305 | /* End PBXShellScriptBuildPhase section */
306 |
307 | /* Begin PBXSourcesBuildPhase section */
308 | 00E356EA1AD99517003FC87E /* Sources */ = {
309 | isa = PBXSourcesBuildPhase;
310 | buildActionMask = 2147483647;
311 | files = (
312 | 00E356F31AD99517003FC87E /* riderTests.m in Sources */,
313 | );
314 | runOnlyForDeploymentPostprocessing = 0;
315 | };
316 | 13B07F871A680F5B00A75B9A /* Sources */ = {
317 | isa = PBXSourcesBuildPhase;
318 | buildActionMask = 2147483647;
319 | files = (
320 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
321 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
322 | );
323 | runOnlyForDeploymentPostprocessing = 0;
324 | };
325 | /* End PBXSourcesBuildPhase section */
326 |
327 | /* Begin PBXTargetDependency section */
328 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
329 | isa = PBXTargetDependency;
330 | target = 13B07F861A680F5B00A75B9A /* rider */;
331 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
332 | };
333 | /* End PBXTargetDependency section */
334 |
335 | /* Begin PBXVariantGroup section */
336 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
337 | isa = PBXVariantGroup;
338 | children = (
339 | 13B07FB21A68108700A75B9A /* Base */,
340 | );
341 | name = LaunchScreen.xib;
342 | path = rider;
343 | sourceTree = "";
344 | };
345 | /* End PBXVariantGroup section */
346 |
347 | /* Begin XCBuildConfiguration section */
348 | 00E356F61AD99517003FC87E /* Debug */ = {
349 | isa = XCBuildConfiguration;
350 | baseConfigurationReference = 1C326A04198B6D60C0412C73 /* Pods-riderTests.debug.xcconfig */;
351 | buildSettings = {
352 | BUNDLE_LOADER = "$(TEST_HOST)";
353 | GCC_PREPROCESSOR_DEFINITIONS = (
354 | "DEBUG=1",
355 | "$(inherited)",
356 | );
357 | INFOPLIST_FILE = riderTests/Info.plist;
358 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
359 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
360 | OTHER_LDFLAGS = (
361 | "$(inherited)",
362 | "-lc++",
363 | );
364 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
365 | PRODUCT_NAME = "$(TARGET_NAME)";
366 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rider.app/rider";
367 | };
368 | name = Debug;
369 | };
370 | 00E356F71AD99517003FC87E /* Release */ = {
371 | isa = XCBuildConfiguration;
372 | baseConfigurationReference = F79BE278150789231019354F /* Pods-riderTests.release.xcconfig */;
373 | buildSettings = {
374 | BUNDLE_LOADER = "$(TEST_HOST)";
375 | COPY_PHASE_STRIP = NO;
376 | INFOPLIST_FILE = riderTests/Info.plist;
377 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
378 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
379 | OTHER_LDFLAGS = (
380 | "$(inherited)",
381 | "-lc++",
382 | );
383 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
384 | PRODUCT_NAME = "$(TARGET_NAME)";
385 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rider.app/rider";
386 | };
387 | name = Release;
388 | };
389 | 13B07F941A680F5B00A75B9A /* Debug */ = {
390 | isa = XCBuildConfiguration;
391 | baseConfigurationReference = 92BC7C24EEA75FD0D0AEE9AA /* Pods-rider.debug.xcconfig */;
392 | buildSettings = {
393 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
394 | CURRENT_PROJECT_VERSION = 1;
395 | DEAD_CODE_STRIPPING = NO;
396 | INFOPLIST_FILE = rider/Info.plist;
397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
398 | OTHER_LDFLAGS = (
399 | "$(inherited)",
400 | "-ObjC",
401 | "-lc++",
402 | );
403 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
404 | PRODUCT_NAME = rider;
405 | VERSIONING_SYSTEM = "apple-generic";
406 | };
407 | name = Debug;
408 | };
409 | 13B07F951A680F5B00A75B9A /* Release */ = {
410 | isa = XCBuildConfiguration;
411 | baseConfigurationReference = 956548D32D10A6895A663FEF /* Pods-rider.release.xcconfig */;
412 | buildSettings = {
413 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
414 | CURRENT_PROJECT_VERSION = 1;
415 | INFOPLIST_FILE = rider/Info.plist;
416 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
417 | OTHER_LDFLAGS = (
418 | "$(inherited)",
419 | "-ObjC",
420 | "-lc++",
421 | );
422 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
423 | PRODUCT_NAME = rider;
424 | VERSIONING_SYSTEM = "apple-generic";
425 | };
426 | name = Release;
427 | };
428 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
429 | isa = XCBuildConfiguration;
430 | buildSettings = {
431 | ALWAYS_SEARCH_USER_PATHS = NO;
432 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
433 | CLANG_CXX_LIBRARY = "libc++";
434 | CLANG_ENABLE_MODULES = YES;
435 | CLANG_ENABLE_OBJC_ARC = YES;
436 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
437 | CLANG_WARN_BOOL_CONVERSION = YES;
438 | CLANG_WARN_COMMA = YES;
439 | CLANG_WARN_CONSTANT_CONVERSION = YES;
440 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
441 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
442 | CLANG_WARN_EMPTY_BODY = YES;
443 | CLANG_WARN_ENUM_CONVERSION = YES;
444 | CLANG_WARN_INFINITE_RECURSION = YES;
445 | CLANG_WARN_INT_CONVERSION = YES;
446 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
447 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
451 | CLANG_WARN_STRICT_PROTOTYPES = YES;
452 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
453 | CLANG_WARN_UNREACHABLE_CODE = YES;
454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
456 | COPY_PHASE_STRIP = NO;
457 | ENABLE_STRICT_OBJC_MSGSEND = YES;
458 | ENABLE_TESTABILITY = YES;
459 | GCC_C_LANGUAGE_STANDARD = gnu99;
460 | GCC_DYNAMIC_NO_PIC = NO;
461 | GCC_NO_COMMON_BLOCKS = YES;
462 | GCC_OPTIMIZATION_LEVEL = 0;
463 | GCC_PREPROCESSOR_DEFINITIONS = (
464 | "DEBUG=1",
465 | "$(inherited)",
466 | );
467 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
468 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
469 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
470 | GCC_WARN_UNDECLARED_SELECTOR = YES;
471 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
472 | GCC_WARN_UNUSED_FUNCTION = YES;
473 | GCC_WARN_UNUSED_VARIABLE = YES;
474 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
475 | MTL_ENABLE_DEBUG_INFO = YES;
476 | ONLY_ACTIVE_ARCH = YES;
477 | SDKROOT = iphoneos;
478 | };
479 | name = Debug;
480 | };
481 | 83CBBA211A601CBA00E9B192 /* Release */ = {
482 | isa = XCBuildConfiguration;
483 | buildSettings = {
484 | ALWAYS_SEARCH_USER_PATHS = NO;
485 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
486 | CLANG_CXX_LIBRARY = "libc++";
487 | CLANG_ENABLE_MODULES = YES;
488 | CLANG_ENABLE_OBJC_ARC = YES;
489 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
490 | CLANG_WARN_BOOL_CONVERSION = YES;
491 | CLANG_WARN_COMMA = YES;
492 | CLANG_WARN_CONSTANT_CONVERSION = YES;
493 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
494 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
495 | CLANG_WARN_EMPTY_BODY = YES;
496 | CLANG_WARN_ENUM_CONVERSION = YES;
497 | CLANG_WARN_INFINITE_RECURSION = YES;
498 | CLANG_WARN_INT_CONVERSION = YES;
499 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
500 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
501 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
502 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
503 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
504 | CLANG_WARN_STRICT_PROTOTYPES = YES;
505 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
506 | CLANG_WARN_UNREACHABLE_CODE = YES;
507 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
508 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
509 | COPY_PHASE_STRIP = YES;
510 | ENABLE_NS_ASSERTIONS = NO;
511 | ENABLE_STRICT_OBJC_MSGSEND = YES;
512 | GCC_C_LANGUAGE_STANDARD = gnu99;
513 | GCC_NO_COMMON_BLOCKS = YES;
514 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
515 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
516 | GCC_WARN_UNDECLARED_SELECTOR = YES;
517 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
518 | GCC_WARN_UNUSED_FUNCTION = YES;
519 | GCC_WARN_UNUSED_VARIABLE = YES;
520 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
521 | MTL_ENABLE_DEBUG_INFO = NO;
522 | SDKROOT = iphoneos;
523 | VALIDATE_PRODUCT = YES;
524 | };
525 | name = Release;
526 | };
527 | /* End XCBuildConfiguration section */
528 |
529 | /* Begin XCConfigurationList section */
530 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "riderTests" */ = {
531 | isa = XCConfigurationList;
532 | buildConfigurations = (
533 | 00E356F61AD99517003FC87E /* Debug */,
534 | 00E356F71AD99517003FC87E /* Release */,
535 | );
536 | defaultConfigurationIsVisible = 0;
537 | defaultConfigurationName = Release;
538 | };
539 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rider" */ = {
540 | isa = XCConfigurationList;
541 | buildConfigurations = (
542 | 13B07F941A680F5B00A75B9A /* Debug */,
543 | 13B07F951A680F5B00A75B9A /* Release */,
544 | );
545 | defaultConfigurationIsVisible = 0;
546 | defaultConfigurationName = Release;
547 | };
548 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rider" */ = {
549 | isa = XCConfigurationList;
550 | buildConfigurations = (
551 | 83CBBA201A601CBA00E9B192 /* Debug */,
552 | 83CBBA211A601CBA00E9B192 /* Release */,
553 | );
554 | defaultConfigurationIsVisible = 0;
555 | defaultConfigurationName = Release;
556 | };
557 | /* End XCConfigurationList section */
558 | };
559 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
560 | }
561 |
--------------------------------------------------------------------------------
/packages/consumer/ios/consumer.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00E356F31AD99517003FC87E /* consumerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* consumerTests.m */; };
11 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
12 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15 | 44A9CE3459E556C51EF94B94 /* libPods-consumer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D9F13896618A8D4B27E5E87 /* libPods-consumer.a */; };
16 | B5E24ACE690EF3136652A893 /* libPods-consumerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AE8385FF01C1A71CE665C83C /* libPods-consumerTests.a */; };
17 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
26 | remoteInfo = consumer;
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
32 | 00E356EE1AD99517003FC87E /* consumerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = consumerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
33 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
34 | 00E356F21AD99517003FC87E /* consumerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = consumerTests.m; sourceTree = ""; };
35 | 13B07F961A680F5B00A75B9A /* consumer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = consumer.app; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = consumer/AppDelegate.h; sourceTree = ""; };
37 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = consumer/AppDelegate.m; sourceTree = ""; };
38 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
39 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = consumer/Images.xcassets; sourceTree = ""; };
40 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = consumer/Info.plist; sourceTree = ""; };
41 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = consumer/main.m; sourceTree = ""; };
42 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
43 | 2D9F13896618A8D4B27E5E87 /* libPods-consumer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-consumer.a"; sourceTree = BUILT_PRODUCTS_DIR; };
44 | 4186D6CDC085D359A06BF054 /* Pods-consumer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-consumer.release.xcconfig"; path = "Target Support Files/Pods-consumer/Pods-consumer.release.xcconfig"; sourceTree = ""; };
45 | AE8385FF01C1A71CE665C83C /* libPods-consumerTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-consumerTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
46 | CE1F6F236CDB16A146C4BD10 /* Pods-consumerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-consumerTests.debug.xcconfig"; path = "Target Support Files/Pods-consumerTests/Pods-consumerTests.debug.xcconfig"; sourceTree = ""; };
47 | E547219785D372DF54384246 /* Pods-consumerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-consumerTests.release.xcconfig"; path = "Target Support Files/Pods-consumerTests/Pods-consumerTests.release.xcconfig"; sourceTree = ""; };
48 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
49 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
50 | F9987943849598D4C950081D /* Pods-consumer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-consumer.debug.xcconfig"; path = "Target Support Files/Pods-consumer/Pods-consumer.debug.xcconfig"; sourceTree = ""; };
51 | /* End PBXFileReference section */
52 |
53 | /* Begin PBXFrameworksBuildPhase section */
54 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
55 | isa = PBXFrameworksBuildPhase;
56 | buildActionMask = 2147483647;
57 | files = (
58 | B5E24ACE690EF3136652A893 /* libPods-consumerTests.a in Frameworks */,
59 | );
60 | runOnlyForDeploymentPostprocessing = 0;
61 | };
62 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
67 | 44A9CE3459E556C51EF94B94 /* libPods-consumer.a in Frameworks */,
68 | );
69 | runOnlyForDeploymentPostprocessing = 0;
70 | };
71 | /* End PBXFrameworksBuildPhase section */
72 |
73 | /* Begin PBXGroup section */
74 | 00E356EF1AD99517003FC87E /* consumerTests */ = {
75 | isa = PBXGroup;
76 | children = (
77 | 00E356F21AD99517003FC87E /* consumerTests.m */,
78 | 00E356F01AD99517003FC87E /* Supporting Files */,
79 | );
80 | path = consumerTests;
81 | sourceTree = "";
82 | };
83 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
84 | isa = PBXGroup;
85 | children = (
86 | 00E356F11AD99517003FC87E /* Info.plist */,
87 | );
88 | name = "Supporting Files";
89 | sourceTree = "";
90 | };
91 | 13B07FAE1A68108700A75B9A /* consumer */ = {
92 | isa = PBXGroup;
93 | children = (
94 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
95 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
96 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
97 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
98 | 13B07FB61A68108700A75B9A /* Info.plist */,
99 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
100 | 13B07FB71A68108700A75B9A /* main.m */,
101 | );
102 | name = consumer;
103 | sourceTree = "";
104 | };
105 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
106 | isa = PBXGroup;
107 | children = (
108 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
109 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
110 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
111 | 2D9F13896618A8D4B27E5E87 /* libPods-consumer.a */,
112 | AE8385FF01C1A71CE665C83C /* libPods-consumerTests.a */,
113 | );
114 | name = Frameworks;
115 | sourceTree = "";
116 | };
117 | 4F8BB1306292776F84D4C1A9 /* Pods */ = {
118 | isa = PBXGroup;
119 | children = (
120 | F9987943849598D4C950081D /* Pods-consumer.debug.xcconfig */,
121 | 4186D6CDC085D359A06BF054 /* Pods-consumer.release.xcconfig */,
122 | CE1F6F236CDB16A146C4BD10 /* Pods-consumerTests.debug.xcconfig */,
123 | E547219785D372DF54384246 /* Pods-consumerTests.release.xcconfig */,
124 | );
125 | path = Pods;
126 | sourceTree = "";
127 | };
128 | 83CBB9F61A601CBA00E9B192 = {
129 | isa = PBXGroup;
130 | children = (
131 | 13B07FAE1A68108700A75B9A /* consumer */,
132 | 00E356EF1AD99517003FC87E /* consumerTests */,
133 | 83CBBA001A601CBA00E9B192 /* Products */,
134 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
135 | 4F8BB1306292776F84D4C1A9 /* Pods */,
136 | );
137 | indentWidth = 2;
138 | sourceTree = "";
139 | tabWidth = 2;
140 | usesTabs = 0;
141 | };
142 | 83CBBA001A601CBA00E9B192 /* Products */ = {
143 | isa = PBXGroup;
144 | children = (
145 | 13B07F961A680F5B00A75B9A /* consumer.app */,
146 | 00E356EE1AD99517003FC87E /* consumerTests.xctest */,
147 | );
148 | name = Products;
149 | sourceTree = "";
150 | };
151 | /* End PBXGroup section */
152 |
153 | /* Begin PBXNativeTarget section */
154 | 00E356ED1AD99517003FC87E /* consumerTests */ = {
155 | isa = PBXNativeTarget;
156 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "consumerTests" */;
157 | buildPhases = (
158 | 3D71F96FDE8F1913D1B370D7 /* [CP] Check Pods Manifest.lock */,
159 | 00E356EA1AD99517003FC87E /* Sources */,
160 | 00E356EB1AD99517003FC87E /* Frameworks */,
161 | 00E356EC1AD99517003FC87E /* Resources */,
162 | );
163 | buildRules = (
164 | );
165 | dependencies = (
166 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
167 | );
168 | name = consumerTests;
169 | productName = consumerTests;
170 | productReference = 00E356EE1AD99517003FC87E /* consumerTests.xctest */;
171 | productType = "com.apple.product-type.bundle.unit-test";
172 | };
173 | 13B07F861A680F5B00A75B9A /* consumer */ = {
174 | isa = PBXNativeTarget;
175 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "consumer" */;
176 | buildPhases = (
177 | 9ACC4B86F4387E2801D1977A /* [CP] Check Pods Manifest.lock */,
178 | 13B07F871A680F5B00A75B9A /* Sources */,
179 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
180 | 13B07F8E1A680F5B00A75B9A /* Resources */,
181 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
182 | );
183 | buildRules = (
184 | );
185 | dependencies = (
186 | );
187 | name = consumer;
188 | productName = "Hello World";
189 | productReference = 13B07F961A680F5B00A75B9A /* consumer.app */;
190 | productType = "com.apple.product-type.application";
191 | };
192 | /* End PBXNativeTarget section */
193 |
194 | /* Begin PBXProject section */
195 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
196 | isa = PBXProject;
197 | attributes = {
198 | LastUpgradeCheck = 0940;
199 | ORGANIZATIONNAME = Facebook;
200 | TargetAttributes = {
201 | 00E356ED1AD99517003FC87E = {
202 | CreatedOnToolsVersion = 6.2;
203 | TestTargetID = 13B07F861A680F5B00A75B9A;
204 | };
205 | };
206 | };
207 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "consumer" */;
208 | compatibilityVersion = "Xcode 3.2";
209 | developmentRegion = English;
210 | hasScannedForEncodings = 0;
211 | knownRegions = (
212 | English,
213 | en,
214 | Base,
215 | );
216 | mainGroup = 83CBB9F61A601CBA00E9B192;
217 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
218 | projectDirPath = "";
219 | projectRoot = "";
220 | targets = (
221 | 13B07F861A680F5B00A75B9A /* consumer */,
222 | 00E356ED1AD99517003FC87E /* consumerTests */,
223 | );
224 | };
225 | /* End PBXProject section */
226 |
227 | /* Begin PBXResourcesBuildPhase section */
228 | 00E356EC1AD99517003FC87E /* Resources */ = {
229 | isa = PBXResourcesBuildPhase;
230 | buildActionMask = 2147483647;
231 | files = (
232 | );
233 | runOnlyForDeploymentPostprocessing = 0;
234 | };
235 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
236 | isa = PBXResourcesBuildPhase;
237 | buildActionMask = 2147483647;
238 | files = (
239 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
240 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
241 | );
242 | runOnlyForDeploymentPostprocessing = 0;
243 | };
244 | /* End PBXResourcesBuildPhase section */
245 |
246 | /* Begin PBXShellScriptBuildPhase section */
247 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
248 | isa = PBXShellScriptBuildPhase;
249 | buildActionMask = 2147483647;
250 | files = (
251 | );
252 | inputPaths = (
253 | );
254 | name = "Bundle React Native code and images";
255 | outputPaths = (
256 | );
257 | runOnlyForDeploymentPostprocessing = 0;
258 | shellPath = /bin/sh;
259 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
260 | };
261 | 3D71F96FDE8F1913D1B370D7 /* [CP] Check Pods Manifest.lock */ = {
262 | isa = PBXShellScriptBuildPhase;
263 | buildActionMask = 2147483647;
264 | files = (
265 | );
266 | inputFileListPaths = (
267 | );
268 | inputPaths = (
269 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
270 | "${PODS_ROOT}/Manifest.lock",
271 | );
272 | name = "[CP] Check Pods Manifest.lock";
273 | outputFileListPaths = (
274 | );
275 | outputPaths = (
276 | "$(DERIVED_FILE_DIR)/Pods-consumerTests-checkManifestLockResult.txt",
277 | );
278 | runOnlyForDeploymentPostprocessing = 0;
279 | shellPath = /bin/sh;
280 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
281 | showEnvVarsInLog = 0;
282 | };
283 | 9ACC4B86F4387E2801D1977A /* [CP] Check Pods Manifest.lock */ = {
284 | isa = PBXShellScriptBuildPhase;
285 | buildActionMask = 2147483647;
286 | files = (
287 | );
288 | inputFileListPaths = (
289 | );
290 | inputPaths = (
291 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
292 | "${PODS_ROOT}/Manifest.lock",
293 | );
294 | name = "[CP] Check Pods Manifest.lock";
295 | outputFileListPaths = (
296 | );
297 | outputPaths = (
298 | "$(DERIVED_FILE_DIR)/Pods-consumer-checkManifestLockResult.txt",
299 | );
300 | runOnlyForDeploymentPostprocessing = 0;
301 | shellPath = /bin/sh;
302 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
303 | showEnvVarsInLog = 0;
304 | };
305 | /* End PBXShellScriptBuildPhase section */
306 |
307 | /* Begin PBXSourcesBuildPhase section */
308 | 00E356EA1AD99517003FC87E /* Sources */ = {
309 | isa = PBXSourcesBuildPhase;
310 | buildActionMask = 2147483647;
311 | files = (
312 | 00E356F31AD99517003FC87E /* consumerTests.m in Sources */,
313 | );
314 | runOnlyForDeploymentPostprocessing = 0;
315 | };
316 | 13B07F871A680F5B00A75B9A /* Sources */ = {
317 | isa = PBXSourcesBuildPhase;
318 | buildActionMask = 2147483647;
319 | files = (
320 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
321 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
322 | );
323 | runOnlyForDeploymentPostprocessing = 0;
324 | };
325 | /* End PBXSourcesBuildPhase section */
326 |
327 | /* Begin PBXTargetDependency section */
328 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
329 | isa = PBXTargetDependency;
330 | target = 13B07F861A680F5B00A75B9A /* consumer */;
331 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
332 | };
333 | /* End PBXTargetDependency section */
334 |
335 | /* Begin PBXVariantGroup section */
336 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
337 | isa = PBXVariantGroup;
338 | children = (
339 | 13B07FB21A68108700A75B9A /* Base */,
340 | );
341 | name = LaunchScreen.xib;
342 | path = consumer;
343 | sourceTree = "";
344 | };
345 | /* End PBXVariantGroup section */
346 |
347 | /* Begin XCBuildConfiguration section */
348 | 00E356F61AD99517003FC87E /* Debug */ = {
349 | isa = XCBuildConfiguration;
350 | baseConfigurationReference = CE1F6F236CDB16A146C4BD10 /* Pods-consumerTests.debug.xcconfig */;
351 | buildSettings = {
352 | BUNDLE_LOADER = "$(TEST_HOST)";
353 | GCC_PREPROCESSOR_DEFINITIONS = (
354 | "DEBUG=1",
355 | "$(inherited)",
356 | );
357 | INFOPLIST_FILE = consumerTests/Info.plist;
358 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
359 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
360 | OTHER_LDFLAGS = (
361 | "$(inherited)",
362 | "-lc++",
363 | );
364 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
365 | PRODUCT_NAME = "$(TARGET_NAME)";
366 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/consumer.app/consumer";
367 | };
368 | name = Debug;
369 | };
370 | 00E356F71AD99517003FC87E /* Release */ = {
371 | isa = XCBuildConfiguration;
372 | baseConfigurationReference = E547219785D372DF54384246 /* Pods-consumerTests.release.xcconfig */;
373 | buildSettings = {
374 | BUNDLE_LOADER = "$(TEST_HOST)";
375 | COPY_PHASE_STRIP = NO;
376 | INFOPLIST_FILE = consumerTests/Info.plist;
377 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
378 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
379 | OTHER_LDFLAGS = (
380 | "$(inherited)",
381 | "-lc++",
382 | );
383 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
384 | PRODUCT_NAME = "$(TARGET_NAME)";
385 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/consumer.app/consumer";
386 | };
387 | name = Release;
388 | };
389 | 13B07F941A680F5B00A75B9A /* Debug */ = {
390 | isa = XCBuildConfiguration;
391 | baseConfigurationReference = F9987943849598D4C950081D /* Pods-consumer.debug.xcconfig */;
392 | buildSettings = {
393 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
394 | CURRENT_PROJECT_VERSION = 1;
395 | DEAD_CODE_STRIPPING = NO;
396 | INFOPLIST_FILE = consumer/Info.plist;
397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
398 | OTHER_LDFLAGS = (
399 | "$(inherited)",
400 | "-ObjC",
401 | "-lc++",
402 | );
403 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
404 | PRODUCT_NAME = consumer;
405 | VERSIONING_SYSTEM = "apple-generic";
406 | };
407 | name = Debug;
408 | };
409 | 13B07F951A680F5B00A75B9A /* Release */ = {
410 | isa = XCBuildConfiguration;
411 | baseConfigurationReference = 4186D6CDC085D359A06BF054 /* Pods-consumer.release.xcconfig */;
412 | buildSettings = {
413 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
414 | CURRENT_PROJECT_VERSION = 1;
415 | INFOPLIST_FILE = consumer/Info.plist;
416 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
417 | OTHER_LDFLAGS = (
418 | "$(inherited)",
419 | "-ObjC",
420 | "-lc++",
421 | );
422 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
423 | PRODUCT_NAME = consumer;
424 | VERSIONING_SYSTEM = "apple-generic";
425 | };
426 | name = Release;
427 | };
428 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
429 | isa = XCBuildConfiguration;
430 | buildSettings = {
431 | ALWAYS_SEARCH_USER_PATHS = NO;
432 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
433 | CLANG_CXX_LIBRARY = "libc++";
434 | CLANG_ENABLE_MODULES = YES;
435 | CLANG_ENABLE_OBJC_ARC = YES;
436 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
437 | CLANG_WARN_BOOL_CONVERSION = YES;
438 | CLANG_WARN_COMMA = YES;
439 | CLANG_WARN_CONSTANT_CONVERSION = YES;
440 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
441 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
442 | CLANG_WARN_EMPTY_BODY = YES;
443 | CLANG_WARN_ENUM_CONVERSION = YES;
444 | CLANG_WARN_INFINITE_RECURSION = YES;
445 | CLANG_WARN_INT_CONVERSION = YES;
446 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
447 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
451 | CLANG_WARN_STRICT_PROTOTYPES = YES;
452 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
453 | CLANG_WARN_UNREACHABLE_CODE = YES;
454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
456 | COPY_PHASE_STRIP = NO;
457 | ENABLE_STRICT_OBJC_MSGSEND = YES;
458 | ENABLE_TESTABILITY = YES;
459 | GCC_C_LANGUAGE_STANDARD = gnu99;
460 | GCC_DYNAMIC_NO_PIC = NO;
461 | GCC_NO_COMMON_BLOCKS = YES;
462 | GCC_OPTIMIZATION_LEVEL = 0;
463 | GCC_PREPROCESSOR_DEFINITIONS = (
464 | "DEBUG=1",
465 | "$(inherited)",
466 | );
467 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
468 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
469 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
470 | GCC_WARN_UNDECLARED_SELECTOR = YES;
471 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
472 | GCC_WARN_UNUSED_FUNCTION = YES;
473 | GCC_WARN_UNUSED_VARIABLE = YES;
474 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
475 | MTL_ENABLE_DEBUG_INFO = YES;
476 | ONLY_ACTIVE_ARCH = YES;
477 | SDKROOT = iphoneos;
478 | };
479 | name = Debug;
480 | };
481 | 83CBBA211A601CBA00E9B192 /* Release */ = {
482 | isa = XCBuildConfiguration;
483 | buildSettings = {
484 | ALWAYS_SEARCH_USER_PATHS = NO;
485 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
486 | CLANG_CXX_LIBRARY = "libc++";
487 | CLANG_ENABLE_MODULES = YES;
488 | CLANG_ENABLE_OBJC_ARC = YES;
489 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
490 | CLANG_WARN_BOOL_CONVERSION = YES;
491 | CLANG_WARN_COMMA = YES;
492 | CLANG_WARN_CONSTANT_CONVERSION = YES;
493 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
494 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
495 | CLANG_WARN_EMPTY_BODY = YES;
496 | CLANG_WARN_ENUM_CONVERSION = YES;
497 | CLANG_WARN_INFINITE_RECURSION = YES;
498 | CLANG_WARN_INT_CONVERSION = YES;
499 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
500 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
501 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
502 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
503 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
504 | CLANG_WARN_STRICT_PROTOTYPES = YES;
505 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
506 | CLANG_WARN_UNREACHABLE_CODE = YES;
507 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
508 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
509 | COPY_PHASE_STRIP = YES;
510 | ENABLE_NS_ASSERTIONS = NO;
511 | ENABLE_STRICT_OBJC_MSGSEND = YES;
512 | GCC_C_LANGUAGE_STANDARD = gnu99;
513 | GCC_NO_COMMON_BLOCKS = YES;
514 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
515 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
516 | GCC_WARN_UNDECLARED_SELECTOR = YES;
517 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
518 | GCC_WARN_UNUSED_FUNCTION = YES;
519 | GCC_WARN_UNUSED_VARIABLE = YES;
520 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
521 | MTL_ENABLE_DEBUG_INFO = NO;
522 | SDKROOT = iphoneos;
523 | VALIDATE_PRODUCT = YES;
524 | };
525 | name = Release;
526 | };
527 | /* End XCBuildConfiguration section */
528 |
529 | /* Begin XCConfigurationList section */
530 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "consumerTests" */ = {
531 | isa = XCConfigurationList;
532 | buildConfigurations = (
533 | 00E356F61AD99517003FC87E /* Debug */,
534 | 00E356F71AD99517003FC87E /* Release */,
535 | );
536 | defaultConfigurationIsVisible = 0;
537 | defaultConfigurationName = Release;
538 | };
539 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "consumer" */ = {
540 | isa = XCConfigurationList;
541 | buildConfigurations = (
542 | 13B07F941A680F5B00A75B9A /* Debug */,
543 | 13B07F951A680F5B00A75B9A /* Release */,
544 | );
545 | defaultConfigurationIsVisible = 0;
546 | defaultConfigurationName = Release;
547 | };
548 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "consumer" */ = {
549 | isa = XCConfigurationList;
550 | buildConfigurations = (
551 | 83CBBA201A601CBA00E9B192 /* Debug */,
552 | 83CBBA211A601CBA00E9B192 /* Release */,
553 | );
554 | defaultConfigurationIsVisible = 0;
555 | defaultConfigurationName = Release;
556 | };
557 | /* End XCConfigurationList section */
558 | };
559 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
560 | }
561 |
--------------------------------------------------------------------------------