├── .yalcignore ├── example ├── .watchmanconfig ├── .gitattributes ├── app.json ├── babel.config.js ├── android │ ├── app │ │ ├── src │ │ │ └── main │ │ │ │ ├── res │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── assets │ │ │ │ └── fonts │ │ │ │ │ ├── Entypo.ttf │ │ │ │ │ ├── Zocial.ttf │ │ │ │ │ ├── Feather.ttf │ │ │ │ │ ├── Ionicons.ttf │ │ │ │ │ ├── Octicons.ttf │ │ │ │ │ ├── AntDesign.ttf │ │ │ │ │ ├── EvilIcons.ttf │ │ │ │ │ ├── FontAwesome.ttf │ │ │ │ │ ├── Foundation.ttf │ │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ │ ├── FontAwesome5_Solid.ttf │ │ │ │ │ ├── FontAwesome5_Brands.ttf │ │ │ │ │ ├── FontAwesome5_Regular.ttf │ │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ │ └── AndroidManifest.xml │ │ ├── build_defs.bzl │ │ ├── proguard-rules.pro │ │ ├── BUCK │ │ └── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── keystores │ │ ├── debug.keystore.properties │ │ └── BUCK │ ├── settings.gradle │ ├── gradle.properties │ ├── build.gradle │ ├── gradlew.bat │ └── gradlew ├── ios │ ├── example │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── AppDelegate.h │ │ ├── main.m │ │ ├── AppDelegate.m │ │ ├── Info.plist │ │ └── Base.lproj │ │ │ └── LaunchScreen.xib │ ├── exampleTests │ │ ├── Info.plist │ │ └── exampleTests.m │ ├── example-tvOSTests │ │ └── Info.plist │ ├── example-tvOS │ │ └── Info.plist │ └── example.xcodeproj │ │ ├── xcshareddata │ │ └── xcschemes │ │ │ ├── example.xcscheme │ │ │ └── example-tvOS.xcscheme │ │ └── project.pbxproj ├── .buckconfig ├── index.js ├── __tests__ │ └── App.js ├── package.json ├── .gitignore ├── .flowconfig └── App.js ├── .gitignore ├── .npmignore ├── src ├── index.js ├── utils │ ├── index.js │ ├── store.js │ └── data.js └── components │ └── picker │ ├── search-bar.js │ ├── search-content.js │ ├── style.js │ ├── index.js │ ├── picker-modal.js │ └── category-content.js ├── .editorconfig ├── global-mocks.js ├── .eslintrc.json ├── .travis.yml ├── LICENSE ├── _tests_ └── utils.test.js ├── rollup.config.js ├── package.json └── README.md /.yalcignore: -------------------------------------------------------------------------------- 1 | example 2 | -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "displayName": "example" 4 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | dist 4 | .DS_Store 5 | .vscode 6 | *.log 7 | coverage 8 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | dist 4 | .DS_Store 5 | .vscode 6 | *.log 7 | coverage 8 | example 9 | -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | example 3 | 4 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | export { default as Picker } from './components/picker'; 2 | export { default as PickerModal } from './components/picker/picker-modal'; 3 | -------------------------------------------------------------------------------- /example/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_size = 2 6 | end_of_line = lf 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pritishvaidya/react-native-slack-emoji/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /global-mocks.js: -------------------------------------------------------------------------------- 1 | const fetchPolifill = require('whatwg-fetch'); 2 | 3 | global.fetch = fetchPolifill.fetch; 4 | global.Request = fetchPolifill.Request; 5 | global.Headers = fetchPolifill.Headers; 6 | global.Response = fetchPolifill.Response; 7 | -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip 6 | -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | * @lint-ignore-every XPLATJSCOPYRIGHT1 4 | */ 5 | 6 | import { AppRegistry } from 'react-native'; 7 | import App from './App'; 8 | import { name as appName } from './app.json'; 9 | 10 | AppRegistry.registerComponent(appName, () => App); 11 | -------------------------------------------------------------------------------- /example/__tests__/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | * @lint-ignore-every XPLATJSCOPYRIGHT1 4 | */ 5 | 6 | import 'react-native'; 7 | import React from 'react'; 8 | import renderer from 'react-test-renderer'; 9 | import App from '../App'; 10 | 11 | // Note: test renderer must be required after react-native. 12 | 13 | it('renders correctly', () => { 14 | renderer.create(); 15 | }); 16 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example; 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 "example"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/ios/example/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- 1 | /*eslint-disable*/ 2 | const charFromUtf16 = utf16 => String.fromCodePoint(...utf16.split('-').map(u => `0x${u}`)); 3 | 4 | function deepMerge(a, b) { 5 | const o = {}; 6 | 7 | for (const key in a) { 8 | const originalValue = a[key]; 9 | 10 | 11 | let value = originalValue; 12 | 13 | if (b.hasOwnProperty(key)) { 14 | value = b[key]; 15 | } 16 | 17 | if (typeof value === 'object') { 18 | value = deepMerge(originalValue, value); 19 | } 20 | 21 | o[key] = value; 22 | } 23 | 24 | return o; 25 | } 26 | 27 | export { 28 | charFromUtf16, 29 | deepMerge, 30 | }; 31 | -------------------------------------------------------------------------------- /example/android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /example/ios/exampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 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 | "clear-cache": "watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && npm start -- --reset-cache" 9 | }, 10 | "dependencies": { 11 | "react": "16.6.3", 12 | "react-native": "0.58.3", 13 | "react-native-vector-icons": "^6.2.0", 14 | "react-native-slack-emoji": "*" 15 | }, 16 | "devDependencies": { 17 | "babel-core": "^7.0.0-bridge.0", 18 | "babel-jest": "24.0.0", 19 | "jest": "24.0.0", 20 | "metro-react-native-babel-preset": "0.51.1", 21 | "react-test-renderer": "16.6.3" 22 | }, 23 | "jest": { 24 | "preset": "react-native" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /example/ios/example-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 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb", 3 | "parser": "babel-eslint", 4 | "plugins": [ 5 | "react-native", 6 | "jest" 7 | ], 8 | "env": { 9 | "jest": true 10 | }, 11 | "rules": { 12 | "react/jsx-no-bind": "off", 13 | "react/no-string-refs": "off", 14 | "no-underscore-dangle": "off", 15 | "no-unused-vars": ["error", { "argsIgnorePattern": "(state|dispatch)" }], 16 | "new-cap": ["error", {"capIsNewExceptions": ["Immutable"]}], 17 | "import/no-extraneous-dependencies": "off", 18 | "no-console": "off", 19 | "react/jsx-filename-extension": "off", 20 | "global-require": "off", 21 | "no-alert": "off", 22 | "react/forbid-prop-types": "off", 23 | "class-methods-use-this": "off", 24 | "react/no-unused-prop-types": "warn", 25 | "react/prefer-stateless-function": ["error", {"ignorePureComponents": true}], 26 | "react/require-default-props": "off" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 10 4 | - 8 5 | addons: 6 | code_climate: 7 | repo_token: 8 | secure: "1nO1gyhDyN3RssQ8hvgEb/BI4s47iSO/jVC5jQoz3/8MjV/tYNWp94GtzmYCYqUi3+OdLeTf9HvQvly3CEHqC0wdOkwQpJBFtfRNFVwvZsge5yTjmPjPPZ+dcB3cDi9kFgx+OdG7oPAtoor5ni5MPKWuTFPXD6bErqOXYG3nJvw3/VzoZUSO1aUzQjb1c1pEfNDdFVDSV1ejsAgj7HH81ORAZGqMTauIJBb96zFbN9hekrK18YxUp+4ui8T22e/fMVx+SMXrQ19AHgG725HDXGbPh8QxwLIoJElX1wCM9k9iQ6iEQY9KNqU0lOOvZU0k2b8aV5X6O+tbx+w6V7YhhQ1/LC7y53Rw98UhrAXte8nWLmHKIHIP0l5p4TqEWjK4nO4iIpgKpo34JC2WV+stmSoc/K4B9RUXvmxihZM4ZWqb66APgp/8FpJkPfCKfOGlnWMs8hpn40bpOWwPoYDR4RPTSV0OTpASzVbK2UyxzAWU9ZmvGbdDeHiGCHw46qaJhA3zE0GvYKv+XgYaRJQAf/m9sgvsQ3cMP+VM6bJidURYVThgU1JcQxrQbUqoU6Je55Iw4n2Yhsng8fByowBwLBw2Ll+h2lQMnPC6lDX+cdB36KROMpnAwgyKE7/cTeGjkE7LfgXYnALUaa0PiTMEK9rgE8sPCclz2tKovKVlGCI=" 9 | script: npm run test:coverage 10 | before_script: 11 | - npm install codeclimate-test-reporter -g 12 | after_script: 13 | - codeclimate-test-reporter < ./coverage/lcov.info 14 | notifications: 15 | email: 16 | recipients: 17 | - pritishvaidya94@gmail.com 18 | on_success: never 19 | on_failure: always 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Pritish 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.2" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 27 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.2.1' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | 35 | 36 | task wrapper(type: Wrapper) { 37 | gradleVersion = '4.7' 38 | distributionUrl = distributionUrl.replace("bin", "all") 39 | } 40 | -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 14 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/components/picker/search-bar.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | View, TextInput, TouchableOpacity, Text, 4 | } from 'react-native'; 5 | import PropTypes from 'prop-types'; 6 | import Ionicons from 'react-native-vector-icons/Ionicons'; 7 | 8 | import style from './style'; 9 | 10 | function SearchBar({ 11 | onChangeText, placeholder, placeholderTextColor, cancel, 12 | }) { 13 | return ( 14 | 15 | 16 | 23 | 24 | Cancel 25 | 26 | 27 | ); 28 | } 29 | 30 | SearchBar.defaultProps = { 31 | placeholder: 'Search', 32 | placeholderTextColor: '#b7b7b7', 33 | }; 34 | 35 | SearchBar.propTypes = { 36 | onChangeText: PropTypes.func.isRequired, 37 | placeholder: PropTypes.string, 38 | placeholderTextColor: PropTypes.string, 39 | cancel: PropTypes.func.isRequired, 40 | }; 41 | 42 | export default SearchBar; 43 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"example" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [UIColor blackColor]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.oblador.vectoricons.VectorIconsPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new VectorIconsPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/utils/store.js: -------------------------------------------------------------------------------- 1 | import { AsyncStorage } from 'react-native'; 2 | 3 | const DEFAULTS = [ 4 | '+1', 5 | 'grinning', 6 | 'kissing_heart', 7 | 'heart_eyes', 8 | 'laughing', 9 | 'stuck_out_tongue_winking_eye', 10 | 'sweat_smile', 11 | 'joy', 12 | 'scream', 13 | 'disappointed', 14 | 'unamused', 15 | 'weary', 16 | 'sob', 17 | 'sunglasses', 18 | 'heart', 19 | ]; 20 | 21 | const KEY = 'react-native-slack-emoji/RECENT'; 22 | 23 | const MAX_RECENT_LENGTH = 15; 24 | 25 | let items; let 26 | initialized; 27 | 28 | async function init() { 29 | initialized = true; 30 | const storageItems = await AsyncStorage.getItem(KEY); 31 | if (!storageItems) { 32 | items = DEFAULTS; 33 | await AsyncStorage.setItem(KEY, JSON.stringify(items)); 34 | } else { 35 | items = JSON.parse(storageItems); 36 | } 37 | } 38 | 39 | async function addEmoji(emoji) { 40 | if (!initialized) { 41 | await init(); 42 | } 43 | const updatedArray = [...items]; 44 | const emojiIndex = updatedArray.indexOf(emoji); 45 | if (emojiIndex !== -1) { 46 | updatedArray.unshift(updatedArray.splice(emojiIndex, 1)[0]); 47 | } else { 48 | updatedArray.unshift(emoji); 49 | } 50 | items = updatedArray.slice(0, MAX_RECENT_LENGTH); 51 | await AsyncStorage.setItem(KEY, JSON.stringify(items)); 52 | return items; 53 | } 54 | 55 | async function getEmoji() { 56 | if (!initialized) { 57 | await init(); 58 | } 59 | return items; 60 | } 61 | 62 | export { addEmoji, getEmoji }; 63 | -------------------------------------------------------------------------------- /_tests_/utils.test.js: -------------------------------------------------------------------------------- 1 | import { charFromUtf16, deepMerge } from '../src/utils'; 2 | 3 | describe('Testing Utility functions', () => { 4 | describe('index utility method', () => { 5 | describe('charFromUtf16 returns the emoji', () => { 6 | it('should convert from unicode to emoji', () => { 7 | const unicode = '1F600'; 8 | expect( 9 | charFromUtf16(unicode), 10 | ).toBe('😀'); 11 | }); 12 | }); 13 | 14 | describe('charFromUtf16 returns the emoji', () => { 15 | it('should convert from unicode to emoji', () => { 16 | const unicode = '1F600'; 17 | expect( 18 | charFromUtf16(unicode), 19 | ).toBe('😀'); 20 | }); 21 | }); 22 | 23 | describe('deepMerge the object', () => { 24 | const object1 = { test: { object1: 'Object Test 1' } }; 25 | const object2 = { test: { object2: 'Object Test 2' } }; 26 | 27 | const object3 = { test: 'Object Test 3' }; 28 | const object4 = { test: 'Object Test 4' }; 29 | 30 | const mergedObject = { test: { object1: 'Object Test 1' } }; 31 | const mergedObject2 = { test: 'Object Test 4' }; 32 | it('should be able to deep merge objects', () => { 33 | expect( 34 | deepMerge(object1, object2), 35 | ).toMatchObject(mergedObject); 36 | }); 37 | 38 | it('should be able to shallow merge objects', () => { 39 | expect( 40 | deepMerge(object3, object4), 41 | ).toMatchObject(mergedObject2); 42 | }); 43 | }); 44 | }); 45 | }); 46 | -------------------------------------------------------------------------------- /example/android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.example", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.example", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /src/components/picker/search-content.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | ScrollView, Text, TouchableHighlight, View, 4 | } from 'react-native'; 5 | import PropTypes from 'prop-types'; 6 | 7 | import { charFromUtf16 } from '../../utils'; 8 | 9 | import style from './style'; 10 | 11 | function SearchContent({ 12 | onSelect, emojis, data, i18n, searchText, 13 | }) { 14 | if (!emojis.length) { 15 | return ( 16 | 17 | {i18n.notFound} 18 | {`"${searchText}"`} 19 | 20 | ); 21 | } 22 | 23 | return ( 24 | 25 | {emojis.map((filteredEmoji) => { 26 | const emoji = charFromUtf16(data.emojis[filteredEmoji].unified); 27 | return ( 28 | onSelect(emoji, filteredEmoji, data.emojis[filteredEmoji])} 32 | > 33 | 34 | {emoji} 35 | 36 | {`:${filteredEmoji}:`} 37 | 38 | 39 | 40 | ); 41 | })} 42 | 43 | ); 44 | } 45 | 46 | SearchContent.propTypes = { 47 | onSelect: PropTypes.func.isRequired, 48 | emojis: PropTypes.array.isRequired, 49 | data: PropTypes.object.isRequired, 50 | i18n: PropTypes.object.isRequired, 51 | searchText: PropTypes.string.isRequired, 52 | }; 53 | 54 | export default SearchContent; 55 | -------------------------------------------------------------------------------- /example/ios/example-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /src/utils/data.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | const mapping = { 3 | name: 'a', 4 | unified: 'b', 5 | non_qualified: 'c', 6 | has_img_apple: 'd', 7 | has_img_google: 'e', 8 | has_img_twitter: 'f', 9 | has_img_emojione: 'g', 10 | has_img_facebook: 'h', 11 | has_img_messenger: 'i', 12 | keywords: 'j', 13 | sheet: 'k', 14 | emoticons: 'l', 15 | text: 'm', 16 | short_names: 'n', 17 | added_in: 'o', 18 | }; 19 | 20 | const buildSearch = (emoji) => { 21 | const search = []; 22 | 23 | const addToSearch = (strings, split) => { 24 | if (!strings) { 25 | return; 26 | } 27 | 28 | (Array.isArray(strings) ? strings : [strings]).forEach((string) => { 29 | (split ? string.split(/[-|_|\s]+/) : [string]).forEach((s) => { 30 | s = s.toLowerCase(); 31 | 32 | if (search.indexOf(s) === -1) { 33 | search.push(s); 34 | } 35 | }); 36 | }); 37 | }; 38 | 39 | addToSearch(emoji.short_names, true); 40 | addToSearch(emoji.name, true); 41 | addToSearch(emoji.keywords, false); 42 | addToSearch(emoji.emoticons, false); 43 | 44 | return search.join(','); 45 | }; 46 | 47 | const uncompress = (data) => { 48 | data.compressed = false; 49 | 50 | for (const id in data.emojis) { 51 | const emoji = data.emojis[id]; 52 | 53 | for (const key in mapping) { 54 | emoji[key] = emoji[mapping[key]]; 55 | delete emoji[mapping[key]]; 56 | } 57 | 58 | if (!emoji.short_names) emoji.short_names = []; 59 | emoji.short_names.unshift(id); 60 | 61 | emoji.sheet_x = emoji.sheet[0]; 62 | emoji.sheet_y = emoji.sheet[1]; 63 | delete emoji.sheet; 64 | 65 | if (!emoji.text) emoji.text = ''; 66 | 67 | if (!emoji.added_in) emoji.added_in = 6; 68 | emoji.added_in = emoji.added_in.toFixed(1); 69 | 70 | emoji.search = buildSearch(emoji); 71 | } 72 | }; 73 | 74 | export { buildSearch, uncompress }; 75 | -------------------------------------------------------------------------------- /example/ios/exampleTests/exampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface exampleTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation exampleTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /example/ios/example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | example 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSLocationWhenInUseUsageDescription 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UIViewControllerBasedStatusBarAppearance 42 | 43 | NSAppTransportSecurity 44 | 45 | NSAllowsArbitraryLoads 46 | 47 | NSExceptionDomains 48 | 49 | localhost 50 | 51 | NSExceptionAllowsInsecureHTTPLoads 52 | 53 | 54 | 55 | 56 | UIAppFonts 57 | 58 | AntDesign.ttf 59 | Entypo.ttf 60 | EvilIcons.ttf 61 | Feather.ttf 62 | FontAwesome.ttf 63 | FontAwesome5_Brands.ttf 64 | FontAwesome5_Regular.ttf 65 | FontAwesome5_Solid.ttf 66 | Foundation.ttf 67 | Ionicons.ttf 68 | MaterialCommunityIcons.ttf 69 | MaterialIcons.ttf 70 | Octicons.ttf 71 | SimpleLineIcons.ttf 72 | Zocial.ttf 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /example/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | esproposal.optional_chaining=enable 33 | esproposal.nullish_coalescing=enable 34 | 35 | module.system=haste 36 | module.system.haste.use_name_reducers=true 37 | # get basename 38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 39 | # strip .js or .js.flow suffix 40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 41 | # strip .ios suffix 42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 45 | module.system.haste.paths.blacklist=.*/__tests__/.* 46 | module.system.haste.paths.blacklist=.*/__mocks__/.* 47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 49 | 50 | munge_underscores=true 51 | 52 | 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' 53 | 54 | module.file_ext=.js 55 | module.file_ext=.jsx 56 | module.file_ext=.json 57 | module.file_ext=.native.js 58 | 59 | suppress_type=$FlowIssue 60 | suppress_type=$FlowFixMe 61 | suppress_type=$FlowFixMeProps 62 | suppress_type=$FlowFixMeState 63 | 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 68 | 69 | [version] 70 | ^0.86.0 71 | -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable import/no-unresolved */ 2 | /** 3 | * Sample React Native App 4 | * https://github.com/facebook/react-native 5 | * 6 | */ 7 | 8 | import React, { Component } from 'react'; 9 | import { 10 | StyleSheet, View, Text, Image, 11 | } from 'react-native'; 12 | 13 | import { Picker } from 'react-native-slack-emoji'; 14 | 15 | const styles = StyleSheet.create({ 16 | container: { 17 | flex: 1, 18 | padding: 10, 19 | backgroundColor: 'white', 20 | paddingTop: 70, 21 | }, 22 | profileWrapper: { 23 | flex: 1, 24 | }, 25 | image: { 26 | height: 40, 27 | resizeMode: 'contain', 28 | }, 29 | name: { 30 | fontSize: 16, 31 | color: 'black', 32 | fontWeight: '700', 33 | marginBottom: 5, 34 | }, 35 | text: { 36 | fontSize: 15, 37 | color: '#888888', 38 | marginBottom: 10, 39 | }, 40 | }); 41 | 42 | 43 | export default class App extends Component { 44 | state = { 45 | emojiList: [], 46 | } 47 | 48 | onSelect = (emoji, emojiName, data) => { 49 | const { emojiList } = this.state; 50 | const newList = [...emojiList]; 51 | const objIndex = newList.findIndex(e => e.name === emojiName); 52 | if (objIndex === -1) { 53 | newList.push({ 54 | emoji, name: emojiName, data, index: 1, 55 | }); 56 | } else { 57 | newList[objIndex].index += 1; 58 | } 59 | this.setState({ emojiList: newList }); 60 | } 61 | 62 | updateEmoji = (emoji, name) => { 63 | const { emojiList } = this.state; 64 | const newList = [...emojiList]; 65 | const objIndex = newList.findIndex(e => e.name === name); 66 | newList[objIndex].index += 1; 67 | this.setState({ emojiList: newList }); 68 | } 69 | 70 | render() { 71 | const { emojiList } = this.state; 72 | return ( 73 | 74 | 75 | 76 | 77 | 78 | 79 | Pritish Vaidya 80 | 81 | We shall go on to the end. We shall fight in France, 82 | we shall fight on the seas and oceans, we shall fight with growing confidence 83 | and growing strength in the air, we shall defend our island, whatever 84 | the cost may be. 85 | {'\n'} 86 | {'\n'} 87 | 88 | We shall fight on the beaches, we shall fight 89 | on the landing grounds, we shall fight in the fields and in the streets, 90 | we shall fight in the hills; we shall never surrender 91 | 92 | 97 | 98 | 99 | 100 | ); 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /src/components/picker/style.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, Dimensions } from 'react-native'; 2 | 3 | const { width } = Dimensions.get('window'); 4 | 5 | export default StyleSheet.create({ 6 | container: { 7 | flex: 1, 8 | }, 9 | wrapper: { 10 | flexDirection: 'row', 11 | flexWrap: 'wrap', 12 | }, 13 | picker: { 14 | marginBottom: 5, 15 | marginRight: 7, 16 | height: 30, 17 | borderRadius: 8, 18 | borderWidth: 0.2, 19 | borderColor: '#b7b7b7', 20 | alignItems: 'center', 21 | justifyContent: 'center', 22 | }, 23 | emojiPicker: { 24 | flexDirection: 'row', 25 | backgroundColor: '#e5f5fa', 26 | borderColor: '#43b4e1', 27 | }, 28 | emoji: { 29 | marginHorizontal: 10, 30 | fontSize: 14, 31 | fontWeight: '500', 32 | color: '#0063a8', 33 | }, 34 | pickerIcon: { 35 | marginHorizontal: 15, 36 | fontSize: 16, 37 | color: '#5f5f5f', 38 | }, 39 | searchBarWrapper: { 40 | flex: 0.1, 41 | minHeight: 30, 42 | alignItems: 'center', 43 | flexDirection: 'row', 44 | paddingHorizontal: 10, 45 | }, 46 | searchIcon: { 47 | width: 20, 48 | height: 20, 49 | fontSize: 20, 50 | color: '#888888', 51 | }, 52 | searchBarInput: { 53 | fontSize: 14, 54 | flex: 1, 55 | }, 56 | cancel: { 57 | paddingHorizontal: 5, 58 | fontSize: 16, 59 | color: '#5f5f5f', 60 | }, 61 | categoryWrapper: { 62 | flex: 0.8, 63 | paddingHorizontal: 10, 64 | }, 65 | title: { 66 | fontSize: 14, 67 | fontWeight: '600', 68 | color: '#b7b7b7', 69 | }, 70 | emojiWrapper: { 71 | flexWrap: 'wrap', 72 | }, 73 | searchRow: { 74 | marginLeft: 10, 75 | flexDirection: 'row', 76 | alignItems: 'center', 77 | height: 40, 78 | borderBottomWidth: 0.3, 79 | borderBottomColor: '#b7b7b7', 80 | }, 81 | searchEmoji: { 82 | paddingRight: 10, 83 | fontSize: 14, 84 | }, 85 | searchEmojiText: { 86 | fontSize: 14, 87 | color: '#939393', 88 | fontWeight: '600', 89 | paddingRight: 25, 90 | }, 91 | emptySearchWrapper: { 92 | flex: 1, 93 | alignItems: 'center', 94 | justifyContent: 'center', 95 | paddingHorizontal: 30, 96 | }, 97 | emptySearchText: { 98 | fontSize: 16, 99 | color: '#b7b7b7', 100 | }, 101 | categoryHeader: { 102 | flexDirection: 'column', 103 | backgroundColor: '#ffffff', 104 | justifyContent: 'center', 105 | paddingVertical: 10, 106 | paddingHorizontal: 10, 107 | }, 108 | categoryHeaderText: { 109 | fontWeight: '600', 110 | fontSize: 14, 111 | color: '#939393', 112 | }, 113 | categoryContent: { 114 | flexDirection: 'row', 115 | flexWrap: 'wrap', 116 | }, 117 | categoryEmojiWrapper: { 118 | borderRadius: 10, 119 | }, 120 | categoryEmojiText: { 121 | marginHorizontal: 6, 122 | marginVertical: 5, 123 | fontSize: 30, 124 | }, 125 | categoryEmojiImage: { 126 | marginHorizontal: 6, 127 | marginVertical: 5, 128 | resizeMode: 'contain', 129 | height: 30, 130 | width: 30, 131 | }, 132 | bottomPicker: { 133 | height: 50, 134 | flexDirection: 'row', 135 | alignItems: 'center', 136 | justifyContent: 'space-around', 137 | borderTopWidth: 0.05, 138 | borderTopColor: '#b7b7b7', 139 | }, 140 | category: { 141 | height: 50, 142 | alignItems: 'center', 143 | justifyContent: 'center', 144 | width: width / 10, 145 | }, 146 | categoryIcon: { 147 | fontSize: 30, 148 | color: '#888888', 149 | }, 150 | }); 151 | -------------------------------------------------------------------------------- /src/components/picker/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import PropTypes from 'prop-types'; 3 | import { 4 | View, TouchableHighlight, Text, 5 | } from 'react-native'; 6 | import EntypoIcons from 'react-native-vector-icons/Entypo'; 7 | 8 | import PickerModal from './picker-modal'; 9 | 10 | import style from './style'; 11 | 12 | class Picker extends React.Component { 13 | state = { 14 | visible: false, 15 | } 16 | 17 | closeModal = () => this.setState({ visible: false }) 18 | 19 | openModal = () => this.setState({ visible: true }) 20 | 21 | render() { 22 | const { visible } = this.state; 23 | const { 24 | emojiList, 25 | updateEmoji, 26 | onSelect, 27 | data, 28 | custom, 29 | i18n, 30 | onShow, 31 | onClose, 32 | animationType, 33 | presentationStyle, 34 | } = this.props; 35 | return ( 36 | 37 | 38 | {emojiList.map(({ emoji, name, index }) => ( 39 | updateEmoji(emoji, name, index)} 42 | key={name} 43 | > 44 | 45 | {`${emoji} ${index}`} 46 | 47 | 48 | ))} 49 | 53 | 54 | 55 | 56 | 57 | 58 | 72 | 73 | ); 74 | } 75 | } 76 | 77 | Picker.defaultProps = { 78 | custom: [{ 79 | name: 'Octocat', 80 | short_names: ['octocat'], 81 | text: '', 82 | emoticons: [], 83 | keywords: ['github'], 84 | imageUrl: 'https://octodex.github.com/images/Sentrytocat_octodex.jpg', 85 | }], 86 | i18n: {}, 87 | // set: 'native', 88 | onShow: () => {}, 89 | onClose: () => {}, 90 | animationType: 'slide', 91 | presentationStyle: 'fullScreen', 92 | }; 93 | 94 | Picker.propTypes = { 95 | emojiList: PropTypes.array.isRequired, 96 | updateEmoji: PropTypes.func.isRequired, 97 | onSelect: PropTypes.func.isRequired, 98 | data: PropTypes.object, 99 | custom: PropTypes.arrayOf( 100 | PropTypes.shape({ 101 | name: PropTypes.string.isRequired, 102 | short_names: PropTypes.arrayOf(PropTypes.string).isRequired, 103 | emoticons: PropTypes.arrayOf(PropTypes.string), 104 | keywords: PropTypes.arrayOf(PropTypes.string), 105 | imageUrl: PropTypes.string.isRequired, 106 | }), 107 | ), 108 | i18n: PropTypes.object, 109 | // set: PropTypes.oneOf( 110 | // ['native', 'apple', 'google', 'twitter', 'emojione', 'messenger', 'facebook'] 111 | // ), 112 | onShow: PropTypes.func, 113 | onClose: PropTypes.func, 114 | animationType: PropTypes.string, 115 | presentationStyle: PropTypes.string, 116 | }; 117 | 118 | export default Picker; 119 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable flowtype/require-valid-file-annotation, no-console, import/extensions */ 2 | import nodeResolve from 'rollup-plugin-node-resolve'; 3 | import replace from 'rollup-plugin-replace'; 4 | import commonjs from 'rollup-plugin-commonjs'; 5 | import babel from 'rollup-plugin-babel'; 6 | import json from 'rollup-plugin-json'; 7 | import { terser } from 'rollup-plugin-terser'; 8 | import sourceMaps from 'rollup-plugin-sourcemaps'; 9 | import pkg from './package.json'; 10 | 11 | const propTypeIgnore = { "import PropTypes from 'prop-types';": "'';" }; 12 | 13 | const cjs = { 14 | exports: 'named', 15 | format: 'cjs', 16 | sourcemap: true, 17 | }; 18 | 19 | const esm = { 20 | format: 'esm', 21 | sourcemap: true, 22 | }; 23 | 24 | const getCJS = override => ({ ...cjs, ...override }); 25 | const getESM = override => ({ ...esm, ...override }); 26 | 27 | const commonPlugins = [ 28 | sourceMaps(), 29 | json(), 30 | nodeResolve({ 31 | browser: true, 32 | }), 33 | babel({ 34 | babelrc: false, 35 | exclude: 'node_modules/**', 36 | presets: [['@babel/env', { loose: true, modules: false }], '@babel/react'], 37 | plugins: ['@babel/plugin-proposal-class-properties', ['module-resolver', { 38 | root: ['./'], 39 | alias: { 40 | _tests_: './_tests_', 41 | }, 42 | }]], 43 | }), 44 | commonjs({ 45 | namedExports: { 46 | 'react-native': ['View', 'Dimensions', 'Platform', 'TouchableOpacity', 'TouchableHighlight', 'Image', 'Text', 'ScrollView', 'FlatList', 'Image', 'KeyboardAvoidingView', 'Modal', 'SafeAreaView'], 47 | 'react-is': ['isElement', 'isValidElementType', 'ForwardRef'], 48 | }, 49 | }), 50 | replace({ 51 | __VERSION__: JSON.stringify(pkg.version), 52 | }), 53 | ]; 54 | 55 | const prodPlugins = [ 56 | replace({ 57 | ...propTypeIgnore, 58 | 'process.env.NODE_ENV': JSON.stringify('production'), 59 | }), 60 | terser({ 61 | sourcemap: true, 62 | }), 63 | ]; 64 | 65 | const configBase = { 66 | input: './src/index.js', 67 | 68 | // \0 is rollup convention for generated in memory modules 69 | external: id => !id.startsWith('\0') && !id.startsWith('.') && !id.startsWith('/'), 70 | plugins: commonPlugins, 71 | }; 72 | 73 | const globals = { 74 | react: 'React', 'react-native': 'reactNative', 'prop-types': 'PropTypes', 75 | }; 76 | 77 | const standaloneBaseConfig = { 78 | ...configBase, 79 | input: './src/index.js', 80 | output: { 81 | file: 'dist/react-native-slack-emoji.js', 82 | format: 'umd', 83 | globals, 84 | name: 'slack-emoji', 85 | sourcemap: true, 86 | }, 87 | plugins: configBase.plugins.concat( 88 | replace({ 89 | __SERVER__: JSON.stringify(false), 90 | }), 91 | ), 92 | }; 93 | 94 | const standaloneConfig = { 95 | ...standaloneBaseConfig, 96 | plugins: standaloneBaseConfig.plugins.concat( 97 | replace({ 98 | 'process.env.NODE_ENV': JSON.stringify('development'), 99 | }), 100 | ), 101 | }; 102 | 103 | const standaloneProdConfig = { 104 | ...standaloneBaseConfig, 105 | output: { 106 | ...standaloneBaseConfig.output, 107 | file: 'dist/react-native-slack-emoji.min.js', 108 | }, 109 | plugins: standaloneBaseConfig.plugins.concat(prodPlugins), 110 | }; 111 | 112 | const nativeConfig = { 113 | ...configBase, 114 | input: './src/index.js', 115 | output: [ 116 | getCJS({ 117 | file: 'dist/react-native-slack-emoji.cjs.js', 118 | }), 119 | getESM({ 120 | file: 'dist/react-native-slack-emoji.esm.js', 121 | }), 122 | ], 123 | }; 124 | 125 | export default [ 126 | standaloneConfig, 127 | standaloneProdConfig, 128 | nativeConfig, 129 | ]; 130 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-slack-emoji", 3 | "version": "0.0.1", 4 | "description": "An implementation of Slack like Emoji components in React Native", 5 | "main": "dist/react-native-slack-emoji.cjs.js", 6 | "jsnext:main": "dist/react-native-slack-emoji.esm.js", 7 | "module": "dist/react-native-slack-emoji.esm.js", 8 | "scripts": { 9 | "prebuild": "rimraf dist", 10 | "prepublishOnly": "run-s build", 11 | "prepack": "run-s build", 12 | "build": "rollup -c", 13 | "test": "jest", 14 | "test:watch": "npm run test -- --watch", 15 | "test:coverage": "jest --coverage", 16 | "lint": "eslint . --ignore-path .gitignore --ext .js --ext .jsx", 17 | "fix-lint": "yarn lint -- --fix", 18 | "yalc": "npm run build && yalc push" 19 | }, 20 | "files": [ 21 | "dist", 22 | "data" 23 | ], 24 | "keywords": [ 25 | "react-native", 26 | "slack", 27 | "emoji", 28 | "react-native-slack", 29 | "react-native-slack-emoji" 30 | ], 31 | "author": { 32 | "name": "Pritish Vaidya", 33 | "email": "pritishvaidya94@gmail.com", 34 | "url": "pritishvaidya.com" 35 | }, 36 | "license": "MIT", 37 | "repository": { 38 | "type": "git", 39 | "url": "git+https://github.com/pritishvaidya/react-native-slack-emoji.git" 40 | }, 41 | "bugs": { 42 | "url": "https://github.com/pritishvaidya/react-native-slack-emoji/issues" 43 | }, 44 | "homepage": "https://github.com/pritishvaidya/react-native-slack-emoji#readme", 45 | "devDependencies": { 46 | "@babel/plugin-proposal-class-properties": "^7.3.0", 47 | "@babel/preset-env": "^7.3.0", 48 | "@babel/preset-react": "^7.0.0", 49 | "babel-eslint": "^10.0.1", 50 | "babel-plugin-module-resolver": "^3.1.3", 51 | "check-prop-types": "^1.1.2", 52 | "eslint": "^5.6.1", 53 | "eslint-config-airbnb": "^17.1.0", 54 | "eslint-config-standard": "^12.0.0", 55 | "eslint-plugin-import": "^2.14.0", 56 | "eslint-plugin-jest": "^22.1.3", 57 | "eslint-plugin-jsx-a11y": "^6.1.1", 58 | "eslint-plugin-node": "^7.0.1", 59 | "eslint-plugin-promise": "^4.0.1", 60 | "eslint-plugin-react": "^7.11.1", 61 | "eslint-plugin-react-native": "^3.3.0", 62 | "eslint-plugin-standard": "^4.0.0", 63 | "husky": "^1.1.0", 64 | "jest": "^23.6.0", 65 | "lint-staged": "^8.1.0", 66 | "npm-run-all": "^4.1.5", 67 | "prop-types": "^15.6.2", 68 | "react": "^16.7.0", 69 | "react-native": "^0.57.8", 70 | "react-native-vector-icons": "^6.2.0", 71 | "react-test-renderer": "^16.7.0", 72 | "rollup": "^1.1.2", 73 | "rollup-plugin-alias": "^1.5.1", 74 | "rollup-plugin-babel": "^4.3.2", 75 | "rollup-plugin-commonjs": "^9.2.0", 76 | "rollup-plugin-includepaths": "^0.2.3", 77 | "rollup-plugin-json": "^3.1.0", 78 | "rollup-plugin-node-resolve": "^4.0.0", 79 | "rollup-plugin-replace": "^2.1.0", 80 | "rollup-plugin-sourcemaps": "^0.4.2", 81 | "rollup-plugin-terser": "^4.0.2" 82 | }, 83 | "peerDependencies": { 84 | "react-native-vector-icons": ">4.2.0" 85 | }, 86 | "jest": { 87 | "preset": "react-native", 88 | "transform": { 89 | "^.+\\.js$": "/node_modules/react-native/jest/preprocessor.js" 90 | }, 91 | "modulePathIgnorePatterns": [ 92 | "/example/" 93 | ], 94 | "setupFiles": [ 95 | "/global-mocks.js" 96 | ] 97 | }, 98 | "lint-staged": { 99 | "linters": { 100 | "*.js": [ 101 | "eslint --fix", 102 | "git add" 103 | ] 104 | }, 105 | "ignore": [ 106 | "**/test/*.js" 107 | ] 108 | }, 109 | "husky": { 110 | "hooks": { 111 | "pre-commit": "lint-staged" 112 | } 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /example/ios/example/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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-slack-emoji [![Build Status](https://travis-ci.com/pritishvaidya/react-native-slack-emoji.svg?branch=master)](https://travis-ci.com/pritishvaidya/react-native-slack-emoji) [![CodeFactor](https://www.codefactor.io/repository/github/pritishvaidya/react-native-slack-emoji/badge)](https://www.codefactor.io/repository/github/pritishvaidya/react-native-slack-emoji) [![Maintainability](https://api.codeclimate.com/v1/badges/4b0fce605acaf1141431/maintainability)](https://codeclimate.com/github/pritishvaidya/react-native-slack-emoji/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/4b0fce605acaf1141431/test_coverage)](https://codeclimate.com/github/pritishvaidya/react-native-slack-emoji/test_coverage) [![npm version](https://badge.fury.io/js/react-native-slack-emoji.svg)](https://badge.fury.io/js/react-native-slack-emoji) [![npm downloads](https://img.shields.io/npm/dt/react-native-slack-emoji.svg)](https://npm-stat.com/charts.html?package=react-native-slack-emoji&from=2018-02-17&to=2018-12-28) module formats: umd, cjs, esm 2 | > An implementation of Slack like Emoji components in React Native 3 | 4 | ## Show Cases 5 | IOS | Android 6 | :-------------------------:|:-------------------------: 7 | ![IOS](https://media.giphy.com/media/1n6exPh4zE2ylApACF/giphy.gif) | ![Android](https://media.giphy.com/media/YlkQZBNANgBaPxyodO/giphy.gif) 8 | 9 | ## Getting Started 10 | 11 | - [Installation](#installation) 12 | - [Basic Usage](#basic-usage) 13 | - [Properties](#properties) 14 | - [Defaults](#defaults) 15 | - [Contribution](#contribution) 16 | - [Questions](#questions) 17 | 18 | ### Installation 19 | 20 | ```bash 21 | $ npm i react-native-slack-emoji --save 22 | ``` 23 | 24 | ### Basic Usage 25 | #### Picker 26 | ``` 27 | import React, { Component } from 'react'; 28 | import { 29 | SafeAreaView, StyleSheet, Text, Image, 30 | } from 'react-native'; 31 | 32 | import { Picker, PickerModal } from 'react-native-slack-emoji'; 33 | 34 | export default class App extends Component { 35 | state = { 36 | emojiList: [], 37 | } 38 | 39 | onSelect = (emoji, emojiName, data) => {} 40 | 41 | updateEmoji = (emoji, name) => {} 42 | 43 | render() { 44 | const { emojiList } = this.state; 45 | return ( 46 | 47 | 52 | 53 | ); 54 | } 55 | } 56 | 57 | const styles = StyleSheet.create({ 58 | container: { 59 | flex: 1, 60 | padding: 10, 61 | backgroundColor: 'white', 62 | paddingTop: 70, 63 | }, 64 | }); 65 | ``` 66 | 67 | ### Properties 68 | #### Picker Props 69 | | Prop | Default | Type | Description | 70 | | :------------ |---------------:| :---------------| :-----| 71 | | emojiList | [required](#emojiList) | array | Emojis Array for display | 72 | | updateEmoji | required | func | Update Emoji Function | 73 | | {...pickerModalProps} | {...} | object | Picker Modal Props | 74 | 75 | #### Picker Modal Props 76 | | Prop | Default | Type | Description | 77 | | :------------ |---------------:| :---------------| :-----| 78 | | visible | required | bool | Open Picker Modal | 79 | | onSelect | required | func | Select Emoji Function | 80 | | close | required | func | Callback on close Picker Modal | 81 | | data | [emojiData](#defaults) | object | Emoji Data | 82 | | i18n | [`{…}`](#i18n) | object | An object containing localized strings | 83 | | onShow | () => {} | func | Callback on show Picker Modal | 84 | | animationType | `slide` | string | Picker Modal animation type | 85 | | presentationStyle | `fullScreen` | string | Picker Modal presentation style | 86 | 87 | #### I18n 88 | ```js 89 | search: 'Search', 90 | notFound: 'No Emoji Found', 91 | categories: { 92 | search: 'Search Results', 93 | recent: 'Frequently Used', 94 | people: 'Smileys & People', 95 | nature: 'Animals & Nature', 96 | foods: 'Food & Drink', 97 | activity: 'Activity', 98 | places: 'Travel & Places', 99 | objects: 'Objects', 100 | symbols: 'Symbols', 101 | flags: 'Flags', 102 | custom: 'Custom', 103 | } 104 | ``` 105 | 106 | ## Todos 107 | - Support for Custom Emojis 108 | - Support for all Emoji Sets 109 | - Full Coverage of Tests 110 | 111 | ## Contribution 112 | 113 | - [@pritishvaidya](mailto:pritishvaidya94@gmail.com) The main author. 114 | 115 | ## Questions 116 | 117 | Feel free to [contact me](mailto:pritishvaidya94@gmail.com) or [create an issue](https://github.com/pritishvaidya/react-native-slack-emoji/issues/new) 118 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example.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 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example-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 | -------------------------------------------------------------------------------- /src/components/picker/picker-modal.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-restricted-syntax */ 2 | import React from 'react'; 3 | import { 4 | KeyboardAvoidingView, Platform, Modal, SafeAreaView, 5 | } from 'react-native'; 6 | import PropTypes from 'prop-types'; 7 | 8 | import SearchBar from './search-bar'; 9 | import SearchContent from './search-content'; 10 | 11 | import emojiData from '../../../data/all.json'; 12 | import { deepMerge } from '../../utils'; 13 | import { uncompress } from '../../utils/data'; 14 | 15 | import style from './style'; 16 | import CategoryContent from './category-content'; 17 | import { addEmoji } from '../../utils/store'; 18 | 19 | const I18N = { 20 | search: 'Search', 21 | notFound: 'No Emoji Found Matching', 22 | categories: { 23 | recent: 'Frequently Used', 24 | people: 'People', 25 | nature: 'Nature', 26 | foods: 'Foods', 27 | activity: 'Activity', 28 | places: 'Places', 29 | objects: 'Objects', 30 | symbols: 'Symbols', 31 | flags: 'Flags', 32 | custom: 'Custom', 33 | }, 34 | }; 35 | 36 | class PickerModal extends React.Component { 37 | constructor(props) { 38 | super(props); 39 | const { 40 | data, custom, i18n, 41 | } = props; 42 | 43 | this.customCategory = { id: 'custom', name: 'Custom', emojis: null }; 44 | 45 | if (data.compressed) { 46 | uncompress(data); 47 | } 48 | 49 | this.data = data; 50 | this.i18n = deepMerge(I18N, i18n); 51 | 52 | this.categories = []; 53 | const allCategories = [].concat(this.data.categories); 54 | 55 | if (custom.length) { 56 | this.customCategory.emojis = custom.map(emoji => ({ 57 | ...emoji, 58 | id: emoji.short_names[0], 59 | custom: true, 60 | })); 61 | allCategories.push(this.customCategory); 62 | } 63 | 64 | for (const category of allCategories) { 65 | this.categories.push(category); 66 | } 67 | 68 | this.state = { 69 | searchText: null, 70 | }; 71 | } 72 | 73 | filter = searchText => this.setState({ searchText }) 74 | 75 | _keyExtractor = item => item; 76 | 77 | closeModal = () => { 78 | const { close } = this.props; 79 | this.setState({ searchText: null }, () => close()); 80 | } 81 | 82 | selectEmoji = async (emoji, name, data) => { 83 | const { onSelect } = this.props; 84 | onSelect(emoji, name, data); 85 | this.closeModal(); 86 | await addEmoji(name); 87 | } 88 | 89 | render() { 90 | const { 91 | visible, 92 | onShow, 93 | onClose, 94 | animationType, 95 | presentationStyle, 96 | } = this.props; 97 | const { searchText } = this.state; 98 | const trimmedText = searchText && searchText.replace(/:/g, ''); 99 | const filteredEmojis = Object.keys(this.data.emojis) 100 | .filter(key => key.includes(trimmedText && trimmedText.toLowerCase())); 101 | return ( 102 | 111 | 112 | 113 | 114 | {searchText 115 | ? ( 116 | 123 | ) : ( 124 | 131 | )} 132 | 133 | 134 | 135 | ); 136 | } 137 | } 138 | 139 | PickerModal.defaultProps = { 140 | data: emojiData, 141 | custom: [{ 142 | name: 'Octocat', 143 | short_names: ['octocat'], 144 | text: '', 145 | emoticons: [], 146 | keywords: ['github'], 147 | imageUrl: 'https://octodex.github.com/images/Sentrytocat_octodex.jpg', 148 | }], 149 | i18n: {}, 150 | // set: 'native', 151 | onShow: () => {}, 152 | onClose: () => {}, 153 | animationType: 'slide', 154 | presentationStyle: 'fullScreen', 155 | }; 156 | 157 | PickerModal.propTypes = { 158 | visible: PropTypes.bool.isRequired, 159 | onSelect: PropTypes.func.isRequired, 160 | close: PropTypes.func.isRequired, 161 | data: PropTypes.object, 162 | custom: PropTypes.arrayOf( 163 | PropTypes.shape({ 164 | name: PropTypes.string.isRequired, 165 | short_names: PropTypes.arrayOf(PropTypes.string).isRequired, 166 | emoticons: PropTypes.arrayOf(PropTypes.string), 167 | keywords: PropTypes.arrayOf(PropTypes.string), 168 | imageUrl: PropTypes.string.isRequired, 169 | }), 170 | ), 171 | i18n: PropTypes.object, 172 | // set: PropTypes.oneOf( 173 | // ['native', 'apple', 'google', 'twitter', 'emojione', 'messenger', 'facebook'] 174 | // ), 175 | onShow: PropTypes.func, 176 | onClose: PropTypes.func, 177 | animationType: PropTypes.string, 178 | presentationStyle: PropTypes.string, 179 | }; 180 | 181 | export default PickerModal; 182 | -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion rootProject.ext.compileSdkVersion 98 | buildToolsVersion rootProject.ext.buildToolsVersion 99 | 100 | defaultConfig { 101 | applicationId "com.example" 102 | minSdkVersion rootProject.ext.minSdkVersion 103 | targetSdkVersion rootProject.ext.targetSdkVersion 104 | versionCode 1 105 | versionName "1.0" 106 | } 107 | splits { 108 | abi { 109 | reset() 110 | enable enableSeparateBuildPerCPUArchitecture 111 | universalApk false // If true, also generate a universal APK 112 | include "armeabi-v7a", "x86", "arm64-v8a" 113 | } 114 | } 115 | buildTypes { 116 | release { 117 | minifyEnabled enableProguardInReleaseBuilds 118 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 119 | } 120 | } 121 | // applicationVariants are e.g. debug, release 122 | applicationVariants.all { variant -> 123 | variant.outputs.each { output -> 124 | // For each separate APK per architecture, set a unique version code as described here: 125 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 126 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3] 127 | def abi = output.getFilter(OutputFile.ABI) 128 | if (abi != null) { // null for the universal-debug, universal-release variants 129 | output.versionCodeOverride = 130 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 131 | } 132 | } 133 | } 134 | buildToolsVersion '28.0.3' 135 | } 136 | 137 | dependencies { 138 | implementation project(':react-native-vector-icons') 139 | implementation fileTree(dir: "libs", include: ["*.jar"]) 140 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 141 | implementation "com.facebook.react:react-native:+" // From node_modules 142 | } 143 | 144 | // Run this once to be able to run the application with BUCK 145 | // puts all compile dependencies into folder libs for BUCK to use 146 | task copyDownloadableDepsToLibs(type: Copy) { 147 | from configurations.compile 148 | into 'libs' 149 | } 150 | -------------------------------------------------------------------------------- /src/components/picker/category-content.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-restricted-syntax */ 2 | import React from 'react'; 3 | import { 4 | FlatList, Image, Text, TouchableHighlight, View, 5 | } from 'react-native'; 6 | import PropTypes from 'prop-types'; 7 | import Ionicons from 'react-native-vector-icons/Ionicons'; 8 | 9 | import { charFromUtf16 } from '../../utils'; 10 | 11 | import style from './style'; 12 | import { getEmoji } from '../../utils/store'; 13 | 14 | const colors = ['#fabfff', '#aee0ff', '#abe981', '#f8ef55']; 15 | 16 | const icons = { 17 | recent: 'ios-timer', 18 | people: 'ios-happy', 19 | nature: 'ios-leaf', 20 | foods: 'ios-beaker', 21 | activity: 'ios-american-football', 22 | places: 'ios-airplane', 23 | objects: 'ios-bulb', 24 | symbols: 'ios-heart-empty', 25 | flags: 'ios-flag', 26 | custom: 'ios-code', 27 | }; 28 | 29 | class CategoryContent extends React.Component { 30 | constructor(props) { 31 | super(props); 32 | this.flatListRef = React.createRef(); 33 | this.state = { 34 | list: [], 35 | stickyHeaderIndices: [], 36 | randomColor: colors[0], 37 | activeIndex: 0, 38 | }; 39 | } 40 | 41 | async componentDidMount() { 42 | let stickyIndex = 0; 43 | const list = []; 44 | const stickyHeaderIndices = []; 45 | const { categories, i18n } = this.props; 46 | const categoryKeys = Object.keys(i18n.categories); 47 | 48 | let recentCategory = categories.filter(({ id }) => id === 'recent')[0]; 49 | const recentEmojis = await getEmoji(); 50 | if (recentCategory) { 51 | recentCategory.emojis = recentEmojis; 52 | } else { 53 | recentCategory = { id: 'recent', name: 'Recent', emojis: recentEmojis }; 54 | } 55 | categories.push(recentCategory); 56 | 57 | for (const value of categoryKeys) { 58 | const filteredValues = categories.filter(({ id }) => id === value)[0]; 59 | const emojis = filteredValues ? filteredValues.emojis : []; 60 | const custom = value === 'custom'; 61 | list.push({ 62 | content: value, header: true, index: stickyIndex, custom, 63 | }); 64 | list.push({ 65 | content: emojis, header: false, index: stickyIndex + 1, custom, 66 | }); 67 | stickyHeaderIndices.push(stickyIndex); 68 | 69 | stickyIndex += 2; 70 | } 71 | this.setState({ list, stickyHeaderIndices }); 72 | } 73 | 74 | _keyExtractor = (item, index) => `${item.index} + ${index}`; 75 | 76 | randomColor = () => { 77 | const index = Math.floor(colors.length * Math.random()); 78 | this.setState({ randomColor: colors[index] }); 79 | } 80 | 81 | onViewableItemsChanged = ({ viewableItems }) => { 82 | if (viewableItems.length) { 83 | const { index } = viewableItems[0]; 84 | if (index % 2 === 0) { 85 | this.setState({ activeIndex: index }); 86 | } 87 | } 88 | } 89 | 90 | scrollCategory(id) { 91 | const { list } = this.state; 92 | const { index } = list.filter(({ content, header }) => content === id && header)[0]; 93 | this.flatListRef.scrollToIndex({ animated: true, index }); 94 | this.setState({ activeIndex: index }); 95 | } 96 | 97 | selectEmoji(emoji, name, data) { 98 | const { onSelect } = this.props; 99 | this.randomColor(); 100 | onSelect(emoji, name, data); 101 | } 102 | 103 | render() { 104 | const { data, i18n } = this.props; 105 | const { 106 | list, stickyHeaderIndices, randomColor, activeIndex, 107 | } = this.state; 108 | const categoryKeys = Object.keys(i18n.categories); 109 | return ( 110 | 111 | { this.flatListRef = ref; }} 113 | viewabilityConfig={{ 114 | waitForInteraction: true, 115 | viewAreaCoveragePercentThreshold: 10, 116 | }} 117 | onScrollToIndexFailed={() => {}} 118 | onViewableItemsChanged={this.onViewableItemsChanged} 119 | keyboardShouldPersistTaps="always" 120 | style={{ flex: 1 }} 121 | stickyHeaderIndices={stickyHeaderIndices} 122 | data={list} 123 | keyExtractor={this._keyExtractor} 124 | renderItem={({ 125 | item: { 126 | content, header, custom, 127 | }, 128 | }) => { 129 | if (header) { 130 | return ( 131 | 132 | {i18n.categories[content]} 133 | 134 | ); 135 | } 136 | return ( 137 | 138 | {content.map((name) => { 139 | const emoji = custom ? name.imageUrl : charFromUtf16(data.emojis[name].unified); 140 | return ( 141 | this.selectEmoji(emoji, name, data.emojis[name])} 144 | onLongPress={this.randomColor} 145 | style={[style.categoryEmojiWrapper]} 146 | key={emoji} 147 | > 148 | {custom 149 | ? ( 150 | 154 | ) 155 | : ( 156 | 159 | {emoji} 160 | 161 | )} 162 | 163 | ); 164 | })} 165 | 166 | ); 167 | }} 168 | /> 169 | 170 | {categoryKeys.map((id, index) => { 171 | const active = index === Math.floor(activeIndex / 2); 172 | return ( 173 | this.scrollCategory(id)} 176 | style={[style.category, active && { borderTopWidth: 3, borderColor: 'green' }]} 177 | key={id} 178 | > 179 | 180 | 181 | ); 182 | })} 183 | 184 | 185 | ); 186 | } 187 | } 188 | 189 | CategoryContent.propTypes = { 190 | onSelect: PropTypes.func.isRequired, 191 | categories: PropTypes.array.isRequired, 192 | i18n: PropTypes.object.isRequired, 193 | data: PropTypes.object.isRequired, 194 | }; 195 | 196 | export default CategoryContent; 197 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 17F135879ABC4EC980ED1BE2 /* libRNVectorIcons-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 96C2EBB7E23A4BDBAE249CF4 /* libRNVectorIcons-tvOS.a */; }; 27 | 2031BD28685D4E08B43CA1BF /* FontAwesome5_Brands.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7FBDEE0805A84B58AA2222D5 /* FontAwesome5_Brands.ttf */; }; 28 | 2283019AABAB4F6AB929F6BE /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 919ECC37F35746E4B4E24FC8 /* Octicons.ttf */; }; 29 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 30 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 31 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 32 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 33 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 34 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 35 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 36 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 37 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 38 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 39 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 40 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 41 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 42 | 3B8973F079314C3B9C219264 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 735B6A0E89824B04971AA899 /* EvilIcons.ttf */; }; 43 | 5002174F35C94A87B1DAC119 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E8963F764616484AA54DEDF4 /* Foundation.ttf */; }; 44 | 53DBEBB7C1ED495EBD448E87 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A66214496E3E42629A3A5A62 /* MaterialIcons.ttf */; }; 45 | 603E6B98EE814BFB8D78E401 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F4809D5FE84A4B7F80BF6F29 /* MaterialCommunityIcons.ttf */; }; 46 | 7A8E8579A006474DB2370152 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AF4AAD6ABD8F42BFA46C98BB /* Entypo.ttf */; }; 47 | 7CE51961DC04484E9E959FE4 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E6E1BE4318E6475AA8C1BC97 /* Zocial.ttf */; }; 48 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 49 | 91665D61DEED4CE2890FF167 /* FontAwesome5_Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 046381E5BC1648348FCED193 /* FontAwesome5_Regular.ttf */; }; 50 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 51 | D2777A7A85E2441C878916AA /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A9D9EEA42D64FDB95704A9C /* libRNVectorIcons.a */; }; 52 | D78D1177AFE5435FBE76834B /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3B0900138E024820863F2B6B /* FontAwesome5_Solid.ttf */; }; 53 | D9744CBE75504742B0C8E056 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BF13B10509B24022A4CCB74F /* SimpleLineIcons.ttf */; }; 54 | E11893C4E4D04CF88159C331 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 62CF2CEDC43849A3B051A436 /* Ionicons.ttf */; }; 55 | E5E83738711D4CA0AE951D56 /* AntDesign.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FAB2431D28174923B9B6BC4C /* AntDesign.ttf */; }; 56 | EB03282D636E46FF8487CA88 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C4AF4E73C0594F4490EB5A2F /* FontAwesome.ttf */; }; 57 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 58 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 59 | F559E6193EEB459AA3DF7122 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A57BAF41769844C0ADCE9062 /* Feather.ttf */; }; 60 | /* End PBXBuildFile section */ 61 | 62 | /* Begin PBXContainerItemProxy section */ 63 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 64 | isa = PBXContainerItemProxy; 65 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 66 | proxyType = 2; 67 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 68 | remoteInfo = RCTActionSheet; 69 | }; 70 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 71 | isa = PBXContainerItemProxy; 72 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 73 | proxyType = 2; 74 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 75 | remoteInfo = RCTGeolocation; 76 | }; 77 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 78 | isa = PBXContainerItemProxy; 79 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 80 | proxyType = 2; 81 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 82 | remoteInfo = RCTImage; 83 | }; 84 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 85 | isa = PBXContainerItemProxy; 86 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 87 | proxyType = 2; 88 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 89 | remoteInfo = RCTNetwork; 90 | }; 91 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 92 | isa = PBXContainerItemProxy; 93 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 94 | proxyType = 2; 95 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 96 | remoteInfo = RCTVibration; 97 | }; 98 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 99 | isa = PBXContainerItemProxy; 100 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 101 | proxyType = 1; 102 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 103 | remoteInfo = example; 104 | }; 105 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 106 | isa = PBXContainerItemProxy; 107 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 108 | proxyType = 2; 109 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 110 | remoteInfo = RCTSettings; 111 | }; 112 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 113 | isa = PBXContainerItemProxy; 114 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 115 | proxyType = 2; 116 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 117 | remoteInfo = RCTWebSocket; 118 | }; 119 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 120 | isa = PBXContainerItemProxy; 121 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 122 | proxyType = 2; 123 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 124 | remoteInfo = React; 125 | }; 126 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 127 | isa = PBXContainerItemProxy; 128 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 129 | proxyType = 1; 130 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 131 | remoteInfo = "example-tvOS"; 132 | }; 133 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 134 | isa = PBXContainerItemProxy; 135 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 136 | proxyType = 2; 137 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 138 | remoteInfo = "RCTBlob-tvOS"; 139 | }; 140 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 141 | isa = PBXContainerItemProxy; 142 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 143 | proxyType = 2; 144 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 145 | remoteInfo = fishhook; 146 | }; 147 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 148 | isa = PBXContainerItemProxy; 149 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 150 | proxyType = 2; 151 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 152 | remoteInfo = "fishhook-tvOS"; 153 | }; 154 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 155 | isa = PBXContainerItemProxy; 156 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 157 | proxyType = 2; 158 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 159 | remoteInfo = jsinspector; 160 | }; 161 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 162 | isa = PBXContainerItemProxy; 163 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 164 | proxyType = 2; 165 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 166 | remoteInfo = "jsinspector-tvOS"; 167 | }; 168 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 169 | isa = PBXContainerItemProxy; 170 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 171 | proxyType = 2; 172 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 173 | remoteInfo = "third-party"; 174 | }; 175 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 176 | isa = PBXContainerItemProxy; 177 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 178 | proxyType = 2; 179 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 180 | remoteInfo = "third-party-tvOS"; 181 | }; 182 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 183 | isa = PBXContainerItemProxy; 184 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 185 | proxyType = 2; 186 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 187 | remoteInfo = "double-conversion"; 188 | }; 189 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 190 | isa = PBXContainerItemProxy; 191 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 192 | proxyType = 2; 193 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 194 | remoteInfo = "double-conversion-tvOS"; 195 | }; 196 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 197 | isa = PBXContainerItemProxy; 198 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 199 | proxyType = 2; 200 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 201 | remoteInfo = "RCTImage-tvOS"; 202 | }; 203 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 204 | isa = PBXContainerItemProxy; 205 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 206 | proxyType = 2; 207 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 208 | remoteInfo = "RCTLinking-tvOS"; 209 | }; 210 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 211 | isa = PBXContainerItemProxy; 212 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 213 | proxyType = 2; 214 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 215 | remoteInfo = "RCTNetwork-tvOS"; 216 | }; 217 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 218 | isa = PBXContainerItemProxy; 219 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 220 | proxyType = 2; 221 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 222 | remoteInfo = "RCTSettings-tvOS"; 223 | }; 224 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 225 | isa = PBXContainerItemProxy; 226 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 227 | proxyType = 2; 228 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 229 | remoteInfo = "RCTText-tvOS"; 230 | }; 231 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 232 | isa = PBXContainerItemProxy; 233 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 234 | proxyType = 2; 235 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 236 | remoteInfo = "RCTWebSocket-tvOS"; 237 | }; 238 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 239 | isa = PBXContainerItemProxy; 240 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 241 | proxyType = 2; 242 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 243 | remoteInfo = "React-tvOS"; 244 | }; 245 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 246 | isa = PBXContainerItemProxy; 247 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 248 | proxyType = 2; 249 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 250 | remoteInfo = yoga; 251 | }; 252 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 253 | isa = PBXContainerItemProxy; 254 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 255 | proxyType = 2; 256 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 257 | remoteInfo = "yoga-tvOS"; 258 | }; 259 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 260 | isa = PBXContainerItemProxy; 261 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 262 | proxyType = 2; 263 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 264 | remoteInfo = cxxreact; 265 | }; 266 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 267 | isa = PBXContainerItemProxy; 268 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 269 | proxyType = 2; 270 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 271 | remoteInfo = "cxxreact-tvOS"; 272 | }; 273 | 48E7D07A2211DBB6006C905F /* PBXContainerItemProxy */ = { 274 | isa = PBXContainerItemProxy; 275 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 276 | proxyType = 2; 277 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 278 | remoteInfo = jsi; 279 | }; 280 | 48E7D07C2211DBB6006C905F /* PBXContainerItemProxy */ = { 281 | isa = PBXContainerItemProxy; 282 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 283 | proxyType = 2; 284 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 285 | remoteInfo = jsiexecutor; 286 | }; 287 | 48E7D07E2211DBB6006C905F /* PBXContainerItemProxy */ = { 288 | isa = PBXContainerItemProxy; 289 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 290 | proxyType = 2; 291 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 292 | remoteInfo = "jsi-tvOS"; 293 | }; 294 | 48E7D0802211DBB6006C905F /* PBXContainerItemProxy */ = { 295 | isa = PBXContainerItemProxy; 296 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 297 | proxyType = 2; 298 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 299 | remoteInfo = "jsiexecutor-tvOS"; 300 | }; 301 | 48E7D0862211DBB7006C905F /* PBXContainerItemProxy */ = { 302 | isa = PBXContainerItemProxy; 303 | containerPortal = 69EE2FF9681942128A01F43D /* RNVectorIcons.xcodeproj */; 304 | proxyType = 2; 305 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 306 | remoteInfo = RNVectorIcons; 307 | }; 308 | 48E7D0882211DBB7006C905F /* PBXContainerItemProxy */ = { 309 | isa = PBXContainerItemProxy; 310 | containerPortal = 69EE2FF9681942128A01F43D /* RNVectorIcons.xcodeproj */; 311 | proxyType = 2; 312 | remoteGlobalIDString = A39873CE1EA65EE60051E01A; 313 | remoteInfo = "RNVectorIcons-tvOS"; 314 | }; 315 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 316 | isa = PBXContainerItemProxy; 317 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 318 | proxyType = 2; 319 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 320 | remoteInfo = RCTAnimation; 321 | }; 322 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 323 | isa = PBXContainerItemProxy; 324 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 325 | proxyType = 2; 326 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 327 | remoteInfo = "RCTAnimation-tvOS"; 328 | }; 329 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 330 | isa = PBXContainerItemProxy; 331 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 332 | proxyType = 2; 333 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 334 | remoteInfo = RCTLinking; 335 | }; 336 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 337 | isa = PBXContainerItemProxy; 338 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 339 | proxyType = 2; 340 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 341 | remoteInfo = RCTText; 342 | }; 343 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 344 | isa = PBXContainerItemProxy; 345 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 346 | proxyType = 2; 347 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 348 | remoteInfo = RCTBlob; 349 | }; 350 | /* End PBXContainerItemProxy section */ 351 | 352 | /* Begin PBXFileReference section */ 353 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 354 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 355 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 356 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 357 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 358 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 359 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 360 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 361 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; 362 | 046381E5BC1648348FCED193 /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Regular.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = ""; }; 363 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 364 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 365 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 366 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; 367 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; }; 368 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 369 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 370 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 371 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 372 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 373 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 374 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 375 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 376 | 3B0900138E024820863F2B6B /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Solid.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = ""; }; 377 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 378 | 62CF2CEDC43849A3B051A436 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 379 | 69EE2FF9681942128A01F43D /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 380 | 735B6A0E89824B04971AA899 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 381 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 382 | 7A9D9EEA42D64FDB95704A9C /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 383 | 7FBDEE0805A84B58AA2222D5 /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Brands.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = ""; }; 384 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 385 | 919ECC37F35746E4B4E24FC8 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 386 | 96C2EBB7E23A4BDBAE249CF4 /* libRNVectorIcons-tvOS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = "libRNVectorIcons-tvOS.a"; sourceTree = ""; }; 387 | A57BAF41769844C0ADCE9062 /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; }; 388 | A66214496E3E42629A3A5A62 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 389 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 390 | AF4AAD6ABD8F42BFA46C98BB /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 391 | BF13B10509B24022A4CCB74F /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 392 | C4AF4E73C0594F4490EB5A2F /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 393 | E6E1BE4318E6475AA8C1BC97 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 394 | E8963F764616484AA54DEDF4 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 395 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 396 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 397 | F4809D5FE84A4B7F80BF6F29 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 398 | FAB2431D28174923B9B6BC4C /* AntDesign.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = AntDesign.ttf; path = "../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf"; sourceTree = ""; }; 399 | /* End PBXFileReference section */ 400 | 401 | /* Begin PBXFrameworksBuildPhase section */ 402 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 403 | isa = PBXFrameworksBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | }; 410 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 411 | isa = PBXFrameworksBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 415 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 416 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 417 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 418 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 419 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 420 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 421 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 422 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 423 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 424 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 425 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 426 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 427 | D2777A7A85E2441C878916AA /* libRNVectorIcons.a in Frameworks */, 428 | ); 429 | runOnlyForDeploymentPostprocessing = 0; 430 | }; 431 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 432 | isa = PBXFrameworksBuildPhase; 433 | buildActionMask = 2147483647; 434 | files = ( 435 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 436 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 437 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 438 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 439 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 440 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 441 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 442 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 443 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 444 | 17F135879ABC4EC980ED1BE2 /* libRNVectorIcons-tvOS.a in Frameworks */, 445 | ); 446 | runOnlyForDeploymentPostprocessing = 0; 447 | }; 448 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 449 | isa = PBXFrameworksBuildPhase; 450 | buildActionMask = 2147483647; 451 | files = ( 452 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 453 | ); 454 | runOnlyForDeploymentPostprocessing = 0; 455 | }; 456 | /* End PBXFrameworksBuildPhase section */ 457 | 458 | /* Begin PBXGroup section */ 459 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 460 | isa = PBXGroup; 461 | children = ( 462 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 463 | ); 464 | name = Products; 465 | sourceTree = ""; 466 | }; 467 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 468 | isa = PBXGroup; 469 | children = ( 470 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 471 | ); 472 | name = Products; 473 | sourceTree = ""; 474 | }; 475 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 476 | isa = PBXGroup; 477 | children = ( 478 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 479 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 480 | ); 481 | name = Products; 482 | sourceTree = ""; 483 | }; 484 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 485 | isa = PBXGroup; 486 | children = ( 487 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 488 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 489 | ); 490 | name = Products; 491 | sourceTree = ""; 492 | }; 493 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 497 | ); 498 | name = Products; 499 | sourceTree = ""; 500 | }; 501 | 00E356EF1AD99517003FC87E /* exampleTests */ = { 502 | isa = PBXGroup; 503 | children = ( 504 | 00E356F21AD99517003FC87E /* exampleTests.m */, 505 | 00E356F01AD99517003FC87E /* Supporting Files */, 506 | ); 507 | path = exampleTests; 508 | sourceTree = ""; 509 | }; 510 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 511 | isa = PBXGroup; 512 | children = ( 513 | 00E356F11AD99517003FC87E /* Info.plist */, 514 | ); 515 | name = "Supporting Files"; 516 | sourceTree = ""; 517 | }; 518 | 139105B71AF99BAD00B5F7CC /* Products */ = { 519 | isa = PBXGroup; 520 | children = ( 521 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 522 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 523 | ); 524 | name = Products; 525 | sourceTree = ""; 526 | }; 527 | 139FDEE71B06529A00C62182 /* Products */ = { 528 | isa = PBXGroup; 529 | children = ( 530 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 531 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 532 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 533 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 534 | ); 535 | name = Products; 536 | sourceTree = ""; 537 | }; 538 | 13B07FAE1A68108700A75B9A /* example */ = { 539 | isa = PBXGroup; 540 | children = ( 541 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 542 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 543 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 544 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 545 | 13B07FB61A68108700A75B9A /* Info.plist */, 546 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 547 | 13B07FB71A68108700A75B9A /* main.m */, 548 | ); 549 | name = example; 550 | sourceTree = ""; 551 | }; 552 | 146834001AC3E56700842450 /* Products */ = { 553 | isa = PBXGroup; 554 | children = ( 555 | 146834041AC3E56700842450 /* libReact.a */, 556 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 557 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 558 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 559 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 560 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 561 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 562 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 563 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 564 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 565 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 566 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 567 | 48E7D07B2211DBB6006C905F /* libjsi.a */, 568 | 48E7D07D2211DBB6006C905F /* libjsiexecutor.a */, 569 | 48E7D07F2211DBB6006C905F /* libjsi-tvOS.a */, 570 | 48E7D0812211DBB6006C905F /* libjsiexecutor-tvOS.a */, 571 | ); 572 | name = Products; 573 | sourceTree = ""; 574 | }; 575 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 576 | isa = PBXGroup; 577 | children = ( 578 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 579 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 580 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 581 | ); 582 | name = Frameworks; 583 | sourceTree = ""; 584 | }; 585 | 48E7D0542211DBB4006C905F /* Recovered References */ = { 586 | isa = PBXGroup; 587 | children = ( 588 | 7A9D9EEA42D64FDB95704A9C /* libRNVectorIcons.a */, 589 | 96C2EBB7E23A4BDBAE249CF4 /* libRNVectorIcons-tvOS.a */, 590 | ); 591 | name = "Recovered References"; 592 | sourceTree = ""; 593 | }; 594 | 48E7D0822211DBB7006C905F /* Products */ = { 595 | isa = PBXGroup; 596 | children = ( 597 | 48E7D0872211DBB7006C905F /* libRNVectorIcons.a */, 598 | 48E7D0892211DBB7006C905F /* libRNVectorIcons-tvOS.a */, 599 | ); 600 | name = Products; 601 | sourceTree = ""; 602 | }; 603 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 604 | isa = PBXGroup; 605 | children = ( 606 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 607 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 608 | ); 609 | name = Products; 610 | sourceTree = ""; 611 | }; 612 | 78C398B11ACF4ADC00677621 /* Products */ = { 613 | isa = PBXGroup; 614 | children = ( 615 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 616 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 617 | ); 618 | name = Products; 619 | sourceTree = ""; 620 | }; 621 | 7EEA4A088CE24E7EBB0C43F2 /* Resources */ = { 622 | isa = PBXGroup; 623 | children = ( 624 | FAB2431D28174923B9B6BC4C /* AntDesign.ttf */, 625 | AF4AAD6ABD8F42BFA46C98BB /* Entypo.ttf */, 626 | 735B6A0E89824B04971AA899 /* EvilIcons.ttf */, 627 | A57BAF41769844C0ADCE9062 /* Feather.ttf */, 628 | C4AF4E73C0594F4490EB5A2F /* FontAwesome.ttf */, 629 | 7FBDEE0805A84B58AA2222D5 /* FontAwesome5_Brands.ttf */, 630 | 046381E5BC1648348FCED193 /* FontAwesome5_Regular.ttf */, 631 | 3B0900138E024820863F2B6B /* FontAwesome5_Solid.ttf */, 632 | E8963F764616484AA54DEDF4 /* Foundation.ttf */, 633 | 62CF2CEDC43849A3B051A436 /* Ionicons.ttf */, 634 | F4809D5FE84A4B7F80BF6F29 /* MaterialCommunityIcons.ttf */, 635 | A66214496E3E42629A3A5A62 /* MaterialIcons.ttf */, 636 | 919ECC37F35746E4B4E24FC8 /* Octicons.ttf */, 637 | BF13B10509B24022A4CCB74F /* SimpleLineIcons.ttf */, 638 | E6E1BE4318E6475AA8C1BC97 /* Zocial.ttf */, 639 | ); 640 | name = Resources; 641 | sourceTree = ""; 642 | }; 643 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 644 | isa = PBXGroup; 645 | children = ( 646 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 647 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 648 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 649 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 650 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 651 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 652 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 653 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 654 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 655 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 656 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 657 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 658 | 69EE2FF9681942128A01F43D /* RNVectorIcons.xcodeproj */, 659 | ); 660 | name = Libraries; 661 | sourceTree = ""; 662 | }; 663 | 832341B11AAA6A8300B99B32 /* Products */ = { 664 | isa = PBXGroup; 665 | children = ( 666 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 667 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 668 | ); 669 | name = Products; 670 | sourceTree = ""; 671 | }; 672 | 83CBB9F61A601CBA00E9B192 = { 673 | isa = PBXGroup; 674 | children = ( 675 | 13B07FAE1A68108700A75B9A /* example */, 676 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 677 | 00E356EF1AD99517003FC87E /* exampleTests */, 678 | 83CBBA001A601CBA00E9B192 /* Products */, 679 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 680 | 7EEA4A088CE24E7EBB0C43F2 /* Resources */, 681 | 48E7D0542211DBB4006C905F /* Recovered References */, 682 | ); 683 | indentWidth = 2; 684 | sourceTree = ""; 685 | tabWidth = 2; 686 | usesTabs = 0; 687 | }; 688 | 83CBBA001A601CBA00E9B192 /* Products */ = { 689 | isa = PBXGroup; 690 | children = ( 691 | 13B07F961A680F5B00A75B9A /* example.app */, 692 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */, 693 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */, 694 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */, 695 | ); 696 | name = Products; 697 | sourceTree = ""; 698 | }; 699 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 700 | isa = PBXGroup; 701 | children = ( 702 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 703 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 704 | ); 705 | name = Products; 706 | sourceTree = ""; 707 | }; 708 | /* End PBXGroup section */ 709 | 710 | /* Begin PBXNativeTarget section */ 711 | 00E356ED1AD99517003FC87E /* exampleTests */ = { 712 | isa = PBXNativeTarget; 713 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; 714 | buildPhases = ( 715 | 00E356EA1AD99517003FC87E /* Sources */, 716 | 00E356EB1AD99517003FC87E /* Frameworks */, 717 | 00E356EC1AD99517003FC87E /* Resources */, 718 | ); 719 | buildRules = ( 720 | ); 721 | dependencies = ( 722 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 723 | ); 724 | name = exampleTests; 725 | productName = exampleTests; 726 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; 727 | productType = "com.apple.product-type.bundle.unit-test"; 728 | }; 729 | 13B07F861A680F5B00A75B9A /* example */ = { 730 | isa = PBXNativeTarget; 731 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; 732 | buildPhases = ( 733 | 13B07F871A680F5B00A75B9A /* Sources */, 734 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 735 | 13B07F8E1A680F5B00A75B9A /* Resources */, 736 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 737 | ); 738 | buildRules = ( 739 | ); 740 | dependencies = ( 741 | ); 742 | name = example; 743 | productName = "Hello World"; 744 | productReference = 13B07F961A680F5B00A75B9A /* example.app */; 745 | productType = "com.apple.product-type.application"; 746 | }; 747 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = { 748 | isa = PBXNativeTarget; 749 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */; 750 | buildPhases = ( 751 | 2D02E4771E0B4A5D006451C7 /* Sources */, 752 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 753 | 2D02E4791E0B4A5D006451C7 /* Resources */, 754 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 755 | ); 756 | buildRules = ( 757 | ); 758 | dependencies = ( 759 | ); 760 | name = "example-tvOS"; 761 | productName = "example-tvOS"; 762 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */; 763 | productType = "com.apple.product-type.application"; 764 | }; 765 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = { 766 | isa = PBXNativeTarget; 767 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */; 768 | buildPhases = ( 769 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 770 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 771 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 772 | ); 773 | buildRules = ( 774 | ); 775 | dependencies = ( 776 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 777 | ); 778 | name = "example-tvOSTests"; 779 | productName = "example-tvOSTests"; 780 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */; 781 | productType = "com.apple.product-type.bundle.unit-test"; 782 | }; 783 | /* End PBXNativeTarget section */ 784 | 785 | /* Begin PBXProject section */ 786 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 787 | isa = PBXProject; 788 | attributes = { 789 | LastUpgradeCheck = 940; 790 | ORGANIZATIONNAME = Facebook; 791 | TargetAttributes = { 792 | 00E356ED1AD99517003FC87E = { 793 | CreatedOnToolsVersion = 6.2; 794 | DevelopmentTeam = 9HD96DRT2B; 795 | TestTargetID = 13B07F861A680F5B00A75B9A; 796 | }; 797 | 13B07F861A680F5B00A75B9A = { 798 | DevelopmentTeam = 9HD96DRT2B; 799 | }; 800 | 2D02E47A1E0B4A5D006451C7 = { 801 | CreatedOnToolsVersion = 8.2.1; 802 | ProvisioningStyle = Automatic; 803 | }; 804 | 2D02E48F1E0B4A5D006451C7 = { 805 | CreatedOnToolsVersion = 8.2.1; 806 | ProvisioningStyle = Automatic; 807 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 808 | }; 809 | }; 810 | }; 811 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; 812 | compatibilityVersion = "Xcode 3.2"; 813 | developmentRegion = English; 814 | hasScannedForEncodings = 0; 815 | knownRegions = ( 816 | en, 817 | Base, 818 | ); 819 | mainGroup = 83CBB9F61A601CBA00E9B192; 820 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 821 | projectDirPath = ""; 822 | projectReferences = ( 823 | { 824 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 825 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 826 | }, 827 | { 828 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 829 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 830 | }, 831 | { 832 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 833 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 834 | }, 835 | { 836 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 837 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 838 | }, 839 | { 840 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 841 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 842 | }, 843 | { 844 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 845 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 846 | }, 847 | { 848 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 849 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 850 | }, 851 | { 852 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 853 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 854 | }, 855 | { 856 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 857 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 858 | }, 859 | { 860 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 861 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 862 | }, 863 | { 864 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 865 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 866 | }, 867 | { 868 | ProductGroup = 146834001AC3E56700842450 /* Products */; 869 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 870 | }, 871 | { 872 | ProductGroup = 48E7D0822211DBB7006C905F /* Products */; 873 | ProjectRef = 69EE2FF9681942128A01F43D /* RNVectorIcons.xcodeproj */; 874 | }, 875 | ); 876 | projectRoot = ""; 877 | targets = ( 878 | 13B07F861A680F5B00A75B9A /* example */, 879 | 00E356ED1AD99517003FC87E /* exampleTests */, 880 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */, 881 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */, 882 | ); 883 | }; 884 | /* End PBXProject section */ 885 | 886 | /* Begin PBXReferenceProxy section */ 887 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 888 | isa = PBXReferenceProxy; 889 | fileType = archive.ar; 890 | path = libRCTActionSheet.a; 891 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 892 | sourceTree = BUILT_PRODUCTS_DIR; 893 | }; 894 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 895 | isa = PBXReferenceProxy; 896 | fileType = archive.ar; 897 | path = libRCTGeolocation.a; 898 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 899 | sourceTree = BUILT_PRODUCTS_DIR; 900 | }; 901 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 902 | isa = PBXReferenceProxy; 903 | fileType = archive.ar; 904 | path = libRCTImage.a; 905 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 906 | sourceTree = BUILT_PRODUCTS_DIR; 907 | }; 908 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 909 | isa = PBXReferenceProxy; 910 | fileType = archive.ar; 911 | path = libRCTNetwork.a; 912 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 913 | sourceTree = BUILT_PRODUCTS_DIR; 914 | }; 915 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 916 | isa = PBXReferenceProxy; 917 | fileType = archive.ar; 918 | path = libRCTVibration.a; 919 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 920 | sourceTree = BUILT_PRODUCTS_DIR; 921 | }; 922 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 923 | isa = PBXReferenceProxy; 924 | fileType = archive.ar; 925 | path = libRCTSettings.a; 926 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 927 | sourceTree = BUILT_PRODUCTS_DIR; 928 | }; 929 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 930 | isa = PBXReferenceProxy; 931 | fileType = archive.ar; 932 | path = libRCTWebSocket.a; 933 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 934 | sourceTree = BUILT_PRODUCTS_DIR; 935 | }; 936 | 146834041AC3E56700842450 /* libReact.a */ = { 937 | isa = PBXReferenceProxy; 938 | fileType = archive.ar; 939 | path = libReact.a; 940 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 941 | sourceTree = BUILT_PRODUCTS_DIR; 942 | }; 943 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 944 | isa = PBXReferenceProxy; 945 | fileType = archive.ar; 946 | path = "libRCTBlob-tvOS.a"; 947 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 948 | sourceTree = BUILT_PRODUCTS_DIR; 949 | }; 950 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 951 | isa = PBXReferenceProxy; 952 | fileType = archive.ar; 953 | path = libfishhook.a; 954 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 955 | sourceTree = BUILT_PRODUCTS_DIR; 956 | }; 957 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 958 | isa = PBXReferenceProxy; 959 | fileType = archive.ar; 960 | path = "libfishhook-tvOS.a"; 961 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 962 | sourceTree = BUILT_PRODUCTS_DIR; 963 | }; 964 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 965 | isa = PBXReferenceProxy; 966 | fileType = archive.ar; 967 | path = libjsinspector.a; 968 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 969 | sourceTree = BUILT_PRODUCTS_DIR; 970 | }; 971 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 972 | isa = PBXReferenceProxy; 973 | fileType = archive.ar; 974 | path = "libjsinspector-tvOS.a"; 975 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 976 | sourceTree = BUILT_PRODUCTS_DIR; 977 | }; 978 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 979 | isa = PBXReferenceProxy; 980 | fileType = archive.ar; 981 | path = "libthird-party.a"; 982 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 983 | sourceTree = BUILT_PRODUCTS_DIR; 984 | }; 985 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 986 | isa = PBXReferenceProxy; 987 | fileType = archive.ar; 988 | path = "libthird-party.a"; 989 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 990 | sourceTree = BUILT_PRODUCTS_DIR; 991 | }; 992 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 993 | isa = PBXReferenceProxy; 994 | fileType = archive.ar; 995 | path = "libdouble-conversion.a"; 996 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 997 | sourceTree = BUILT_PRODUCTS_DIR; 998 | }; 999 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 1000 | isa = PBXReferenceProxy; 1001 | fileType = archive.ar; 1002 | path = "libdouble-conversion.a"; 1003 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 1004 | sourceTree = BUILT_PRODUCTS_DIR; 1005 | }; 1006 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 1007 | isa = PBXReferenceProxy; 1008 | fileType = archive.ar; 1009 | path = "libRCTImage-tvOS.a"; 1010 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 1011 | sourceTree = BUILT_PRODUCTS_DIR; 1012 | }; 1013 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 1014 | isa = PBXReferenceProxy; 1015 | fileType = archive.ar; 1016 | path = "libRCTLinking-tvOS.a"; 1017 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 1018 | sourceTree = BUILT_PRODUCTS_DIR; 1019 | }; 1020 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 1021 | isa = PBXReferenceProxy; 1022 | fileType = archive.ar; 1023 | path = "libRCTNetwork-tvOS.a"; 1024 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 1025 | sourceTree = BUILT_PRODUCTS_DIR; 1026 | }; 1027 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 1028 | isa = PBXReferenceProxy; 1029 | fileType = archive.ar; 1030 | path = "libRCTSettings-tvOS.a"; 1031 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 1032 | sourceTree = BUILT_PRODUCTS_DIR; 1033 | }; 1034 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 1035 | isa = PBXReferenceProxy; 1036 | fileType = archive.ar; 1037 | path = "libRCTText-tvOS.a"; 1038 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 1039 | sourceTree = BUILT_PRODUCTS_DIR; 1040 | }; 1041 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 1042 | isa = PBXReferenceProxy; 1043 | fileType = archive.ar; 1044 | path = "libRCTWebSocket-tvOS.a"; 1045 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 1046 | sourceTree = BUILT_PRODUCTS_DIR; 1047 | }; 1048 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 1049 | isa = PBXReferenceProxy; 1050 | fileType = archive.ar; 1051 | path = libReact.a; 1052 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 1053 | sourceTree = BUILT_PRODUCTS_DIR; 1054 | }; 1055 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1056 | isa = PBXReferenceProxy; 1057 | fileType = archive.ar; 1058 | path = libyoga.a; 1059 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1060 | sourceTree = BUILT_PRODUCTS_DIR; 1061 | }; 1062 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1063 | isa = PBXReferenceProxy; 1064 | fileType = archive.ar; 1065 | path = libyoga.a; 1066 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1067 | sourceTree = BUILT_PRODUCTS_DIR; 1068 | }; 1069 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1070 | isa = PBXReferenceProxy; 1071 | fileType = archive.ar; 1072 | path = libcxxreact.a; 1073 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1074 | sourceTree = BUILT_PRODUCTS_DIR; 1075 | }; 1076 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1077 | isa = PBXReferenceProxy; 1078 | fileType = archive.ar; 1079 | path = libcxxreact.a; 1080 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1081 | sourceTree = BUILT_PRODUCTS_DIR; 1082 | }; 1083 | 48E7D07B2211DBB6006C905F /* libjsi.a */ = { 1084 | isa = PBXReferenceProxy; 1085 | fileType = archive.ar; 1086 | path = libjsi.a; 1087 | remoteRef = 48E7D07A2211DBB6006C905F /* PBXContainerItemProxy */; 1088 | sourceTree = BUILT_PRODUCTS_DIR; 1089 | }; 1090 | 48E7D07D2211DBB6006C905F /* libjsiexecutor.a */ = { 1091 | isa = PBXReferenceProxy; 1092 | fileType = archive.ar; 1093 | path = libjsiexecutor.a; 1094 | remoteRef = 48E7D07C2211DBB6006C905F /* PBXContainerItemProxy */; 1095 | sourceTree = BUILT_PRODUCTS_DIR; 1096 | }; 1097 | 48E7D07F2211DBB6006C905F /* libjsi-tvOS.a */ = { 1098 | isa = PBXReferenceProxy; 1099 | fileType = archive.ar; 1100 | path = "libjsi-tvOS.a"; 1101 | remoteRef = 48E7D07E2211DBB6006C905F /* PBXContainerItemProxy */; 1102 | sourceTree = BUILT_PRODUCTS_DIR; 1103 | }; 1104 | 48E7D0812211DBB6006C905F /* libjsiexecutor-tvOS.a */ = { 1105 | isa = PBXReferenceProxy; 1106 | fileType = archive.ar; 1107 | path = "libjsiexecutor-tvOS.a"; 1108 | remoteRef = 48E7D0802211DBB6006C905F /* PBXContainerItemProxy */; 1109 | sourceTree = BUILT_PRODUCTS_DIR; 1110 | }; 1111 | 48E7D0872211DBB7006C905F /* libRNVectorIcons.a */ = { 1112 | isa = PBXReferenceProxy; 1113 | fileType = archive.ar; 1114 | path = libRNVectorIcons.a; 1115 | remoteRef = 48E7D0862211DBB7006C905F /* PBXContainerItemProxy */; 1116 | sourceTree = BUILT_PRODUCTS_DIR; 1117 | }; 1118 | 48E7D0892211DBB7006C905F /* libRNVectorIcons-tvOS.a */ = { 1119 | isa = PBXReferenceProxy; 1120 | fileType = archive.ar; 1121 | path = "libRNVectorIcons-tvOS.a"; 1122 | remoteRef = 48E7D0882211DBB7006C905F /* PBXContainerItemProxy */; 1123 | sourceTree = BUILT_PRODUCTS_DIR; 1124 | }; 1125 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1126 | isa = PBXReferenceProxy; 1127 | fileType = archive.ar; 1128 | path = libRCTAnimation.a; 1129 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1130 | sourceTree = BUILT_PRODUCTS_DIR; 1131 | }; 1132 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1133 | isa = PBXReferenceProxy; 1134 | fileType = archive.ar; 1135 | path = libRCTAnimation.a; 1136 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1137 | sourceTree = BUILT_PRODUCTS_DIR; 1138 | }; 1139 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1140 | isa = PBXReferenceProxy; 1141 | fileType = archive.ar; 1142 | path = libRCTLinking.a; 1143 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1144 | sourceTree = BUILT_PRODUCTS_DIR; 1145 | }; 1146 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1147 | isa = PBXReferenceProxy; 1148 | fileType = archive.ar; 1149 | path = libRCTText.a; 1150 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1151 | sourceTree = BUILT_PRODUCTS_DIR; 1152 | }; 1153 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1154 | isa = PBXReferenceProxy; 1155 | fileType = archive.ar; 1156 | path = libRCTBlob.a; 1157 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1158 | sourceTree = BUILT_PRODUCTS_DIR; 1159 | }; 1160 | /* End PBXReferenceProxy section */ 1161 | 1162 | /* Begin PBXResourcesBuildPhase section */ 1163 | 00E356EC1AD99517003FC87E /* Resources */ = { 1164 | isa = PBXResourcesBuildPhase; 1165 | buildActionMask = 2147483647; 1166 | files = ( 1167 | ); 1168 | runOnlyForDeploymentPostprocessing = 0; 1169 | }; 1170 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1171 | isa = PBXResourcesBuildPhase; 1172 | buildActionMask = 2147483647; 1173 | files = ( 1174 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1175 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1176 | E5E83738711D4CA0AE951D56 /* AntDesign.ttf in Resources */, 1177 | 7A8E8579A006474DB2370152 /* Entypo.ttf in Resources */, 1178 | 3B8973F079314C3B9C219264 /* EvilIcons.ttf in Resources */, 1179 | F559E6193EEB459AA3DF7122 /* Feather.ttf in Resources */, 1180 | EB03282D636E46FF8487CA88 /* FontAwesome.ttf in Resources */, 1181 | 2031BD28685D4E08B43CA1BF /* FontAwesome5_Brands.ttf in Resources */, 1182 | 91665D61DEED4CE2890FF167 /* FontAwesome5_Regular.ttf in Resources */, 1183 | D78D1177AFE5435FBE76834B /* FontAwesome5_Solid.ttf in Resources */, 1184 | 5002174F35C94A87B1DAC119 /* Foundation.ttf in Resources */, 1185 | E11893C4E4D04CF88159C331 /* Ionicons.ttf in Resources */, 1186 | 603E6B98EE814BFB8D78E401 /* MaterialCommunityIcons.ttf in Resources */, 1187 | 53DBEBB7C1ED495EBD448E87 /* MaterialIcons.ttf in Resources */, 1188 | 2283019AABAB4F6AB929F6BE /* Octicons.ttf in Resources */, 1189 | D9744CBE75504742B0C8E056 /* SimpleLineIcons.ttf in Resources */, 1190 | 7CE51961DC04484E9E959FE4 /* Zocial.ttf in Resources */, 1191 | ); 1192 | runOnlyForDeploymentPostprocessing = 0; 1193 | }; 1194 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1195 | isa = PBXResourcesBuildPhase; 1196 | buildActionMask = 2147483647; 1197 | files = ( 1198 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1199 | ); 1200 | runOnlyForDeploymentPostprocessing = 0; 1201 | }; 1202 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1203 | isa = PBXResourcesBuildPhase; 1204 | buildActionMask = 2147483647; 1205 | files = ( 1206 | ); 1207 | runOnlyForDeploymentPostprocessing = 0; 1208 | }; 1209 | /* End PBXResourcesBuildPhase section */ 1210 | 1211 | /* Begin PBXShellScriptBuildPhase section */ 1212 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1213 | isa = PBXShellScriptBuildPhase; 1214 | buildActionMask = 2147483647; 1215 | files = ( 1216 | ); 1217 | inputPaths = ( 1218 | ); 1219 | name = "Bundle React Native code and images"; 1220 | outputPaths = ( 1221 | ); 1222 | runOnlyForDeploymentPostprocessing = 0; 1223 | shellPath = /bin/sh; 1224 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1225 | }; 1226 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1227 | isa = PBXShellScriptBuildPhase; 1228 | buildActionMask = 2147483647; 1229 | files = ( 1230 | ); 1231 | inputPaths = ( 1232 | ); 1233 | name = "Bundle React Native Code And Images"; 1234 | outputPaths = ( 1235 | ); 1236 | runOnlyForDeploymentPostprocessing = 0; 1237 | shellPath = /bin/sh; 1238 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1239 | }; 1240 | /* End PBXShellScriptBuildPhase section */ 1241 | 1242 | /* Begin PBXSourcesBuildPhase section */ 1243 | 00E356EA1AD99517003FC87E /* Sources */ = { 1244 | isa = PBXSourcesBuildPhase; 1245 | buildActionMask = 2147483647; 1246 | files = ( 1247 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, 1248 | ); 1249 | runOnlyForDeploymentPostprocessing = 0; 1250 | }; 1251 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1252 | isa = PBXSourcesBuildPhase; 1253 | buildActionMask = 2147483647; 1254 | files = ( 1255 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1256 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1257 | ); 1258 | runOnlyForDeploymentPostprocessing = 0; 1259 | }; 1260 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1261 | isa = PBXSourcesBuildPhase; 1262 | buildActionMask = 2147483647; 1263 | files = ( 1264 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1265 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1266 | ); 1267 | runOnlyForDeploymentPostprocessing = 0; 1268 | }; 1269 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1270 | isa = PBXSourcesBuildPhase; 1271 | buildActionMask = 2147483647; 1272 | files = ( 1273 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */, 1274 | ); 1275 | runOnlyForDeploymentPostprocessing = 0; 1276 | }; 1277 | /* End PBXSourcesBuildPhase section */ 1278 | 1279 | /* Begin PBXTargetDependency section */ 1280 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1281 | isa = PBXTargetDependency; 1282 | target = 13B07F861A680F5B00A75B9A /* example */; 1283 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1284 | }; 1285 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1286 | isa = PBXTargetDependency; 1287 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */; 1288 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1289 | }; 1290 | /* End PBXTargetDependency section */ 1291 | 1292 | /* Begin PBXVariantGroup section */ 1293 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1294 | isa = PBXVariantGroup; 1295 | children = ( 1296 | 13B07FB21A68108700A75B9A /* Base */, 1297 | ); 1298 | name = LaunchScreen.xib; 1299 | path = example; 1300 | sourceTree = ""; 1301 | }; 1302 | /* End PBXVariantGroup section */ 1303 | 1304 | /* Begin XCBuildConfiguration section */ 1305 | 00E356F61AD99517003FC87E /* Debug */ = { 1306 | isa = XCBuildConfiguration; 1307 | buildSettings = { 1308 | BUNDLE_LOADER = "$(TEST_HOST)"; 1309 | DEVELOPMENT_TEAM = 9HD96DRT2B; 1310 | GCC_PREPROCESSOR_DEFINITIONS = ( 1311 | "DEBUG=1", 1312 | "$(inherited)", 1313 | ); 1314 | HEADER_SEARCH_PATHS = ( 1315 | "$(inherited)", 1316 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1317 | ); 1318 | INFOPLIST_FILE = exampleTests/Info.plist; 1319 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1320 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1321 | LIBRARY_SEARCH_PATHS = ( 1322 | "$(inherited)", 1323 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1324 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1325 | ); 1326 | OTHER_LDFLAGS = ( 1327 | "-ObjC", 1328 | "-lc++", 1329 | ); 1330 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1331 | PRODUCT_NAME = "$(TARGET_NAME)"; 1332 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1333 | }; 1334 | name = Debug; 1335 | }; 1336 | 00E356F71AD99517003FC87E /* Release */ = { 1337 | isa = XCBuildConfiguration; 1338 | buildSettings = { 1339 | BUNDLE_LOADER = "$(TEST_HOST)"; 1340 | COPY_PHASE_STRIP = NO; 1341 | DEVELOPMENT_TEAM = 9HD96DRT2B; 1342 | HEADER_SEARCH_PATHS = ( 1343 | "$(inherited)", 1344 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1345 | ); 1346 | INFOPLIST_FILE = exampleTests/Info.plist; 1347 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1348 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1349 | LIBRARY_SEARCH_PATHS = ( 1350 | "$(inherited)", 1351 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1352 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1353 | ); 1354 | OTHER_LDFLAGS = ( 1355 | "-ObjC", 1356 | "-lc++", 1357 | ); 1358 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1359 | PRODUCT_NAME = "$(TARGET_NAME)"; 1360 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 1361 | }; 1362 | name = Release; 1363 | }; 1364 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1365 | isa = XCBuildConfiguration; 1366 | buildSettings = { 1367 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1368 | CURRENT_PROJECT_VERSION = 1; 1369 | DEAD_CODE_STRIPPING = NO; 1370 | DEVELOPMENT_TEAM = 9HD96DRT2B; 1371 | HEADER_SEARCH_PATHS = ( 1372 | "$(inherited)", 1373 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1374 | ); 1375 | INFOPLIST_FILE = example/Info.plist; 1376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1377 | OTHER_LDFLAGS = ( 1378 | "$(inherited)", 1379 | "-ObjC", 1380 | "-lc++", 1381 | ); 1382 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1383 | PRODUCT_NAME = example; 1384 | VERSIONING_SYSTEM = "apple-generic"; 1385 | }; 1386 | name = Debug; 1387 | }; 1388 | 13B07F951A680F5B00A75B9A /* Release */ = { 1389 | isa = XCBuildConfiguration; 1390 | buildSettings = { 1391 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1392 | CURRENT_PROJECT_VERSION = 1; 1393 | DEVELOPMENT_TEAM = 9HD96DRT2B; 1394 | HEADER_SEARCH_PATHS = ( 1395 | "$(inherited)", 1396 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1397 | ); 1398 | INFOPLIST_FILE = example/Info.plist; 1399 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1400 | OTHER_LDFLAGS = ( 1401 | "$(inherited)", 1402 | "-ObjC", 1403 | "-lc++", 1404 | ); 1405 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1406 | PRODUCT_NAME = example; 1407 | VERSIONING_SYSTEM = "apple-generic"; 1408 | }; 1409 | name = Release; 1410 | }; 1411 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1412 | isa = XCBuildConfiguration; 1413 | buildSettings = { 1414 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1415 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1416 | CLANG_ANALYZER_NONNULL = YES; 1417 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1418 | CLANG_WARN_INFINITE_RECURSION = YES; 1419 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1420 | DEBUG_INFORMATION_FORMAT = dwarf; 1421 | ENABLE_TESTABILITY = YES; 1422 | GCC_NO_COMMON_BLOCKS = YES; 1423 | HEADER_SEARCH_PATHS = ( 1424 | "$(inherited)", 1425 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1426 | ); 1427 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1429 | LIBRARY_SEARCH_PATHS = ( 1430 | "$(inherited)", 1431 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1432 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1433 | ); 1434 | OTHER_LDFLAGS = ( 1435 | "-ObjC", 1436 | "-lc++", 1437 | ); 1438 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1439 | PRODUCT_NAME = "$(TARGET_NAME)"; 1440 | SDKROOT = appletvos; 1441 | TARGETED_DEVICE_FAMILY = 3; 1442 | TVOS_DEPLOYMENT_TARGET = 9.2; 1443 | }; 1444 | name = Debug; 1445 | }; 1446 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1447 | isa = XCBuildConfiguration; 1448 | buildSettings = { 1449 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1450 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1451 | CLANG_ANALYZER_NONNULL = YES; 1452 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1453 | CLANG_WARN_INFINITE_RECURSION = YES; 1454 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1455 | COPY_PHASE_STRIP = NO; 1456 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1457 | GCC_NO_COMMON_BLOCKS = YES; 1458 | HEADER_SEARCH_PATHS = ( 1459 | "$(inherited)", 1460 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1461 | ); 1462 | INFOPLIST_FILE = "example-tvOS/Info.plist"; 1463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1464 | LIBRARY_SEARCH_PATHS = ( 1465 | "$(inherited)", 1466 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1467 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1468 | ); 1469 | OTHER_LDFLAGS = ( 1470 | "-ObjC", 1471 | "-lc++", 1472 | ); 1473 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS"; 1474 | PRODUCT_NAME = "$(TARGET_NAME)"; 1475 | SDKROOT = appletvos; 1476 | TARGETED_DEVICE_FAMILY = 3; 1477 | TVOS_DEPLOYMENT_TARGET = 9.2; 1478 | }; 1479 | name = Release; 1480 | }; 1481 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1482 | isa = XCBuildConfiguration; 1483 | buildSettings = { 1484 | BUNDLE_LOADER = "$(TEST_HOST)"; 1485 | CLANG_ANALYZER_NONNULL = YES; 1486 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1487 | CLANG_WARN_INFINITE_RECURSION = YES; 1488 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1489 | DEBUG_INFORMATION_FORMAT = dwarf; 1490 | ENABLE_TESTABILITY = YES; 1491 | GCC_NO_COMMON_BLOCKS = YES; 1492 | HEADER_SEARCH_PATHS = ( 1493 | "$(inherited)", 1494 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1495 | ); 1496 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1497 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1498 | LIBRARY_SEARCH_PATHS = ( 1499 | "$(inherited)", 1500 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1501 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1502 | ); 1503 | OTHER_LDFLAGS = ( 1504 | "-ObjC", 1505 | "-lc++", 1506 | ); 1507 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1508 | PRODUCT_NAME = "$(TARGET_NAME)"; 1509 | SDKROOT = appletvos; 1510 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1511 | TVOS_DEPLOYMENT_TARGET = 10.1; 1512 | }; 1513 | name = Debug; 1514 | }; 1515 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1516 | isa = XCBuildConfiguration; 1517 | buildSettings = { 1518 | BUNDLE_LOADER = "$(TEST_HOST)"; 1519 | CLANG_ANALYZER_NONNULL = YES; 1520 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1521 | CLANG_WARN_INFINITE_RECURSION = YES; 1522 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1523 | COPY_PHASE_STRIP = NO; 1524 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1525 | GCC_NO_COMMON_BLOCKS = YES; 1526 | HEADER_SEARCH_PATHS = ( 1527 | "$(inherited)", 1528 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1529 | ); 1530 | INFOPLIST_FILE = "example-tvOSTests/Info.plist"; 1531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1532 | LIBRARY_SEARCH_PATHS = ( 1533 | "$(inherited)", 1534 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1535 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1536 | ); 1537 | OTHER_LDFLAGS = ( 1538 | "-ObjC", 1539 | "-lc++", 1540 | ); 1541 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests"; 1542 | PRODUCT_NAME = "$(TARGET_NAME)"; 1543 | SDKROOT = appletvos; 1544 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS"; 1545 | TVOS_DEPLOYMENT_TARGET = 10.1; 1546 | }; 1547 | name = Release; 1548 | }; 1549 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1550 | isa = XCBuildConfiguration; 1551 | buildSettings = { 1552 | ALWAYS_SEARCH_USER_PATHS = NO; 1553 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1554 | CLANG_CXX_LIBRARY = "libc++"; 1555 | CLANG_ENABLE_MODULES = YES; 1556 | CLANG_ENABLE_OBJC_ARC = YES; 1557 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1558 | CLANG_WARN_BOOL_CONVERSION = YES; 1559 | CLANG_WARN_COMMA = YES; 1560 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1561 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1562 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1563 | CLANG_WARN_EMPTY_BODY = YES; 1564 | CLANG_WARN_ENUM_CONVERSION = YES; 1565 | CLANG_WARN_INFINITE_RECURSION = YES; 1566 | CLANG_WARN_INT_CONVERSION = YES; 1567 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1568 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1569 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1570 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1571 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1572 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1573 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 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 = NO; 1578 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1579 | ENABLE_TESTABILITY = YES; 1580 | GCC_C_LANGUAGE_STANDARD = gnu99; 1581 | GCC_DYNAMIC_NO_PIC = NO; 1582 | GCC_NO_COMMON_BLOCKS = YES; 1583 | GCC_OPTIMIZATION_LEVEL = 0; 1584 | GCC_PREPROCESSOR_DEFINITIONS = ( 1585 | "DEBUG=1", 1586 | "$(inherited)", 1587 | ); 1588 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1589 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1590 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1591 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1592 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1593 | GCC_WARN_UNUSED_FUNCTION = YES; 1594 | GCC_WARN_UNUSED_VARIABLE = YES; 1595 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1596 | MTL_ENABLE_DEBUG_INFO = YES; 1597 | ONLY_ACTIVE_ARCH = YES; 1598 | SDKROOT = iphoneos; 1599 | }; 1600 | name = Debug; 1601 | }; 1602 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1603 | isa = XCBuildConfiguration; 1604 | buildSettings = { 1605 | ALWAYS_SEARCH_USER_PATHS = NO; 1606 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1607 | CLANG_CXX_LIBRARY = "libc++"; 1608 | CLANG_ENABLE_MODULES = YES; 1609 | CLANG_ENABLE_OBJC_ARC = YES; 1610 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1611 | CLANG_WARN_BOOL_CONVERSION = YES; 1612 | CLANG_WARN_COMMA = YES; 1613 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1614 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1615 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1616 | CLANG_WARN_EMPTY_BODY = YES; 1617 | CLANG_WARN_ENUM_CONVERSION = YES; 1618 | CLANG_WARN_INFINITE_RECURSION = YES; 1619 | CLANG_WARN_INT_CONVERSION = YES; 1620 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1621 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1622 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1623 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1624 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1625 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1626 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1627 | CLANG_WARN_UNREACHABLE_CODE = YES; 1628 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1629 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1630 | COPY_PHASE_STRIP = YES; 1631 | ENABLE_NS_ASSERTIONS = NO; 1632 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1633 | GCC_C_LANGUAGE_STANDARD = gnu99; 1634 | GCC_NO_COMMON_BLOCKS = YES; 1635 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1636 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1637 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1638 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1639 | GCC_WARN_UNUSED_FUNCTION = YES; 1640 | GCC_WARN_UNUSED_VARIABLE = YES; 1641 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1642 | MTL_ENABLE_DEBUG_INFO = NO; 1643 | SDKROOT = iphoneos; 1644 | VALIDATE_PRODUCT = YES; 1645 | }; 1646 | name = Release; 1647 | }; 1648 | /* End XCBuildConfiguration section */ 1649 | 1650 | /* Begin XCConfigurationList section */ 1651 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { 1652 | isa = XCConfigurationList; 1653 | buildConfigurations = ( 1654 | 00E356F61AD99517003FC87E /* Debug */, 1655 | 00E356F71AD99517003FC87E /* Release */, 1656 | ); 1657 | defaultConfigurationIsVisible = 0; 1658 | defaultConfigurationName = Release; 1659 | }; 1660 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { 1661 | isa = XCConfigurationList; 1662 | buildConfigurations = ( 1663 | 13B07F941A680F5B00A75B9A /* Debug */, 1664 | 13B07F951A680F5B00A75B9A /* Release */, 1665 | ); 1666 | defaultConfigurationIsVisible = 0; 1667 | defaultConfigurationName = Release; 1668 | }; 1669 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = { 1670 | isa = XCConfigurationList; 1671 | buildConfigurations = ( 1672 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1673 | 2D02E4981E0B4A5E006451C7 /* Release */, 1674 | ); 1675 | defaultConfigurationIsVisible = 0; 1676 | defaultConfigurationName = Release; 1677 | }; 1678 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = { 1679 | isa = XCConfigurationList; 1680 | buildConfigurations = ( 1681 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1682 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1683 | ); 1684 | defaultConfigurationIsVisible = 0; 1685 | defaultConfigurationName = Release; 1686 | }; 1687 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { 1688 | isa = XCConfigurationList; 1689 | buildConfigurations = ( 1690 | 83CBBA201A601CBA00E9B192 /* Debug */, 1691 | 83CBBA211A601CBA00E9B192 /* Release */, 1692 | ); 1693 | defaultConfigurationIsVisible = 0; 1694 | defaultConfigurationName = Release; 1695 | }; 1696 | /* End XCConfigurationList section */ 1697 | }; 1698 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1699 | } 1700 | --------------------------------------------------------------------------------