├── .watchmanconfig
├── .gitattributes
├── index.ios.js
├── index.android.js
├── .babelrc
├── app.json
├── android
├── settings.gradle
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── chat
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── AndroidManifest.xml
│ ├── BUCK
│ ├── proguard-rules.pro
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── keystores
│ ├── debug.keystore.properties
│ └── BUCK
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── .buckconfig
├── __tests__
├── index.ios.js
└── index.android.js
├── ios
├── chat
│ ├── AppDelegate.h
│ ├── main.m
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── AppDelegate.m
│ ├── Info.plist
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── chatTests
│ ├── Info.plist
│ └── chatTests.m
├── chat-tvOSTests
│ └── Info.plist
├── chat-tvOS
│ └── Info.plist
└── chat.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── chat.xcscheme
│ │ └── chat-tvOS.xcscheme
│ └── project.pbxproj
├── package.json
├── src
├── app.js
├── home.js
└── chat.js
├── .gitignore
└── .flowconfig
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/index.ios.js:
--------------------------------------------------------------------------------
1 | import App from './src/app';
2 |
--------------------------------------------------------------------------------
/index.android.js:
--------------------------------------------------------------------------------
1 | import App from './src/app';
2 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native"]
3 | }
4 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chat",
3 | "displayName": "chat"
4 | }
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'chat'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | chat
3 |
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iteam365/chatApp-react-native/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iteam365/chatApp-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iteam365/chatApp-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iteam365/chatApp-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iteam365/chatApp-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/__tests__/index.ios.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.ios.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/__tests__/index.android.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import Index from '../index.android.js';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/chat/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.chat;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "chat";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ios/chat/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ios/chat/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | #import "AppDelegate.h"
13 |
14 | int main(int argc, char * argv[]) {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chat",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "firebase": "^4.1.3",
11 | "lodash": "^4.17.4",
12 | "react": "16.0.0-alpha.12",
13 | "react-native": "0.45.1",
14 | "react-navigation": "^1.0.0-beta.11"
15 | },
16 | "devDependencies": {
17 | "babel-jest": "20.0.3",
18 | "babel-preset-react-native": "2.0.0",
19 | "jest": "20.0.4",
20 | "react-test-renderer": "16.0.0-alpha.12"
21 | },
22 | "jest": {
23 | "preset": "react-native"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$rootDir/../node_modules/react-native/android"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ios/chat/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/ios/chatTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/chat-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/src/app.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import {
8 | AppRegistry,
9 | } from 'react-native';
10 |
11 | import { StackNavigator } from 'react-navigation';
12 | import firebase from 'firebase';
13 |
14 | import Home from './home';
15 | import Chat from './chat';
16 |
17 | const App = StackNavigator({
18 | Home: { screen: Home },
19 | Chat: { screen: Chat },
20 | });
21 |
22 | initFirebase = () => {
23 | var config = {
24 | apiKey: "AIzaSyAyBI11R_3oOf0OgW5qe_dOkEWm7D_itoA",
25 | authDomain: "rn-chat-27e14.firebaseapp.com",
26 | databaseURL: "https://rn-chat-27e14.firebaseio.com",
27 | projectId: "rn-chat-27e14",
28 | storageBucket: "rn-chat-27e14.appspot.com",
29 | messagingSenderId: "1078893812278"
30 | };
31 | firebase.initializeApp(config);
32 | firebase.auth().signInAnonymously();
33 | }
34 | initFirebase();
35 |
36 | AppRegistry.registerComponent('chat', () => App);
37 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
50 |
51 | fastlane/report.xml
52 | fastlane/Preview.html
53 | fastlane/screenshots
54 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/chat/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.chat;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.facebook.react.ReactNativeHost;
7 | import com.facebook.react.ReactPackage;
8 | import com.facebook.react.shell.MainReactPackage;
9 | import com.facebook.soloader.SoLoader;
10 |
11 | import java.util.Arrays;
12 | import java.util.List;
13 |
14 | public class MainApplication extends Application implements ReactApplication {
15 |
16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
17 | @Override
18 | public boolean getUseDeveloperSupport() {
19 | return BuildConfig.DEBUG;
20 | }
21 |
22 | @Override
23 | protected List getPackages() {
24 | return Arrays.asList(
25 | new MainReactPackage()
26 | );
27 | }
28 | };
29 |
30 | @Override
31 | public ReactNativeHost getReactNativeHost() {
32 | return mReactNativeHost;
33 | }
34 |
35 | @Override
36 | public void onCreate() {
37 | super.onCreate();
38 | SoLoader.init(this, /* native exopackage */ false);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
12 |
13 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ios/chat/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import "AppDelegate.h"
11 |
12 | #import
13 | #import
14 |
15 | @implementation AppDelegate
16 |
17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
18 | {
19 | NSURL *jsCodeLocation;
20 |
21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22 |
23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
24 | moduleName:@"chat"
25 | initialProperties:nil
26 | launchOptions:launchOptions];
27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28 |
29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30 | UIViewController *rootViewController = [UIViewController new];
31 | rootViewController.view = rootView;
32 | self.window.rootViewController = rootViewController;
33 | [self.window makeKeyAndVisible];
34 | return YES;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 | .*/Libraries/react-native/ReactNative.js
16 |
17 | [include]
18 |
19 | [libs]
20 | node_modules/react-native/Libraries/react-native/react-native-interface.js
21 | node_modules/react-native/flow
22 | flow/
23 |
24 | [options]
25 | emoji=true
26 |
27 | module.system=haste
28 |
29 | experimental.strict_type_args=true
30 |
31 | munge_underscores=true
32 |
33 | 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'
34 |
35 | suppress_type=$FlowIssue
36 | suppress_type=$FlowFixMe
37 | suppress_type=$FixMe
38 |
39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
43 |
44 | unsafe.enable_getters_and_setters=true
45 |
46 | [version]
47 | ^0.45.0
48 |
--------------------------------------------------------------------------------
/ios/chat/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | chat
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSAppTransportSecurity
28 |
29 | NSExceptionDomains
30 |
31 | localhost
32 |
33 | NSExceptionAllowsInsecureHTTPLoads
34 |
35 |
36 |
37 |
38 | NSLocationWhenInUseUsageDescription
39 |
40 | UILaunchStoryboardName
41 | LaunchScreen
42 | UIRequiredDeviceCapabilities
43 |
44 | armv7
45 |
46 | UISupportedInterfaceOrientations
47 |
48 | UIInterfaceOrientationPortrait
49 | UIInterfaceOrientationLandscapeLeft
50 | UIInterfaceOrientationLandscapeRight
51 |
52 | UIViewControllerBasedStatusBarAppearance
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.chat",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.chat",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/ios/chat-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/src/home.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import {
9 | StyleSheet,
10 | Text,
11 | View,
12 | TextInput,
13 | Button,
14 | AsyncStorage
15 | } from 'react-native';
16 |
17 | export default class Home extends Component {
18 | static navigationOptions = {
19 | title: 'Welcome',
20 | };
21 |
22 | constructor(props) {
23 | super(props);
24 | this.state = {name: ''};
25 | this.loadUsername();
26 | }
27 |
28 | async loadUsername() {
29 | const username = await AsyncStorage.getItem("@ChatStore:username");
30 | this.setState({
31 | name: username
32 | });
33 | }
34 |
35 | start = () => {
36 | AsyncStorage.setItem("@ChatStore:username", this.state.name);
37 | const { navigate } = this.props.navigation;
38 | navigate('Chat', {username: this.state.name});
39 | }
40 |
41 | render() {
42 | return (
43 |
44 |
45 | Welcome to Chat
46 |
47 |
48 | Enter your name
49 |
50 | this.setState({name})}
53 | value={this.state.name}
54 | />
55 |
59 |
60 | );
61 | }
62 | }
63 |
64 | const styles = StyleSheet.create({
65 | container: {
66 | flex: 1,
67 | justifyContent: 'center',
68 | alignItems: 'center',
69 | backgroundColor: '#F5FCFF',
70 | },
71 | welcome: {
72 | fontSize: 20,
73 | textAlign: 'center',
74 | margin: 10,
75 | },
76 | instructions: {
77 | textAlign: 'center',
78 | color: '#333333',
79 | marginBottom: 5,
80 | },
81 | });
82 |
--------------------------------------------------------------------------------
/ios/chatTests/chatTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 | #import
12 |
13 | #import
14 | #import
15 |
16 | #define TIMEOUT_SECONDS 600
17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18 |
19 | @interface chatTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation chatTests
24 |
25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26 | {
27 | if (test(view)) {
28 | return YES;
29 | }
30 | for (UIView *subview in [view subviews]) {
31 | if ([self findSubviewInView:subview matching:test]) {
32 | return YES;
33 | }
34 | }
35 | return NO;
36 | }
37 |
38 | - (void)testRendersWelcomeScreen
39 | {
40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42 | BOOL foundElement = NO;
43 |
44 | __block NSString *redboxError = nil;
45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46 | if (level >= RCTLogLevelError) {
47 | redboxError = message;
48 | }
49 | });
50 |
51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54 |
55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57 | return YES;
58 | }
59 | return NO;
60 | }];
61 | }
62 |
63 | RCTSetLogFunction(RCTDefaultLogFunction);
64 |
65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67 | }
68 |
69 |
70 | @end
71 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/src/chat.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Sample React Native App
3 | * https://github.com/facebook/react-native
4 | * @flow
5 | */
6 |
7 | import React, { Component } from 'react';
8 | import {
9 | StyleSheet,
10 | Text,
11 | View,
12 | TextInput,
13 | Button,
14 | AsyncStorage,
15 | FlatList
16 | } from 'react-native';
17 |
18 | import firebase from 'firebase';
19 | import { values } from 'lodash';
20 |
21 | export default class Chat extends Component {
22 | constructor(props) {
23 | super(props);
24 |
25 | const { params } = props.navigation.state;
26 |
27 | this.state = {
28 | data: [],
29 | username: params.username
30 | };
31 |
32 | this.listenFirebase();
33 | }
34 |
35 | listenFirebase = () => {
36 | // listen to data
37 | firebase.database().ref('all').on('value', (snapshot) => {
38 | this.setState({
39 | data: values(snapshot.val())
40 | });
41 | });
42 | }
43 |
44 | writeData = (msg) => {
45 | const key = this.state.data.length;
46 | firebase.database().ref('all').push({
47 | key,
48 | username: this.state.username,
49 | text: msg
50 | });
51 | }
52 |
53 | send = () => {
54 | this.writeData(this.state.input);
55 | this.setState({input: ''});
56 | }
57 |
58 | renderItem = (row) => {
59 | const { params } = this.props.navigation.state;
60 | const me = row.item.username === params.username;
61 | return (
62 |
63 |
64 | {row.item.username}: {row.item.text}
65 |
66 |
67 | );
68 | }
69 |
70 | render() {
71 | return (
72 |
73 |
78 |
79 | this.setState({input})}
82 | value={this.state.input}
83 | />
84 |
89 |
90 |
91 | );
92 | }
93 | }
94 |
95 | const styles = StyleSheet.create({
96 | container: {
97 | flex: 1,
98 | backgroundColor: '#F5FCFF',
99 | },
100 | chatRow: {
101 | width: 300,
102 | backgroundColor: '#ceceff',
103 | padding: 15,
104 | borderRadius: 15,
105 | marginTop: 5
106 | },
107 | chatRowMe: {
108 | alignSelf: 'flex-end',
109 | backgroundColor: '#ceffce'
110 | }
111 | });
112 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30 |
31 | # Do not strip any method/class that is annotated with @DoNotStrip
32 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
33 | -keep @com.facebook.common.internal.DoNotStrip class *
34 | -keepclassmembers class * {
35 | @com.facebook.proguard.annotations.DoNotStrip *;
36 | @com.facebook.common.internal.DoNotStrip *;
37 | }
38 |
39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40 | void set*(***);
41 | *** get*();
42 | }
43 |
44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
46 | -keepclassmembers,includedescriptorclasses class * { native ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
50 |
51 | -dontwarn com.facebook.react.**
52 |
53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/ios/chat/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ios/chat.xcodeproj/xcshareddata/xcschemes/chat.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/ios/chat.xcodeproj/xcshareddata/xcschemes/chat-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | apply from: "../../node_modules/react-native/react.gradle"
76 |
77 | /**
78 | * Set this to true to create two separate APKs instead of one:
79 | * - An APK that only works on ARM devices
80 | * - An APK that only works on x86 devices
81 | * The advantage is the size of the APK is reduced by about 4MB.
82 | * Upload all the APKs to the Play Store and people will download
83 | * the correct one based on the CPU architecture of their device.
84 | */
85 | def enableSeparateBuildPerCPUArchitecture = false
86 |
87 | /**
88 | * Run Proguard to shrink the Java bytecode in release builds.
89 | */
90 | def enableProguardInReleaseBuilds = false
91 |
92 | android {
93 | compileSdkVersion 23
94 | buildToolsVersion "23.0.1"
95 |
96 | defaultConfig {
97 | applicationId "com.chat"
98 | minSdkVersion 16
99 | targetSdkVersion 22
100 | versionCode 1
101 | versionName "1.0"
102 | ndk {
103 | abiFilters "armeabi-v7a", "x86"
104 | }
105 | }
106 | splits {
107 | abi {
108 | reset()
109 | enable enableSeparateBuildPerCPUArchitecture
110 | universalApk false // If true, also generate a universal APK
111 | include "armeabi-v7a", "x86"
112 | }
113 | }
114 | buildTypes {
115 | release {
116 | minifyEnabled enableProguardInReleaseBuilds
117 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
118 | }
119 | }
120 | // applicationVariants are e.g. debug, release
121 | applicationVariants.all { variant ->
122 | variant.outputs.each { output ->
123 | // For each separate APK per architecture, set a unique version code as described here:
124 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
125 | def versionCodes = ["armeabi-v7a":1, "x86":2]
126 | def abi = output.getFilter(OutputFile.ABI)
127 | if (abi != null) { // null for the universal-debug, universal-release variants
128 | output.versionCodeOverride =
129 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
130 | }
131 | }
132 | }
133 | }
134 |
135 | dependencies {
136 | compile fileTree(dir: "libs", include: ["*.jar"])
137 | compile "com.android.support:appcompat-v7:23.0.1"
138 | compile "com.facebook.react:react-native:+" // From node_modules
139 | }
140 |
141 | // Run this once to be able to run the application with BUCK
142 | // puts all compile dependencies into folder libs for BUCK to use
143 | task copyDownloadableDepsToLibs(type: Copy) {
144 | from configurations.compile
145 | into 'libs'
146 | }
147 |
--------------------------------------------------------------------------------
/ios/chat.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* chatTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* chatTests.m */; };
16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
26 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
27 | /* End PBXBuildFile section */
28 |
29 | /* Begin PBXContainerItemProxy section */
30 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
31 | isa = PBXContainerItemProxy;
32 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
33 | proxyType = 2;
34 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
35 | remoteInfo = RCTActionSheet;
36 | };
37 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
38 | isa = PBXContainerItemProxy;
39 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
40 | proxyType = 2;
41 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
42 | remoteInfo = RCTGeolocation;
43 | };
44 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
45 | isa = PBXContainerItemProxy;
46 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
47 | proxyType = 2;
48 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
49 | remoteInfo = RCTImage;
50 | };
51 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
52 | isa = PBXContainerItemProxy;
53 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
54 | proxyType = 2;
55 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
56 | remoteInfo = RCTNetwork;
57 | };
58 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
59 | isa = PBXContainerItemProxy;
60 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
61 | proxyType = 2;
62 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
63 | remoteInfo = RCTVibration;
64 | };
65 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
66 | isa = PBXContainerItemProxy;
67 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
68 | proxyType = 1;
69 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
70 | remoteInfo = chat;
71 | };
72 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
73 | isa = PBXContainerItemProxy;
74 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
75 | proxyType = 2;
76 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
77 | remoteInfo = RCTSettings;
78 | };
79 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
80 | isa = PBXContainerItemProxy;
81 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
82 | proxyType = 2;
83 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
84 | remoteInfo = RCTWebSocket;
85 | };
86 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
87 | isa = PBXContainerItemProxy;
88 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
89 | proxyType = 2;
90 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
91 | remoteInfo = React;
92 | };
93 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
94 | isa = PBXContainerItemProxy;
95 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
96 | proxyType = 2;
97 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
98 | remoteInfo = "RCTImage-tvOS";
99 | };
100 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
101 | isa = PBXContainerItemProxy;
102 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
103 | proxyType = 2;
104 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
105 | remoteInfo = "RCTLinking-tvOS";
106 | };
107 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
108 | isa = PBXContainerItemProxy;
109 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
110 | proxyType = 2;
111 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
112 | remoteInfo = "RCTNetwork-tvOS";
113 | };
114 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
115 | isa = PBXContainerItemProxy;
116 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
117 | proxyType = 2;
118 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
119 | remoteInfo = "RCTSettings-tvOS";
120 | };
121 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
122 | isa = PBXContainerItemProxy;
123 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
124 | proxyType = 2;
125 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
126 | remoteInfo = "RCTText-tvOS";
127 | };
128 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
129 | isa = PBXContainerItemProxy;
130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
131 | proxyType = 2;
132 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
133 | remoteInfo = "RCTWebSocket-tvOS";
134 | };
135 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
136 | isa = PBXContainerItemProxy;
137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
138 | proxyType = 2;
139 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
140 | remoteInfo = "React-tvOS";
141 | };
142 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
143 | isa = PBXContainerItemProxy;
144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
145 | proxyType = 2;
146 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
147 | remoteInfo = yoga;
148 | };
149 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
150 | isa = PBXContainerItemProxy;
151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
152 | proxyType = 2;
153 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
154 | remoteInfo = "yoga-tvOS";
155 | };
156 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
157 | isa = PBXContainerItemProxy;
158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
159 | proxyType = 2;
160 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
161 | remoteInfo = cxxreact;
162 | };
163 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
164 | isa = PBXContainerItemProxy;
165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
166 | proxyType = 2;
167 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
168 | remoteInfo = "cxxreact-tvOS";
169 | };
170 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
171 | isa = PBXContainerItemProxy;
172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
173 | proxyType = 2;
174 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
175 | remoteInfo = jschelpers;
176 | };
177 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
178 | isa = PBXContainerItemProxy;
179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
180 | proxyType = 2;
181 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
182 | remoteInfo = "jschelpers-tvOS";
183 | };
184 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
185 | isa = PBXContainerItemProxy;
186 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
187 | proxyType = 2;
188 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
189 | remoteInfo = RCTAnimation;
190 | };
191 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
192 | isa = PBXContainerItemProxy;
193 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
194 | proxyType = 2;
195 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
196 | remoteInfo = "RCTAnimation-tvOS";
197 | };
198 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
199 | isa = PBXContainerItemProxy;
200 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
201 | proxyType = 2;
202 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
203 | remoteInfo = RCTLinking;
204 | };
205 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
206 | isa = PBXContainerItemProxy;
207 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
208 | proxyType = 2;
209 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
210 | remoteInfo = RCTText;
211 | };
212 | DDEEC89E1F18051700065E7F /* PBXContainerItemProxy */ = {
213 | isa = PBXContainerItemProxy;
214 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
215 | proxyType = 2;
216 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
217 | remoteInfo = "third-party";
218 | };
219 | DDEEC8A01F18051700065E7F /* PBXContainerItemProxy */ = {
220 | isa = PBXContainerItemProxy;
221 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
222 | proxyType = 2;
223 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
224 | remoteInfo = "double-conversion";
225 | };
226 | /* End PBXContainerItemProxy section */
227 |
228 | /* Begin PBXFileReference section */
229 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
230 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
231 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
232 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
233 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
234 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
235 | 00E356EE1AD99517003FC87E /* chatTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = chatTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
236 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
237 | 00E356F21AD99517003FC87E /* chatTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = chatTests.m; sourceTree = ""; };
238 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
239 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
240 | 13B07F961A680F5B00A75B9A /* chat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = chat.app; sourceTree = BUILT_PRODUCTS_DIR; };
241 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = chat/AppDelegate.h; sourceTree = ""; };
242 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = chat/AppDelegate.m; sourceTree = ""; };
243 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
244 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = chat/Images.xcassets; sourceTree = ""; };
245 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = chat/Info.plist; sourceTree = ""; };
246 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = chat/main.m; sourceTree = ""; };
247 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
248 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
249 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
250 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
251 | /* End PBXFileReference section */
252 |
253 | /* Begin PBXFrameworksBuildPhase section */
254 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
255 | isa = PBXFrameworksBuildPhase;
256 | buildActionMask = 2147483647;
257 | files = (
258 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
259 | );
260 | runOnlyForDeploymentPostprocessing = 0;
261 | };
262 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
263 | isa = PBXFrameworksBuildPhase;
264 | buildActionMask = 2147483647;
265 | files = (
266 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
267 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
268 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
269 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
270 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
271 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
272 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
273 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
274 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
275 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
276 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
277 | );
278 | runOnlyForDeploymentPostprocessing = 0;
279 | };
280 | /* End PBXFrameworksBuildPhase section */
281 |
282 | /* Begin PBXGroup section */
283 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
284 | isa = PBXGroup;
285 | children = (
286 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
287 | );
288 | name = Products;
289 | sourceTree = "";
290 | };
291 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
292 | isa = PBXGroup;
293 | children = (
294 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
295 | );
296 | name = Products;
297 | sourceTree = "";
298 | };
299 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
300 | isa = PBXGroup;
301 | children = (
302 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
303 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
304 | );
305 | name = Products;
306 | sourceTree = "";
307 | };
308 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
309 | isa = PBXGroup;
310 | children = (
311 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
312 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
313 | );
314 | name = Products;
315 | sourceTree = "";
316 | };
317 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
318 | isa = PBXGroup;
319 | children = (
320 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
321 | );
322 | name = Products;
323 | sourceTree = "";
324 | };
325 | 00E356EF1AD99517003FC87E /* chatTests */ = {
326 | isa = PBXGroup;
327 | children = (
328 | 00E356F21AD99517003FC87E /* chatTests.m */,
329 | 00E356F01AD99517003FC87E /* Supporting Files */,
330 | );
331 | path = chatTests;
332 | sourceTree = "";
333 | };
334 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
335 | isa = PBXGroup;
336 | children = (
337 | 00E356F11AD99517003FC87E /* Info.plist */,
338 | );
339 | name = "Supporting Files";
340 | sourceTree = "";
341 | };
342 | 139105B71AF99BAD00B5F7CC /* Products */ = {
343 | isa = PBXGroup;
344 | children = (
345 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
346 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
347 | );
348 | name = Products;
349 | sourceTree = "";
350 | };
351 | 139FDEE71B06529A00C62182 /* Products */ = {
352 | isa = PBXGroup;
353 | children = (
354 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
355 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
356 | );
357 | name = Products;
358 | sourceTree = "";
359 | };
360 | 13B07FAE1A68108700A75B9A /* chat */ = {
361 | isa = PBXGroup;
362 | children = (
363 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
364 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
365 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
366 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
367 | 13B07FB61A68108700A75B9A /* Info.plist */,
368 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
369 | 13B07FB71A68108700A75B9A /* main.m */,
370 | );
371 | name = chat;
372 | sourceTree = "";
373 | };
374 | 146834001AC3E56700842450 /* Products */ = {
375 | isa = PBXGroup;
376 | children = (
377 | 146834041AC3E56700842450 /* libReact.a */,
378 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
379 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
380 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
381 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
382 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
383 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
384 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
385 | DDEEC89F1F18051700065E7F /* libthird-party.a */,
386 | DDEEC8A11F18051700065E7F /* libdouble-conversion.a */,
387 | );
388 | name = Products;
389 | sourceTree = "";
390 | };
391 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
392 | isa = PBXGroup;
393 | children = (
394 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
395 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
396 | );
397 | name = Products;
398 | sourceTree = "";
399 | };
400 | 78C398B11ACF4ADC00677621 /* Products */ = {
401 | isa = PBXGroup;
402 | children = (
403 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
404 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
405 | );
406 | name = Products;
407 | sourceTree = "";
408 | };
409 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
410 | isa = PBXGroup;
411 | children = (
412 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
413 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
414 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
415 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
416 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
417 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
418 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
419 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
420 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
421 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
422 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
423 | );
424 | name = Libraries;
425 | sourceTree = "";
426 | };
427 | 832341B11AAA6A8300B99B32 /* Products */ = {
428 | isa = PBXGroup;
429 | children = (
430 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
431 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
432 | );
433 | name = Products;
434 | sourceTree = "";
435 | };
436 | 83CBB9F61A601CBA00E9B192 = {
437 | isa = PBXGroup;
438 | children = (
439 | 13B07FAE1A68108700A75B9A /* chat */,
440 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
441 | 00E356EF1AD99517003FC87E /* chatTests */,
442 | 83CBBA001A601CBA00E9B192 /* Products */,
443 | );
444 | indentWidth = 2;
445 | sourceTree = "";
446 | tabWidth = 2;
447 | };
448 | 83CBBA001A601CBA00E9B192 /* Products */ = {
449 | isa = PBXGroup;
450 | children = (
451 | 13B07F961A680F5B00A75B9A /* chat.app */,
452 | 00E356EE1AD99517003FC87E /* chatTests.xctest */,
453 | );
454 | name = Products;
455 | sourceTree = "";
456 | };
457 | /* End PBXGroup section */
458 |
459 | /* Begin PBXNativeTarget section */
460 | 00E356ED1AD99517003FC87E /* chatTests */ = {
461 | isa = PBXNativeTarget;
462 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "chatTests" */;
463 | buildPhases = (
464 | 00E356EA1AD99517003FC87E /* Sources */,
465 | 00E356EB1AD99517003FC87E /* Frameworks */,
466 | 00E356EC1AD99517003FC87E /* Resources */,
467 | );
468 | buildRules = (
469 | );
470 | dependencies = (
471 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
472 | );
473 | name = chatTests;
474 | productName = chatTests;
475 | productReference = 00E356EE1AD99517003FC87E /* chatTests.xctest */;
476 | productType = "com.apple.product-type.bundle.unit-test";
477 | };
478 | 13B07F861A680F5B00A75B9A /* chat */ = {
479 | isa = PBXNativeTarget;
480 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "chat" */;
481 | buildPhases = (
482 | 13B07F871A680F5B00A75B9A /* Sources */,
483 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
484 | 13B07F8E1A680F5B00A75B9A /* Resources */,
485 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
486 | );
487 | buildRules = (
488 | );
489 | dependencies = (
490 | );
491 | name = chat;
492 | productName = "Hello World";
493 | productReference = 13B07F961A680F5B00A75B9A /* chat.app */;
494 | productType = "com.apple.product-type.application";
495 | };
496 | /* End PBXNativeTarget section */
497 |
498 | /* Begin PBXProject section */
499 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
500 | isa = PBXProject;
501 | attributes = {
502 | LastUpgradeCheck = 0610;
503 | ORGANIZATIONNAME = Facebook;
504 | TargetAttributes = {
505 | 00E356ED1AD99517003FC87E = {
506 | CreatedOnToolsVersion = 6.2;
507 | DevelopmentTeam = 7NSTCXNKSX;
508 | TestTargetID = 13B07F861A680F5B00A75B9A;
509 | };
510 | 13B07F861A680F5B00A75B9A = {
511 | DevelopmentTeam = 7NSTCXNKSX;
512 | };
513 | };
514 | };
515 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "chat" */;
516 | compatibilityVersion = "Xcode 3.2";
517 | developmentRegion = English;
518 | hasScannedForEncodings = 0;
519 | knownRegions = (
520 | en,
521 | Base,
522 | );
523 | mainGroup = 83CBB9F61A601CBA00E9B192;
524 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
525 | projectDirPath = "";
526 | projectReferences = (
527 | {
528 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
529 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
530 | },
531 | {
532 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
533 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
534 | },
535 | {
536 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
537 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
538 | },
539 | {
540 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
541 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
542 | },
543 | {
544 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
545 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
546 | },
547 | {
548 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
549 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
550 | },
551 | {
552 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
553 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
554 | },
555 | {
556 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
557 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
558 | },
559 | {
560 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
561 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
562 | },
563 | {
564 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
565 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
566 | },
567 | {
568 | ProductGroup = 146834001AC3E56700842450 /* Products */;
569 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
570 | },
571 | );
572 | projectRoot = "";
573 | targets = (
574 | 13B07F861A680F5B00A75B9A /* chat */,
575 | 00E356ED1AD99517003FC87E /* chatTests */,
576 | );
577 | };
578 | /* End PBXProject section */
579 |
580 | /* Begin PBXReferenceProxy section */
581 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
582 | isa = PBXReferenceProxy;
583 | fileType = archive.ar;
584 | path = libRCTActionSheet.a;
585 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
586 | sourceTree = BUILT_PRODUCTS_DIR;
587 | };
588 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
589 | isa = PBXReferenceProxy;
590 | fileType = archive.ar;
591 | path = libRCTGeolocation.a;
592 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
593 | sourceTree = BUILT_PRODUCTS_DIR;
594 | };
595 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
596 | isa = PBXReferenceProxy;
597 | fileType = archive.ar;
598 | path = libRCTImage.a;
599 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
600 | sourceTree = BUILT_PRODUCTS_DIR;
601 | };
602 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
603 | isa = PBXReferenceProxy;
604 | fileType = archive.ar;
605 | path = libRCTNetwork.a;
606 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
607 | sourceTree = BUILT_PRODUCTS_DIR;
608 | };
609 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
610 | isa = PBXReferenceProxy;
611 | fileType = archive.ar;
612 | path = libRCTVibration.a;
613 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
614 | sourceTree = BUILT_PRODUCTS_DIR;
615 | };
616 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
617 | isa = PBXReferenceProxy;
618 | fileType = archive.ar;
619 | path = libRCTSettings.a;
620 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
621 | sourceTree = BUILT_PRODUCTS_DIR;
622 | };
623 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
624 | isa = PBXReferenceProxy;
625 | fileType = archive.ar;
626 | path = libRCTWebSocket.a;
627 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
628 | sourceTree = BUILT_PRODUCTS_DIR;
629 | };
630 | 146834041AC3E56700842450 /* libReact.a */ = {
631 | isa = PBXReferenceProxy;
632 | fileType = archive.ar;
633 | path = libReact.a;
634 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
635 | sourceTree = BUILT_PRODUCTS_DIR;
636 | };
637 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
638 | isa = PBXReferenceProxy;
639 | fileType = archive.ar;
640 | path = "libRCTImage-tvOS.a";
641 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
642 | sourceTree = BUILT_PRODUCTS_DIR;
643 | };
644 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
645 | isa = PBXReferenceProxy;
646 | fileType = archive.ar;
647 | path = "libRCTLinking-tvOS.a";
648 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
649 | sourceTree = BUILT_PRODUCTS_DIR;
650 | };
651 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
652 | isa = PBXReferenceProxy;
653 | fileType = archive.ar;
654 | path = "libRCTNetwork-tvOS.a";
655 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
656 | sourceTree = BUILT_PRODUCTS_DIR;
657 | };
658 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
659 | isa = PBXReferenceProxy;
660 | fileType = archive.ar;
661 | path = "libRCTSettings-tvOS.a";
662 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
663 | sourceTree = BUILT_PRODUCTS_DIR;
664 | };
665 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
666 | isa = PBXReferenceProxy;
667 | fileType = archive.ar;
668 | path = "libRCTText-tvOS.a";
669 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
670 | sourceTree = BUILT_PRODUCTS_DIR;
671 | };
672 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
673 | isa = PBXReferenceProxy;
674 | fileType = archive.ar;
675 | path = "libRCTWebSocket-tvOS.a";
676 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
677 | sourceTree = BUILT_PRODUCTS_DIR;
678 | };
679 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
680 | isa = PBXReferenceProxy;
681 | fileType = archive.ar;
682 | path = libReact.a;
683 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
684 | sourceTree = BUILT_PRODUCTS_DIR;
685 | };
686 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
687 | isa = PBXReferenceProxy;
688 | fileType = archive.ar;
689 | path = libyoga.a;
690 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
691 | sourceTree = BUILT_PRODUCTS_DIR;
692 | };
693 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
694 | isa = PBXReferenceProxy;
695 | fileType = archive.ar;
696 | path = libyoga.a;
697 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
698 | sourceTree = BUILT_PRODUCTS_DIR;
699 | };
700 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
701 | isa = PBXReferenceProxy;
702 | fileType = archive.ar;
703 | path = libcxxreact.a;
704 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
705 | sourceTree = BUILT_PRODUCTS_DIR;
706 | };
707 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
708 | isa = PBXReferenceProxy;
709 | fileType = archive.ar;
710 | path = libcxxreact.a;
711 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
712 | sourceTree = BUILT_PRODUCTS_DIR;
713 | };
714 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
715 | isa = PBXReferenceProxy;
716 | fileType = archive.ar;
717 | path = libjschelpers.a;
718 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
719 | sourceTree = BUILT_PRODUCTS_DIR;
720 | };
721 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
722 | isa = PBXReferenceProxy;
723 | fileType = archive.ar;
724 | path = libjschelpers.a;
725 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
726 | sourceTree = BUILT_PRODUCTS_DIR;
727 | };
728 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
729 | isa = PBXReferenceProxy;
730 | fileType = archive.ar;
731 | path = libRCTAnimation.a;
732 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
733 | sourceTree = BUILT_PRODUCTS_DIR;
734 | };
735 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
736 | isa = PBXReferenceProxy;
737 | fileType = archive.ar;
738 | path = libRCTAnimation.a;
739 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
740 | sourceTree = BUILT_PRODUCTS_DIR;
741 | };
742 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
743 | isa = PBXReferenceProxy;
744 | fileType = archive.ar;
745 | path = libRCTLinking.a;
746 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
747 | sourceTree = BUILT_PRODUCTS_DIR;
748 | };
749 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
750 | isa = PBXReferenceProxy;
751 | fileType = archive.ar;
752 | path = libRCTText.a;
753 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
754 | sourceTree = BUILT_PRODUCTS_DIR;
755 | };
756 | DDEEC89F1F18051700065E7F /* libthird-party.a */ = {
757 | isa = PBXReferenceProxy;
758 | fileType = archive.ar;
759 | path = "libthird-party.a";
760 | remoteRef = DDEEC89E1F18051700065E7F /* PBXContainerItemProxy */;
761 | sourceTree = BUILT_PRODUCTS_DIR;
762 | };
763 | DDEEC8A11F18051700065E7F /* libdouble-conversion.a */ = {
764 | isa = PBXReferenceProxy;
765 | fileType = archive.ar;
766 | path = "libdouble-conversion.a";
767 | remoteRef = DDEEC8A01F18051700065E7F /* PBXContainerItemProxy */;
768 | sourceTree = BUILT_PRODUCTS_DIR;
769 | };
770 | /* End PBXReferenceProxy section */
771 |
772 | /* Begin PBXResourcesBuildPhase section */
773 | 00E356EC1AD99517003FC87E /* Resources */ = {
774 | isa = PBXResourcesBuildPhase;
775 | buildActionMask = 2147483647;
776 | files = (
777 | );
778 | runOnlyForDeploymentPostprocessing = 0;
779 | };
780 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
781 | isa = PBXResourcesBuildPhase;
782 | buildActionMask = 2147483647;
783 | files = (
784 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
785 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
786 | );
787 | runOnlyForDeploymentPostprocessing = 0;
788 | };
789 | /* End PBXResourcesBuildPhase section */
790 |
791 | /* Begin PBXShellScriptBuildPhase section */
792 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
793 | isa = PBXShellScriptBuildPhase;
794 | buildActionMask = 2147483647;
795 | files = (
796 | );
797 | inputPaths = (
798 | );
799 | name = "Bundle React Native code and images";
800 | outputPaths = (
801 | );
802 | runOnlyForDeploymentPostprocessing = 0;
803 | shellPath = /bin/sh;
804 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
805 | };
806 | /* End PBXShellScriptBuildPhase section */
807 |
808 | /* Begin PBXSourcesBuildPhase section */
809 | 00E356EA1AD99517003FC87E /* Sources */ = {
810 | isa = PBXSourcesBuildPhase;
811 | buildActionMask = 2147483647;
812 | files = (
813 | 00E356F31AD99517003FC87E /* chatTests.m in Sources */,
814 | );
815 | runOnlyForDeploymentPostprocessing = 0;
816 | };
817 | 13B07F871A680F5B00A75B9A /* Sources */ = {
818 | isa = PBXSourcesBuildPhase;
819 | buildActionMask = 2147483647;
820 | files = (
821 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
822 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
823 | );
824 | runOnlyForDeploymentPostprocessing = 0;
825 | };
826 | /* End PBXSourcesBuildPhase section */
827 |
828 | /* Begin PBXTargetDependency section */
829 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
830 | isa = PBXTargetDependency;
831 | target = 13B07F861A680F5B00A75B9A /* chat */;
832 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
833 | };
834 | /* End PBXTargetDependency section */
835 |
836 | /* Begin PBXVariantGroup section */
837 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
838 | isa = PBXVariantGroup;
839 | children = (
840 | 13B07FB21A68108700A75B9A /* Base */,
841 | );
842 | name = LaunchScreen.xib;
843 | path = chat;
844 | sourceTree = "";
845 | };
846 | /* End PBXVariantGroup section */
847 |
848 | /* Begin XCBuildConfiguration section */
849 | 00E356F61AD99517003FC87E /* Debug */ = {
850 | isa = XCBuildConfiguration;
851 | buildSettings = {
852 | BUNDLE_LOADER = "$(TEST_HOST)";
853 | DEVELOPMENT_TEAM = 7NSTCXNKSX;
854 | GCC_PREPROCESSOR_DEFINITIONS = (
855 | "DEBUG=1",
856 | "$(inherited)",
857 | );
858 | INFOPLIST_FILE = chatTests/Info.plist;
859 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
860 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
861 | OTHER_LDFLAGS = (
862 | "-ObjC",
863 | "-lc++",
864 | );
865 | PRODUCT_NAME = "$(TARGET_NAME)";
866 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/chat.app/chat";
867 | };
868 | name = Debug;
869 | };
870 | 00E356F71AD99517003FC87E /* Release */ = {
871 | isa = XCBuildConfiguration;
872 | buildSettings = {
873 | BUNDLE_LOADER = "$(TEST_HOST)";
874 | COPY_PHASE_STRIP = NO;
875 | DEVELOPMENT_TEAM = 7NSTCXNKSX;
876 | INFOPLIST_FILE = chatTests/Info.plist;
877 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
878 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
879 | OTHER_LDFLAGS = (
880 | "-ObjC",
881 | "-lc++",
882 | );
883 | PRODUCT_NAME = "$(TARGET_NAME)";
884 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/chat.app/chat";
885 | };
886 | name = Release;
887 | };
888 | 13B07F941A680F5B00A75B9A /* Debug */ = {
889 | isa = XCBuildConfiguration;
890 | buildSettings = {
891 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
892 | CURRENT_PROJECT_VERSION = 1;
893 | DEAD_CODE_STRIPPING = NO;
894 | DEVELOPMENT_TEAM = 7NSTCXNKSX;
895 | INFOPLIST_FILE = chat/Info.plist;
896 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
897 | OTHER_LDFLAGS = (
898 | "$(inherited)",
899 | "-ObjC",
900 | "-lc++",
901 | );
902 | PRODUCT_BUNDLE_IDENTIFIER = de.appsthatmatter.chat.ios;
903 | PRODUCT_NAME = chat;
904 | VERSIONING_SYSTEM = "apple-generic";
905 | };
906 | name = Debug;
907 | };
908 | 13B07F951A680F5B00A75B9A /* Release */ = {
909 | isa = XCBuildConfiguration;
910 | buildSettings = {
911 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
912 | CURRENT_PROJECT_VERSION = 1;
913 | DEVELOPMENT_TEAM = 7NSTCXNKSX;
914 | INFOPLIST_FILE = chat/Info.plist;
915 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
916 | OTHER_LDFLAGS = (
917 | "$(inherited)",
918 | "-ObjC",
919 | "-lc++",
920 | );
921 | PRODUCT_BUNDLE_IDENTIFIER = de.appsthatmatter.chat.ios;
922 | PRODUCT_NAME = chat;
923 | VERSIONING_SYSTEM = "apple-generic";
924 | };
925 | name = Release;
926 | };
927 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
928 | isa = XCBuildConfiguration;
929 | buildSettings = {
930 | ALWAYS_SEARCH_USER_PATHS = NO;
931 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
932 | CLANG_CXX_LIBRARY = "libc++";
933 | CLANG_ENABLE_MODULES = YES;
934 | CLANG_ENABLE_OBJC_ARC = YES;
935 | CLANG_WARN_BOOL_CONVERSION = YES;
936 | CLANG_WARN_CONSTANT_CONVERSION = YES;
937 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
938 | CLANG_WARN_EMPTY_BODY = YES;
939 | CLANG_WARN_ENUM_CONVERSION = YES;
940 | CLANG_WARN_INT_CONVERSION = YES;
941 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
942 | CLANG_WARN_UNREACHABLE_CODE = YES;
943 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
944 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
945 | COPY_PHASE_STRIP = NO;
946 | ENABLE_STRICT_OBJC_MSGSEND = YES;
947 | GCC_C_LANGUAGE_STANDARD = gnu99;
948 | GCC_DYNAMIC_NO_PIC = NO;
949 | GCC_OPTIMIZATION_LEVEL = 0;
950 | GCC_PREPROCESSOR_DEFINITIONS = (
951 | "DEBUG=1",
952 | "$(inherited)",
953 | );
954 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
955 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
956 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
957 | GCC_WARN_UNDECLARED_SELECTOR = YES;
958 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
959 | GCC_WARN_UNUSED_FUNCTION = YES;
960 | GCC_WARN_UNUSED_VARIABLE = YES;
961 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
962 | MTL_ENABLE_DEBUG_INFO = YES;
963 | ONLY_ACTIVE_ARCH = YES;
964 | SDKROOT = iphoneos;
965 | };
966 | name = Debug;
967 | };
968 | 83CBBA211A601CBA00E9B192 /* Release */ = {
969 | isa = XCBuildConfiguration;
970 | buildSettings = {
971 | ALWAYS_SEARCH_USER_PATHS = NO;
972 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
973 | CLANG_CXX_LIBRARY = "libc++";
974 | CLANG_ENABLE_MODULES = YES;
975 | CLANG_ENABLE_OBJC_ARC = YES;
976 | CLANG_WARN_BOOL_CONVERSION = YES;
977 | CLANG_WARN_CONSTANT_CONVERSION = YES;
978 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
979 | CLANG_WARN_EMPTY_BODY = YES;
980 | CLANG_WARN_ENUM_CONVERSION = YES;
981 | CLANG_WARN_INT_CONVERSION = YES;
982 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
983 | CLANG_WARN_UNREACHABLE_CODE = YES;
984 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
985 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
986 | COPY_PHASE_STRIP = YES;
987 | ENABLE_NS_ASSERTIONS = NO;
988 | ENABLE_STRICT_OBJC_MSGSEND = YES;
989 | GCC_C_LANGUAGE_STANDARD = gnu99;
990 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
991 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
992 | GCC_WARN_UNDECLARED_SELECTOR = YES;
993 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
994 | GCC_WARN_UNUSED_FUNCTION = YES;
995 | GCC_WARN_UNUSED_VARIABLE = YES;
996 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
997 | MTL_ENABLE_DEBUG_INFO = NO;
998 | SDKROOT = iphoneos;
999 | VALIDATE_PRODUCT = YES;
1000 | };
1001 | name = Release;
1002 | };
1003 | /* End XCBuildConfiguration section */
1004 |
1005 | /* Begin XCConfigurationList section */
1006 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "chatTests" */ = {
1007 | isa = XCConfigurationList;
1008 | buildConfigurations = (
1009 | 00E356F61AD99517003FC87E /* Debug */,
1010 | 00E356F71AD99517003FC87E /* Release */,
1011 | );
1012 | defaultConfigurationIsVisible = 0;
1013 | defaultConfigurationName = Release;
1014 | };
1015 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "chat" */ = {
1016 | isa = XCConfigurationList;
1017 | buildConfigurations = (
1018 | 13B07F941A680F5B00A75B9A /* Debug */,
1019 | 13B07F951A680F5B00A75B9A /* Release */,
1020 | );
1021 | defaultConfigurationIsVisible = 0;
1022 | defaultConfigurationName = Release;
1023 | };
1024 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "chat" */ = {
1025 | isa = XCConfigurationList;
1026 | buildConfigurations = (
1027 | 83CBBA201A601CBA00E9B192 /* Debug */,
1028 | 83CBBA211A601CBA00E9B192 /* Release */,
1029 | );
1030 | defaultConfigurationIsVisible = 0;
1031 | defaultConfigurationName = Release;
1032 | };
1033 | /* End XCConfigurationList section */
1034 | };
1035 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1036 | }
1037 |
--------------------------------------------------------------------------------