├── .watchmanconfig ├── .gitattributes ├── src ├── actions │ ├── index.js │ ├── StorageKeys.js │ ├── types.js │ └── WebSocketActions.js ├── images │ └── menu_burger.png ├── reducers │ ├── index.js │ ├── routes.js │ └── ConnReducer.js ├── components │ ├── common │ │ ├── index.js │ │ ├── SendBtn.js │ │ ├── WhiteBtn.js │ │ ├── ConnectBtn.js │ │ ├── MessageText.js │ │ ├── GreenBtn.js │ │ ├── Input.js │ │ ├── GradientInput.js │ │ └── MessageInput.js │ ├── scaling.js │ ├── ChatRoomComponent │ │ ├── styles.js │ │ └── index.js │ └── DrawerContent.js ├── app.js ├── configureStore.js ├── router.js ├── websocketMiddleware.js └── webrtcMiddleware.js ├── src.zip ├── app.json ├── .babelrc ├── android ├── 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 │ │ │ │ └── rnawebrtcapp │ │ │ │ ├── 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 ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── .buckconfig ├── .eslintrc ├── index.ios.js ├── __tests__ ├── index.ios.js └── index.android.js ├── ios ├── RNAWebRTCApp │ ├── AppDelegate.h │ ├── main.m │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── RNAWebRTCAppTests │ ├── Info.plist │ └── RNAWebRTCAppTests.m ├── RNAWebRTCApp-tvOSTests │ └── Info.plist ├── RNAWebRTCApp-tvOS │ └── Info.plist └── RNAWebRTCApp.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── RNAWebRTCApp.xcscheme │ │ └── RNAWebRTCApp-tvOS.xcscheme │ └── project.pbxproj ├── .gitignore ├── package.json ├── README.md ├── index.android.js └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /src/actions/index.js: -------------------------------------------------------------------------------- 1 | export * from './WebSocketActions'; 2 | -------------------------------------------------------------------------------- /src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0mkara/RNAWebRTCApp/HEAD/src.zip -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNAWebRTCApp", 3 | "displayName": "RNAWebRTCApp" 4 | } -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["module:metro-react-native-babel-preset", "@babel/preset-flow"] 3 | } 4 | -------------------------------------------------------------------------------- /src/images/menu_burger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0mkara/RNAWebRTCApp/HEAD/src/images/menu_burger.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RNAWebRTCApp 3 | 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0mkara/RNAWebRTCApp/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 | -------------------------------------------------------------------------------- /src/actions/StorageKeys.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | export const MEMBERS_KEY = '@RNAWebRTCApp:room_members'; 3 | export const ROOMS_KEY = '@RNAWebRTCApp:rooms'; 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0mkara/RNAWebRTCApp/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/0mkara/RNAWebRTCApp/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/0mkara/RNAWebRTCApp/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/0mkara/RNAWebRTCApp/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "react-native", 3 | "parser": "babel-eslint", 4 | "rules": { 5 | "arrow-body-style": 0, 6 | "class-methods-use-this": 0, 7 | "jsx-no-bind": 0 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { combineReducers } from 'redux'; 3 | import ConnReducer from './ConnReducer'; 4 | import routes from './routes'; 5 | 6 | export default combineReducers({ 7 | connection: ConnReducer, 8 | routes, 9 | }); 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/components/common/index.js: -------------------------------------------------------------------------------- 1 | export * from './WhiteBtn'; 2 | export * from './Input'; 3 | export * from './GradientInput'; 4 | export * from './ConnectBtn'; 5 | export * from './MessageInput'; 6 | export * from './SendBtn'; 7 | export * from './MessageText'; 8 | export * from './GreenBtn'; -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import { AppRegistry } from 'react-native'; 8 | import RNAWebRTCApp from './src/app'; 9 | 10 | AppRegistry.registerComponent('RNAWebRTCApp', () => RNAWebRTCApp); 11 | -------------------------------------------------------------------------------- /src/app.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import React, { Component } from 'react'; 3 | import Router from './router'; 4 | 5 | class RNAWebRTCApp extends Component { 6 | render() { 7 | return ( 8 | 9 | ); 10 | } 11 | } 12 | 13 | export default RNAWebRTCApp; 14 | -------------------------------------------------------------------------------- /__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/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RNAWebRTCApp' 2 | include ':react-native-linear-gradient' 3 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 4 | include ':react-native-webrtc' 5 | project(':react-native-webrtc').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webrtc/android') 6 | 7 | include ':app' 8 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnawebrtcapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rnawebrtcapp; 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 "RNAWebRTCApp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/reducers/routes.js: -------------------------------------------------------------------------------- 1 | import { ActionConst } from 'react-native-router-flux'; 2 | 3 | const initialState = { 4 | scene: {}, 5 | }; 6 | 7 | export default function reducer(state = initialState, action = {}) { 8 | switch (action.type) { 9 | // focus action is dispatched when a new screen comes into focus 10 | case ActionConst.FOCUS: 11 | return { 12 | ...state, 13 | scene: action.scene, 14 | }; 15 | 16 | // ...other actions 17 | 18 | default: 19 | return state; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp/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 | -------------------------------------------------------------------------------- /src/components/scaling.js: -------------------------------------------------------------------------------- 1 | import { Dimensions } from 'react-native'; 2 | const { width, height } = Dimensions.get('window'); 3 | 4 | //Guideline sizes are based on standard ~5" screen mobile device 5 | const guidelineBaseWidth = 350; 6 | const guidelineBaseHeight = 680; 7 | 8 | const scale = size => width / guidelineBaseWidth * size; 9 | const verticalScale = size => height / guidelineBaseHeight * size; 10 | const moderateScale = (size, factor = 0.5) => size + ( scale(size) - size ) * factor; 11 | 12 | export {scale, verticalScale, moderateScale}; 13 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/actions/types.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | export const LOCATION_UPDATES = 'location_updates'; 3 | export const MARKERS = 'markers'; 4 | export const CONNECT = 'connect'; 5 | export const CONNECTING = 'connecting'; 6 | export const CONNECTED = 'connected'; 7 | export const DISCONNECT = 'disconnect'; 8 | export const DISCONNECTED = 'disconnected'; 9 | export const DEVICES = 'devices'; 10 | export const SEND_MESSAGE = 'send_message'; 11 | export const MESSAGE = 'message'; 12 | export const SOCKETIDS = 'socket_ids'; 13 | export const CREATE_OFFER = 'create_offer'; 14 | export const JOIN = 'join'; 15 | export const EXCHANGE = 'exchange'; 16 | export const WEBTRC_EXCHANGE = 'webrtc_exchange'; 17 | export const DATACHAN_STAT = 'datachan_stat'; 18 | export const ROOM_JOIN = 'room_join'; 19 | -------------------------------------------------------------------------------- /src/configureStore.js: -------------------------------------------------------------------------------- 1 | import { createStore, applyMiddleware } from 'redux'; 2 | import ReduxThunk from 'redux-thunk'; 3 | import reducers from './reducers'; 4 | import { webSocketMiddleware } from './websocketMiddleware'; 5 | import { webrtcMiddleware } from './webrtcMiddleware'; 6 | 7 | export default function configureStore(initialState) { 8 | const store = createStore(reducers, initialState, applyMiddleware(ReduxThunk, webSocketMiddleware, webrtcMiddleware)); 9 | 10 | if (module.hot) { 11 | // Enable Webpack hot module replacement for reducers 12 | module.hot.accept('./reducers', () => { 13 | const nextReducer = require('./reducers'); 14 | store.replaceReducer(nextReducer); 15 | }); 16 | } 17 | 18 | return store; 19 | } 20 | -------------------------------------------------------------------------------- /ios/RNAWebRTCAppTests/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/RNAWebRTCApp-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/router.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Scene, Router, Drawer, Stack } from 'react-native-router-flux'; 3 | import configureStore from './configureStore'; 4 | import ChatRoom from './components/ChatRoomComponent'; 5 | import { 6 | Text, 7 | View, 8 | KeyboardAvoidingView 9 | } from 'react-native'; 10 | import DrawerContent from './components/DrawerContent'; 11 | import MenuIcon from './images/menu_burger.png'; 12 | const store = configureStore(); 13 | const RouterComponent = () => { 14 | return ( 15 | 16 | 17 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | ); 33 | }; 34 | 35 | export default RouterComponent; -------------------------------------------------------------------------------- /src/reducers/ConnReducer.js: -------------------------------------------------------------------------------- 1 | import { 2 | DISCONNECTED, 3 | CONNECTED, 4 | SOCKETIDS, 5 | MESSAGE, 6 | DATACHAN_STAT, 7 | ROOM_JOIN 8 | } from '../actions/types'; 9 | 10 | const INITIAL_STATE = { 11 | connected: false, 12 | socketids: [], 13 | message: {}, 14 | datachan_stat: false, 15 | room_joined: false 16 | }; 17 | export default (state = INITIAL_STATE, action) => { 18 | switch (action.type) { 19 | case CONNECTED: 20 | return { ...state, connected: true }; 21 | case DISCONNECTED: 22 | return { ...state, connected: false, room_joined: false }; 23 | case SOCKETIDS: 24 | return { ...state, socketids: action.payload }; 25 | case MESSAGE: 26 | return { ...state, message: action.payload }; 27 | case DATACHAN_STAT: 28 | return { ...state, datachan_stat: action.payload }; 29 | case ROOM_JOIN: 30 | return { ...state, room_joined: true }; 31 | default: 32 | return state; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.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 | 55 | 56 | # Locks 57 | yarn.lock 58 | package-lock.json 59 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /src/components/ChatRoomComponent/styles.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, Dimensions } from 'react-native'; 2 | import { verticalScale } from '../scaling'; 3 | 4 | const { width } = Dimensions.get('screen'); 5 | export default StyleSheet.create({ 6 | container: { 7 | flex: 1, 8 | alignItems: 'center', 9 | backgroundColor: 'aliceblue', 10 | paddingTop: verticalScale(65) 11 | }, 12 | inputStyle : { 13 | height: 40, 14 | width: 60, 15 | borderColor: 'gray', 16 | borderWidth: 1 17 | }, 18 | joinRoomStyle: { 19 | width: (width - 20), 20 | flexDirection: 'row', 21 | justifyContent: 'space-between', 22 | alignItems: 'center', 23 | }, 24 | connectLstStyle: { 25 | width: (width - 20), 26 | flexDirection: 'row', 27 | justifyContent: 'space-between', 28 | alignItems: 'center' 29 | }, 30 | chatContainerStyle: { 31 | flex: 1, 32 | }, 33 | chatViewStyle: { 34 | flex: 1, 35 | justifyContent: 'flex-end', 36 | alignItems: 'flex-end' 37 | }, 38 | messageViewStyle: { 39 | width, 40 | flexDirection: 'row', 41 | }, 42 | chatAvoidingViewStyle: { 43 | flex: 1, 44 | } 45 | }); 46 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNAWebRTCApp", 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 | "prop-types": "^15.6.0", 11 | "react": "^16.9.0", 12 | "react-native": "^0.60.5", 13 | "react-native-drawer": "^2.5.0", 14 | "react-native-linear-gradient": "^2.3.0", 15 | "react-native-router-flux": "^4.0.6", 16 | "react-native-webrtc": "^1.58.2", 17 | "react-redux": "^5.0.6", 18 | "redux": "^3.7.2", 19 | "redux-thunk": "^2.2.0", 20 | "socket.io-client": "^2.0.3" 21 | }, 22 | "devDependencies": { 23 | "@babel/preset-flow": "^7.0.0", 24 | "babel-cli": "^6.26.0", 25 | "babel-eslint": "^8.0.1", 26 | "babel-jest": "21.2.0", 27 | "eslint": "^4.8.0", 28 | "eslint-config-react-native": "^1.6.0", 29 | "eslint-plugin-import": "^2.7.0", 30 | "eslint-plugin-react": "^7.4.0", 31 | "eslint-plugin-react-native": "^3.1.0", 32 | "flow-bin": "^0.56.0", 33 | "jest": "21.2.1", 34 | "metro-react-native-babel-preset": "^0.56.0", 35 | "react-test-renderer": "16.0.0-alpha.12" 36 | }, 37 | "jest": { 38 | "preset": "react-native" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RNAWebRTCApp implements basic WebRTC communication using React Native and socket.io 2 | 3 | ## Technologies 4 | 5 | * WebRTC data channel 6 | * React Native & Redux 7 | * SocketIO server & client signalling 8 | 9 | Please use [react-native-webrtc-server](https://github.com/oney/react-native-webrtc-server) for signalling purpose. 10 | 11 | ## Screenshots 12 | ![simulator screen shot - iphone se - 2017-10-08 at 19 37 00](https://user-images.githubusercontent.com/13261372/31317604-b79806b2-ac61-11e7-9f54-1c11d15699b6.png) ![simulator screen shot - iphone se - 2017-10-08 at 19 42 26](https://user-images.githubusercontent.com/13261372/31317605-b7f480f4-ac61-11e7-838a-7d4e311ceff8.png) 13 | 14 | ## Usage 15 | 16 | - Run react-native-webrtc-server 17 | - Install RNAWebRTCApp 18 | - Join room 19 | - Both party can send message to each other 20 | 21 | Edit `/src/websocketMiddleware.js` and point to nodejs socketio server. 22 | 23 | ``` 24 | socket = io.connect('https://127.0.0.1:4443', {transports: ['websocket']}); 25 | ``` 26 | 27 | ## TODO 28 | - [ ] Add audio support 29 | - [ ] Add video support 30 | - [ ] Add multiparty support 31 | 32 | ## Notes 33 | 34 | This project aims to provide a peer to peer interface for full WebRTC chat with a self hosted signalling server. 35 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | 15 | export default class RNAWebRTCApp extends Component { 16 | render() { 17 | return ( 18 | 19 | 20 | Welcome to React Native! 21 | 22 | 23 | To get started, edit index.android.js 24 | 25 | 26 | Double tap R on your keyboard to reload,{'\n'} 27 | Shake or press menu button for dev menu 28 | 29 | 30 | ); 31 | } 32 | } 33 | 34 | const styles = StyleSheet.create({ 35 | container: { 36 | flex: 1, 37 | justifyContent: 'center', 38 | alignItems: 'center', 39 | backgroundColor: '#F5FCFF', 40 | }, 41 | welcome: { 42 | fontSize: 20, 43 | textAlign: 'center', 44 | margin: 10, 45 | }, 46 | instructions: { 47 | textAlign: 'center', 48 | color: '#333333', 49 | marginBottom: 5, 50 | }, 51 | }); 52 | 53 | AppRegistry.registerComponent('RNAWebRTCApp', () => RNAWebRTCApp); 54 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnawebrtcapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rnawebrtcapp; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.BV.LinearGradient.LinearGradientPackage; 7 | import com.oney.WebRTCModule.WebRTCModulePackage; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new LinearGradientPackage(), 29 | new WebRTCModulePackage() 30 | ); 31 | } 32 | }; 33 | 34 | @Override 35 | public ReactNativeHost getReactNativeHost() { 36 | return mReactNativeHost; 37 | } 38 | 39 | @Override 40 | public void onCreate() { 41 | super.onCreate(); 42 | SoLoader.init(this, /* native exopackage */ false); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/components/common/SendBtn.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, TouchableOpacity } from 'react-native'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { scale, verticalScale } from '../scaling'; 5 | 6 | const styles = { 7 | textStyle: { 8 | alignSelf: 'center', 9 | color: "#7e81a8", 10 | fontSize: Math.round(scale(16)), 11 | fontWeight: '600', 12 | paddingTop: 10, 13 | paddingBottom: 10, 14 | backgroundColor: 'transparent' 15 | }, 16 | buttonContainerStyle: { 17 | height: verticalScale(41), 18 | width: scale(52), 19 | }, 20 | buttonStyle: { 21 | flex: 1, 22 | alignSelf: 'stretch', 23 | justifyContent: 'center', 24 | marginLeft: 5, 25 | marginRight: 5, 26 | backgroundColor: 'transparent' 27 | } 28 | }; 29 | 30 | const SendBtn = ({ onPress, children }) => { 31 | const { buttonStyle, textStyle } = styles; 32 | 33 | return ( 34 | 38 | 39 | 40 | {children} 41 | 42 | 43 | 44 | ); 45 | }; 46 | export { SendBtn }; 47 | -------------------------------------------------------------------------------- /src/actions/WebSocketActions.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { 3 | CONNECTING, 4 | CONNECTED, 5 | DISCONNECTED, 6 | SOCKETIDS, 7 | MESSAGE, 8 | DATACHAN_STAT, 9 | ROOM_JOIN 10 | } from './types'; 11 | 12 | export const connecting = (dispatch) => { 13 | dispatch({ 14 | type: CONNECTING 15 | }); 16 | } 17 | 18 | export const connected = (dispatch) => { 19 | dispatch({ 20 | type: CONNECTED 21 | }); 22 | } 23 | 24 | export const disconnected = (dispatch) => { 25 | dispatch({ 26 | type: DISCONNECTED 27 | }); 28 | } 29 | 30 | export const roomJoin = (dispatch) => { 31 | dispatch({ 32 | type: ROOM_JOIN 33 | }); 34 | } 35 | export function roomMembers(socketIds) { 36 | return { 37 | type: SOCKETIDS, 38 | payload: socketIds 39 | } 40 | } 41 | 42 | export function roomMember(socketId) { 43 | /*AsyncStorage.getItem(MEMBERS_KEY, (err, data) => { 44 | console.log(data); 45 | const socketIds = JSON.parse(data); 46 | socketIds.push(socketId); 47 | })*/ 48 | return { 49 | type: SOCKETIDS, 50 | payload: socketId 51 | } 52 | } 53 | 54 | export function incommingMessage(from, message) { 55 | return { 56 | type: MESSAGE, 57 | payload: { 58 | from, 59 | message 60 | } 61 | } 62 | } 63 | 64 | export function datachannelOpened() { 65 | return { 66 | type: DATACHAN_STAT, 67 | payload: true 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp/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:@"RNAWebRTCApp" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | munge_underscores=true 30 | 31 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 32 | 33 | suppress_type=$FlowIssue 34 | suppress_type=$FlowFixMe 35 | suppress_type=$FixMe 36 | 37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 41 | 42 | unsafe.enable_getters_and_setters=true 43 | 44 | [version] 45 | 0.56.0 46 | -------------------------------------------------------------------------------- /src/components/common/WhiteBtn.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, TouchableOpacity } from 'react-native'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { scale, verticalScale } from '../scaling'; 5 | 6 | const styles = { 7 | textStyle: { 8 | alignSelf: 'center', 9 | color: "#7e81a8", 10 | fontSize: 16, 11 | fontWeight: '600', 12 | paddingTop: 10, 13 | paddingBottom: 10, 14 | backgroundColor: 'transparent' 15 | }, 16 | buttonContainerStyle: { 17 | height: verticalScale(35), 18 | width: scale(112), 19 | borderRadius: scale(2.6), 20 | shadowColor: '#110E19', 21 | shadowOffset: { width: 0, height: 1 }, 22 | shadowOpacity: 0.4, 23 | shadowRadius: scale(2.6), 24 | elevation: 1, 25 | }, 26 | buttonStyle: { 27 | flex: 1, 28 | alignSelf: 'stretch', 29 | justifyContent: 'center', 30 | marginLeft: 5, 31 | marginRight: 5, 32 | borderRadius: scale(2.6), 33 | backgroundColor: '#ffffff' 34 | } 35 | }; 36 | 37 | const WhiteBtn = ({ onPress, children }) => { 38 | const { buttonStyle, textStyle } = styles; 39 | 40 | return ( 41 | 45 | 46 | 47 | {children} 48 | 49 | 50 | 51 | ); 52 | }; 53 | export { WhiteBtn }; 54 | -------------------------------------------------------------------------------- /src/components/common/ConnectBtn.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, TouchableOpacity } from 'react-native'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { scale, verticalScale } from '../scaling'; 5 | 6 | const styles = { 7 | textStyle: { 8 | alignSelf: 'center', 9 | color: "#000000", 10 | fontSize: 16, 11 | fontWeight: '600', 12 | paddingTop: 10, 13 | paddingBottom: 10, 14 | backgroundColor: 'transparent' 15 | }, 16 | buttonContainerStyle: { 17 | height: verticalScale(35), 18 | width: scale(112), 19 | borderRadius: scale(2.6), 20 | shadowColor: '#110E19', 21 | shadowOffset: { width: 0, height: 1 }, 22 | shadowOpacity: 0.4, 23 | shadowRadius: scale(2.6), 24 | elevation: 1, 25 | }, 26 | buttonStyle: { 27 | flex: 1, 28 | alignSelf: 'stretch', 29 | justifyContent: 'center', 30 | marginLeft: 5, 31 | marginRight: 5, 32 | borderRadius: scale(2.6), 33 | backgroundColor: 'transparent' 34 | } 35 | }; 36 | 37 | const ConnectBtn = ({ onPress, children }) => { 38 | const { buttonStyle, textStyle } = styles; 39 | 40 | return ( 41 | 45 | 46 | 47 | {children} 48 | 49 | 50 | 51 | ); 52 | }; 53 | export { ConnectBtn }; 54 | -------------------------------------------------------------------------------- /src/components/common/MessageText.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, View } from 'react-native'; 3 | import { scale, verticalScale } from '../scaling'; 4 | 5 | const styles = { 6 | textStyle: { 7 | color: "#000000", 8 | fontSize: 16, 9 | fontWeight: '400', 10 | backgroundColor: 'transparent' 11 | }, 12 | msgContainerStyle: { 13 | justifyContent: 'center', 14 | alignItems: 'flex-start', 15 | height: verticalScale(45), 16 | width: scale(163), 17 | borderRadius: scale(8), 18 | paddingLeft: scale(5), 19 | paddingRight: scale(5), 20 | marginLeft: scale(10), 21 | marginRight: scale(10), 22 | marginTop: verticalScale(5), 23 | marginBottom: verticalScale(5) 24 | }, 25 | blueMsgContainerStyle: { 26 | backgroundColor: 'rgba(106, 191, 244, 0.44)' 27 | }, 28 | greenMsgContainerStyle: { 29 | backgroundColor: 'rgba(106, 244, 142, 0.44)' 30 | }, 31 | buttonStyle: { 32 | flex: 1, 33 | alignSelf: 'stretch', 34 | justifyContent: 'center', 35 | marginLeft: 5, 36 | marginRight: 5, 37 | borderRadius: scale(2.6), 38 | backgroundColor: 'transparent' 39 | } 40 | }; 41 | 42 | const MessageText = ({ children }) => { 43 | const { textStyle, msgContainerStyle, blueMsgContainerStyle, greenMsgContainerStyle } = styles; 44 | 45 | return ( 46 | 48 | 49 | {children.message} 50 | 51 | 52 | ); 53 | }; 54 | export { MessageText }; 55 | -------------------------------------------------------------------------------- /src/components/common/GreenBtn.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, TouchableOpacity } from 'react-native'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { scale, verticalScale } from '../scaling'; 5 | 6 | const styles = { 7 | textStyle: { 8 | alignSelf: 'center', 9 | color: "#444", 10 | fontSize: 12, 11 | fontWeight: '800', 12 | paddingTop: 10, 13 | paddingBottom: 10, 14 | backgroundColor: 'transparent' 15 | }, 16 | buttonContainerStyle: { 17 | height: verticalScale(25), 18 | width: scale(80), 19 | borderRadius: scale(2.6), 20 | shadowColor: '#110E19', 21 | shadowOffset: { width: 0, height: 1 }, 22 | shadowOpacity: 0.4, 23 | shadowRadius: scale(2.6), 24 | elevation: 1, 25 | }, 26 | buttonStyle: { 27 | flex: 1, 28 | alignSelf: 'stretch', 29 | justifyContent: 'center', 30 | marginLeft: 5, 31 | marginRight: 5, 32 | borderRadius: scale(2.6) 33 | } 34 | }; 35 | 36 | const GreenBtn = ({ onPress, children }) => { 37 | const { buttonStyle, textStyle } = styles; 38 | 39 | return ( 40 | 44 | 48 | 49 | {children} 50 | 51 | 52 | 53 | ); 54 | }; 55 | export { GreenBtn }; 56 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.rnawebrtcapp", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.rnawebrtcapp", 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/RNAWebRTCApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RNAWebRTCApp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | NSCameraUsageDescription 57 | Camera Permission 58 | NSMicrophoneUsageDescription 59 | Microphone Permission 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/components/common/Input.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import React from 'react'; 3 | import { TextInput, View, Text } from 'react-native'; 4 | import { scale, verticalScale } from '../scaling'; 5 | 6 | const styles = {}; 7 | const containerDefaultStyle = { 8 | style: { 9 | flex: 1, 10 | flexDirection: 'column', 11 | alignItems: 'flex-start', 12 | justifyContent: 'center' 13 | } 14 | } 15 | const inputDefaultStyle = { 16 | style : { 17 | color: 'rgb(126, 129, 168)', 18 | height: verticalScale(35), 19 | width: scale(300) 20 | } 21 | } 22 | const labelDefaultStyle = { 23 | textAlign: 'right', 24 | fontSize: scale(18), 25 | flex: 1, 26 | flexDirection: 'column', 27 | alignItems: 'flex-start', 28 | justifyContent: 'center' 29 | } 30 | const Input = ({ label, value, onChangeText, placeholder, placeholderTextColor, secureTextEntry, inputContainerStyle, inputTextStyle, labelTextStyle, androidUnderlineColor }) => { 31 | let underlineColor = 'rgba(0,0,0,0)'; 32 | if(inputContainerStyle) { 33 | styles.containerStyle = inputContainerStyle; 34 | } else if (!inputContainerStyle) { 35 | styles.containerStyle = containerDefaultStyle.style; 36 | } 37 | if (inputTextStyle) { 38 | styles.inputStyle = inputTextStyle; 39 | } else if (!inputTextStyle) { 40 | styles.inputStyle = inputDefaultStyle.style; 41 | } 42 | if (labelTextStyle) { 43 | styles.labelStyle = labelTextStyle; 44 | } else if (!labelTextStyle) { 45 | styles.labelStyle = labelDefaultStyle.style; 46 | } 47 | if(androidUnderlineColor) { 48 | underlineColor = androidUnderlineColor; 49 | } 50 | const { inputStyle, labelStyle, containerStyle } = styles; 51 | return ( 52 | 53 | {label} 54 | 63 | 64 | ); 65 | }; 66 | export { Input }; 67 | -------------------------------------------------------------------------------- /ios/RNAWebRTCAppTests/RNAWebRTCAppTests.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 RNAWebRTCAppTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation RNAWebRTCAppTests 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/components/common/GradientInput.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import React from 'react'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { TextInput, Text } from 'react-native'; 5 | import { scale, verticalScale } from '../scaling'; 6 | 7 | const styles = {}; 8 | const containerDefaultStyle = { 9 | style: { 10 | height: verticalScale(39), 11 | width: scale(204), 12 | flexDirection: 'row', 13 | alignItems: 'center', 14 | justifyContent: 'center', 15 | borderRadius: scale(2.6), 16 | } 17 | } 18 | const inputDefaultStyle = { 19 | style : { 20 | color: 'rgb(126, 129, 168)', 21 | height: verticalScale(35), 22 | width: scale(200), 23 | backgroundColor: 'aliceblue', 24 | margin: scale(2), 25 | textAlign: 'center' 26 | } 27 | } 28 | const labelDefaultStyle = { 29 | textAlign: 'right', 30 | fontSize: scale(18), 31 | flex: 1, 32 | flexDirection: 'column', 33 | alignItems: 'flex-start', 34 | justifyContent: 'center' 35 | } 36 | const GradientInput = ({ label, value, onChangeText, placeholder, placeholderTextColor, secureTextEntry, inputContainerStyle, inputTextStyle, labelTextStyle, androidUnderlineColor }) => { 37 | let underlineColor = 'rgba(0,0,0,0)'; 38 | if(inputContainerStyle) { 39 | styles.containerStyle = inputContainerStyle; 40 | } else if (!inputContainerStyle) { 41 | styles.containerStyle = containerDefaultStyle.style; 42 | } 43 | if (inputTextStyle) { 44 | styles.inputStyle = inputTextStyle; 45 | } else if (!inputTextStyle) { 46 | styles.inputStyle = inputDefaultStyle.style; 47 | } 48 | if (labelTextStyle) { 49 | styles.labelStyle = labelTextStyle; 50 | } else if (!labelTextStyle) { 51 | styles.labelStyle = labelDefaultStyle.style; 52 | } 53 | if(androidUnderlineColor) { 54 | underlineColor = androidUnderlineColor; 55 | } 56 | const { inputStyle, labelStyle, containerStyle } = styles; 57 | return ( 58 | 62 | {label} 63 | 73 | 74 | ); 75 | }; 76 | export { GradientInput }; 77 | -------------------------------------------------------------------------------- /src/components/common/MessageInput.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import React from 'react'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { TextInput, Text, Dimensions } from 'react-native'; 5 | import { scale, verticalScale } from '../scaling'; 6 | 7 | const { width } = Dimensions.get('screen'); 8 | const styles = {}; 9 | const containerDefaultStyle = { 10 | style: { 11 | height: verticalScale(41), 12 | width: width - scale(52), 13 | flexDirection: 'row', 14 | alignItems: 'center', 15 | justifyContent: 'center', 16 | } 17 | } 18 | const inputDefaultStyle = { 19 | style : { 20 | color: 'rgb(126, 129, 168)', 21 | height: verticalScale(41-4), 22 | width: width - scale(52+4), 23 | backgroundColor: 'aliceblue', 24 | margin: scale(2), 25 | textAlign: 'left', 26 | borderRadius: scale(1.6) 27 | } 28 | } 29 | const labelDefaultStyle = { 30 | textAlign: 'right', 31 | fontSize: scale(18), 32 | flex: 1, 33 | flexDirection: 'column', 34 | alignItems: 'flex-start', 35 | justifyContent: 'center' 36 | } 37 | const MessageInput = ({ label, value, onChangeText, placeholder, placeholderTextColor, secureTextEntry, inputContainerStyle, inputTextStyle, labelTextStyle, androidUnderlineColor }) => { 38 | let underlineColor = 'rgba(0,0,0,0)'; 39 | if(inputContainerStyle) { 40 | styles.containerStyle = inputContainerStyle; 41 | } else if (!inputContainerStyle) { 42 | styles.containerStyle = containerDefaultStyle.style; 43 | } 44 | if (inputTextStyle) { 45 | styles.inputStyle = inputTextStyle; 46 | } else if (!inputTextStyle) { 47 | styles.inputStyle = inputDefaultStyle.style; 48 | } 49 | if (labelTextStyle) { 50 | styles.labelStyle = labelTextStyle; 51 | } else if (!labelTextStyle) { 52 | styles.labelStyle = labelDefaultStyle.style; 53 | } 54 | if(androidUnderlineColor) { 55 | underlineColor = androidUnderlineColor; 56 | } 57 | const { inputStyle, labelStyle, containerStyle } = styles; 58 | return ( 59 | 63 | {label} 64 | 74 | 75 | ); 76 | }; 77 | export { MessageInput }; 78 | -------------------------------------------------------------------------------- /src/websocketMiddleware.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { AsyncStorage } from 'react-native'; 3 | import { WEBTRC_EXCHANGE, EXCHANGE, DISCONNECT, CONNECT, JOIN } from './actions/types'; 4 | import { MEMBERS_KEY } from './actions/StorageKeys'; 5 | import io from 'socket.io-client'; 6 | import { connecting, connected, disconnected, roomMembers, roomMember, roomJoin } from './actions'; 7 | const webSocketMiddleware = (function(){ 8 | let socket = null; 9 | 10 | const onOpen = (store) => evt => { 11 | //Send a handshake, or authenticate with remote end 12 | //Tell the store we're connected 13 | store.dispatch(connected); 14 | } 15 | 16 | const onClose = (store) => evt => { 17 | //Tell the store we've disconnected 18 | store.dispatch(disconnected); 19 | } 20 | 21 | const onExchangeMessage = (store) => data => { 22 | // exchange webrtc data 23 | store.dispatch({ type: WEBTRC_EXCHANGE, payload: data }); 24 | } 25 | 26 | const onMembers = (store) => socketId => { 27 | console.log(socketId); 28 | let socketIds = []; 29 | AsyncStorage.getItem(MEMBERS_KEY, (err, data) => { 30 | if(data !== null) { 31 | socketIds = JSON.parse(data); 32 | } 33 | socketIds.push(socketId); 34 | AsyncStorage.setItem(MEMBERS_KEY, JSON.stringify(socketIds)); 35 | store.dispatch(roomMembers(socketIds)); 36 | }) 37 | } 38 | return store => next => action => { 39 | //console.log(action); 40 | switch(action.type) { 41 | //The user wants us to connect 42 | case CONNECT: 43 | //console.log("Connecting websocket"); 44 | //Start a new connection to the server 45 | if(socket !== null) { 46 | socket.close(); 47 | } 48 | //Send an action that shows a "connecting..." status for now 49 | store.dispatch(connecting); 50 | 51 | //Attempt to connect (we could send a 'failed' action on error) 52 | socket = io.connect('https://192.168.0.14:4443', {transports: ['websocket']}); 53 | socket.on('connect', onOpen(store)); 54 | socket.on('leave', onClose(store)); 55 | socket.on('exchange', onExchangeMessage(store)); 56 | socket.on('new_member', onMembers(store)); 57 | break; 58 | 59 | //The user wants us to disconnect 60 | case DISCONNECT: 61 | if(socket !== null) { 62 | socket.close(); 63 | } 64 | socket = null; 65 | store.dispatch(disconnected); 66 | break; 67 | 68 | //Send the 'SEND_MESSAGE' action down the websocket to the server 69 | case EXCHANGE: 70 | socket.emit('exchange', action.payload); 71 | break; 72 | case JOIN: 73 | socket.emit('join', action.payload, (socketIds) => { 74 | store.dispatch(roomJoin); 75 | AsyncStorage.setItem(MEMBERS_KEY, JSON.stringify(socketIds)); 76 | store.dispatch(roomMembers(socketIds)); 77 | }); 78 | break; 79 | //This action is irrelevant to us, pass it on to the next middleware 80 | default: 81 | return next(action); 82 | } 83 | } 84 | })(); 85 | export { webSocketMiddleware }; 86 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/components/DrawerContent.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import PropTypes from 'prop-types'; 3 | import LinearGradient from 'react-native-linear-gradient'; 4 | import { StyleSheet, Text, View, ViewPropTypes, Switch, FlatList } from 'react-native'; 5 | import { GreenBtn, GradientInput } from './common'; 6 | import { scale, verticalScale } from './scaling'; 7 | 8 | const styles = StyleSheet.create({ 9 | container: { 10 | flex: 1, 11 | justifyContent: 'center', 12 | alignItems: 'center', 13 | backgroundColor: '#fff', 14 | }, 15 | linearGradient: { 16 | flex: 1, 17 | width: '100%' 18 | }, 19 | inputStyle: { 20 | color: 'aliceblue', 21 | height: verticalScale(26), 22 | width: scale(116), 23 | margin: scale(2), 24 | textAlign: 'center', 25 | backgroundColor: '#3A19A5', 26 | fontSize: 12, 27 | }, 28 | inputContainerStyle: { 29 | height: verticalScale(30), 30 | width: scale(120), 31 | flexDirection: 'row', 32 | alignItems: 'center', 33 | justifyContent: 'center', 34 | borderRadius: scale(2.6), 35 | } 36 | }); 37 | 38 | class DrawerContent extends React.Component { 39 | constructor(props){ 40 | super(props); 41 | this.state = { 42 | flatlistData: [ 43 | { 44 | key: 'a', 45 | name: 'Audio', 46 | status: false 47 | }, 48 | { 49 | key: 'v', 50 | name: 'Video', 51 | status: false 52 | } 53 | ] 54 | } 55 | } 56 | static propTypes = { 57 | name: PropTypes.string, 58 | sceneStyle: ViewPropTypes.style, 59 | title: PropTypes.string, 60 | } 61 | 62 | static contextTypes = { 63 | drawer: PropTypes.object, 64 | } 65 | 66 | render() { 67 | const { flatlistData } = this.state; 68 | return ( 69 | 70 | 71 | 72 | 73 | 74 | 78 | 79 | 80 | 82 | Change 83 | 84 | 85 | 86 | 87 | { 90 | return ( 91 | 92 | 93 | {item.name} 94 | 95 | 96 | 97 | 98 | 99 | ) 100 | }} 101 | /> 102 | 103 | 104 | 105 | 106 | ); 107 | } 108 | } 109 | 110 | export default DrawerContent; 111 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/webrtcMiddleware.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { WEBTRC_EXCHANGE, CREATE_OFFER, EXCHANGE, SEND_MESSAGE } from './actions/types'; 3 | import { incommingMessage, datachannelOpened } from './actions'; 4 | import { RTCPeerConnection, RTCSessionDescription, RTCIceCandidate } from 'react-native-webrtc'; 5 | 6 | const webrtcMiddleware = (function() { 7 | let socketId = null; 8 | const configuration = {"iceServers": [{"url": "stun:stun.l.google.com:19302"}]}; 9 | const connection = {'optional': [{'DtlsSrtpKeyAgreement': true}, {'RtpDataChannels': true }]}; 10 | const peerconn = new RTCPeerConnection(configuration, connection); 11 | // const sdpConstraints = {'mandatory': { 'OfferToReceiveAudio': false, 'OfferToReceiveVideo': false }}; 12 | const offerOpts = { offertoreceiveaudio: false, offertoreceivevideo: false } 13 | 14 | peerconn.onnegotiationneeded = function(event) { 15 | console.log('onnegotiationneeded'); 16 | }; 17 | peerconn.oniceconnectionstatechange = function(event) { 18 | console.log('oniceconnectionstatechange'); 19 | }; 20 | peerconn.onsignalingstatechange = function() { 21 | console.log('onsignalingstatechange'); 22 | }; 23 | peerconn.onaddstream = function() { 24 | console.log('onaddstream'); 25 | }; 26 | peerconn.onremovestream = function() { 27 | console.log('onremovestream'); 28 | }; 29 | 30 | function logError(error) { 31 | console.log("logError", error); 32 | } 33 | function createOffer(store, socketId, action) { 34 | const dataChannel = peerconn.createDataChannel("text_chan", { reliable: false }); 35 | peerconn.createOffer(offerOpts) 36 | .then(desc => { 37 | peerconn.setLocalDescription(desc) 38 | .then(() => { 39 | store.dispatch({ type: EXCHANGE, payload: {'to': action.payload, 'sdp': peerconn.localDescription } }) 40 | }) 41 | .catch(err => console.error("createOffer error : ", err)) 42 | }) 43 | 44 | dataChannel.onopen = function() { 45 | console.log('dataChannel.onopen'); 46 | store.dispatch(datachannelOpened()); 47 | }; 48 | dataChannel.onclose = function () { 49 | console.log("dataChannel.onclose"); 50 | }; 51 | dataChannel.onmessage = function (event) { 52 | console.log("dataChannel.onmessage [incomming message]:", event.data); 53 | store.dispatch(incommingMessage(socketId, event.data)); 54 | }; 55 | dataChannel.onerror = function (error) { 56 | console.log("dataChannel.onerror", error); 57 | }; 58 | peerconn.textDataChannel = dataChannel; 59 | } 60 | function exchange(store, data) { 61 | if(socketId === null) { 62 | socketId = data.from; 63 | } 64 | if (data.sdp) { 65 | console.log('exchange sdp', data); 66 | peerconn.setRemoteDescription(new RTCSessionDescription(data.sdp)) 67 | .then(() => { 68 | if (peerconn.remoteDescription.type === "offer") { 69 | peerconn.createAnswer(offerOpts) 70 | .then(desc => { 71 | peerconn.setLocalDescription(desc) 72 | .then(() => { 73 | store.dispatch({ type: EXCHANGE, payload: {'to': data.from, 'sdp': peerconn.localDescription } }); 74 | }) 75 | .catch(err => console.error("exchange sdp error : ", err)) 76 | }) 77 | } 78 | }) 79 | } else { 80 | console.log('exchange candidate'); 81 | peerconn.addIceCandidate(new RTCIceCandidate(data.candidate)); 82 | } 83 | } 84 | return store => next => action => { 85 | peerconn.onicecandidate = function(event) { 86 | console.log('onicecandidate'); 87 | if(event.candidate && socketId !== null) { 88 | store.dispatch({ type: EXCHANGE, payload: {'to': socketId, 'candidate': event.candidate } }) 89 | } 90 | }; 91 | peerconn.ondatachannel = function(event) { 92 | const receiveChannel = event.channel; 93 | if(!peerconn.textDataChannel) { 94 | peerconn.textDataChannel = receiveChannel; 95 | store.dispatch(datachannelOpened()); 96 | } 97 | } 98 | 99 | switch(action.type) { 100 | case CREATE_OFFER: 101 | socketId = action.payload; 102 | createOffer(store, socketId, action); 103 | break; 104 | case WEBTRC_EXCHANGE: 105 | exchange(store, action.payload); 106 | break; 107 | case SEND_MESSAGE: 108 | peerconn.textDataChannel.send(action.payload); 109 | break; 110 | default: 111 | return next(action); 112 | } 113 | } 114 | })(); 115 | 116 | export { webrtcMiddleware }; 117 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp.xcodeproj/xcshareddata/xcschemes/RNAWebRTCApp.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/RNAWebRTCApp.xcodeproj/xcshareddata/xcschemes/RNAWebRTCApp-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 | -------------------------------------------------------------------------------- /src/components/ChatRoomComponent/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | import React, { Component } from 'react'; 3 | import { 4 | Text, 5 | View, 6 | KeyboardAvoidingView 7 | } from 'react-native'; 8 | import { connect } from 'react-redux'; 9 | import { CONNECT, JOIN, CREATE_OFFER, SEND_MESSAGE, DISCONNECT } from '../../actions/types'; 10 | import { WhiteBtn, GradientInput, ConnectBtn, MessageInput, SendBtn, MessageText } from '../common'; 11 | import { verticalScale } from '../scaling'; 12 | import styles from './styles'; 13 | 14 | class ChatRoom extends Component { 15 | constructor(props) { 16 | super(props); 17 | this.onPressExchange = this.onPressExchange.bind(this); 18 | this.handleSend = this.handleSend.bind(this); 19 | this.handleJoin = this.handleJoin.bind(this); 20 | this.handleLeave = this.handleLeave.bind(this); 21 | this.state = { 22 | text: null, 23 | room: "private_room", 24 | messages: [] 25 | } 26 | } 27 | componentDidUpdate(prevProps) { 28 | const { message } = this.props; 29 | const stmsg = this.state.messages; 30 | if(this.props.message !== prevProps.message && message.from !== undefined) { 31 | stmsg.push(message) 32 | this.setState({ 33 | messages: stmsg, 34 | }) 35 | } 36 | } 37 | onPressExchange(socketId) { 38 | this.props.store.dispatch({ type: CREATE_OFFER, payload: socketId }); 39 | } 40 | handleSend() { 41 | const messages = this.state.messages; 42 | messages.push({from: 'self', message: this.state.text}); 43 | this.props.store.dispatch({ type: SEND_MESSAGE, payload: this.state.text }); 44 | this.setState({ 45 | text: '', 46 | messages 47 | }); 48 | } 49 | handleJoin() { 50 | this.props.store.dispatch({ type: CONNECT }); 51 | this.props.store.dispatch({ type: JOIN, payload: this.state.room }); 52 | } 53 | handleLeave() { 54 | this.props.store.dispatch({ type: DISCONNECT }); 55 | } 56 | handleKeyboardHeight() { 57 | console.log(event); 58 | } 59 | render() { 60 | const { messages } = this.state; 61 | return ( 62 | 63 | 64 | this.setState({room})} 67 | value={this.state.room}/> 68 | { 69 | this.props.room_joined === false && 70 | 73 | Join 74 | 75 | } 76 | { 77 | this.props.room_joined === true && 78 | 81 | Leave 82 | 83 | } 84 | 85 | { 86 | // this should be replaced with ListView 87 | this.props.socketids.map((item, index) => ( 88 | 89 | {item} 90 | this.onPressExchange(item)}> 92 | Connect 93 | 94 | 95 | )) 96 | } 97 | { 98 | this.props.datachan_stat === true && 99 | 100 | 104 | 105 | { 106 | messages.map((item, index) => ( 107 | 108 | {item} 109 | 110 | )) 111 | } 112 | 113 | 114 | this.setState({text})} 117 | value={this.state.text}/> 118 | 120 | Send 121 | 122 | 123 | 124 | 125 | } 126 | 127 | ); 128 | } 129 | } 130 | 131 | const mapStateToProps = ({ connection, routes }) => { 132 | const { connected, socketids, message, datachan_stat, room_joined } = connection; 133 | return { connected, socketids, message, datachan_stat, room_joined, routes }; 134 | }; 135 | export default connect(mapStateToProps, { })(ChatRoom); 136 | -------------------------------------------------------------------------------- /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.rnawebrtcapp" 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 project(':react-native-linear-gradient') 137 | compile project(':react-native-webrtc') 138 | compile fileTree(dir: "libs", include: ["*.jar"]) 139 | compile "com.android.support:appcompat-v7:23.0.1" 140 | compile "com.facebook.react:react-native:+" // From node_modules 141 | } 142 | 143 | // Run this once to be able to run the application with BUCK 144 | // puts all compile dependencies into folder libs for BUCK to use 145 | task copyDownloadableDepsToLibs(type: Copy) { 146 | from configurations.compile 147 | into 'libs' 148 | } 149 | -------------------------------------------------------------------------------- /ios/RNAWebRTCApp.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 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* RNAWebRTCAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNAWebRTCAppTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 28DC00D27A2545FF841CEC34 /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FF5BD3873B58448793AF9FEF /* libBVLinearGradient.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* RNAWebRTCAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNAWebRTCAppTests.m */; }; 37 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | A2AFD2B01F7FD51A00490368 /* WebRTC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2AF1F7FD51A00490368 /* WebRTC.framework */; }; 40 | A2AFD2F61F803AE500490368 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2F51F803AE500490368 /* AVFoundation.framework */; }; 41 | A2AFD2F81F803B0700490368 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2F71F803B0700490368 /* AudioToolbox.framework */; }; 42 | A2AFD2FA1F803B1300490368 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2F91F803B1300490368 /* CoreGraphics.framework */; }; 43 | A2AFD2FC1F803B2100490368 /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2FB1F803B2100490368 /* GLKit.framework */; }; 44 | A2AFD2FE1F803B3100490368 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2FD1F803B3100490368 /* CoreAudio.framework */; }; 45 | A2AFD3001F803B3D00490368 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2FF1F803B3D00490368 /* CoreVideo.framework */; }; 46 | A2AFD3021F803B4800490368 /* VideoToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD3011F803B4800490368 /* VideoToolbox.framework */; }; 47 | A2AFD3041F803B5600490368 /* libc.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD3031F803B5600490368 /* libc.tbd */; }; 48 | A2AFD3061F803B6600490368 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD3051F803B6600490368 /* libsqlite3.tbd */; }; 49 | A2AFD3081F803B7500490368 /* libstdc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD3071F803B7500490368 /* libstdc++.tbd */; }; 50 | A2FC5A28230C994900687DDC /* WebRTC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2AF1F7FD51A00490368 /* WebRTC.framework */; }; 51 | A2FC5A29230C994900687DDC /* WebRTC.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2AF1F7FD51A00490368 /* WebRTC.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 52 | A2FC5A2B230C996500687DDC /* libRCTWebRTC.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A2AFD2AC1F7FD4CB00490368 /* libRCTWebRTC.a */; }; 53 | A2FC5A2D230C9B6000687DDC /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2FC5A2C230C9B6000687DDC /* JavaScriptCore.framework */; }; 54 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 55 | /* End PBXBuildFile section */ 56 | 57 | /* Begin PBXContainerItemProxy section */ 58 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 63 | remoteInfo = RCTActionSheet; 64 | }; 65 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 70 | remoteInfo = RCTGeolocation; 71 | }; 72 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 77 | remoteInfo = RCTImage; 78 | }; 79 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 82 | proxyType = 2; 83 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 84 | remoteInfo = RCTNetwork; 85 | }; 86 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 91 | remoteInfo = RCTVibration; 92 | }; 93 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 96 | proxyType = 1; 97 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 98 | remoteInfo = RNAWebRTCApp; 99 | }; 100 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 105 | remoteInfo = RCTSettings; 106 | }; 107 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 110 | proxyType = 2; 111 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 112 | remoteInfo = RCTWebSocket; 113 | }; 114 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 119 | remoteInfo = React; 120 | }; 121 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 124 | proxyType = 1; 125 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 126 | remoteInfo = "RNAWebRTCApp-tvOS"; 127 | }; 128 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 133 | remoteInfo = "RCTImage-tvOS"; 134 | }; 135 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 140 | remoteInfo = "RCTLinking-tvOS"; 141 | }; 142 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 147 | remoteInfo = "RCTNetwork-tvOS"; 148 | }; 149 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 154 | remoteInfo = "RCTSettings-tvOS"; 155 | }; 156 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 161 | remoteInfo = "RCTText-tvOS"; 162 | }; 163 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 168 | remoteInfo = "RCTWebSocket-tvOS"; 169 | }; 170 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 175 | remoteInfo = "React-tvOS"; 176 | }; 177 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 182 | remoteInfo = yoga; 183 | }; 184 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 189 | remoteInfo = "yoga-tvOS"; 190 | }; 191 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 196 | remoteInfo = cxxreact; 197 | }; 198 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 203 | remoteInfo = "cxxreact-tvOS"; 204 | }; 205 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 210 | remoteInfo = RCTAnimation; 211 | }; 212 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 217 | remoteInfo = "RCTAnimation-tvOS"; 218 | }; 219 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 224 | remoteInfo = RCTLinking; 225 | }; 226 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 231 | remoteInfo = RCTText; 232 | }; 233 | A2ACE7961F87A28B00A61646 /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = D14A1AEFE5B147B0AD3642AE /* BVLinearGradient.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 238 | remoteInfo = BVLinearGradient; 239 | }; 240 | A2ACE7981F87A28B00A61646 /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = D14A1AEFE5B147B0AD3642AE /* BVLinearGradient.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 64AA15081EF7F30100718508; 245 | remoteInfo = "BVLinearGradient-tvOS"; 246 | }; 247 | A2AFD29C1F7FD4CB00490368 /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 252 | remoteInfo = "RCTBlob-tvOS"; 253 | }; 254 | A2AFD2AB1F7FD4CB00490368 /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = A2AFD2941F7FD4CB00490368 /* RCTWebRTC.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 35A2221F1CB493700015FD5C; 259 | remoteInfo = RCTWebRTC; 260 | }; 261 | A2AFD2E91F80397E00490368 /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 266 | remoteInfo = "third-party"; 267 | }; 268 | A2AFD2EB1F80397E00490368 /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 273 | remoteInfo = "third-party-tvOS"; 274 | }; 275 | A2AFD2ED1F80397E00490368 /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 280 | remoteInfo = "double-conversion"; 281 | }; 282 | A2AFD2EF1F80397E00490368 /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 287 | remoteInfo = "double-conversion-tvOS"; 288 | }; 289 | A2FC5A1C230C993F00687DDC /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 294 | remoteInfo = jsinspector; 295 | }; 296 | A2FC5A1E230C993F00687DDC /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 301 | remoteInfo = "jsinspector-tvOS"; 302 | }; 303 | A2FC5A20230C993F00687DDC /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 308 | remoteInfo = jsi; 309 | }; 310 | A2FC5A22230C993F00687DDC /* PBXContainerItemProxy */ = { 311 | isa = PBXContainerItemProxy; 312 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 313 | proxyType = 2; 314 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 315 | remoteInfo = jsiexecutor; 316 | }; 317 | A2FC5A24230C993F00687DDC /* PBXContainerItemProxy */ = { 318 | isa = PBXContainerItemProxy; 319 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 320 | proxyType = 2; 321 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 322 | remoteInfo = "jsi-tvOS"; 323 | }; 324 | A2FC5A26230C993F00687DDC /* PBXContainerItemProxy */ = { 325 | isa = PBXContainerItemProxy; 326 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 327 | proxyType = 2; 328 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 329 | remoteInfo = "jsiexecutor-tvOS"; 330 | }; 331 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 332 | isa = PBXContainerItemProxy; 333 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 334 | proxyType = 2; 335 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 336 | remoteInfo = RCTBlob; 337 | }; 338 | /* End PBXContainerItemProxy section */ 339 | 340 | /* Begin PBXCopyFilesBuildPhase section */ 341 | A2FC5A2A230C994900687DDC /* Embed Frameworks */ = { 342 | isa = PBXCopyFilesBuildPhase; 343 | buildActionMask = 2147483647; 344 | dstPath = ""; 345 | dstSubfolderSpec = 10; 346 | files = ( 347 | A2FC5A29230C994900687DDC /* WebRTC.framework in Embed Frameworks */, 348 | ); 349 | name = "Embed Frameworks"; 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | /* End PBXCopyFilesBuildPhase section */ 353 | 354 | /* Begin PBXFileReference section */ 355 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 356 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 357 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 358 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 359 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 360 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 361 | 00E356EE1AD99517003FC87E /* RNAWebRTCAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNAWebRTCAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 362 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 363 | 00E356F21AD99517003FC87E /* RNAWebRTCAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNAWebRTCAppTests.m; sourceTree = ""; }; 364 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 365 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 366 | 13B07F961A680F5B00A75B9A /* RNAWebRTCApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNAWebRTCApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 367 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNAWebRTCApp/AppDelegate.h; sourceTree = ""; }; 368 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNAWebRTCApp/AppDelegate.m; sourceTree = ""; }; 369 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 370 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNAWebRTCApp/Images.xcassets; sourceTree = ""; }; 371 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNAWebRTCApp/Info.plist; sourceTree = ""; }; 372 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNAWebRTCApp/main.m; sourceTree = ""; }; 373 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 374 | 2D02E47B1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNAWebRTCApp-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 375 | 2D02E4901E0B4A5D006451C7 /* RNAWebRTCApp-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RNAWebRTCApp-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 376 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 377 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 378 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 379 | A2AFD2941F7FD4CB00490368 /* RCTWebRTC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebRTC.xcodeproj; path = "../node_modules/react-native-webrtc/ios/RCTWebRTC.xcodeproj"; sourceTree = ""; }; 380 | A2AFD2AF1F7FD51A00490368 /* WebRTC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebRTC.framework; path = "../node_modules/react-native-webrtc/ios/WebRTC.framework"; sourceTree = ""; }; 381 | A2AFD2F51F803AE500490368 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 382 | A2AFD2F71F803B0700490368 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 383 | A2AFD2F91F803B1300490368 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 384 | A2AFD2FB1F803B2100490368 /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; }; 385 | A2AFD2FD1F803B3100490368 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; 386 | A2AFD2FF1F803B3D00490368 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; }; 387 | A2AFD3011F803B4800490368 /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; }; 388 | A2AFD3031F803B5600490368 /* libc.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libc.tbd; path = usr/lib/libc.tbd; sourceTree = SDKROOT; }; 389 | A2AFD3051F803B6600490368 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; 390 | A2AFD3071F803B7500490368 /* libstdc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.tbd"; path = "usr/lib/libstdc++.tbd"; sourceTree = SDKROOT; }; 391 | A2FC5A2C230C9B6000687DDC /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 392 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 393 | D14A1AEFE5B147B0AD3642AE /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = ""; }; 394 | FF5BD3873B58448793AF9FEF /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = ""; }; 395 | /* End PBXFileReference section */ 396 | 397 | /* Begin PBXFrameworksBuildPhase section */ 398 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 399 | isa = PBXFrameworksBuildPhase; 400 | buildActionMask = 2147483647; 401 | files = ( 402 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 403 | ); 404 | runOnlyForDeploymentPostprocessing = 0; 405 | }; 406 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 407 | isa = PBXFrameworksBuildPhase; 408 | buildActionMask = 2147483647; 409 | files = ( 410 | A2FC5A2D230C9B6000687DDC /* JavaScriptCore.framework in Frameworks */, 411 | A2FC5A2B230C996500687DDC /* libRCTWebRTC.a in Frameworks */, 412 | A2AFD3081F803B7500490368 /* libstdc++.tbd in Frameworks */, 413 | A2AFD3061F803B6600490368 /* libsqlite3.tbd in Frameworks */, 414 | A2AFD3041F803B5600490368 /* libc.tbd in Frameworks */, 415 | A2AFD3021F803B4800490368 /* VideoToolbox.framework in Frameworks */, 416 | A2AFD3001F803B3D00490368 /* CoreVideo.framework in Frameworks */, 417 | A2AFD2FE1F803B3100490368 /* CoreAudio.framework in Frameworks */, 418 | A2AFD2FC1F803B2100490368 /* GLKit.framework in Frameworks */, 419 | A2AFD2FA1F803B1300490368 /* CoreGraphics.framework in Frameworks */, 420 | A2AFD2F81F803B0700490368 /* AudioToolbox.framework in Frameworks */, 421 | A2AFD2F61F803AE500490368 /* AVFoundation.framework in Frameworks */, 422 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 423 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 424 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 425 | A2AFD2B01F7FD51A00490368 /* WebRTC.framework in Frameworks */, 426 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 427 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 428 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 429 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 430 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 431 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 432 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 433 | A2FC5A28230C994900687DDC /* WebRTC.framework in Frameworks */, 434 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 435 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 436 | 28DC00D27A2545FF841CEC34 /* libBVLinearGradient.a in Frameworks */, 437 | ); 438 | runOnlyForDeploymentPostprocessing = 0; 439 | }; 440 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 441 | isa = PBXFrameworksBuildPhase; 442 | buildActionMask = 2147483647; 443 | files = ( 444 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 445 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 446 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 447 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 448 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 449 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 450 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 451 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 452 | ); 453 | runOnlyForDeploymentPostprocessing = 0; 454 | }; 455 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 456 | isa = PBXFrameworksBuildPhase; 457 | buildActionMask = 2147483647; 458 | files = ( 459 | ); 460 | runOnlyForDeploymentPostprocessing = 0; 461 | }; 462 | /* End PBXFrameworksBuildPhase section */ 463 | 464 | /* Begin PBXGroup section */ 465 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 466 | isa = PBXGroup; 467 | children = ( 468 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 469 | ); 470 | name = Products; 471 | sourceTree = ""; 472 | }; 473 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 474 | isa = PBXGroup; 475 | children = ( 476 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 477 | ); 478 | name = Products; 479 | sourceTree = ""; 480 | }; 481 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 482 | isa = PBXGroup; 483 | children = ( 484 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 485 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 486 | ); 487 | name = Products; 488 | sourceTree = ""; 489 | }; 490 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 491 | isa = PBXGroup; 492 | children = ( 493 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 494 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 495 | ); 496 | name = Products; 497 | sourceTree = ""; 498 | }; 499 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 500 | isa = PBXGroup; 501 | children = ( 502 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 503 | ); 504 | name = Products; 505 | sourceTree = ""; 506 | }; 507 | 00E356EF1AD99517003FC87E /* RNAWebRTCAppTests */ = { 508 | isa = PBXGroup; 509 | children = ( 510 | 00E356F21AD99517003FC87E /* RNAWebRTCAppTests.m */, 511 | 00E356F01AD99517003FC87E /* Supporting Files */, 512 | ); 513 | path = RNAWebRTCAppTests; 514 | sourceTree = ""; 515 | }; 516 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 517 | isa = PBXGroup; 518 | children = ( 519 | 00E356F11AD99517003FC87E /* Info.plist */, 520 | ); 521 | name = "Supporting Files"; 522 | sourceTree = ""; 523 | }; 524 | 139105B71AF99BAD00B5F7CC /* Products */ = { 525 | isa = PBXGroup; 526 | children = ( 527 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 528 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 529 | ); 530 | name = Products; 531 | sourceTree = ""; 532 | }; 533 | 139FDEE71B06529A00C62182 /* Products */ = { 534 | isa = PBXGroup; 535 | children = ( 536 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 537 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 538 | ); 539 | name = Products; 540 | sourceTree = ""; 541 | }; 542 | 13B07FAE1A68108700A75B9A /* RNAWebRTCApp */ = { 543 | isa = PBXGroup; 544 | children = ( 545 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 546 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 547 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 548 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 549 | 13B07FB61A68108700A75B9A /* Info.plist */, 550 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 551 | 13B07FB71A68108700A75B9A /* main.m */, 552 | ); 553 | name = RNAWebRTCApp; 554 | sourceTree = ""; 555 | }; 556 | 146834001AC3E56700842450 /* Products */ = { 557 | isa = PBXGroup; 558 | children = ( 559 | 146834041AC3E56700842450 /* libReact.a */, 560 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 561 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 562 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 563 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 564 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 565 | A2FC5A1D230C993F00687DDC /* libjsinspector.a */, 566 | A2FC5A1F230C993F00687DDC /* libjsinspector-tvOS.a */, 567 | A2AFD2EA1F80397E00490368 /* libthird-party.a */, 568 | A2AFD2EC1F80397E00490368 /* libthird-party.a */, 569 | A2AFD2EE1F80397E00490368 /* libdouble-conversion.a */, 570 | A2AFD2F01F80397E00490368 /* libdouble-conversion.a */, 571 | A2FC5A21230C993F00687DDC /* libjsi.a */, 572 | A2FC5A23230C993F00687DDC /* libjsiexecutor.a */, 573 | A2FC5A25230C993F00687DDC /* libjsi-tvOS.a */, 574 | A2FC5A27230C993F00687DDC /* libjsiexecutor-tvOS.a */, 575 | ); 576 | name = Products; 577 | sourceTree = ""; 578 | }; 579 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 580 | isa = PBXGroup; 581 | children = ( 582 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 583 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 584 | ); 585 | name = Products; 586 | sourceTree = ""; 587 | }; 588 | 78C398B11ACF4ADC00677621 /* Products */ = { 589 | isa = PBXGroup; 590 | children = ( 591 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 592 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 593 | ); 594 | name = Products; 595 | sourceTree = ""; 596 | }; 597 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 598 | isa = PBXGroup; 599 | children = ( 600 | A2AFD2941F7FD4CB00490368 /* RCTWebRTC.xcodeproj */, 601 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 602 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 603 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 604 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 605 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 606 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 607 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 608 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 609 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 610 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 611 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 612 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 613 | D14A1AEFE5B147B0AD3642AE /* BVLinearGradient.xcodeproj */, 614 | ); 615 | name = Libraries; 616 | sourceTree = ""; 617 | }; 618 | 832341B11AAA6A8300B99B32 /* Products */ = { 619 | isa = PBXGroup; 620 | children = ( 621 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 622 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 623 | ); 624 | name = Products; 625 | sourceTree = ""; 626 | }; 627 | 83CBB9F61A601CBA00E9B192 = { 628 | isa = PBXGroup; 629 | children = ( 630 | A2AFD2AF1F7FD51A00490368 /* WebRTC.framework */, 631 | 13B07FAE1A68108700A75B9A /* RNAWebRTCApp */, 632 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 633 | 00E356EF1AD99517003FC87E /* RNAWebRTCAppTests */, 634 | 83CBBA001A601CBA00E9B192 /* Products */, 635 | A2AFD2F41F803AE500490368 /* Frameworks */, 636 | A2ACE7711F87A28700A61646 /* Recovered References */, 637 | ); 638 | indentWidth = 2; 639 | sourceTree = ""; 640 | tabWidth = 2; 641 | usesTabs = 0; 642 | }; 643 | 83CBBA001A601CBA00E9B192 /* Products */ = { 644 | isa = PBXGroup; 645 | children = ( 646 | 13B07F961A680F5B00A75B9A /* RNAWebRTCApp.app */, 647 | 00E356EE1AD99517003FC87E /* RNAWebRTCAppTests.xctest */, 648 | 2D02E47B1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS.app */, 649 | 2D02E4901E0B4A5D006451C7 /* RNAWebRTCApp-tvOSTests.xctest */, 650 | ); 651 | name = Products; 652 | sourceTree = ""; 653 | }; 654 | A2ACE7711F87A28700A61646 /* Recovered References */ = { 655 | isa = PBXGroup; 656 | children = ( 657 | FF5BD3873B58448793AF9FEF /* libBVLinearGradient.a */, 658 | ); 659 | name = "Recovered References"; 660 | sourceTree = ""; 661 | }; 662 | A2ACE7921F87A28A00A61646 /* Products */ = { 663 | isa = PBXGroup; 664 | children = ( 665 | A2ACE7971F87A28B00A61646 /* libBVLinearGradient.a */, 666 | A2ACE7991F87A28B00A61646 /* libBVLinearGradient.a */, 667 | ); 668 | name = Products; 669 | sourceTree = ""; 670 | }; 671 | A2AFD2951F7FD4CB00490368 /* Products */ = { 672 | isa = PBXGroup; 673 | children = ( 674 | A2AFD2AC1F7FD4CB00490368 /* libRCTWebRTC.a */, 675 | ); 676 | name = Products; 677 | sourceTree = ""; 678 | }; 679 | A2AFD2F41F803AE500490368 /* Frameworks */ = { 680 | isa = PBXGroup; 681 | children = ( 682 | A2FC5A2C230C9B6000687DDC /* JavaScriptCore.framework */, 683 | A2AFD3071F803B7500490368 /* libstdc++.tbd */, 684 | A2AFD3051F803B6600490368 /* libsqlite3.tbd */, 685 | A2AFD3031F803B5600490368 /* libc.tbd */, 686 | A2AFD3011F803B4800490368 /* VideoToolbox.framework */, 687 | A2AFD2FF1F803B3D00490368 /* CoreVideo.framework */, 688 | A2AFD2FD1F803B3100490368 /* CoreAudio.framework */, 689 | A2AFD2FB1F803B2100490368 /* GLKit.framework */, 690 | A2AFD2F91F803B1300490368 /* CoreGraphics.framework */, 691 | A2AFD2F71F803B0700490368 /* AudioToolbox.framework */, 692 | A2AFD2F51F803AE500490368 /* AVFoundation.framework */, 693 | ); 694 | name = Frameworks; 695 | sourceTree = ""; 696 | }; 697 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 698 | isa = PBXGroup; 699 | children = ( 700 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 701 | A2AFD29D1F7FD4CB00490368 /* libRCTBlob-tvOS.a */, 702 | ); 703 | name = Products; 704 | sourceTree = ""; 705 | }; 706 | /* End PBXGroup section */ 707 | 708 | /* Begin PBXNativeTarget section */ 709 | 00E356ED1AD99517003FC87E /* RNAWebRTCAppTests */ = { 710 | isa = PBXNativeTarget; 711 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNAWebRTCAppTests" */; 712 | buildPhases = ( 713 | 00E356EA1AD99517003FC87E /* Sources */, 714 | 00E356EB1AD99517003FC87E /* Frameworks */, 715 | 00E356EC1AD99517003FC87E /* Resources */, 716 | ); 717 | buildRules = ( 718 | ); 719 | dependencies = ( 720 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 721 | ); 722 | name = RNAWebRTCAppTests; 723 | productName = RNAWebRTCAppTests; 724 | productReference = 00E356EE1AD99517003FC87E /* RNAWebRTCAppTests.xctest */; 725 | productType = "com.apple.product-type.bundle.unit-test"; 726 | }; 727 | 13B07F861A680F5B00A75B9A /* RNAWebRTCApp */ = { 728 | isa = PBXNativeTarget; 729 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAWebRTCApp" */; 730 | buildPhases = ( 731 | 13B07F871A680F5B00A75B9A /* Sources */, 732 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 733 | 13B07F8E1A680F5B00A75B9A /* Resources */, 734 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 735 | A2FC5A2A230C994900687DDC /* Embed Frameworks */, 736 | ); 737 | buildRules = ( 738 | ); 739 | dependencies = ( 740 | ); 741 | name = RNAWebRTCApp; 742 | productName = "Hello World"; 743 | productReference = 13B07F961A680F5B00A75B9A /* RNAWebRTCApp.app */; 744 | productType = "com.apple.product-type.application"; 745 | }; 746 | 2D02E47A1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS */ = { 747 | isa = PBXNativeTarget; 748 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNAWebRTCApp-tvOS" */; 749 | buildPhases = ( 750 | 2D02E4771E0B4A5D006451C7 /* Sources */, 751 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 752 | 2D02E4791E0B4A5D006451C7 /* Resources */, 753 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 754 | ); 755 | buildRules = ( 756 | ); 757 | dependencies = ( 758 | ); 759 | name = "RNAWebRTCApp-tvOS"; 760 | productName = "RNAWebRTCApp-tvOS"; 761 | productReference = 2D02E47B1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS.app */; 762 | productType = "com.apple.product-type.application"; 763 | }; 764 | 2D02E48F1E0B4A5D006451C7 /* RNAWebRTCApp-tvOSTests */ = { 765 | isa = PBXNativeTarget; 766 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNAWebRTCApp-tvOSTests" */; 767 | buildPhases = ( 768 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 769 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 770 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 771 | ); 772 | buildRules = ( 773 | ); 774 | dependencies = ( 775 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 776 | ); 777 | name = "RNAWebRTCApp-tvOSTests"; 778 | productName = "RNAWebRTCApp-tvOSTests"; 779 | productReference = 2D02E4901E0B4A5D006451C7 /* RNAWebRTCApp-tvOSTests.xctest */; 780 | productType = "com.apple.product-type.bundle.unit-test"; 781 | }; 782 | /* End PBXNativeTarget section */ 783 | 784 | /* Begin PBXProject section */ 785 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 786 | isa = PBXProject; 787 | attributes = { 788 | LastUpgradeCheck = 610; 789 | ORGANIZATIONNAME = Facebook; 790 | TargetAttributes = { 791 | 00E356ED1AD99517003FC87E = { 792 | CreatedOnToolsVersion = 6.2; 793 | DevelopmentTeam = V2ZPC86GP8; 794 | TestTargetID = 13B07F861A680F5B00A75B9A; 795 | }; 796 | 13B07F861A680F5B00A75B9A = { 797 | DevelopmentTeam = V2ZPC86GP8; 798 | }; 799 | 2D02E47A1E0B4A5D006451C7 = { 800 | CreatedOnToolsVersion = 8.2.1; 801 | DevelopmentTeam = W943MTSZN7; 802 | ProvisioningStyle = Automatic; 803 | }; 804 | 2D02E48F1E0B4A5D006451C7 = { 805 | CreatedOnToolsVersion = 8.2.1; 806 | DevelopmentTeam = W943MTSZN7; 807 | ProvisioningStyle = Automatic; 808 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 809 | }; 810 | }; 811 | }; 812 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAWebRTCApp" */; 813 | compatibilityVersion = "Xcode 3.2"; 814 | developmentRegion = English; 815 | hasScannedForEncodings = 0; 816 | knownRegions = ( 817 | English, 818 | en, 819 | Base, 820 | ); 821 | mainGroup = 83CBB9F61A601CBA00E9B192; 822 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 823 | projectDirPath = ""; 824 | projectReferences = ( 825 | { 826 | ProductGroup = A2ACE7921F87A28A00A61646 /* Products */; 827 | ProjectRef = D14A1AEFE5B147B0AD3642AE /* BVLinearGradient.xcodeproj */; 828 | }, 829 | { 830 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 831 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 832 | }, 833 | { 834 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 835 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 836 | }, 837 | { 838 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 839 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 840 | }, 841 | { 842 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 843 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 844 | }, 845 | { 846 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 847 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 848 | }, 849 | { 850 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 851 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 852 | }, 853 | { 854 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 855 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 856 | }, 857 | { 858 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 859 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 860 | }, 861 | { 862 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 863 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 864 | }, 865 | { 866 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 867 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 868 | }, 869 | { 870 | ProductGroup = A2AFD2951F7FD4CB00490368 /* Products */; 871 | ProjectRef = A2AFD2941F7FD4CB00490368 /* RCTWebRTC.xcodeproj */; 872 | }, 873 | { 874 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 875 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 876 | }, 877 | { 878 | ProductGroup = 146834001AC3E56700842450 /* Products */; 879 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 880 | }, 881 | ); 882 | projectRoot = ""; 883 | targets = ( 884 | 13B07F861A680F5B00A75B9A /* RNAWebRTCApp */, 885 | 00E356ED1AD99517003FC87E /* RNAWebRTCAppTests */, 886 | 2D02E47A1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS */, 887 | 2D02E48F1E0B4A5D006451C7 /* RNAWebRTCApp-tvOSTests */, 888 | ); 889 | }; 890 | /* End PBXProject section */ 891 | 892 | /* Begin PBXReferenceProxy section */ 893 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 894 | isa = PBXReferenceProxy; 895 | fileType = archive.ar; 896 | path = libRCTActionSheet.a; 897 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 898 | sourceTree = BUILT_PRODUCTS_DIR; 899 | }; 900 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 901 | isa = PBXReferenceProxy; 902 | fileType = archive.ar; 903 | path = libRCTGeolocation.a; 904 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 905 | sourceTree = BUILT_PRODUCTS_DIR; 906 | }; 907 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 908 | isa = PBXReferenceProxy; 909 | fileType = archive.ar; 910 | path = libRCTImage.a; 911 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 912 | sourceTree = BUILT_PRODUCTS_DIR; 913 | }; 914 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 915 | isa = PBXReferenceProxy; 916 | fileType = archive.ar; 917 | path = libRCTNetwork.a; 918 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 919 | sourceTree = BUILT_PRODUCTS_DIR; 920 | }; 921 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 922 | isa = PBXReferenceProxy; 923 | fileType = archive.ar; 924 | path = libRCTVibration.a; 925 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 926 | sourceTree = BUILT_PRODUCTS_DIR; 927 | }; 928 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 929 | isa = PBXReferenceProxy; 930 | fileType = archive.ar; 931 | path = libRCTSettings.a; 932 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 933 | sourceTree = BUILT_PRODUCTS_DIR; 934 | }; 935 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 936 | isa = PBXReferenceProxy; 937 | fileType = archive.ar; 938 | path = libRCTWebSocket.a; 939 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 940 | sourceTree = BUILT_PRODUCTS_DIR; 941 | }; 942 | 146834041AC3E56700842450 /* libReact.a */ = { 943 | isa = PBXReferenceProxy; 944 | fileType = archive.ar; 945 | path = libReact.a; 946 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 947 | sourceTree = BUILT_PRODUCTS_DIR; 948 | }; 949 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 950 | isa = PBXReferenceProxy; 951 | fileType = archive.ar; 952 | path = "libRCTImage-tvOS.a"; 953 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 954 | sourceTree = BUILT_PRODUCTS_DIR; 955 | }; 956 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 957 | isa = PBXReferenceProxy; 958 | fileType = archive.ar; 959 | path = "libRCTLinking-tvOS.a"; 960 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 961 | sourceTree = BUILT_PRODUCTS_DIR; 962 | }; 963 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 964 | isa = PBXReferenceProxy; 965 | fileType = archive.ar; 966 | path = "libRCTNetwork-tvOS.a"; 967 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 968 | sourceTree = BUILT_PRODUCTS_DIR; 969 | }; 970 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 971 | isa = PBXReferenceProxy; 972 | fileType = archive.ar; 973 | path = "libRCTSettings-tvOS.a"; 974 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 975 | sourceTree = BUILT_PRODUCTS_DIR; 976 | }; 977 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 978 | isa = PBXReferenceProxy; 979 | fileType = archive.ar; 980 | path = "libRCTText-tvOS.a"; 981 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 982 | sourceTree = BUILT_PRODUCTS_DIR; 983 | }; 984 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 985 | isa = PBXReferenceProxy; 986 | fileType = archive.ar; 987 | path = "libRCTWebSocket-tvOS.a"; 988 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 989 | sourceTree = BUILT_PRODUCTS_DIR; 990 | }; 991 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 992 | isa = PBXReferenceProxy; 993 | fileType = archive.ar; 994 | path = libReact.a; 995 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 996 | sourceTree = BUILT_PRODUCTS_DIR; 997 | }; 998 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 999 | isa = PBXReferenceProxy; 1000 | fileType = archive.ar; 1001 | path = libyoga.a; 1002 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1003 | sourceTree = BUILT_PRODUCTS_DIR; 1004 | }; 1005 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1006 | isa = PBXReferenceProxy; 1007 | fileType = archive.ar; 1008 | path = libyoga.a; 1009 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1010 | sourceTree = BUILT_PRODUCTS_DIR; 1011 | }; 1012 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1013 | isa = PBXReferenceProxy; 1014 | fileType = archive.ar; 1015 | path = libcxxreact.a; 1016 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1017 | sourceTree = BUILT_PRODUCTS_DIR; 1018 | }; 1019 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1020 | isa = PBXReferenceProxy; 1021 | fileType = archive.ar; 1022 | path = libcxxreact.a; 1023 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1024 | sourceTree = BUILT_PRODUCTS_DIR; 1025 | }; 1026 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1027 | isa = PBXReferenceProxy; 1028 | fileType = archive.ar; 1029 | path = libRCTAnimation.a; 1030 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1031 | sourceTree = BUILT_PRODUCTS_DIR; 1032 | }; 1033 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1034 | isa = PBXReferenceProxy; 1035 | fileType = archive.ar; 1036 | path = libRCTAnimation.a; 1037 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1038 | sourceTree = BUILT_PRODUCTS_DIR; 1039 | }; 1040 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1041 | isa = PBXReferenceProxy; 1042 | fileType = archive.ar; 1043 | path = libRCTLinking.a; 1044 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1045 | sourceTree = BUILT_PRODUCTS_DIR; 1046 | }; 1047 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1048 | isa = PBXReferenceProxy; 1049 | fileType = archive.ar; 1050 | path = libRCTText.a; 1051 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1052 | sourceTree = BUILT_PRODUCTS_DIR; 1053 | }; 1054 | A2ACE7971F87A28B00A61646 /* libBVLinearGradient.a */ = { 1055 | isa = PBXReferenceProxy; 1056 | fileType = archive.ar; 1057 | path = libBVLinearGradient.a; 1058 | remoteRef = A2ACE7961F87A28B00A61646 /* PBXContainerItemProxy */; 1059 | sourceTree = BUILT_PRODUCTS_DIR; 1060 | }; 1061 | A2ACE7991F87A28B00A61646 /* libBVLinearGradient.a */ = { 1062 | isa = PBXReferenceProxy; 1063 | fileType = archive.ar; 1064 | path = libBVLinearGradient.a; 1065 | remoteRef = A2ACE7981F87A28B00A61646 /* PBXContainerItemProxy */; 1066 | sourceTree = BUILT_PRODUCTS_DIR; 1067 | }; 1068 | A2AFD29D1F7FD4CB00490368 /* libRCTBlob-tvOS.a */ = { 1069 | isa = PBXReferenceProxy; 1070 | fileType = archive.ar; 1071 | path = "libRCTBlob-tvOS.a"; 1072 | remoteRef = A2AFD29C1F7FD4CB00490368 /* PBXContainerItemProxy */; 1073 | sourceTree = BUILT_PRODUCTS_DIR; 1074 | }; 1075 | A2AFD2AC1F7FD4CB00490368 /* libRCTWebRTC.a */ = { 1076 | isa = PBXReferenceProxy; 1077 | fileType = archive.ar; 1078 | path = libRCTWebRTC.a; 1079 | remoteRef = A2AFD2AB1F7FD4CB00490368 /* PBXContainerItemProxy */; 1080 | sourceTree = BUILT_PRODUCTS_DIR; 1081 | }; 1082 | A2AFD2EA1F80397E00490368 /* libthird-party.a */ = { 1083 | isa = PBXReferenceProxy; 1084 | fileType = archive.ar; 1085 | path = "libthird-party.a"; 1086 | remoteRef = A2AFD2E91F80397E00490368 /* PBXContainerItemProxy */; 1087 | sourceTree = BUILT_PRODUCTS_DIR; 1088 | }; 1089 | A2AFD2EC1F80397E00490368 /* libthird-party.a */ = { 1090 | isa = PBXReferenceProxy; 1091 | fileType = archive.ar; 1092 | path = "libthird-party.a"; 1093 | remoteRef = A2AFD2EB1F80397E00490368 /* PBXContainerItemProxy */; 1094 | sourceTree = BUILT_PRODUCTS_DIR; 1095 | }; 1096 | A2AFD2EE1F80397E00490368 /* libdouble-conversion.a */ = { 1097 | isa = PBXReferenceProxy; 1098 | fileType = archive.ar; 1099 | path = "libdouble-conversion.a"; 1100 | remoteRef = A2AFD2ED1F80397E00490368 /* PBXContainerItemProxy */; 1101 | sourceTree = BUILT_PRODUCTS_DIR; 1102 | }; 1103 | A2AFD2F01F80397E00490368 /* libdouble-conversion.a */ = { 1104 | isa = PBXReferenceProxy; 1105 | fileType = archive.ar; 1106 | path = "libdouble-conversion.a"; 1107 | remoteRef = A2AFD2EF1F80397E00490368 /* PBXContainerItemProxy */; 1108 | sourceTree = BUILT_PRODUCTS_DIR; 1109 | }; 1110 | A2FC5A1D230C993F00687DDC /* libjsinspector.a */ = { 1111 | isa = PBXReferenceProxy; 1112 | fileType = archive.ar; 1113 | path = libjsinspector.a; 1114 | remoteRef = A2FC5A1C230C993F00687DDC /* PBXContainerItemProxy */; 1115 | sourceTree = BUILT_PRODUCTS_DIR; 1116 | }; 1117 | A2FC5A1F230C993F00687DDC /* libjsinspector-tvOS.a */ = { 1118 | isa = PBXReferenceProxy; 1119 | fileType = archive.ar; 1120 | path = "libjsinspector-tvOS.a"; 1121 | remoteRef = A2FC5A1E230C993F00687DDC /* PBXContainerItemProxy */; 1122 | sourceTree = BUILT_PRODUCTS_DIR; 1123 | }; 1124 | A2FC5A21230C993F00687DDC /* libjsi.a */ = { 1125 | isa = PBXReferenceProxy; 1126 | fileType = archive.ar; 1127 | path = libjsi.a; 1128 | remoteRef = A2FC5A20230C993F00687DDC /* PBXContainerItemProxy */; 1129 | sourceTree = BUILT_PRODUCTS_DIR; 1130 | }; 1131 | A2FC5A23230C993F00687DDC /* libjsiexecutor.a */ = { 1132 | isa = PBXReferenceProxy; 1133 | fileType = archive.ar; 1134 | path = libjsiexecutor.a; 1135 | remoteRef = A2FC5A22230C993F00687DDC /* PBXContainerItemProxy */; 1136 | sourceTree = BUILT_PRODUCTS_DIR; 1137 | }; 1138 | A2FC5A25230C993F00687DDC /* libjsi-tvOS.a */ = { 1139 | isa = PBXReferenceProxy; 1140 | fileType = archive.ar; 1141 | path = "libjsi-tvOS.a"; 1142 | remoteRef = A2FC5A24230C993F00687DDC /* PBXContainerItemProxy */; 1143 | sourceTree = BUILT_PRODUCTS_DIR; 1144 | }; 1145 | A2FC5A27230C993F00687DDC /* libjsiexecutor-tvOS.a */ = { 1146 | isa = PBXReferenceProxy; 1147 | fileType = archive.ar; 1148 | path = "libjsiexecutor-tvOS.a"; 1149 | remoteRef = A2FC5A26230C993F00687DDC /* PBXContainerItemProxy */; 1150 | sourceTree = BUILT_PRODUCTS_DIR; 1151 | }; 1152 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1153 | isa = PBXReferenceProxy; 1154 | fileType = archive.ar; 1155 | path = libRCTBlob.a; 1156 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1157 | sourceTree = BUILT_PRODUCTS_DIR; 1158 | }; 1159 | /* End PBXReferenceProxy section */ 1160 | 1161 | /* Begin PBXResourcesBuildPhase section */ 1162 | 00E356EC1AD99517003FC87E /* Resources */ = { 1163 | isa = PBXResourcesBuildPhase; 1164 | buildActionMask = 2147483647; 1165 | files = ( 1166 | ); 1167 | runOnlyForDeploymentPostprocessing = 0; 1168 | }; 1169 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1170 | isa = PBXResourcesBuildPhase; 1171 | buildActionMask = 2147483647; 1172 | files = ( 1173 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1174 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1175 | ); 1176 | runOnlyForDeploymentPostprocessing = 0; 1177 | }; 1178 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1179 | isa = PBXResourcesBuildPhase; 1180 | buildActionMask = 2147483647; 1181 | files = ( 1182 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1183 | ); 1184 | runOnlyForDeploymentPostprocessing = 0; 1185 | }; 1186 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1187 | isa = PBXResourcesBuildPhase; 1188 | buildActionMask = 2147483647; 1189 | files = ( 1190 | ); 1191 | runOnlyForDeploymentPostprocessing = 0; 1192 | }; 1193 | /* End PBXResourcesBuildPhase section */ 1194 | 1195 | /* Begin PBXShellScriptBuildPhase section */ 1196 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1197 | isa = PBXShellScriptBuildPhase; 1198 | buildActionMask = 2147483647; 1199 | files = ( 1200 | ); 1201 | inputPaths = ( 1202 | ); 1203 | name = "Bundle React Native code and images"; 1204 | outputPaths = ( 1205 | ); 1206 | runOnlyForDeploymentPostprocessing = 0; 1207 | shellPath = /bin/sh; 1208 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1209 | }; 1210 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1211 | isa = PBXShellScriptBuildPhase; 1212 | buildActionMask = 2147483647; 1213 | files = ( 1214 | ); 1215 | inputPaths = ( 1216 | ); 1217 | name = "Bundle React Native Code And Images"; 1218 | outputPaths = ( 1219 | ); 1220 | runOnlyForDeploymentPostprocessing = 0; 1221 | shellPath = /bin/sh; 1222 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1223 | }; 1224 | /* End PBXShellScriptBuildPhase section */ 1225 | 1226 | /* Begin PBXSourcesBuildPhase section */ 1227 | 00E356EA1AD99517003FC87E /* Sources */ = { 1228 | isa = PBXSourcesBuildPhase; 1229 | buildActionMask = 2147483647; 1230 | files = ( 1231 | 00E356F31AD99517003FC87E /* RNAWebRTCAppTests.m in Sources */, 1232 | ); 1233 | runOnlyForDeploymentPostprocessing = 0; 1234 | }; 1235 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1236 | isa = PBXSourcesBuildPhase; 1237 | buildActionMask = 2147483647; 1238 | files = ( 1239 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1240 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1241 | ); 1242 | runOnlyForDeploymentPostprocessing = 0; 1243 | }; 1244 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1245 | isa = PBXSourcesBuildPhase; 1246 | buildActionMask = 2147483647; 1247 | files = ( 1248 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1249 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1250 | ); 1251 | runOnlyForDeploymentPostprocessing = 0; 1252 | }; 1253 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1254 | isa = PBXSourcesBuildPhase; 1255 | buildActionMask = 2147483647; 1256 | files = ( 1257 | 2DCD954D1E0B4F2C00145EB5 /* RNAWebRTCAppTests.m in Sources */, 1258 | ); 1259 | runOnlyForDeploymentPostprocessing = 0; 1260 | }; 1261 | /* End PBXSourcesBuildPhase section */ 1262 | 1263 | /* Begin PBXTargetDependency section */ 1264 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1265 | isa = PBXTargetDependency; 1266 | target = 13B07F861A680F5B00A75B9A /* RNAWebRTCApp */; 1267 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1268 | }; 1269 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1270 | isa = PBXTargetDependency; 1271 | target = 2D02E47A1E0B4A5D006451C7 /* RNAWebRTCApp-tvOS */; 1272 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1273 | }; 1274 | /* End PBXTargetDependency section */ 1275 | 1276 | /* Begin PBXVariantGroup section */ 1277 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1278 | isa = PBXVariantGroup; 1279 | children = ( 1280 | 13B07FB21A68108700A75B9A /* Base */, 1281 | ); 1282 | name = LaunchScreen.xib; 1283 | path = RNAWebRTCApp; 1284 | sourceTree = ""; 1285 | }; 1286 | /* End PBXVariantGroup section */ 1287 | 1288 | /* Begin XCBuildConfiguration section */ 1289 | 00E356F61AD99517003FC87E /* Debug */ = { 1290 | isa = XCBuildConfiguration; 1291 | buildSettings = { 1292 | BUNDLE_LOADER = "$(TEST_HOST)"; 1293 | DEVELOPMENT_TEAM = V2ZPC86GP8; 1294 | GCC_PREPROCESSOR_DEFINITIONS = ( 1295 | "DEBUG=1", 1296 | "$(inherited)", 1297 | ); 1298 | HEADER_SEARCH_PATHS = ( 1299 | "$(inherited)", 1300 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1301 | ); 1302 | INFOPLIST_FILE = RNAWebRTCAppTests/Info.plist; 1303 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1304 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1305 | LIBRARY_SEARCH_PATHS = ( 1306 | "$(inherited)", 1307 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1308 | ); 1309 | OTHER_LDFLAGS = ( 1310 | "-ObjC", 1311 | "-lc++", 1312 | ); 1313 | PRODUCT_NAME = "$(TARGET_NAME)"; 1314 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAWebRTCApp.app/RNAWebRTCApp"; 1315 | }; 1316 | name = Debug; 1317 | }; 1318 | 00E356F71AD99517003FC87E /* Release */ = { 1319 | isa = XCBuildConfiguration; 1320 | buildSettings = { 1321 | BUNDLE_LOADER = "$(TEST_HOST)"; 1322 | COPY_PHASE_STRIP = NO; 1323 | DEVELOPMENT_TEAM = V2ZPC86GP8; 1324 | HEADER_SEARCH_PATHS = ( 1325 | "$(inherited)", 1326 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1327 | ); 1328 | INFOPLIST_FILE = RNAWebRTCAppTests/Info.plist; 1329 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1330 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1331 | LIBRARY_SEARCH_PATHS = ( 1332 | "$(inherited)", 1333 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1334 | ); 1335 | OTHER_LDFLAGS = ( 1336 | "-ObjC", 1337 | "-lc++", 1338 | ); 1339 | PRODUCT_NAME = "$(TARGET_NAME)"; 1340 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAWebRTCApp.app/RNAWebRTCApp"; 1341 | }; 1342 | name = Release; 1343 | }; 1344 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1345 | isa = XCBuildConfiguration; 1346 | buildSettings = { 1347 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1348 | CURRENT_PROJECT_VERSION = 1; 1349 | DEAD_CODE_STRIPPING = NO; 1350 | DEVELOPMENT_TEAM = V2ZPC86GP8; 1351 | ENABLE_BITCODE = NO; 1352 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/**"; 1353 | HEADER_SEARCH_PATHS = ( 1354 | "$(inherited)", 1355 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1356 | ); 1357 | INFOPLIST_FILE = RNAWebRTCApp/Info.plist; 1358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1359 | LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/**"; 1360 | NEW_SETTING = ""; 1361 | OTHER_LDFLAGS = ( 1362 | "$(inherited)", 1363 | "-ObjC", 1364 | "-lc++", 1365 | ); 1366 | PRODUCT_NAME = RNAWebRTCApp; 1367 | TARGETED_DEVICE_FAMILY = 1; 1368 | VERSIONING_SYSTEM = "apple-generic"; 1369 | }; 1370 | name = Debug; 1371 | }; 1372 | 13B07F951A680F5B00A75B9A /* Release */ = { 1373 | isa = XCBuildConfiguration; 1374 | buildSettings = { 1375 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1376 | CURRENT_PROJECT_VERSION = 1; 1377 | DEVELOPMENT_TEAM = V2ZPC86GP8; 1378 | ENABLE_BITCODE = NO; 1379 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/**"; 1380 | HEADER_SEARCH_PATHS = ( 1381 | "$(inherited)", 1382 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1383 | ); 1384 | INFOPLIST_FILE = RNAWebRTCApp/Info.plist; 1385 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1386 | LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native-webrtc/**"; 1387 | NEW_SETTING = ""; 1388 | OTHER_LDFLAGS = ( 1389 | "$(inherited)", 1390 | "-ObjC", 1391 | "-lc++", 1392 | ); 1393 | PRODUCT_NAME = RNAWebRTCApp; 1394 | TARGETED_DEVICE_FAMILY = 1; 1395 | VERSIONING_SYSTEM = "apple-generic"; 1396 | }; 1397 | name = Release; 1398 | }; 1399 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1400 | isa = XCBuildConfiguration; 1401 | buildSettings = { 1402 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1403 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1404 | CLANG_ANALYZER_NONNULL = YES; 1405 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1406 | CLANG_WARN_INFINITE_RECURSION = YES; 1407 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1408 | DEBUG_INFORMATION_FORMAT = dwarf; 1409 | ENABLE_TESTABILITY = YES; 1410 | GCC_NO_COMMON_BLOCKS = YES; 1411 | HEADER_SEARCH_PATHS = ( 1412 | "$(inherited)", 1413 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1414 | ); 1415 | INFOPLIST_FILE = "RNAWebRTCApp-tvOS/Info.plist"; 1416 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1417 | LIBRARY_SEARCH_PATHS = ( 1418 | "$(inherited)", 1419 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1420 | ); 1421 | OTHER_LDFLAGS = ( 1422 | "-ObjC", 1423 | "-lc++", 1424 | ); 1425 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNAWebRTCApp-tvOS"; 1426 | PRODUCT_NAME = "$(TARGET_NAME)"; 1427 | SDKROOT = appletvos; 1428 | TARGETED_DEVICE_FAMILY = 3; 1429 | TVOS_DEPLOYMENT_TARGET = 9.2; 1430 | }; 1431 | name = Debug; 1432 | }; 1433 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1434 | isa = XCBuildConfiguration; 1435 | buildSettings = { 1436 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1437 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1438 | CLANG_ANALYZER_NONNULL = YES; 1439 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1440 | CLANG_WARN_INFINITE_RECURSION = YES; 1441 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1442 | COPY_PHASE_STRIP = NO; 1443 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1444 | GCC_NO_COMMON_BLOCKS = YES; 1445 | HEADER_SEARCH_PATHS = ( 1446 | "$(inherited)", 1447 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1448 | ); 1449 | INFOPLIST_FILE = "RNAWebRTCApp-tvOS/Info.plist"; 1450 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1451 | LIBRARY_SEARCH_PATHS = ( 1452 | "$(inherited)", 1453 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1454 | ); 1455 | OTHER_LDFLAGS = ( 1456 | "-ObjC", 1457 | "-lc++", 1458 | ); 1459 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNAWebRTCApp-tvOS"; 1460 | PRODUCT_NAME = "$(TARGET_NAME)"; 1461 | SDKROOT = appletvos; 1462 | TARGETED_DEVICE_FAMILY = 3; 1463 | TVOS_DEPLOYMENT_TARGET = 9.2; 1464 | }; 1465 | name = Release; 1466 | }; 1467 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1468 | isa = XCBuildConfiguration; 1469 | buildSettings = { 1470 | BUNDLE_LOADER = "$(TEST_HOST)"; 1471 | CLANG_ANALYZER_NONNULL = YES; 1472 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1473 | CLANG_WARN_INFINITE_RECURSION = YES; 1474 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1475 | DEBUG_INFORMATION_FORMAT = dwarf; 1476 | ENABLE_TESTABILITY = YES; 1477 | GCC_NO_COMMON_BLOCKS = YES; 1478 | INFOPLIST_FILE = "RNAWebRTCApp-tvOSTests/Info.plist"; 1479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1480 | LIBRARY_SEARCH_PATHS = ( 1481 | "$(inherited)", 1482 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1483 | ); 1484 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNAWebRTCApp-tvOSTests"; 1485 | PRODUCT_NAME = "$(TARGET_NAME)"; 1486 | SDKROOT = appletvos; 1487 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAWebRTCApp-tvOS.app/RNAWebRTCApp-tvOS"; 1488 | TVOS_DEPLOYMENT_TARGET = 10.1; 1489 | }; 1490 | name = Debug; 1491 | }; 1492 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1493 | isa = XCBuildConfiguration; 1494 | buildSettings = { 1495 | BUNDLE_LOADER = "$(TEST_HOST)"; 1496 | CLANG_ANALYZER_NONNULL = YES; 1497 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1498 | CLANG_WARN_INFINITE_RECURSION = YES; 1499 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1500 | COPY_PHASE_STRIP = NO; 1501 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1502 | GCC_NO_COMMON_BLOCKS = YES; 1503 | INFOPLIST_FILE = "RNAWebRTCApp-tvOSTests/Info.plist"; 1504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1505 | LIBRARY_SEARCH_PATHS = ( 1506 | "$(inherited)", 1507 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1508 | ); 1509 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNAWebRTCApp-tvOSTests"; 1510 | PRODUCT_NAME = "$(TARGET_NAME)"; 1511 | SDKROOT = appletvos; 1512 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNAWebRTCApp-tvOS.app/RNAWebRTCApp-tvOS"; 1513 | TVOS_DEPLOYMENT_TARGET = 10.1; 1514 | }; 1515 | name = Release; 1516 | }; 1517 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1518 | isa = XCBuildConfiguration; 1519 | buildSettings = { 1520 | ALWAYS_SEARCH_USER_PATHS = NO; 1521 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1522 | CLANG_CXX_LIBRARY = "libc++"; 1523 | CLANG_ENABLE_MODULES = YES; 1524 | CLANG_ENABLE_OBJC_ARC = YES; 1525 | CLANG_WARN_BOOL_CONVERSION = YES; 1526 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1527 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1528 | CLANG_WARN_EMPTY_BODY = YES; 1529 | CLANG_WARN_ENUM_CONVERSION = YES; 1530 | CLANG_WARN_INT_CONVERSION = YES; 1531 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1532 | CLANG_WARN_UNREACHABLE_CODE = YES; 1533 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1534 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1535 | COPY_PHASE_STRIP = NO; 1536 | DEVELOPMENT_TEAM = W943MTSZN7; 1537 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1538 | GCC_C_LANGUAGE_STANDARD = gnu99; 1539 | GCC_DYNAMIC_NO_PIC = NO; 1540 | GCC_OPTIMIZATION_LEVEL = 0; 1541 | GCC_PREPROCESSOR_DEFINITIONS = ( 1542 | "DEBUG=1", 1543 | "$(inherited)", 1544 | ); 1545 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1546 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1547 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1548 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1549 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1550 | GCC_WARN_UNUSED_FUNCTION = YES; 1551 | GCC_WARN_UNUSED_VARIABLE = YES; 1552 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1553 | MTL_ENABLE_DEBUG_INFO = YES; 1554 | ONLY_ACTIVE_ARCH = YES; 1555 | SDKROOT = iphoneos; 1556 | }; 1557 | name = Debug; 1558 | }; 1559 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1560 | isa = XCBuildConfiguration; 1561 | buildSettings = { 1562 | ALWAYS_SEARCH_USER_PATHS = NO; 1563 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1564 | CLANG_CXX_LIBRARY = "libc++"; 1565 | CLANG_ENABLE_MODULES = YES; 1566 | CLANG_ENABLE_OBJC_ARC = YES; 1567 | CLANG_WARN_BOOL_CONVERSION = YES; 1568 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1569 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1570 | CLANG_WARN_EMPTY_BODY = YES; 1571 | CLANG_WARN_ENUM_CONVERSION = YES; 1572 | CLANG_WARN_INT_CONVERSION = YES; 1573 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1574 | CLANG_WARN_UNREACHABLE_CODE = YES; 1575 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1576 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1577 | COPY_PHASE_STRIP = YES; 1578 | DEVELOPMENT_TEAM = W943MTSZN7; 1579 | ENABLE_NS_ASSERTIONS = NO; 1580 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1581 | GCC_C_LANGUAGE_STANDARD = gnu99; 1582 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1583 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1584 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1585 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1586 | GCC_WARN_UNUSED_FUNCTION = YES; 1587 | GCC_WARN_UNUSED_VARIABLE = YES; 1588 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1589 | MTL_ENABLE_DEBUG_INFO = NO; 1590 | SDKROOT = iphoneos; 1591 | VALIDATE_PRODUCT = YES; 1592 | }; 1593 | name = Release; 1594 | }; 1595 | /* End XCBuildConfiguration section */ 1596 | 1597 | /* Begin XCConfigurationList section */ 1598 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNAWebRTCAppTests" */ = { 1599 | isa = XCConfigurationList; 1600 | buildConfigurations = ( 1601 | 00E356F61AD99517003FC87E /* Debug */, 1602 | 00E356F71AD99517003FC87E /* Release */, 1603 | ); 1604 | defaultConfigurationIsVisible = 0; 1605 | defaultConfigurationName = Release; 1606 | }; 1607 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAWebRTCApp" */ = { 1608 | isa = XCConfigurationList; 1609 | buildConfigurations = ( 1610 | 13B07F941A680F5B00A75B9A /* Debug */, 1611 | 13B07F951A680F5B00A75B9A /* Release */, 1612 | ); 1613 | defaultConfigurationIsVisible = 0; 1614 | defaultConfigurationName = Release; 1615 | }; 1616 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNAWebRTCApp-tvOS" */ = { 1617 | isa = XCConfigurationList; 1618 | buildConfigurations = ( 1619 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1620 | 2D02E4981E0B4A5E006451C7 /* Release */, 1621 | ); 1622 | defaultConfigurationIsVisible = 0; 1623 | defaultConfigurationName = Release; 1624 | }; 1625 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNAWebRTCApp-tvOSTests" */ = { 1626 | isa = XCConfigurationList; 1627 | buildConfigurations = ( 1628 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1629 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1630 | ); 1631 | defaultConfigurationIsVisible = 0; 1632 | defaultConfigurationName = Release; 1633 | }; 1634 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAWebRTCApp" */ = { 1635 | isa = XCConfigurationList; 1636 | buildConfigurations = ( 1637 | 83CBBA201A601CBA00E9B192 /* Debug */, 1638 | 83CBBA211A601CBA00E9B192 /* Release */, 1639 | ); 1640 | defaultConfigurationIsVisible = 0; 1641 | defaultConfigurationName = Release; 1642 | }; 1643 | /* End XCConfigurationList section */ 1644 | }; 1645 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1646 | } 1647 | --------------------------------------------------------------------------------