├── .gitignore ├── Example ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── __tests__ │ └── App-test.js ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── build_defs.bzl │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── res │ │ │ │ └── xml │ │ │ │ └── react_native_config.xml │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── 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 │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios │ ├── Example-tvOS │ │ └── Info.plist │ ├── Example-tvOSTests │ │ └── Info.plist │ ├── Example.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Example-tvOS.xcscheme │ │ │ └── Example.xcscheme │ ├── Example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── ExampleTests │ │ ├── ExampleTests.m │ │ └── Info.plist ├── metro.config.js ├── package.json └── yarn.lock ├── LICENSE ├── README.md ├── RNTextSwitch.js ├── android ├── build.gradle └── src │ └── main │ ├── AndroidManifest.xml │ └── java │ └── com │ └── reactlibrary │ ├── RNTextSwitchModule.java │ └── RNTextSwitchPackage.java ├── ios ├── Podfile ├── RNTextSwitch.h ├── RNTextSwitch.m ├── RNTextSwitch.podspec ├── RNTextSwitch.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ └── pranav.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist └── RNTextSwitch.xcworkspace │ └── contents.xcworkspacedata └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | 3 | # OSX 4 | # 5 | .DS_Store 6 | 7 | # node.js 8 | # 9 | node_modules/ 10 | npm-debug.log 11 | yarn-error.log 12 | 13 | 14 | # Xcode 15 | # 16 | build/ 17 | *.pbxuser 18 | !default.pbxuser 19 | *.mode1v3 20 | !default.mode1v3 21 | *.mode2v3 22 | !default.mode2v3 23 | *.perspectivev3 24 | !default.perspectivev3 25 | xcuserdata 26 | *.xccheckout 27 | *.moved-aside 28 | DerivedData 29 | *.hmap 30 | *.ipa 31 | *.xcuserstate 32 | project.xcworkspace 33 | 34 | 35 | # Android/IntelliJ 36 | # 37 | build/ 38 | .idea 39 | .gradle 40 | local.properties 41 | *.iml 42 | 43 | # BUCK 44 | buck-out/ 45 | \.buckd/ 46 | *.keystore 47 | 48 | 49 | .history/* -------------------------------------------------------------------------------- /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/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | 28 | [options] 29 | emoji=true 30 | 31 | esproposal.optional_chaining=enable 32 | esproposal.nullish_coalescing=enable 33 | 34 | module.system=haste 35 | module.system.haste.use_name_reducers=true 36 | # get basename 37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 38 | # strip .js or .js.flow suffix 39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 40 | # strip .ios suffix 41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 44 | module.system.haste.paths.blacklist=.*/__tests__/.* 45 | module.system.haste.paths.blacklist=.*/__mocks__/.* 46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 48 | 49 | munge_underscores=true 50 | 51 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 52 | 53 | module.file_ext=.js 54 | module.file_ext=.jsx 55 | module.file_ext=.json 56 | module.file_ext=.native.js 57 | 58 | suppress_type=$FlowIssue 59 | suppress_type=$FlowFixMe 60 | suppress_type=$FlowFixMeProps 61 | suppress_type=$FlowFixMeState 62 | 63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 67 | 68 | [version] 69 | ^0.92.0 70 | -------------------------------------------------------------------------------- /Example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Example/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | * @flow 7 | */ 8 | 9 | import React, {Component} from 'react'; 10 | import {Platform, StyleSheet, Text, View} from 'react-native'; 11 | import { RNTextSwitch } from "react-native-text-switch"; 12 | 13 | const instructions = Platform.select({ 14 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 15 | android: 16 | 'Double tap R on your keyboard to reload,\n' + 17 | 'Shake or press menu button for dev menu', 18 | }); 19 | 20 | type Props = {}; 21 | export default class App extends Component { 22 | render() { 23 | return ( 24 | 25 | 26 | 27 | ); 28 | } 29 | } 30 | 31 | const styles = StyleSheet.create({ 32 | container: { 33 | flex: 1, 34 | justifyContent: 'center', 35 | alignItems: 'center', 36 | backgroundColor: '#F5FCFF', 37 | }, 38 | welcome: { 39 | fontSize: 20, 40 | textAlign: 'center', 41 | margin: 10, 42 | }, 43 | instructions: { 44 | textAlign: 'center', 45 | color: '#333333', 46 | marginBottom: 5, 47 | }, 48 | }); 49 | -------------------------------------------------------------------------------- /Example/__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | 99 | compileOptions { 100 | sourceCompatibility JavaVersion.VERSION_1_8 101 | targetCompatibility JavaVersion.VERSION_1_8 102 | } 103 | 104 | defaultConfig { 105 | applicationId "com.example" 106 | minSdkVersion rootProject.ext.minSdkVersion 107 | targetSdkVersion rootProject.ext.targetSdkVersion 108 | versionCode 1 109 | versionName "1.0" 110 | } 111 | splits { 112 | abi { 113 | reset() 114 | enable enableSeparateBuildPerCPUArchitecture 115 | universalApk false // If true, also generate a universal APK 116 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 117 | } 118 | } 119 | buildTypes { 120 | release { 121 | minifyEnabled enableProguardInReleaseBuilds 122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 123 | } 124 | } 125 | // applicationVariants are e.g. debug, release 126 | applicationVariants.all { variant -> 127 | variant.outputs.each { output -> 128 | // For each separate APK per architecture, set a unique version code as described here: 129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 130 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4] 131 | def abi = output.getFilter(OutputFile.ABI) 132 | if (abi != null) { // null for the universal-debug, universal-release variants 133 | output.versionCodeOverride = 134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 135 | } 136 | } 137 | } 138 | } 139 | 140 | dependencies { 141 | implementation project(':react-native-text-switch') 142 | implementation fileTree(dir: "libs", include: ["*.jar"]) 143 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 144 | implementation "com.facebook.react:react-native:+" // From node_modules 145 | } 146 | 147 | // Run this once to be able to run the application with BUCK 148 | // puts all compile dependencies into folder libs for BUCK to use 149 | task copyDownloadableDepsToLibs(type: Copy) { 150 | from configurations.compile 151 | into 'libs' 152 | } 153 | -------------------------------------------------------------------------------- /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/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/android/app/src/debug/res/xml/react_native_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | localhost 5 | 10.0.2.2 6 | 10.0.3.2 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /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/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.reactlibrary.RNTextSwitchPackage; 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 RNTextSwitchPackage() 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 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Example 3 | 4 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.3.1' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | google() 27 | jcenter() 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url "$rootDir/../node_modules/react-native/android" 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /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/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-text-switch/d882b7d400d37056fe1bfbfe4e59f4f29b0c30f6/Example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /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.10.2-all.zip 6 | -------------------------------------------------------------------------------- /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/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/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /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/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Example' 2 | include ':react-native-text-switch' 3 | project(':react-native-text-switch').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-text-switch/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /Example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Example", 3 | "displayName": "Example" 4 | } -------------------------------------------------------------------------------- /Example/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /Example/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; }; 38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 41 | C66A4ADC830644BEB9FC64F3 /* libRNTextSwitch.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 922DEC6B4AF741E98B5D96C3 /* libRNTextSwitch.a */; }; 42 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 43 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 44 | /* End PBXBuildFile section */ 45 | 46 | /* Begin PBXContainerItemProxy section */ 47 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 48 | isa = PBXContainerItemProxy; 49 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 50 | proxyType = 2; 51 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 52 | remoteInfo = RCTActionSheet; 53 | }; 54 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 55 | isa = PBXContainerItemProxy; 56 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 57 | proxyType = 2; 58 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 59 | remoteInfo = RCTGeolocation; 60 | }; 61 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 62 | isa = PBXContainerItemProxy; 63 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 64 | proxyType = 2; 65 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 66 | remoteInfo = RCTImage; 67 | }; 68 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 69 | isa = PBXContainerItemProxy; 70 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 71 | proxyType = 2; 72 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 73 | remoteInfo = RCTNetwork; 74 | }; 75 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 76 | isa = PBXContainerItemProxy; 77 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 78 | proxyType = 2; 79 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 80 | remoteInfo = RCTVibration; 81 | }; 82 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 83 | isa = PBXContainerItemProxy; 84 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 85 | proxyType = 1; 86 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 87 | remoteInfo = Example; 88 | }; 89 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 90 | isa = PBXContainerItemProxy; 91 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 92 | proxyType = 2; 93 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 94 | remoteInfo = RCTSettings; 95 | }; 96 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 97 | isa = PBXContainerItemProxy; 98 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 99 | proxyType = 2; 100 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 101 | remoteInfo = RCTWebSocket; 102 | }; 103 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 104 | isa = PBXContainerItemProxy; 105 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 106 | proxyType = 2; 107 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 108 | remoteInfo = React; 109 | }; 110 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 111 | isa = PBXContainerItemProxy; 112 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 113 | proxyType = 1; 114 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 115 | remoteInfo = "Example-tvOS"; 116 | }; 117 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 118 | isa = PBXContainerItemProxy; 119 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 120 | proxyType = 2; 121 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 122 | remoteInfo = "RCTBlob-tvOS"; 123 | }; 124 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 125 | isa = PBXContainerItemProxy; 126 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 127 | proxyType = 2; 128 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 129 | remoteInfo = fishhook; 130 | }; 131 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 132 | isa = PBXContainerItemProxy; 133 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 134 | proxyType = 2; 135 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 136 | remoteInfo = "fishhook-tvOS"; 137 | }; 138 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 139 | isa = PBXContainerItemProxy; 140 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 141 | proxyType = 2; 142 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 143 | remoteInfo = jsinspector; 144 | }; 145 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 146 | isa = PBXContainerItemProxy; 147 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 148 | proxyType = 2; 149 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 150 | remoteInfo = "jsinspector-tvOS"; 151 | }; 152 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 153 | isa = PBXContainerItemProxy; 154 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 155 | proxyType = 2; 156 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 157 | remoteInfo = "third-party"; 158 | }; 159 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 160 | isa = PBXContainerItemProxy; 161 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 162 | proxyType = 2; 163 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 164 | remoteInfo = "third-party-tvOS"; 165 | }; 166 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 167 | isa = PBXContainerItemProxy; 168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 169 | proxyType = 2; 170 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 171 | remoteInfo = "double-conversion"; 172 | }; 173 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 174 | isa = PBXContainerItemProxy; 175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 176 | proxyType = 2; 177 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 178 | remoteInfo = "double-conversion-tvOS"; 179 | }; 180 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 181 | isa = PBXContainerItemProxy; 182 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 183 | proxyType = 2; 184 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 185 | remoteInfo = "RCTImage-tvOS"; 186 | }; 187 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 188 | isa = PBXContainerItemProxy; 189 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 190 | proxyType = 2; 191 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 192 | remoteInfo = "RCTLinking-tvOS"; 193 | }; 194 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 195 | isa = PBXContainerItemProxy; 196 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 197 | proxyType = 2; 198 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 199 | remoteInfo = "RCTNetwork-tvOS"; 200 | }; 201 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 202 | isa = PBXContainerItemProxy; 203 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 204 | proxyType = 2; 205 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 206 | remoteInfo = "RCTSettings-tvOS"; 207 | }; 208 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 209 | isa = PBXContainerItemProxy; 210 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 211 | proxyType = 2; 212 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 213 | remoteInfo = "RCTText-tvOS"; 214 | }; 215 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 216 | isa = PBXContainerItemProxy; 217 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 218 | proxyType = 2; 219 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 220 | remoteInfo = "RCTWebSocket-tvOS"; 221 | }; 222 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 223 | isa = PBXContainerItemProxy; 224 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 225 | proxyType = 2; 226 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 227 | remoteInfo = "React-tvOS"; 228 | }; 229 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 230 | isa = PBXContainerItemProxy; 231 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 232 | proxyType = 2; 233 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 234 | remoteInfo = yoga; 235 | }; 236 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 237 | isa = PBXContainerItemProxy; 238 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 239 | proxyType = 2; 240 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 241 | remoteInfo = "yoga-tvOS"; 242 | }; 243 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 244 | isa = PBXContainerItemProxy; 245 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 246 | proxyType = 2; 247 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 248 | remoteInfo = cxxreact; 249 | }; 250 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 251 | isa = PBXContainerItemProxy; 252 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 253 | proxyType = 2; 254 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 255 | remoteInfo = "cxxreact-tvOS"; 256 | }; 257 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 258 | isa = PBXContainerItemProxy; 259 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 260 | proxyType = 2; 261 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 262 | remoteInfo = RCTAnimation; 263 | }; 264 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 265 | isa = PBXContainerItemProxy; 266 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 267 | proxyType = 2; 268 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 269 | remoteInfo = "RCTAnimation-tvOS"; 270 | }; 271 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 272 | isa = PBXContainerItemProxy; 273 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 274 | proxyType = 2; 275 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 276 | remoteInfo = RCTLinking; 277 | }; 278 | 817C74B02247C340003AF2A3 /* PBXContainerItemProxy */ = { 279 | isa = PBXContainerItemProxy; 280 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 281 | proxyType = 2; 282 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 283 | remoteInfo = jsi; 284 | }; 285 | 817C74B22247C340003AF2A3 /* PBXContainerItemProxy */ = { 286 | isa = PBXContainerItemProxy; 287 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 288 | proxyType = 2; 289 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 290 | remoteInfo = jsiexecutor; 291 | }; 292 | 817C74B42247C340003AF2A3 /* PBXContainerItemProxy */ = { 293 | isa = PBXContainerItemProxy; 294 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 295 | proxyType = 2; 296 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 297 | remoteInfo = "jsi-tvOS"; 298 | }; 299 | 817C74B62247C340003AF2A3 /* PBXContainerItemProxy */ = { 300 | isa = PBXContainerItemProxy; 301 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 302 | proxyType = 2; 303 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 304 | remoteInfo = "jsiexecutor-tvOS"; 305 | }; 306 | 817C74ED2247C3A7003AF2A3 /* PBXContainerItemProxy */ = { 307 | isa = PBXContainerItemProxy; 308 | containerPortal = 19FD1E7DF3D240B7893192D3 /* RNTextSwitch.xcodeproj */; 309 | proxyType = 2; 310 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 311 | remoteInfo = RNTextSwitch; 312 | }; 313 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 314 | isa = PBXContainerItemProxy; 315 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 316 | proxyType = 2; 317 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 318 | remoteInfo = RCTText; 319 | }; 320 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 321 | isa = PBXContainerItemProxy; 322 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 323 | proxyType = 2; 324 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 325 | remoteInfo = RCTBlob; 326 | }; 327 | /* End PBXContainerItemProxy section */ 328 | 329 | /* Begin PBXFileReference section */ 330 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 331 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 332 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 333 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 334 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 335 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 336 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 337 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 338 | 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; }; 339 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 340 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 341 | 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 342 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; }; 343 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Example/AppDelegate.m; sourceTree = ""; }; 344 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 345 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; }; 346 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; }; 347 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; }; 348 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 349 | 19FD1E7DF3D240B7893192D3 /* RNTextSwitch.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNTextSwitch.xcodeproj; path = "../node_modules/react-native-text-switch/ios/RNTextSwitch.xcodeproj"; sourceTree = ""; }; 350 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 351 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 352 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 353 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 354 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 355 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 356 | 922DEC6B4AF741E98B5D96C3 /* libRNTextSwitch.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNTextSwitch.a; sourceTree = ""; }; 357 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 358 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 359 | 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; }; 360 | /* End PBXFileReference section */ 361 | 362 | /* Begin PBXFrameworksBuildPhase section */ 363 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 364 | isa = PBXFrameworksBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 372 | isa = PBXFrameworksBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 376 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 377 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 378 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 379 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 380 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 381 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 382 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 383 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 384 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 385 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 386 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 387 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 388 | C66A4ADC830644BEB9FC64F3 /* libRNTextSwitch.a in Frameworks */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 393 | isa = PBXFrameworksBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 397 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 398 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 399 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 400 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 401 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 402 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 403 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 404 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 409 | isa = PBXFrameworksBuildPhase; 410 | buildActionMask = 2147483647; 411 | files = ( 412 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 413 | ); 414 | runOnlyForDeploymentPostprocessing = 0; 415 | }; 416 | /* End PBXFrameworksBuildPhase section */ 417 | 418 | /* Begin PBXGroup section */ 419 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 423 | ); 424 | name = Products; 425 | sourceTree = ""; 426 | }; 427 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 428 | isa = PBXGroup; 429 | children = ( 430 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 431 | ); 432 | name = Products; 433 | sourceTree = ""; 434 | }; 435 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 436 | isa = PBXGroup; 437 | children = ( 438 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 439 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 440 | ); 441 | name = Products; 442 | sourceTree = ""; 443 | }; 444 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 445 | isa = PBXGroup; 446 | children = ( 447 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 448 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 449 | ); 450 | name = Products; 451 | sourceTree = ""; 452 | }; 453 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 457 | ); 458 | name = Products; 459 | sourceTree = ""; 460 | }; 461 | 00E356EF1AD99517003FC87E /* ExampleTests */ = { 462 | isa = PBXGroup; 463 | children = ( 464 | 00E356F21AD99517003FC87E /* ExampleTests.m */, 465 | 00E356F01AD99517003FC87E /* Supporting Files */, 466 | ); 467 | path = ExampleTests; 468 | sourceTree = ""; 469 | }; 470 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 00E356F11AD99517003FC87E /* Info.plist */, 474 | ); 475 | name = "Supporting Files"; 476 | sourceTree = ""; 477 | }; 478 | 139105B71AF99BAD00B5F7CC /* Products */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 482 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 483 | ); 484 | name = Products; 485 | sourceTree = ""; 486 | }; 487 | 139FDEE71B06529A00C62182 /* Products */ = { 488 | isa = PBXGroup; 489 | children = ( 490 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 491 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 492 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 493 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 494 | ); 495 | name = Products; 496 | sourceTree = ""; 497 | }; 498 | 13B07FAE1A68108700A75B9A /* Example */ = { 499 | isa = PBXGroup; 500 | children = ( 501 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 502 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 503 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 504 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 505 | 13B07FB61A68108700A75B9A /* Info.plist */, 506 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 507 | 13B07FB71A68108700A75B9A /* main.m */, 508 | ); 509 | name = Example; 510 | sourceTree = ""; 511 | }; 512 | 146834001AC3E56700842450 /* Products */ = { 513 | isa = PBXGroup; 514 | children = ( 515 | 146834041AC3E56700842450 /* libReact.a */, 516 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 517 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 518 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 519 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 520 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 521 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 522 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 523 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 524 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 525 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 526 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 527 | 817C74B12247C340003AF2A3 /* libjsi.a */, 528 | 817C74B32247C340003AF2A3 /* libjsiexecutor.a */, 529 | 817C74B52247C340003AF2A3 /* libjsi-tvOS.a */, 530 | 817C74B72247C340003AF2A3 /* libjsiexecutor-tvOS.a */, 531 | ); 532 | name = Products; 533 | sourceTree = ""; 534 | }; 535 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 539 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 540 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 541 | ); 542 | name = Frameworks; 543 | sourceTree = ""; 544 | }; 545 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 549 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 78C398B11ACF4ADC00677621 /* Products */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 558 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 559 | ); 560 | name = Products; 561 | sourceTree = ""; 562 | }; 563 | 817C74C42247C3A6003AF2A3 /* Recovered References */ = { 564 | isa = PBXGroup; 565 | children = ( 566 | 922DEC6B4AF741E98B5D96C3 /* libRNTextSwitch.a */, 567 | ); 568 | name = "Recovered References"; 569 | sourceTree = ""; 570 | }; 571 | 817C74EA2247C3A7003AF2A3 /* Products */ = { 572 | isa = PBXGroup; 573 | children = ( 574 | 817C74EE2247C3A7003AF2A3 /* libRNTextSwitch.a */, 575 | ); 576 | name = Products; 577 | sourceTree = ""; 578 | }; 579 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 580 | isa = PBXGroup; 581 | children = ( 582 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 583 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 584 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 585 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 586 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 587 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 588 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 589 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 590 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 591 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 592 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 593 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 594 | 19FD1E7DF3D240B7893192D3 /* RNTextSwitch.xcodeproj */, 595 | ); 596 | name = Libraries; 597 | sourceTree = ""; 598 | }; 599 | 832341B11AAA6A8300B99B32 /* Products */ = { 600 | isa = PBXGroup; 601 | children = ( 602 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 603 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 604 | ); 605 | name = Products; 606 | sourceTree = ""; 607 | }; 608 | 83CBB9F61A601CBA00E9B192 = { 609 | isa = PBXGroup; 610 | children = ( 611 | 13B07FAE1A68108700A75B9A /* Example */, 612 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 613 | 00E356EF1AD99517003FC87E /* ExampleTests */, 614 | 83CBBA001A601CBA00E9B192 /* Products */, 615 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 616 | 817C74C42247C3A6003AF2A3 /* Recovered References */, 617 | ); 618 | indentWidth = 2; 619 | sourceTree = ""; 620 | tabWidth = 2; 621 | usesTabs = 0; 622 | }; 623 | 83CBBA001A601CBA00E9B192 /* Products */ = { 624 | isa = PBXGroup; 625 | children = ( 626 | 13B07F961A680F5B00A75B9A /* Example.app */, 627 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */, 628 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */, 629 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */, 630 | ); 631 | name = Products; 632 | sourceTree = ""; 633 | }; 634 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 635 | isa = PBXGroup; 636 | children = ( 637 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 638 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 639 | ); 640 | name = Products; 641 | sourceTree = ""; 642 | }; 643 | /* End PBXGroup section */ 644 | 645 | /* Begin PBXNativeTarget section */ 646 | 00E356ED1AD99517003FC87E /* ExampleTests */ = { 647 | isa = PBXNativeTarget; 648 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */; 649 | buildPhases = ( 650 | 00E356EA1AD99517003FC87E /* Sources */, 651 | 00E356EB1AD99517003FC87E /* Frameworks */, 652 | 00E356EC1AD99517003FC87E /* Resources */, 653 | ); 654 | buildRules = ( 655 | ); 656 | dependencies = ( 657 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 658 | ); 659 | name = ExampleTests; 660 | productName = ExampleTests; 661 | productReference = 00E356EE1AD99517003FC87E /* ExampleTests.xctest */; 662 | productType = "com.apple.product-type.bundle.unit-test"; 663 | }; 664 | 13B07F861A680F5B00A75B9A /* Example */ = { 665 | isa = PBXNativeTarget; 666 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */; 667 | buildPhases = ( 668 | 13B07F871A680F5B00A75B9A /* Sources */, 669 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 670 | 13B07F8E1A680F5B00A75B9A /* Resources */, 671 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 672 | ); 673 | buildRules = ( 674 | ); 675 | dependencies = ( 676 | ); 677 | name = Example; 678 | productName = "Hello World"; 679 | productReference = 13B07F961A680F5B00A75B9A /* Example.app */; 680 | productType = "com.apple.product-type.application"; 681 | }; 682 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */ = { 683 | isa = PBXNativeTarget; 684 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */; 685 | buildPhases = ( 686 | 2D02E4771E0B4A5D006451C7 /* Sources */, 687 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 688 | 2D02E4791E0B4A5D006451C7 /* Resources */, 689 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 690 | ); 691 | buildRules = ( 692 | ); 693 | dependencies = ( 694 | ); 695 | name = "Example-tvOS"; 696 | productName = "Example-tvOS"; 697 | productReference = 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */; 698 | productType = "com.apple.product-type.application"; 699 | }; 700 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */ = { 701 | isa = PBXNativeTarget; 702 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */; 703 | buildPhases = ( 704 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 705 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 706 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 707 | ); 708 | buildRules = ( 709 | ); 710 | dependencies = ( 711 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 712 | ); 713 | name = "Example-tvOSTests"; 714 | productName = "Example-tvOSTests"; 715 | productReference = 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */; 716 | productType = "com.apple.product-type.bundle.unit-test"; 717 | }; 718 | /* End PBXNativeTarget section */ 719 | 720 | /* Begin PBXProject section */ 721 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 722 | isa = PBXProject; 723 | attributes = { 724 | LastUpgradeCheck = 940; 725 | ORGANIZATIONNAME = Facebook; 726 | TargetAttributes = { 727 | 00E356ED1AD99517003FC87E = { 728 | CreatedOnToolsVersion = 6.2; 729 | TestTargetID = 13B07F861A680F5B00A75B9A; 730 | }; 731 | 2D02E47A1E0B4A5D006451C7 = { 732 | CreatedOnToolsVersion = 8.2.1; 733 | ProvisioningStyle = Automatic; 734 | }; 735 | 2D02E48F1E0B4A5D006451C7 = { 736 | CreatedOnToolsVersion = 8.2.1; 737 | ProvisioningStyle = Automatic; 738 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 739 | }; 740 | }; 741 | }; 742 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */; 743 | compatibilityVersion = "Xcode 3.2"; 744 | developmentRegion = English; 745 | hasScannedForEncodings = 0; 746 | knownRegions = ( 747 | en, 748 | Base, 749 | ); 750 | mainGroup = 83CBB9F61A601CBA00E9B192; 751 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 752 | projectDirPath = ""; 753 | projectReferences = ( 754 | { 755 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 756 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 757 | }, 758 | { 759 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 760 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 761 | }, 762 | { 763 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 764 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 765 | }, 766 | { 767 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 768 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 769 | }, 770 | { 771 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 772 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 773 | }, 774 | { 775 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 776 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 777 | }, 778 | { 779 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 780 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 781 | }, 782 | { 783 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 784 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 785 | }, 786 | { 787 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 788 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 789 | }, 790 | { 791 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 792 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 793 | }, 794 | { 795 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 796 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 797 | }, 798 | { 799 | ProductGroup = 146834001AC3E56700842450 /* Products */; 800 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 801 | }, 802 | { 803 | ProductGroup = 817C74EA2247C3A7003AF2A3 /* Products */; 804 | ProjectRef = 19FD1E7DF3D240B7893192D3 /* RNTextSwitch.xcodeproj */; 805 | }, 806 | ); 807 | projectRoot = ""; 808 | targets = ( 809 | 13B07F861A680F5B00A75B9A /* Example */, 810 | 00E356ED1AD99517003FC87E /* ExampleTests */, 811 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */, 812 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */, 813 | ); 814 | }; 815 | /* End PBXProject section */ 816 | 817 | /* Begin PBXReferenceProxy section */ 818 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = libRCTActionSheet.a; 822 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = libRCTGeolocation.a; 829 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = libRCTImage.a; 836 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = libRCTNetwork.a; 843 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = libRCTVibration.a; 850 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = libRCTSettings.a; 857 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = libRCTWebSocket.a; 864 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | 146834041AC3E56700842450 /* libReact.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = libReact.a; 871 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = "libRCTBlob-tvOS.a"; 878 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = libfishhook.a; 885 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = "libfishhook-tvOS.a"; 892 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 896 | isa = PBXReferenceProxy; 897 | fileType = archive.ar; 898 | path = libjsinspector.a; 899 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 900 | sourceTree = BUILT_PRODUCTS_DIR; 901 | }; 902 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 903 | isa = PBXReferenceProxy; 904 | fileType = archive.ar; 905 | path = "libjsinspector-tvOS.a"; 906 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 907 | sourceTree = BUILT_PRODUCTS_DIR; 908 | }; 909 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 910 | isa = PBXReferenceProxy; 911 | fileType = archive.ar; 912 | path = "libthird-party.a"; 913 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 914 | sourceTree = BUILT_PRODUCTS_DIR; 915 | }; 916 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 917 | isa = PBXReferenceProxy; 918 | fileType = archive.ar; 919 | path = "libthird-party.a"; 920 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 921 | sourceTree = BUILT_PRODUCTS_DIR; 922 | }; 923 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 924 | isa = PBXReferenceProxy; 925 | fileType = archive.ar; 926 | path = "libdouble-conversion.a"; 927 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 928 | sourceTree = BUILT_PRODUCTS_DIR; 929 | }; 930 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 931 | isa = PBXReferenceProxy; 932 | fileType = archive.ar; 933 | path = "libdouble-conversion.a"; 934 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 935 | sourceTree = BUILT_PRODUCTS_DIR; 936 | }; 937 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 938 | isa = PBXReferenceProxy; 939 | fileType = archive.ar; 940 | path = "libRCTImage-tvOS.a"; 941 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 942 | sourceTree = BUILT_PRODUCTS_DIR; 943 | }; 944 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 945 | isa = PBXReferenceProxy; 946 | fileType = archive.ar; 947 | path = "libRCTLinking-tvOS.a"; 948 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 949 | sourceTree = BUILT_PRODUCTS_DIR; 950 | }; 951 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 952 | isa = PBXReferenceProxy; 953 | fileType = archive.ar; 954 | path = "libRCTNetwork-tvOS.a"; 955 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 956 | sourceTree = BUILT_PRODUCTS_DIR; 957 | }; 958 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 959 | isa = PBXReferenceProxy; 960 | fileType = archive.ar; 961 | path = "libRCTSettings-tvOS.a"; 962 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 963 | sourceTree = BUILT_PRODUCTS_DIR; 964 | }; 965 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 966 | isa = PBXReferenceProxy; 967 | fileType = archive.ar; 968 | path = "libRCTText-tvOS.a"; 969 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 970 | sourceTree = BUILT_PRODUCTS_DIR; 971 | }; 972 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 973 | isa = PBXReferenceProxy; 974 | fileType = archive.ar; 975 | path = "libRCTWebSocket-tvOS.a"; 976 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 977 | sourceTree = BUILT_PRODUCTS_DIR; 978 | }; 979 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 980 | isa = PBXReferenceProxy; 981 | fileType = archive.ar; 982 | path = libReact.a; 983 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 984 | sourceTree = BUILT_PRODUCTS_DIR; 985 | }; 986 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 987 | isa = PBXReferenceProxy; 988 | fileType = archive.ar; 989 | path = libyoga.a; 990 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 991 | sourceTree = BUILT_PRODUCTS_DIR; 992 | }; 993 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 994 | isa = PBXReferenceProxy; 995 | fileType = archive.ar; 996 | path = libyoga.a; 997 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 998 | sourceTree = BUILT_PRODUCTS_DIR; 999 | }; 1000 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1001 | isa = PBXReferenceProxy; 1002 | fileType = archive.ar; 1003 | path = libcxxreact.a; 1004 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1005 | sourceTree = BUILT_PRODUCTS_DIR; 1006 | }; 1007 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1008 | isa = PBXReferenceProxy; 1009 | fileType = archive.ar; 1010 | path = libcxxreact.a; 1011 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1012 | sourceTree = BUILT_PRODUCTS_DIR; 1013 | }; 1014 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1015 | isa = PBXReferenceProxy; 1016 | fileType = archive.ar; 1017 | path = libRCTAnimation.a; 1018 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1019 | sourceTree = BUILT_PRODUCTS_DIR; 1020 | }; 1021 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1022 | isa = PBXReferenceProxy; 1023 | fileType = archive.ar; 1024 | path = libRCTAnimation.a; 1025 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1026 | sourceTree = BUILT_PRODUCTS_DIR; 1027 | }; 1028 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1029 | isa = PBXReferenceProxy; 1030 | fileType = archive.ar; 1031 | path = libRCTLinking.a; 1032 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1033 | sourceTree = BUILT_PRODUCTS_DIR; 1034 | }; 1035 | 817C74B12247C340003AF2A3 /* libjsi.a */ = { 1036 | isa = PBXReferenceProxy; 1037 | fileType = archive.ar; 1038 | path = libjsi.a; 1039 | remoteRef = 817C74B02247C340003AF2A3 /* PBXContainerItemProxy */; 1040 | sourceTree = BUILT_PRODUCTS_DIR; 1041 | }; 1042 | 817C74B32247C340003AF2A3 /* libjsiexecutor.a */ = { 1043 | isa = PBXReferenceProxy; 1044 | fileType = archive.ar; 1045 | path = libjsiexecutor.a; 1046 | remoteRef = 817C74B22247C340003AF2A3 /* PBXContainerItemProxy */; 1047 | sourceTree = BUILT_PRODUCTS_DIR; 1048 | }; 1049 | 817C74B52247C340003AF2A3 /* libjsi-tvOS.a */ = { 1050 | isa = PBXReferenceProxy; 1051 | fileType = archive.ar; 1052 | path = "libjsi-tvOS.a"; 1053 | remoteRef = 817C74B42247C340003AF2A3 /* PBXContainerItemProxy */; 1054 | sourceTree = BUILT_PRODUCTS_DIR; 1055 | }; 1056 | 817C74B72247C340003AF2A3 /* libjsiexecutor-tvOS.a */ = { 1057 | isa = PBXReferenceProxy; 1058 | fileType = archive.ar; 1059 | path = "libjsiexecutor-tvOS.a"; 1060 | remoteRef = 817C74B62247C340003AF2A3 /* PBXContainerItemProxy */; 1061 | sourceTree = BUILT_PRODUCTS_DIR; 1062 | }; 1063 | 817C74EE2247C3A7003AF2A3 /* libRNTextSwitch.a */ = { 1064 | isa = PBXReferenceProxy; 1065 | fileType = archive.ar; 1066 | path = libRNTextSwitch.a; 1067 | remoteRef = 817C74ED2247C3A7003AF2A3 /* PBXContainerItemProxy */; 1068 | sourceTree = BUILT_PRODUCTS_DIR; 1069 | }; 1070 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1071 | isa = PBXReferenceProxy; 1072 | fileType = archive.ar; 1073 | path = libRCTText.a; 1074 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1075 | sourceTree = BUILT_PRODUCTS_DIR; 1076 | }; 1077 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1078 | isa = PBXReferenceProxy; 1079 | fileType = archive.ar; 1080 | path = libRCTBlob.a; 1081 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1082 | sourceTree = BUILT_PRODUCTS_DIR; 1083 | }; 1084 | /* End PBXReferenceProxy section */ 1085 | 1086 | /* Begin PBXResourcesBuildPhase section */ 1087 | 00E356EC1AD99517003FC87E /* Resources */ = { 1088 | isa = PBXResourcesBuildPhase; 1089 | buildActionMask = 2147483647; 1090 | files = ( 1091 | ); 1092 | runOnlyForDeploymentPostprocessing = 0; 1093 | }; 1094 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1095 | isa = PBXResourcesBuildPhase; 1096 | buildActionMask = 2147483647; 1097 | files = ( 1098 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1099 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1100 | ); 1101 | runOnlyForDeploymentPostprocessing = 0; 1102 | }; 1103 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1104 | isa = PBXResourcesBuildPhase; 1105 | buildActionMask = 2147483647; 1106 | files = ( 1107 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1108 | ); 1109 | runOnlyForDeploymentPostprocessing = 0; 1110 | }; 1111 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1112 | isa = PBXResourcesBuildPhase; 1113 | buildActionMask = 2147483647; 1114 | files = ( 1115 | ); 1116 | runOnlyForDeploymentPostprocessing = 0; 1117 | }; 1118 | /* End PBXResourcesBuildPhase section */ 1119 | 1120 | /* Begin PBXShellScriptBuildPhase section */ 1121 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1122 | isa = PBXShellScriptBuildPhase; 1123 | buildActionMask = 2147483647; 1124 | files = ( 1125 | ); 1126 | inputPaths = ( 1127 | ); 1128 | name = "Bundle React Native code and images"; 1129 | outputPaths = ( 1130 | ); 1131 | runOnlyForDeploymentPostprocessing = 0; 1132 | shellPath = /bin/sh; 1133 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1134 | }; 1135 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1136 | isa = PBXShellScriptBuildPhase; 1137 | buildActionMask = 2147483647; 1138 | files = ( 1139 | ); 1140 | inputPaths = ( 1141 | ); 1142 | name = "Bundle React Native Code And Images"; 1143 | outputPaths = ( 1144 | ); 1145 | runOnlyForDeploymentPostprocessing = 0; 1146 | shellPath = /bin/sh; 1147 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1148 | }; 1149 | /* End PBXShellScriptBuildPhase section */ 1150 | 1151 | /* Begin PBXSourcesBuildPhase section */ 1152 | 00E356EA1AD99517003FC87E /* Sources */ = { 1153 | isa = PBXSourcesBuildPhase; 1154 | buildActionMask = 2147483647; 1155 | files = ( 1156 | 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */, 1157 | ); 1158 | runOnlyForDeploymentPostprocessing = 0; 1159 | }; 1160 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1161 | isa = PBXSourcesBuildPhase; 1162 | buildActionMask = 2147483647; 1163 | files = ( 1164 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1165 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1166 | ); 1167 | runOnlyForDeploymentPostprocessing = 0; 1168 | }; 1169 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1170 | isa = PBXSourcesBuildPhase; 1171 | buildActionMask = 2147483647; 1172 | files = ( 1173 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1174 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1175 | ); 1176 | runOnlyForDeploymentPostprocessing = 0; 1177 | }; 1178 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1179 | isa = PBXSourcesBuildPhase; 1180 | buildActionMask = 2147483647; 1181 | files = ( 1182 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */, 1183 | ); 1184 | runOnlyForDeploymentPostprocessing = 0; 1185 | }; 1186 | /* End PBXSourcesBuildPhase section */ 1187 | 1188 | /* Begin PBXTargetDependency section */ 1189 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1190 | isa = PBXTargetDependency; 1191 | target = 13B07F861A680F5B00A75B9A /* Example */; 1192 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1193 | }; 1194 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1195 | isa = PBXTargetDependency; 1196 | target = 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */; 1197 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1198 | }; 1199 | /* End PBXTargetDependency section */ 1200 | 1201 | /* Begin PBXVariantGroup section */ 1202 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1203 | isa = PBXVariantGroup; 1204 | children = ( 1205 | 13B07FB21A68108700A75B9A /* Base */, 1206 | ); 1207 | name = LaunchScreen.xib; 1208 | path = Example; 1209 | sourceTree = ""; 1210 | }; 1211 | /* End PBXVariantGroup section */ 1212 | 1213 | /* Begin XCBuildConfiguration section */ 1214 | 00E356F61AD99517003FC87E /* Debug */ = { 1215 | isa = XCBuildConfiguration; 1216 | buildSettings = { 1217 | BUNDLE_LOADER = "$(TEST_HOST)"; 1218 | GCC_PREPROCESSOR_DEFINITIONS = ( 1219 | "DEBUG=1", 1220 | "$(inherited)", 1221 | ); 1222 | HEADER_SEARCH_PATHS = ( 1223 | "$(inherited)", 1224 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1225 | ); 1226 | INFOPLIST_FILE = ExampleTests/Info.plist; 1227 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1228 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1229 | LIBRARY_SEARCH_PATHS = ( 1230 | "$(inherited)", 1231 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1232 | ); 1233 | OTHER_LDFLAGS = ( 1234 | "-ObjC", 1235 | "-lc++", 1236 | ); 1237 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1238 | PRODUCT_NAME = "$(TARGET_NAME)"; 1239 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1240 | }; 1241 | name = Debug; 1242 | }; 1243 | 00E356F71AD99517003FC87E /* Release */ = { 1244 | isa = XCBuildConfiguration; 1245 | buildSettings = { 1246 | BUNDLE_LOADER = "$(TEST_HOST)"; 1247 | COPY_PHASE_STRIP = NO; 1248 | HEADER_SEARCH_PATHS = ( 1249 | "$(inherited)", 1250 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1251 | ); 1252 | INFOPLIST_FILE = ExampleTests/Info.plist; 1253 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1254 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1255 | LIBRARY_SEARCH_PATHS = ( 1256 | "$(inherited)", 1257 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1258 | ); 1259 | OTHER_LDFLAGS = ( 1260 | "-ObjC", 1261 | "-lc++", 1262 | ); 1263 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1264 | PRODUCT_NAME = "$(TARGET_NAME)"; 1265 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1266 | }; 1267 | name = Release; 1268 | }; 1269 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1270 | isa = XCBuildConfiguration; 1271 | buildSettings = { 1272 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1273 | CURRENT_PROJECT_VERSION = 1; 1274 | DEAD_CODE_STRIPPING = NO; 1275 | HEADER_SEARCH_PATHS = ( 1276 | "$(inherited)", 1277 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1278 | ); 1279 | INFOPLIST_FILE = Example/Info.plist; 1280 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1281 | OTHER_LDFLAGS = ( 1282 | "$(inherited)", 1283 | "-ObjC", 1284 | "-lc++", 1285 | ); 1286 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1287 | PRODUCT_NAME = Example; 1288 | TARGETED_DEVICE_FAMILY = "1,2"; 1289 | VERSIONING_SYSTEM = "apple-generic"; 1290 | }; 1291 | name = Debug; 1292 | }; 1293 | 13B07F951A680F5B00A75B9A /* Release */ = { 1294 | isa = XCBuildConfiguration; 1295 | buildSettings = { 1296 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1297 | CURRENT_PROJECT_VERSION = 1; 1298 | HEADER_SEARCH_PATHS = ( 1299 | "$(inherited)", 1300 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1301 | ); 1302 | INFOPLIST_FILE = Example/Info.plist; 1303 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1304 | OTHER_LDFLAGS = ( 1305 | "$(inherited)", 1306 | "-ObjC", 1307 | "-lc++", 1308 | ); 1309 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1310 | PRODUCT_NAME = Example; 1311 | TARGETED_DEVICE_FAMILY = "1,2"; 1312 | VERSIONING_SYSTEM = "apple-generic"; 1313 | }; 1314 | name = Release; 1315 | }; 1316 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1317 | isa = XCBuildConfiguration; 1318 | buildSettings = { 1319 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1320 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1321 | CLANG_ANALYZER_NONNULL = YES; 1322 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1323 | CLANG_WARN_INFINITE_RECURSION = YES; 1324 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1325 | DEBUG_INFORMATION_FORMAT = dwarf; 1326 | ENABLE_TESTABILITY = YES; 1327 | GCC_NO_COMMON_BLOCKS = YES; 1328 | HEADER_SEARCH_PATHS = ( 1329 | "$(inherited)", 1330 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1331 | ); 1332 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1333 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1334 | LIBRARY_SEARCH_PATHS = ( 1335 | "$(inherited)", 1336 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1337 | ); 1338 | OTHER_LDFLAGS = ( 1339 | "-ObjC", 1340 | "-lc++", 1341 | ); 1342 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1343 | PRODUCT_NAME = "$(TARGET_NAME)"; 1344 | SDKROOT = appletvos; 1345 | TARGETED_DEVICE_FAMILY = 3; 1346 | TVOS_DEPLOYMENT_TARGET = 9.2; 1347 | }; 1348 | name = Debug; 1349 | }; 1350 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1351 | isa = XCBuildConfiguration; 1352 | buildSettings = { 1353 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1354 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1355 | CLANG_ANALYZER_NONNULL = YES; 1356 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1357 | CLANG_WARN_INFINITE_RECURSION = YES; 1358 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1359 | COPY_PHASE_STRIP = NO; 1360 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1361 | GCC_NO_COMMON_BLOCKS = YES; 1362 | HEADER_SEARCH_PATHS = ( 1363 | "$(inherited)", 1364 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1365 | ); 1366 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1368 | LIBRARY_SEARCH_PATHS = ( 1369 | "$(inherited)", 1370 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1371 | ); 1372 | OTHER_LDFLAGS = ( 1373 | "-ObjC", 1374 | "-lc++", 1375 | ); 1376 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1377 | PRODUCT_NAME = "$(TARGET_NAME)"; 1378 | SDKROOT = appletvos; 1379 | TARGETED_DEVICE_FAMILY = 3; 1380 | TVOS_DEPLOYMENT_TARGET = 9.2; 1381 | }; 1382 | name = Release; 1383 | }; 1384 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1385 | isa = XCBuildConfiguration; 1386 | buildSettings = { 1387 | BUNDLE_LOADER = "$(TEST_HOST)"; 1388 | CLANG_ANALYZER_NONNULL = YES; 1389 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1390 | CLANG_WARN_INFINITE_RECURSION = YES; 1391 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1392 | DEBUG_INFORMATION_FORMAT = dwarf; 1393 | ENABLE_TESTABILITY = YES; 1394 | GCC_NO_COMMON_BLOCKS = YES; 1395 | HEADER_SEARCH_PATHS = ( 1396 | "$(inherited)", 1397 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1398 | ); 1399 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1400 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1401 | LIBRARY_SEARCH_PATHS = ( 1402 | "$(inherited)", 1403 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1404 | ); 1405 | OTHER_LDFLAGS = ( 1406 | "-ObjC", 1407 | "-lc++", 1408 | ); 1409 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1410 | PRODUCT_NAME = "$(TARGET_NAME)"; 1411 | SDKROOT = appletvos; 1412 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1413 | TVOS_DEPLOYMENT_TARGET = 10.1; 1414 | }; 1415 | name = Debug; 1416 | }; 1417 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1418 | isa = XCBuildConfiguration; 1419 | buildSettings = { 1420 | BUNDLE_LOADER = "$(TEST_HOST)"; 1421 | CLANG_ANALYZER_NONNULL = YES; 1422 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1423 | CLANG_WARN_INFINITE_RECURSION = YES; 1424 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1425 | COPY_PHASE_STRIP = NO; 1426 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1427 | GCC_NO_COMMON_BLOCKS = YES; 1428 | HEADER_SEARCH_PATHS = ( 1429 | "$(inherited)", 1430 | "$(SRCROOT)/../node_modules/react-native-text-switch/ios/**", 1431 | ); 1432 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1433 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1434 | LIBRARY_SEARCH_PATHS = ( 1435 | "$(inherited)", 1436 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1437 | ); 1438 | OTHER_LDFLAGS = ( 1439 | "-ObjC", 1440 | "-lc++", 1441 | ); 1442 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1443 | PRODUCT_NAME = "$(TARGET_NAME)"; 1444 | SDKROOT = appletvos; 1445 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1446 | TVOS_DEPLOYMENT_TARGET = 10.1; 1447 | }; 1448 | name = Release; 1449 | }; 1450 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1451 | isa = XCBuildConfiguration; 1452 | buildSettings = { 1453 | ALWAYS_SEARCH_USER_PATHS = NO; 1454 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1455 | CLANG_CXX_LIBRARY = "libc++"; 1456 | CLANG_ENABLE_MODULES = YES; 1457 | CLANG_ENABLE_OBJC_ARC = YES; 1458 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1459 | CLANG_WARN_BOOL_CONVERSION = YES; 1460 | CLANG_WARN_COMMA = YES; 1461 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1462 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1463 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1464 | CLANG_WARN_EMPTY_BODY = YES; 1465 | CLANG_WARN_ENUM_CONVERSION = YES; 1466 | CLANG_WARN_INFINITE_RECURSION = YES; 1467 | CLANG_WARN_INT_CONVERSION = YES; 1468 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1469 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1470 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1471 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1472 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1473 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1474 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1475 | CLANG_WARN_UNREACHABLE_CODE = YES; 1476 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1477 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1478 | COPY_PHASE_STRIP = NO; 1479 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1480 | ENABLE_TESTABILITY = YES; 1481 | GCC_C_LANGUAGE_STANDARD = gnu99; 1482 | GCC_DYNAMIC_NO_PIC = NO; 1483 | GCC_NO_COMMON_BLOCKS = YES; 1484 | GCC_OPTIMIZATION_LEVEL = 0; 1485 | GCC_PREPROCESSOR_DEFINITIONS = ( 1486 | "DEBUG=1", 1487 | "$(inherited)", 1488 | ); 1489 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1490 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1491 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1492 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1493 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1494 | GCC_WARN_UNUSED_FUNCTION = YES; 1495 | GCC_WARN_UNUSED_VARIABLE = YES; 1496 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1497 | MTL_ENABLE_DEBUG_INFO = YES; 1498 | ONLY_ACTIVE_ARCH = YES; 1499 | SDKROOT = iphoneos; 1500 | }; 1501 | name = Debug; 1502 | }; 1503 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1504 | isa = XCBuildConfiguration; 1505 | buildSettings = { 1506 | ALWAYS_SEARCH_USER_PATHS = NO; 1507 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1508 | CLANG_CXX_LIBRARY = "libc++"; 1509 | CLANG_ENABLE_MODULES = YES; 1510 | CLANG_ENABLE_OBJC_ARC = YES; 1511 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1512 | CLANG_WARN_BOOL_CONVERSION = YES; 1513 | CLANG_WARN_COMMA = YES; 1514 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1515 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1516 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1517 | CLANG_WARN_EMPTY_BODY = YES; 1518 | CLANG_WARN_ENUM_CONVERSION = YES; 1519 | CLANG_WARN_INFINITE_RECURSION = YES; 1520 | CLANG_WARN_INT_CONVERSION = YES; 1521 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1522 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1523 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1524 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1525 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1526 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1527 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1528 | CLANG_WARN_UNREACHABLE_CODE = YES; 1529 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1530 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1531 | COPY_PHASE_STRIP = YES; 1532 | ENABLE_NS_ASSERTIONS = NO; 1533 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1534 | GCC_C_LANGUAGE_STANDARD = gnu99; 1535 | GCC_NO_COMMON_BLOCKS = YES; 1536 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1537 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1538 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1539 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1540 | GCC_WARN_UNUSED_FUNCTION = YES; 1541 | GCC_WARN_UNUSED_VARIABLE = YES; 1542 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1543 | MTL_ENABLE_DEBUG_INFO = NO; 1544 | SDKROOT = iphoneos; 1545 | VALIDATE_PRODUCT = YES; 1546 | }; 1547 | name = Release; 1548 | }; 1549 | /* End XCBuildConfiguration section */ 1550 | 1551 | /* Begin XCConfigurationList section */ 1552 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */ = { 1553 | isa = XCConfigurationList; 1554 | buildConfigurations = ( 1555 | 00E356F61AD99517003FC87E /* Debug */, 1556 | 00E356F71AD99517003FC87E /* Release */, 1557 | ); 1558 | defaultConfigurationIsVisible = 0; 1559 | defaultConfigurationName = Release; 1560 | }; 1561 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */ = { 1562 | isa = XCConfigurationList; 1563 | buildConfigurations = ( 1564 | 13B07F941A680F5B00A75B9A /* Debug */, 1565 | 13B07F951A680F5B00A75B9A /* Release */, 1566 | ); 1567 | defaultConfigurationIsVisible = 0; 1568 | defaultConfigurationName = Release; 1569 | }; 1570 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */ = { 1571 | isa = XCConfigurationList; 1572 | buildConfigurations = ( 1573 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1574 | 2D02E4981E0B4A5E006451C7 /* Release */, 1575 | ); 1576 | defaultConfigurationIsVisible = 0; 1577 | defaultConfigurationName = Release; 1578 | }; 1579 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */ = { 1580 | isa = XCConfigurationList; 1581 | buildConfigurations = ( 1582 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1583 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1584 | ); 1585 | defaultConfigurationIsVisible = 0; 1586 | defaultConfigurationName = Release; 1587 | }; 1588 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */ = { 1589 | isa = XCConfigurationList; 1590 | buildConfigurations = ( 1591 | 83CBBA201A601CBA00E9B192 /* Debug */, 1592 | 83CBBA211A601CBA00E9B192 /* Release */, 1593 | ); 1594 | defaultConfigurationIsVisible = 0; 1595 | defaultConfigurationName = Release; 1596 | }; 1597 | /* End XCConfigurationList section */ 1598 | }; 1599 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1600 | } 1601 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /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 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"Example" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/Example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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 | NSLocationWhenInUseUsageDescription 44 | 45 | NSAppTransportSecurity 46 | 47 | 48 | NSAllowsArbitraryLoads 49 | 50 | NSExceptionDomains 51 | 52 | localhost 53 | 54 | NSExceptionAllowsInsecureHTTPLoads 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /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 | "lint": "eslint ." 9 | }, 10 | "dependencies": { 11 | "react": "16.8.3", 12 | "react-native": "0.59.1" 13 | }, 14 | "devDependencies": { 15 | "@babel/core": "^7.4.0", 16 | "@babel/runtime": "^7.4.2", 17 | "@react-native-community/eslint-config": "^0.0.3", 18 | "babel-jest": "^24.5.0", 19 | "eslint": "^5.15.3", 20 | "jest": "^24.5.0", 21 | "metro-react-native-babel-preset": "^0.53.1", 22 | "react-test-renderer": "16.8.3", 23 | "react-native-text-switch": "../" 24 | }, 25 | "jest": { 26 | "preset": "react-native" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |

3 | 4 |

5 | 6 | PRs Welcome 7 | 8 |

9 | 10 | 11 | ReactNative: Native Text Switch (Android/iOS): Deprecated 12 | 13 | Due to time constraint, this library is deprecated and not maintained anymore, You can still use this library. 14 | 15 | If this project has helped you out, please support us with a star 🌟 16 |

17 | 18 | This library is a React Native bridge around native text switch libraries. It allows show/guide beautiful text switch: 19 | 20 | 21 | | **iOS: [rcgary/RCRunkeeperSwitch](https://github.com/rcgary/RCRunkeeperSwitch)** | 22 | | ----------------- | 23 | | | 24 | 25 | | **Android: [polyak01/IconSwitch](https://github.com/polyak01/IconSwitch)** | 26 | | ----------------- | 27 | | | 28 | 29 | 30 | 31 | ## 📖 Getting started 32 | 33 | `$ npm install react-native-text-switch --save` 34 | 35 | `$ react-native link react-native-text-switch` 36 | 37 | - **Android** 38 | 39 | Please add below snippet into your app build.gradle 40 | 41 | ``` 42 | 43 | buildscript { 44 | repositories { 45 | jcenter() 46 | maven { url "https://maven.google.com" } 47 | } 48 | ... 49 | } 50 | 51 | allprojects { 52 | repositories { 53 | mavenLocal() 54 | jcenter() 55 | maven { url "https://maven.google.com" } 56 | ... 57 | } 58 | } 59 | 60 | dependencies { 61 | 62 | } 63 | 64 | ``` 65 | 66 | > **Note:** This library is supported Android SDK 28 > above 67 | 68 | - **iOS** 69 | - After `react-native link react-native-text-switch`, please verify `node_modules/react-native-text-switch/ios/` contains `Pods` folder. If does not exist please execute `pod install` command on `node_modules/react-native-text-switch/ios/`, if any error => try `pod repo update` then `pod install` 70 | 71 | - Now build your iOS app through Xcode 72 | 73 | 74 | ## 💻 Usage 75 | 76 | ```javascript 77 | import { RNTextSwitch } from 'react-native-text-switch'; 78 | 79 | ``` 80 | 81 | ```javascript 82 | 83 | 84 | 85 | ``` 86 | 87 | ## 💡 Props 88 | 89 | - **Props: Generic** 90 | 91 | | Prop | Type | Default | Note | 92 | | ----------------- | ---------- | ------- | ---------------------------------------------------------------------------------------------------------- | 93 | | `backgroundColor` | `string #HEX-COLOR` | `#DE6840` | Specify background color 94 | | `selectionBackgroundColor` | `string #HEX-COLOR` | `#FFFFFF` | Specify selected background color | | 95 | | `titleColor` | `string #HEX-COLOR` | `#FFFFFF` | Specify title color | | 96 | | `selectedTitleColor` | `string #HEX-COLOR` | `#DE6840` | Specify selected title color | | 97 | | `leftTitle` | `string` | `YES` | Specify left title | | 98 | | `rightTitle` | `string` | `NO` | Specify right title | | 99 | | `selectedIndex` | `number` | | Specify selected index 100 | | `onChange` | `func` | | Specify color of highlighted text color | | 101 | 102 | 103 | 104 | ## ✨ Credits 105 | 106 | - iOS: [rcgary/RCRunkeeperSwitch](https://github.com/rcgary/RCRunkeeperSwitch) 107 | - Android: [polyak01/IconSwitch](https://github.com/polyak01/IconSwitch) 108 | 109 | 110 | ## 🤔 How to contribute 111 | Have an idea? Found a bug? Please raise to [ISSUES](https://github.com/prscX/react-native-text-switch/issues). 112 | Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given. 113 | 114 | ## 💫 Where is this library used? 115 | If you are using this library in one of your projects, add it in this list below. ✨ 116 | 117 | 118 | ## 📜 License 119 | This library is provided under the Apache License. 120 | 121 | RNTextSwitch @ [prscX](https://github.com/prscX) 122 | 123 | ## 💖 Support my projects 124 | I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it). 125 | 126 | However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it: 127 | * Starring and sharing the projects you like 🚀 128 | * If you're feeling especially charitable, please follow [prscX](https://github.com/prscX) on GitHub. 129 | 130 | Buy Me A Coffee 131 | 132 | Thanks! ❤️ 133 |
134 | [prscX.github.io](https://prscx.github.io) 135 |
136 | 137 | -------------------------------------------------------------------------------- /RNTextSwitch.js: -------------------------------------------------------------------------------- 1 | import React, { PureComponent } from "react"; 2 | import { StyleSheet, ViewPropTypes, Platform } from "react-native"; 3 | import PropTypes from "prop-types"; 4 | 5 | import { requireNativeComponent } from "react-native"; 6 | 7 | class RNTextSwitch extends PureComponent { 8 | _onChange = event => { 9 | this.props.onChange && this.props.onChange(event.nativeEvent.value); 10 | }; 11 | 12 | render() { 13 | let { 14 | backgroundColor, 15 | selectionBackgroundColor, 16 | titleColor, 17 | selectedTitleColor, 18 | leftTitle, 19 | rightTitle, 20 | selectedIndex, 21 | style 22 | } = this.props; 23 | 24 | return ( 25 | 36 | ); 37 | } 38 | } 39 | 40 | RNTextSwitch.propTypes = { 41 | ...ViewPropTypes, 42 | 43 | backgroundColor: PropTypes.string, 44 | selectionBackgroundColor: PropTypes.string, 45 | titleColor: PropTypes.string, 46 | selectedTitleColor: PropTypes.string, 47 | leftTitle: PropTypes.string, 48 | rightTitle: PropTypes.string, 49 | selectedIndex: PropTypes.number 50 | }; 51 | 52 | RNTextSwitch.defaultProps = { 53 | backgroundColor: '#DE6840', 54 | selectionBackgroundColor: '#FFFFFF', 55 | titleColor: '#FFFFFF', 56 | selectedTitleColor: '#DE6840', 57 | leftTitle: 'YES', 58 | rightTitle: 'NO', 59 | selectedIndex: 0 60 | }; 61 | 62 | const TextSwitch = requireNativeComponent("RNTextSwitch", RNTextSwitch, { 63 | nativeOnly: { onChange: true } 64 | }); 65 | 66 | export { RNTextSwitch }; -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | buildscript { 3 | repositories { 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.3.1' 9 | } 10 | } 11 | 12 | apply plugin: 'com.android.library' 13 | 14 | android { 15 | compileSdkVersion 23 16 | buildToolsVersion "23.0.1" 17 | 18 | defaultConfig { 19 | minSdkVersion 16 20 | targetSdkVersion 22 21 | versionCode 1 22 | versionName "1.0" 23 | } 24 | lintOptions { 25 | abortOnError false 26 | } 27 | } 28 | 29 | repositories { 30 | mavenCentral() 31 | } 32 | 33 | dependencies { 34 | compile 'com.facebook.react:react-native:+' 35 | } 36 | -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /android/src/main/java/com/reactlibrary/RNTextSwitchModule.java: -------------------------------------------------------------------------------- 1 | 2 | package com.reactlibrary; 3 | 4 | import com.facebook.react.bridge.ReactApplicationContext; 5 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 6 | import com.facebook.react.bridge.ReactMethod; 7 | import com.facebook.react.bridge.Callback; 8 | 9 | public class RNTextSwitchModule extends ReactContextBaseJavaModule { 10 | 11 | private final ReactApplicationContext reactContext; 12 | 13 | public RNTextSwitchModule(ReactApplicationContext reactContext) { 14 | super(reactContext); 15 | this.reactContext = reactContext; 16 | } 17 | 18 | @Override 19 | public String getName() { 20 | return "RNTextSwitch"; 21 | } 22 | } -------------------------------------------------------------------------------- /android/src/main/java/com/reactlibrary/RNTextSwitchPackage.java: -------------------------------------------------------------------------------- 1 | 2 | package com.reactlibrary; 3 | 4 | import java.util.Arrays; 5 | import java.util.Collections; 6 | import java.util.List; 7 | 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.bridge.NativeModule; 10 | import com.facebook.react.bridge.ReactApplicationContext; 11 | import com.facebook.react.uimanager.ViewManager; 12 | import com.facebook.react.bridge.JavaScriptModule; 13 | public class RNTextSwitchPackage implements ReactPackage { 14 | @Override 15 | public List createNativeModules(ReactApplicationContext reactContext) { 16 | return Arrays.asList(new RNTextSwitchModule(reactContext)); 17 | } 18 | 19 | // Deprecated from RN 0.47 20 | public List> createJSModules() { 21 | return Collections.emptyList(); 22 | } 23 | 24 | @Override 25 | public List createViewManagers(ReactApplicationContext reactContext) { 26 | return Collections.emptyList(); 27 | } 28 | } -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'RNTextSwitch' do 5 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 6 | # use_frameworks! 7 | 8 | # Pods for RNTextSwitch 9 | 10 | pod 'RCRunkeeperSwitch', :git => 'https://github.com/rcgary/RCRunkeeperSwitch.git' 11 | 12 | end 13 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.h: -------------------------------------------------------------------------------- 1 | 2 | #if __has_include("RCTBridgeModule.h") 3 | #import "RCTViewManager.h" 4 | #else 5 | #import 6 | #endif 7 | 8 | #import "RCRunkeeperSwitch.h" 9 | 10 | @interface RNTextSwitch : RCTViewManager 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.m: -------------------------------------------------------------------------------- 1 | 2 | #import "RNTextSwitch.h" 3 | 4 | 5 | @interface RNTextSwitch () 6 | @property (nonatomic, strong) UIView *_runkeeperSwitchView; 7 | @property (nonatomic, strong) RCRunkeeperSwitch *_runkeeperSwitch; 8 | @end 9 | 10 | @implementation RNTextSwitch 11 | 12 | - (dispatch_queue_t)methodQueue 13 | { 14 | return dispatch_get_main_queue(); 15 | } 16 | RCT_EXPORT_MODULE() 17 | 18 | - (void)action:(RCRunkeeperSwitch *)sender { 19 | NSInteger selection = sender.selectedIndex; 20 | 21 | NSDictionary *event = @{ 22 | @"target": self._runkeeperSwitchView.reactTag, 23 | @"value": selection == 0 ? @"0" : @"1", 24 | @"name": @"tap" 25 | }; 26 | 27 | [self.bridge.eventDispatcher sendInputEventWithName:@"topChange" body:event]; 28 | } 29 | 30 | - (UIView *)view { 31 | self._runkeeperSwitch = [[RCRunkeeperSwitch alloc]init]; 32 | self._runkeeperSwitch.titleFont = [UIFont fontWithName:@"HelveticaNeue-Medium" size:13]; 33 | self._runkeeperSwitch.autoresizingMask = UIViewAutoresizingFlexibleWidth; 34 | 35 | self._runkeeperSwitchView = [[UIView alloc] init]; 36 | [self._runkeeperSwitchView addSubview:self._runkeeperSwitch]; 37 | self._runkeeperSwitch.frame = CGRectMake(50, 20, CGRectGetWidth(self._runkeeperSwitchView.bounds) - 100, 30); 38 | 39 | [self._runkeeperSwitch addTarget:self 40 | action:@selector(action:) 41 | forControlEvents:UIControlEventValueChanged]; 42 | 43 | return self._runkeeperSwitchView; 44 | } 45 | 46 | RCT_CUSTOM_VIEW_PROPERTY(backgroundColor, NSString *, UIView) { 47 | self._runkeeperSwitch.backgroundColor = [RNTextSwitch colorFromHexCode: json]; 48 | } 49 | 50 | RCT_CUSTOM_VIEW_PROPERTY(selectedBackgroundColor, NSString *, UIView) { 51 | self._runkeeperSwitch.selectedBackgroundColor = [RNTextSwitch colorFromHexCode: json]; 52 | } 53 | 54 | RCT_CUSTOM_VIEW_PROPERTY(titleColor, NSString *, UIView) { 55 | self._runkeeperSwitch.titleColor = [RNTextSwitch colorFromHexCode: json]; 56 | } 57 | 58 | RCT_CUSTOM_VIEW_PROPERTY(selectedTitleColor, NSString *, UIView) { 59 | self._runkeeperSwitch.selectedTitleColor = [RNTextSwitch colorFromHexCode: json]; 60 | } 61 | 62 | RCT_CUSTOM_VIEW_PROPERTY(leftTitle, NSString *, UIView) { 63 | self._runkeeperSwitch.leftTitle = json; 64 | } 65 | 66 | RCT_CUSTOM_VIEW_PROPERTY(rightTitle, NSString *, UIView) { 67 | self._runkeeperSwitch.rightTitle = json; 68 | } 69 | 70 | RCT_CUSTOM_VIEW_PROPERTY(selectedIndex, NSNumber *, UIView) { 71 | [self._runkeeperSwitch setSelectedIndex:[json intValue] animated:FALSE]; 72 | } 73 | 74 | + (UIColor *) colorFromHexCode:(NSString *)hexString { 75 | NSString *cleanString = [hexString stringByReplacingOccurrencesOfString:@"#" withString:@""]; 76 | if([cleanString length] == 3) { 77 | cleanString = [NSString stringWithFormat:@"%@%@%@%@%@%@", 78 | [cleanString substringWithRange:NSMakeRange(0, 1)],[cleanString substringWithRange:NSMakeRange(0, 1)], 79 | [cleanString substringWithRange:NSMakeRange(1, 1)],[cleanString substringWithRange:NSMakeRange(1, 1)], 80 | [cleanString substringWithRange:NSMakeRange(2, 1)],[cleanString substringWithRange:NSMakeRange(2, 1)]]; 81 | } 82 | if([cleanString length] == 6) { 83 | cleanString = [cleanString stringByAppendingString:@"ff"]; 84 | } 85 | 86 | unsigned int baseValue; 87 | [[NSScanner scannerWithString:cleanString] scanHexInt:&baseValue]; 88 | 89 | float red = ((baseValue >> 24) & 0xFF)/255.0f; 90 | float green = ((baseValue >> 16) & 0xFF)/255.0f; 91 | float blue = ((baseValue >> 8) & 0xFF)/255.0f; 92 | float alpha = ((baseValue >> 0) & 0xFF)/255.0f; 93 | 94 | return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; 95 | } 96 | 97 | 98 | @end 99 | 100 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = "RNTextSwitch" 4 | s.version = "1.0.0" 5 | s.summary = "RNTextSwitch" 6 | s.description = <<-DESC 7 | RNTextSwitch 8 | DESC 9 | s.homepage = "" 10 | s.license = "MIT" 11 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 12 | s.author = { "author" => "author@domain.cn" } 13 | s.platform = :ios, "7.0" 14 | s.source = { :git => "https://github.com/author/RNTextSwitch.git", :tag => "master" } 15 | s.source_files = "RNTextSwitch/**/*.{h,m}" 16 | s.requires_arc = true 17 | 18 | 19 | s.dependency "React" 20 | #s.dependency "others" 21 | 22 | end 23 | 24 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 817C75052247C412003AF2A3 /* libRCRunkeeperSwitch.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 817C75042247C40A003AF2A3 /* libRCRunkeeperSwitch.a */; }; 11 | B3E7B58A1CC2AC0600A0062D /* RNTextSwitch.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNTextSwitch.m */; }; 12 | F67F92BA95B2A88A6E1381FB /* libPods-RNTextSwitch.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6777A2F96E76BC55C5897B39 /* libPods-RNTextSwitch.a */; }; 13 | /* End PBXBuildFile section */ 14 | 15 | /* Begin PBXContainerItemProxy section */ 16 | 817C75012247C40A003AF2A3 /* PBXContainerItemProxy */ = { 17 | isa = PBXContainerItemProxy; 18 | containerPortal = 817C74FC2247C40A003AF2A3 /* Pods.xcodeproj */; 19 | proxyType = 2; 20 | remoteGlobalIDString = 90252CA25726D1B83A8DABB3D460D487; 21 | remoteInfo = "Pods-RNTextSwitch"; 22 | }; 23 | 817C75032247C40A003AF2A3 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 817C74FC2247C40A003AF2A3 /* Pods.xcodeproj */; 26 | proxyType = 2; 27 | remoteGlobalIDString = 463EDBDF8F20AB28C818FCBAA2574B60; 28 | remoteInfo = RCRunkeeperSwitch; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXCopyFilesBuildPhase section */ 33 | 58B511D91A9E6C8500147676 /* CopyFiles */ = { 34 | isa = PBXCopyFilesBuildPhase; 35 | buildActionMask = 2147483647; 36 | dstPath = "include/$(PRODUCT_NAME)"; 37 | dstSubfolderSpec = 16; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXCopyFilesBuildPhase section */ 43 | 44 | /* Begin PBXFileReference section */ 45 | 134814201AA4EA6300B7C361 /* libRNTextSwitch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNTextSwitch.a; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 25AE0CCCAB548A1602A3C4C0 /* Pods-RNTextSwitch.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNTextSwitch.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNTextSwitch/Pods-RNTextSwitch.debug.xcconfig"; sourceTree = ""; }; 47 | 6777A2F96E76BC55C5897B39 /* libPods-RNTextSwitch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNTextSwitch.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 817C74FC2247C40A003AF2A3 /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = ""; }; 49 | B3E7B5881CC2AC0600A0062D /* RNTextSwitch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNTextSwitch.h; sourceTree = ""; }; 50 | B3E7B5891CC2AC0600A0062D /* RNTextSwitch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNTextSwitch.m; sourceTree = ""; }; 51 | B7BA83CC3A73BDC024D8E476 /* Pods-RNTextSwitch.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNTextSwitch.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNTextSwitch/Pods-RNTextSwitch.release.xcconfig"; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 58B511D81A9E6C8500147676 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | 817C75052247C412003AF2A3 /* libRCRunkeeperSwitch.a in Frameworks */, 60 | F67F92BA95B2A88A6E1381FB /* libPods-RNTextSwitch.a in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | /* End PBXFrameworksBuildPhase section */ 65 | 66 | /* Begin PBXGroup section */ 67 | 134814211AA4EA7D00B7C361 /* Products */ = { 68 | isa = PBXGroup; 69 | children = ( 70 | 134814201AA4EA6300B7C361 /* libRNTextSwitch.a */, 71 | ); 72 | name = Products; 73 | sourceTree = ""; 74 | }; 75 | 58B511D21A9E6C8500147676 = { 76 | isa = PBXGroup; 77 | children = ( 78 | B3E7B5881CC2AC0600A0062D /* RNTextSwitch.h */, 79 | B3E7B5891CC2AC0600A0062D /* RNTextSwitch.m */, 80 | 134814211AA4EA7D00B7C361 /* Products */, 81 | 8F2C6FBF860017EA7D426534 /* Pods */, 82 | 9DFEC910EDFDCE9BEF1CD60A /* Frameworks */, 83 | ); 84 | sourceTree = ""; 85 | }; 86 | 817C74FD2247C40A003AF2A3 /* Products */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 817C75022247C40A003AF2A3 /* libPods-RNTextSwitch.a */, 90 | 817C75042247C40A003AF2A3 /* libRCRunkeeperSwitch.a */, 91 | ); 92 | name = Products; 93 | sourceTree = ""; 94 | }; 95 | 8F2C6FBF860017EA7D426534 /* Pods */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 25AE0CCCAB548A1602A3C4C0 /* Pods-RNTextSwitch.debug.xcconfig */, 99 | B7BA83CC3A73BDC024D8E476 /* Pods-RNTextSwitch.release.xcconfig */, 100 | ); 101 | name = Pods; 102 | sourceTree = ""; 103 | }; 104 | 9DFEC910EDFDCE9BEF1CD60A /* Frameworks */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 817C74FC2247C40A003AF2A3 /* Pods.xcodeproj */, 108 | 6777A2F96E76BC55C5897B39 /* libPods-RNTextSwitch.a */, 109 | ); 110 | name = Frameworks; 111 | sourceTree = ""; 112 | }; 113 | /* End PBXGroup section */ 114 | 115 | /* Begin PBXNativeTarget section */ 116 | 58B511DA1A9E6C8500147676 /* RNTextSwitch */ = { 117 | isa = PBXNativeTarget; 118 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNTextSwitch" */; 119 | buildPhases = ( 120 | 5AA810EFA2ADBF99AF9352DE /* [CP] Check Pods Manifest.lock */, 121 | 58B511D71A9E6C8500147676 /* Sources */, 122 | 58B511D81A9E6C8500147676 /* Frameworks */, 123 | 58B511D91A9E6C8500147676 /* CopyFiles */, 124 | ); 125 | buildRules = ( 126 | ); 127 | dependencies = ( 128 | ); 129 | name = RNTextSwitch; 130 | productName = RCTDataManager; 131 | productReference = 134814201AA4EA6300B7C361 /* libRNTextSwitch.a */; 132 | productType = "com.apple.product-type.library.static"; 133 | }; 134 | /* End PBXNativeTarget section */ 135 | 136 | /* Begin PBXProject section */ 137 | 58B511D31A9E6C8500147676 /* Project object */ = { 138 | isa = PBXProject; 139 | attributes = { 140 | LastUpgradeCheck = 0830; 141 | ORGANIZATIONNAME = Facebook; 142 | TargetAttributes = { 143 | 58B511DA1A9E6C8500147676 = { 144 | CreatedOnToolsVersion = 6.1.1; 145 | }; 146 | }; 147 | }; 148 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNTextSwitch" */; 149 | compatibilityVersion = "Xcode 3.2"; 150 | developmentRegion = English; 151 | hasScannedForEncodings = 0; 152 | knownRegions = ( 153 | en, 154 | ); 155 | mainGroup = 58B511D21A9E6C8500147676; 156 | productRefGroup = 58B511D21A9E6C8500147676; 157 | projectDirPath = ""; 158 | projectReferences = ( 159 | { 160 | ProductGroup = 817C74FD2247C40A003AF2A3 /* Products */; 161 | ProjectRef = 817C74FC2247C40A003AF2A3 /* Pods.xcodeproj */; 162 | }, 163 | ); 164 | projectRoot = ""; 165 | targets = ( 166 | 58B511DA1A9E6C8500147676 /* RNTextSwitch */, 167 | ); 168 | }; 169 | /* End PBXProject section */ 170 | 171 | /* Begin PBXReferenceProxy section */ 172 | 817C75022247C40A003AF2A3 /* libPods-RNTextSwitch.a */ = { 173 | isa = PBXReferenceProxy; 174 | fileType = archive.ar; 175 | path = "libPods-RNTextSwitch.a"; 176 | remoteRef = 817C75012247C40A003AF2A3 /* PBXContainerItemProxy */; 177 | sourceTree = BUILT_PRODUCTS_DIR; 178 | }; 179 | 817C75042247C40A003AF2A3 /* libRCRunkeeperSwitch.a */ = { 180 | isa = PBXReferenceProxy; 181 | fileType = archive.ar; 182 | path = libRCRunkeeperSwitch.a; 183 | remoteRef = 817C75032247C40A003AF2A3 /* PBXContainerItemProxy */; 184 | sourceTree = BUILT_PRODUCTS_DIR; 185 | }; 186 | /* End PBXReferenceProxy section */ 187 | 188 | /* Begin PBXShellScriptBuildPhase section */ 189 | 5AA810EFA2ADBF99AF9352DE /* [CP] Check Pods Manifest.lock */ = { 190 | isa = PBXShellScriptBuildPhase; 191 | buildActionMask = 2147483647; 192 | files = ( 193 | ); 194 | inputFileListPaths = ( 195 | ); 196 | inputPaths = ( 197 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 198 | "${PODS_ROOT}/Manifest.lock", 199 | ); 200 | name = "[CP] Check Pods Manifest.lock"; 201 | outputFileListPaths = ( 202 | ); 203 | outputPaths = ( 204 | "$(DERIVED_FILE_DIR)/Pods-RNTextSwitch-checkManifestLockResult.txt", 205 | ); 206 | runOnlyForDeploymentPostprocessing = 0; 207 | shellPath = /bin/sh; 208 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 209 | showEnvVarsInLog = 0; 210 | }; 211 | /* End PBXShellScriptBuildPhase section */ 212 | 213 | /* Begin PBXSourcesBuildPhase section */ 214 | 58B511D71A9E6C8500147676 /* Sources */ = { 215 | isa = PBXSourcesBuildPhase; 216 | buildActionMask = 2147483647; 217 | files = ( 218 | B3E7B58A1CC2AC0600A0062D /* RNTextSwitch.m in Sources */, 219 | ); 220 | runOnlyForDeploymentPostprocessing = 0; 221 | }; 222 | /* End PBXSourcesBuildPhase section */ 223 | 224 | /* Begin XCBuildConfiguration section */ 225 | 58B511ED1A9E6C8500147676 /* Debug */ = { 226 | isa = XCBuildConfiguration; 227 | buildSettings = { 228 | ALWAYS_SEARCH_USER_PATHS = NO; 229 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 230 | CLANG_CXX_LIBRARY = "libc++"; 231 | CLANG_ENABLE_MODULES = YES; 232 | CLANG_ENABLE_OBJC_ARC = YES; 233 | CLANG_WARN_BOOL_CONVERSION = YES; 234 | CLANG_WARN_CONSTANT_CONVERSION = YES; 235 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 236 | CLANG_WARN_EMPTY_BODY = YES; 237 | CLANG_WARN_ENUM_CONVERSION = YES; 238 | CLANG_WARN_INFINITE_RECURSION = YES; 239 | CLANG_WARN_INT_CONVERSION = YES; 240 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 241 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 242 | CLANG_WARN_UNREACHABLE_CODE = YES; 243 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 244 | COPY_PHASE_STRIP = NO; 245 | ENABLE_STRICT_OBJC_MSGSEND = YES; 246 | ENABLE_TESTABILITY = YES; 247 | GCC_C_LANGUAGE_STANDARD = gnu99; 248 | GCC_DYNAMIC_NO_PIC = NO; 249 | GCC_NO_COMMON_BLOCKS = YES; 250 | GCC_OPTIMIZATION_LEVEL = 0; 251 | GCC_PREPROCESSOR_DEFINITIONS = ( 252 | "DEBUG=1", 253 | "$(inherited)", 254 | ); 255 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 256 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 257 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 258 | GCC_WARN_UNDECLARED_SELECTOR = YES; 259 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 260 | GCC_WARN_UNUSED_FUNCTION = YES; 261 | GCC_WARN_UNUSED_VARIABLE = YES; 262 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 263 | MTL_ENABLE_DEBUG_INFO = YES; 264 | ONLY_ACTIVE_ARCH = YES; 265 | SDKROOT = iphoneos; 266 | }; 267 | name = Debug; 268 | }; 269 | 58B511EE1A9E6C8500147676 /* Release */ = { 270 | isa = XCBuildConfiguration; 271 | buildSettings = { 272 | ALWAYS_SEARCH_USER_PATHS = NO; 273 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 274 | CLANG_CXX_LIBRARY = "libc++"; 275 | CLANG_ENABLE_MODULES = YES; 276 | CLANG_ENABLE_OBJC_ARC = YES; 277 | CLANG_WARN_BOOL_CONVERSION = YES; 278 | CLANG_WARN_CONSTANT_CONVERSION = YES; 279 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 280 | CLANG_WARN_EMPTY_BODY = YES; 281 | CLANG_WARN_ENUM_CONVERSION = YES; 282 | CLANG_WARN_INFINITE_RECURSION = YES; 283 | CLANG_WARN_INT_CONVERSION = YES; 284 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 285 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 286 | CLANG_WARN_UNREACHABLE_CODE = YES; 287 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 288 | COPY_PHASE_STRIP = YES; 289 | ENABLE_NS_ASSERTIONS = NO; 290 | ENABLE_STRICT_OBJC_MSGSEND = YES; 291 | GCC_C_LANGUAGE_STANDARD = gnu99; 292 | GCC_NO_COMMON_BLOCKS = YES; 293 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 294 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 295 | GCC_WARN_UNDECLARED_SELECTOR = YES; 296 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 297 | GCC_WARN_UNUSED_FUNCTION = YES; 298 | GCC_WARN_UNUSED_VARIABLE = YES; 299 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 300 | MTL_ENABLE_DEBUG_INFO = NO; 301 | SDKROOT = iphoneos; 302 | VALIDATE_PRODUCT = YES; 303 | }; 304 | name = Release; 305 | }; 306 | 58B511F01A9E6C8500147676 /* Debug */ = { 307 | isa = XCBuildConfiguration; 308 | baseConfigurationReference = 25AE0CCCAB548A1602A3C4C0 /* Pods-RNTextSwitch.debug.xcconfig */; 309 | buildSettings = { 310 | HEADER_SEARCH_PATHS = ( 311 | "$(inherited)", 312 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 313 | "$(SRCROOT)/../../../React/**", 314 | "$(SRCROOT)/../../react-native/React/**", 315 | ); 316 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 317 | OTHER_LDFLAGS = "-ObjC"; 318 | PRODUCT_NAME = RNTextSwitch; 319 | SKIP_INSTALL = YES; 320 | }; 321 | name = Debug; 322 | }; 323 | 58B511F11A9E6C8500147676 /* Release */ = { 324 | isa = XCBuildConfiguration; 325 | baseConfigurationReference = B7BA83CC3A73BDC024D8E476 /* Pods-RNTextSwitch.release.xcconfig */; 326 | buildSettings = { 327 | HEADER_SEARCH_PATHS = ( 328 | "$(inherited)", 329 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 330 | "$(SRCROOT)/../../../React/**", 331 | "$(SRCROOT)/../../react-native/React/**", 332 | ); 333 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 334 | OTHER_LDFLAGS = "-ObjC"; 335 | PRODUCT_NAME = RNTextSwitch; 336 | SKIP_INSTALL = YES; 337 | }; 338 | name = Release; 339 | }; 340 | /* End XCBuildConfiguration section */ 341 | 342 | /* Begin XCConfigurationList section */ 343 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNTextSwitch" */ = { 344 | isa = XCConfigurationList; 345 | buildConfigurations = ( 346 | 58B511ED1A9E6C8500147676 /* Debug */, 347 | 58B511EE1A9E6C8500147676 /* Release */, 348 | ); 349 | defaultConfigurationIsVisible = 0; 350 | defaultConfigurationName = Release; 351 | }; 352 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNTextSwitch" */ = { 353 | isa = XCConfigurationList; 354 | buildConfigurations = ( 355 | 58B511F01A9E6C8500147676 /* Debug */, 356 | 58B511F11A9E6C8500147676 /* Release */, 357 | ); 358 | defaultConfigurationIsVisible = 0; 359 | defaultConfigurationName = Release; 360 | }; 361 | /* End XCConfigurationList section */ 362 | }; 363 | rootObject = 58B511D31A9E6C8500147676 /* Project object */; 364 | } 365 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.xcodeproj/xcuserdata/pranav.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | RNTextSwitch.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 39 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ios/RNTextSwitch.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-text-switch", 3 | "version": "0.0.1", 4 | "description": "React Native: Native Text Switch", 5 | "main": "RNTextSwitch.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://github.com/prscX/react-native-text-switch.git" 9 | }, 10 | "scripts": { 11 | "test": "echo \"Error: no test specified\" && exit 1", 12 | "postinstall": "node ../pod-installer/index.js" 13 | }, 14 | "keywords": [ 15 | "react-native" 16 | ], 17 | "author": "Pranav Raj Singh Chauhan", 18 | "dependencies": { 19 | "pod-installer": "0.0.0" 20 | }, 21 | "devDependencies": { 22 | "prettier-pack": "0.0.8" 23 | }, 24 | "license": "Apache License 2.0" 25 | } 26 | --------------------------------------------------------------------------------