├── .gitattributes ├── .gitignore ├── .npmignore ├── Example ├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── __tests__ │ └── App.js ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.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 ├── 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 │ │ ├── Info.plist │ │ └── main.m │ └── ExampleTests │ │ ├── ExampleTests.m │ │ └── Info.plist ├── package.json └── yarn.lock ├── README.md ├── android ├── build.gradle └── src │ └── main │ ├── AndroidManifest.xml │ └── java │ └── com │ └── reactlibrary │ ├── RNThumbnailModule.java │ └── RNThumbnailPackage.java ├── index.js ├── ios ├── RNThumbnail.h ├── RNThumbnail.m ├── RNThumbnail.podspec └── RNThumbnail.xcodeproj │ └── project.pbxproj ├── package.json └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # OSX 3 | # 4 | .DS_Store 5 | 6 | # node.js 7 | # 8 | node_modules/ 9 | npm-debug.log 10 | yarn-error.log 11 | 12 | 13 | # Xcode 14 | # 15 | build/ 16 | *.pbxuser 17 | !default.pbxuser 18 | *.mode1v3 19 | !default.mode1v3 20 | *.mode2v3 21 | !default.mode2v3 22 | *.perspectivev3 23 | !default.perspectivev3 24 | xcuserdata 25 | *.xccheckout 26 | *.moved-aside 27 | DerivedData 28 | *.hmap 29 | *.ipa 30 | *.xcuserstate 31 | project.xcworkspace 32 | 33 | 34 | # Android/IntelliJ 35 | # 36 | build/ 37 | .idea 38 | .gradle 39 | local.properties 40 | *.iml 41 | 42 | # BUCK 43 | buck-out/ 44 | \.buckd/ 45 | *.keystore 46 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .git 2 | Example -------------------------------------------------------------------------------- /Example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /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 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | 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' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.53.0 49 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Example/App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyleSheet, Text, View, TouchableOpacity, Image, Dimensions } from 'react-native'; 3 | import ImagePicker from 'react-native-image-picker'; 4 | import RNThumbnail from 'react-native-thumbnail'; 5 | 6 | const screenW = Dimensions.get('window').width 7 | export default class App extends React.Component { 8 | 9 | constructor(props) { 10 | super(props) 11 | this.state = { 12 | thumbnail: null, 13 | width: null, 14 | height: null 15 | } 16 | } 17 | 18 | openPicker = () => { 19 | var options = { 20 | title: 'Select Video', 21 | storageOptions: { 22 | skipBackup: true, 23 | path: 'images' 24 | }, 25 | mediaType: 'video' 26 | }; 27 | 28 | ImagePicker.showImagePicker(options, (response) => { 29 | console.log('Response = ', response); 30 | 31 | if (response.didCancel) { 32 | console.log('User cancelled image picker'); 33 | } 34 | else if (response.error) { 35 | console.log('ImagePicker Error: ', response.error); 36 | } 37 | else { 38 | RNThumbnail.get(response.uri).then((result) => { 39 | this.setState({ 40 | thumbnail: result.path, 41 | width: result.width, 42 | height: result.height 43 | }) 44 | }) 45 | } 46 | }); 47 | } 48 | 49 | render() { 50 | const { thumbnail, width, height } = this.state 51 | const imgW = screenW 52 | const imgH = imgW * height / width 53 | return ( 54 | 55 | Click Me 56 | {thumbnail ? : null} 57 | 58 | ); 59 | } 60 | } 61 | 62 | const styles = StyleSheet.create({ 63 | container: { 64 | flex: 1, 65 | backgroundColor: '#fff', 66 | alignItems: 'center', 67 | justifyContent: 'center', 68 | }, 69 | }); 70 | -------------------------------------------------------------------------------- /Example/__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /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 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.example", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.example", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /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 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.example" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-thumbnail') 141 | compile project(':react-native-image-picker') 142 | compile fileTree(dir: "libs", include: ["*.jar"]) 143 | compile "com.android.support:appcompat-v7:23.0.1" 144 | compile "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/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /Example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /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.RNThumbnailPackage; 7 | import com.imagepicker.ImagePickerPackage; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new RNThumbnailPackage(), 29 | new ImagePickerPackage() 30 | ); 31 | } 32 | 33 | @Override 34 | protected String getJSMainModuleName() { 35 | return "index"; 36 | } 37 | }; 38 | 39 | @Override 40 | public ReactNativeHost getReactNativeHost() { 41 | return mReactNativeHost; 42 | } 43 | 44 | @Override 45 | public void onCreate() { 46 | super.onCreate(); 47 | SoLoader.init(this, /* native exopackage */ false); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-thumbnail/f42c9df38275398888bb79b377c2b3ecd911e3b4/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-thumbnail/f42c9df38275398888bb79b377c2b3ecd911e3b4/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-thumbnail/f42c9df38275398888bb79b377c2b3ecd911e3b4/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-thumbnail/f42c9df38275398888bb79b377c2b3ecd911e3b4/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.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 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /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 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-thumbnail/f42c9df38275398888bb79b377c2b3ecd911e3b4/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-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /Example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /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 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /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-thumbnail' 3 | project(':react-native-thumbnail').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-thumbnail/android') 4 | include ':react-native-image-picker' 5 | project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android') 6 | 7 | include ':app' 8 | -------------------------------------------------------------------------------- /Example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Example", 3 | "displayName": "Example" 4 | } -------------------------------------------------------------------------------- /Example/index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('Example', () => App); 5 | -------------------------------------------------------------------------------- /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 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 22508F513F1D48ABBDA7FD9F /* libRNThumbnail.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 147F3A7A7D38473EB2D21320 /* libRNThumbnail.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 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; }; 38 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 40 | 99FDC74913CD428F82F41937 /* libRNImagePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D4D9DBACDC924CA6A835F3BF /* libRNImagePicker.a */; }; 41 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 42 | /* End PBXBuildFile section */ 43 | 44 | /* Begin PBXContainerItemProxy section */ 45 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 46 | isa = PBXContainerItemProxy; 47 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 48 | proxyType = 2; 49 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 50 | remoteInfo = RCTActionSheet; 51 | }; 52 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTGeolocation; 58 | }; 59 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 64 | remoteInfo = RCTImage; 65 | }; 66 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 71 | remoteInfo = RCTNetwork; 72 | }; 73 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 78 | remoteInfo = RCTVibration; 79 | }; 80 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 83 | proxyType = 1; 84 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 85 | remoteInfo = Example; 86 | }; 87 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 90 | proxyType = 2; 91 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 92 | remoteInfo = RCTSettings; 93 | }; 94 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 99 | remoteInfo = RCTWebSocket; 100 | }; 101 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 106 | remoteInfo = React; 107 | }; 108 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 111 | proxyType = 1; 112 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 113 | remoteInfo = "Example-tvOS"; 114 | }; 115 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 118 | proxyType = 2; 119 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 120 | remoteInfo = "RCTImage-tvOS"; 121 | }; 122 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 127 | remoteInfo = "RCTLinking-tvOS"; 128 | }; 129 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 134 | remoteInfo = "RCTNetwork-tvOS"; 135 | }; 136 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 141 | remoteInfo = "RCTSettings-tvOS"; 142 | }; 143 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 148 | remoteInfo = "RCTText-tvOS"; 149 | }; 150 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 155 | remoteInfo = "RCTWebSocket-tvOS"; 156 | }; 157 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 162 | remoteInfo = "React-tvOS"; 163 | }; 164 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 169 | remoteInfo = yoga; 170 | }; 171 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 176 | remoteInfo = "yoga-tvOS"; 177 | }; 178 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 183 | remoteInfo = cxxreact; 184 | }; 185 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 190 | remoteInfo = "cxxreact-tvOS"; 191 | }; 192 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 197 | remoteInfo = jschelpers; 198 | }; 199 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 204 | remoteInfo = "jschelpers-tvOS"; 205 | }; 206 | 3DEEF0031FA1B52F00F551E9 /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 211 | remoteInfo = "RCTBlob-tvOS"; 212 | }; 213 | 3DEEF0151FA1B52F00F551E9 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 218 | remoteInfo = fishhook; 219 | }; 220 | 3DEEF0171FA1B52F00F551E9 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 225 | remoteInfo = "fishhook-tvOS"; 226 | }; 227 | 3DEEF01A1FA1B52F00F551E9 /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = A6FE9D20FA3D4096B80B6EE8 /* RNImagePicker.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 014A3B5C1C6CF33500B6D375; 232 | remoteInfo = RNImagePicker; 233 | }; 234 | 3DEEF01D1FA1B52F00F551E9 /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 8DAA352CE4014A95ACD9294D /* RNThumbnail.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 239 | remoteInfo = RNThumbnail; 240 | }; 241 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 242 | isa = PBXContainerItemProxy; 243 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 244 | proxyType = 2; 245 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 246 | remoteInfo = RCTAnimation; 247 | }; 248 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 249 | isa = PBXContainerItemProxy; 250 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 251 | proxyType = 2; 252 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 253 | remoteInfo = "RCTAnimation-tvOS"; 254 | }; 255 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 256 | isa = PBXContainerItemProxy; 257 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 258 | proxyType = 2; 259 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 260 | remoteInfo = RCTLinking; 261 | }; 262 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 263 | isa = PBXContainerItemProxy; 264 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 265 | proxyType = 2; 266 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 267 | remoteInfo = RCTText; 268 | }; 269 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 270 | isa = PBXContainerItemProxy; 271 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 272 | proxyType = 2; 273 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 274 | remoteInfo = RCTBlob; 275 | }; 276 | /* End PBXContainerItemProxy section */ 277 | 278 | /* Begin PBXFileReference section */ 279 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 280 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 281 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 282 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 283 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 284 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 285 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 286 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 287 | 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; }; 288 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 289 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 290 | 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 291 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; }; 292 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Example/AppDelegate.m; sourceTree = ""; }; 293 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 294 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; }; 295 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; }; 296 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; }; 297 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 298 | 147F3A7A7D38473EB2D21320 /* libRNThumbnail.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNThumbnail.a; sourceTree = ""; }; 299 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 300 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 301 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 302 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 303 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 304 | 8DAA352CE4014A95ACD9294D /* RNThumbnail.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNThumbnail.xcodeproj; path = "../node_modules/react-native-thumbnail/ios/RNThumbnail.xcodeproj"; sourceTree = ""; }; 305 | A6FE9D20FA3D4096B80B6EE8 /* RNImagePicker.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNImagePicker.xcodeproj; path = "../node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj"; sourceTree = ""; }; 306 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 307 | D4D9DBACDC924CA6A835F3BF /* libRNImagePicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNImagePicker.a; sourceTree = ""; }; 308 | /* End PBXFileReference section */ 309 | 310 | /* Begin PBXFrameworksBuildPhase section */ 311 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 312 | isa = PBXFrameworksBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 316 | ); 317 | runOnlyForDeploymentPostprocessing = 0; 318 | }; 319 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 320 | isa = PBXFrameworksBuildPhase; 321 | buildActionMask = 2147483647; 322 | files = ( 323 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 324 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 325 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 326 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 327 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 328 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 329 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 330 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 331 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 332 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 333 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 334 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 335 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 336 | 99FDC74913CD428F82F41937 /* libRNImagePicker.a in Frameworks */, 337 | 22508F513F1D48ABBDA7FD9F /* libRNThumbnail.a in Frameworks */, 338 | ); 339 | runOnlyForDeploymentPostprocessing = 0; 340 | }; 341 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 342 | isa = PBXFrameworksBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */, 346 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 347 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 348 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 349 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 350 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 351 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 352 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | }; 356 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 357 | isa = PBXFrameworksBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | /* End PBXFrameworksBuildPhase section */ 364 | 365 | /* Begin PBXGroup section */ 366 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 367 | isa = PBXGroup; 368 | children = ( 369 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 370 | ); 371 | name = Products; 372 | sourceTree = ""; 373 | }; 374 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 375 | isa = PBXGroup; 376 | children = ( 377 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 378 | ); 379 | name = Products; 380 | sourceTree = ""; 381 | }; 382 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 383 | isa = PBXGroup; 384 | children = ( 385 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 386 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 387 | ); 388 | name = Products; 389 | sourceTree = ""; 390 | }; 391 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 392 | isa = PBXGroup; 393 | children = ( 394 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 395 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 396 | ); 397 | name = Products; 398 | sourceTree = ""; 399 | }; 400 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 401 | isa = PBXGroup; 402 | children = ( 403 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 404 | ); 405 | name = Products; 406 | sourceTree = ""; 407 | }; 408 | 00E356EF1AD99517003FC87E /* ExampleTests */ = { 409 | isa = PBXGroup; 410 | children = ( 411 | 00E356F21AD99517003FC87E /* ExampleTests.m */, 412 | 00E356F01AD99517003FC87E /* Supporting Files */, 413 | ); 414 | path = ExampleTests; 415 | sourceTree = ""; 416 | }; 417 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 418 | isa = PBXGroup; 419 | children = ( 420 | 00E356F11AD99517003FC87E /* Info.plist */, 421 | ); 422 | name = "Supporting Files"; 423 | sourceTree = ""; 424 | }; 425 | 139105B71AF99BAD00B5F7CC /* Products */ = { 426 | isa = PBXGroup; 427 | children = ( 428 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 429 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 430 | ); 431 | name = Products; 432 | sourceTree = ""; 433 | }; 434 | 139FDEE71B06529A00C62182 /* Products */ = { 435 | isa = PBXGroup; 436 | children = ( 437 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 438 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 439 | 3DEEF0161FA1B52F00F551E9 /* libfishhook.a */, 440 | 3DEEF0181FA1B52F00F551E9 /* libfishhook-tvOS.a */, 441 | ); 442 | name = Products; 443 | sourceTree = ""; 444 | }; 445 | 13B07FAE1A68108700A75B9A /* Example */ = { 446 | isa = PBXGroup; 447 | children = ( 448 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 449 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 450 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 451 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 452 | 13B07FB61A68108700A75B9A /* Info.plist */, 453 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 454 | 13B07FB71A68108700A75B9A /* main.m */, 455 | ); 456 | name = Example; 457 | sourceTree = ""; 458 | }; 459 | 146834001AC3E56700842450 /* Products */ = { 460 | isa = PBXGroup; 461 | children = ( 462 | 146834041AC3E56700842450 /* libReact.a */, 463 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 464 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 465 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 466 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 467 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 468 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 469 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | 3DEEEFF91FA1B52C00F551E9 /* Recovered References */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | D4D9DBACDC924CA6A835F3BF /* libRNImagePicker.a */, 478 | 147F3A7A7D38473EB2D21320 /* libRNThumbnail.a */, 479 | ); 480 | name = "Recovered References"; 481 | sourceTree = ""; 482 | }; 483 | 3DEEEFFA1FA1B52F00F551E9 /* Products */ = { 484 | isa = PBXGroup; 485 | children = ( 486 | 3DEEF01B1FA1B52F00F551E9 /* libRNImagePicker.a */, 487 | ); 488 | name = Products; 489 | sourceTree = ""; 490 | }; 491 | 3DEEEFFC1FA1B52F00F551E9 /* Products */ = { 492 | isa = PBXGroup; 493 | children = ( 494 | 3DEEF01E1FA1B52F00F551E9 /* libRNThumbnail.a */, 495 | ); 496 | name = Products; 497 | sourceTree = ""; 498 | }; 499 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 500 | isa = PBXGroup; 501 | children = ( 502 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 503 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | 78C398B11ACF4ADC00677621 /* Products */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 512 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 513 | ); 514 | name = Products; 515 | sourceTree = ""; 516 | }; 517 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 518 | isa = PBXGroup; 519 | children = ( 520 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 521 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 522 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 523 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 524 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 525 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 526 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 527 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 528 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 529 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 530 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 531 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 532 | A6FE9D20FA3D4096B80B6EE8 /* RNImagePicker.xcodeproj */, 533 | 8DAA352CE4014A95ACD9294D /* RNThumbnail.xcodeproj */, 534 | ); 535 | name = Libraries; 536 | sourceTree = ""; 537 | }; 538 | 832341B11AAA6A8300B99B32 /* Products */ = { 539 | isa = PBXGroup; 540 | children = ( 541 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 542 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 543 | ); 544 | name = Products; 545 | sourceTree = ""; 546 | }; 547 | 83CBB9F61A601CBA00E9B192 = { 548 | isa = PBXGroup; 549 | children = ( 550 | 13B07FAE1A68108700A75B9A /* Example */, 551 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 552 | 00E356EF1AD99517003FC87E /* ExampleTests */, 553 | 83CBBA001A601CBA00E9B192 /* Products */, 554 | 3DEEEFF91FA1B52C00F551E9 /* Recovered References */, 555 | ); 556 | indentWidth = 2; 557 | sourceTree = ""; 558 | tabWidth = 2; 559 | usesTabs = 0; 560 | }; 561 | 83CBBA001A601CBA00E9B192 /* Products */ = { 562 | isa = PBXGroup; 563 | children = ( 564 | 13B07F961A680F5B00A75B9A /* Example.app */, 565 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */, 566 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */, 567 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */, 568 | ); 569 | name = Products; 570 | sourceTree = ""; 571 | }; 572 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 573 | isa = PBXGroup; 574 | children = ( 575 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 576 | 3DEEF0041FA1B52F00F551E9 /* libRCTBlob-tvOS.a */, 577 | ); 578 | name = Products; 579 | sourceTree = ""; 580 | }; 581 | /* End PBXGroup section */ 582 | 583 | /* Begin PBXNativeTarget section */ 584 | 00E356ED1AD99517003FC87E /* ExampleTests */ = { 585 | isa = PBXNativeTarget; 586 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */; 587 | buildPhases = ( 588 | 00E356EA1AD99517003FC87E /* Sources */, 589 | 00E356EB1AD99517003FC87E /* Frameworks */, 590 | 00E356EC1AD99517003FC87E /* Resources */, 591 | ); 592 | buildRules = ( 593 | ); 594 | dependencies = ( 595 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 596 | ); 597 | name = ExampleTests; 598 | productName = ExampleTests; 599 | productReference = 00E356EE1AD99517003FC87E /* ExampleTests.xctest */; 600 | productType = "com.apple.product-type.bundle.unit-test"; 601 | }; 602 | 13B07F861A680F5B00A75B9A /* Example */ = { 603 | isa = PBXNativeTarget; 604 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */; 605 | buildPhases = ( 606 | 13B07F871A680F5B00A75B9A /* Sources */, 607 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 608 | 13B07F8E1A680F5B00A75B9A /* Resources */, 609 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 610 | ); 611 | buildRules = ( 612 | ); 613 | dependencies = ( 614 | ); 615 | name = Example; 616 | productName = "Hello World"; 617 | productReference = 13B07F961A680F5B00A75B9A /* Example.app */; 618 | productType = "com.apple.product-type.application"; 619 | }; 620 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */ = { 621 | isa = PBXNativeTarget; 622 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */; 623 | buildPhases = ( 624 | 2D02E4771E0B4A5D006451C7 /* Sources */, 625 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 626 | 2D02E4791E0B4A5D006451C7 /* Resources */, 627 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 628 | ); 629 | buildRules = ( 630 | ); 631 | dependencies = ( 632 | ); 633 | name = "Example-tvOS"; 634 | productName = "Example-tvOS"; 635 | productReference = 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */; 636 | productType = "com.apple.product-type.application"; 637 | }; 638 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */ = { 639 | isa = PBXNativeTarget; 640 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */; 641 | buildPhases = ( 642 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 643 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 644 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 645 | ); 646 | buildRules = ( 647 | ); 648 | dependencies = ( 649 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 650 | ); 651 | name = "Example-tvOSTests"; 652 | productName = "Example-tvOSTests"; 653 | productReference = 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */; 654 | productType = "com.apple.product-type.bundle.unit-test"; 655 | }; 656 | /* End PBXNativeTarget section */ 657 | 658 | /* Begin PBXProject section */ 659 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 660 | isa = PBXProject; 661 | attributes = { 662 | LastUpgradeCheck = 610; 663 | ORGANIZATIONNAME = Facebook; 664 | TargetAttributes = { 665 | 00E356ED1AD99517003FC87E = { 666 | CreatedOnToolsVersion = 6.2; 667 | DevelopmentTeam = JFUMMY68VD; 668 | TestTargetID = 13B07F861A680F5B00A75B9A; 669 | }; 670 | 13B07F861A680F5B00A75B9A = { 671 | DevelopmentTeam = JFUMMY68VD; 672 | }; 673 | 2D02E47A1E0B4A5D006451C7 = { 674 | CreatedOnToolsVersion = 8.2.1; 675 | ProvisioningStyle = Automatic; 676 | }; 677 | 2D02E48F1E0B4A5D006451C7 = { 678 | CreatedOnToolsVersion = 8.2.1; 679 | ProvisioningStyle = Automatic; 680 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 681 | }; 682 | }; 683 | }; 684 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */; 685 | compatibilityVersion = "Xcode 3.2"; 686 | developmentRegion = English; 687 | hasScannedForEncodings = 0; 688 | knownRegions = ( 689 | en, 690 | Base, 691 | ); 692 | mainGroup = 83CBB9F61A601CBA00E9B192; 693 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 694 | projectDirPath = ""; 695 | projectReferences = ( 696 | { 697 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 698 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 699 | }, 700 | { 701 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 702 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 703 | }, 704 | { 705 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 706 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 707 | }, 708 | { 709 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 710 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 711 | }, 712 | { 713 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 714 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 715 | }, 716 | { 717 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 718 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 719 | }, 720 | { 721 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 722 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 723 | }, 724 | { 725 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 726 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 727 | }, 728 | { 729 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 730 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 731 | }, 732 | { 733 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 734 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 735 | }, 736 | { 737 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 738 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 739 | }, 740 | { 741 | ProductGroup = 146834001AC3E56700842450 /* Products */; 742 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 743 | }, 744 | { 745 | ProductGroup = 3DEEEFFA1FA1B52F00F551E9 /* Products */; 746 | ProjectRef = A6FE9D20FA3D4096B80B6EE8 /* RNImagePicker.xcodeproj */; 747 | }, 748 | { 749 | ProductGroup = 3DEEEFFC1FA1B52F00F551E9 /* Products */; 750 | ProjectRef = 8DAA352CE4014A95ACD9294D /* RNThumbnail.xcodeproj */; 751 | }, 752 | ); 753 | projectRoot = ""; 754 | targets = ( 755 | 13B07F861A680F5B00A75B9A /* Example */, 756 | 00E356ED1AD99517003FC87E /* ExampleTests */, 757 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */, 758 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */, 759 | ); 760 | }; 761 | /* End PBXProject section */ 762 | 763 | /* Begin PBXReferenceProxy section */ 764 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 765 | isa = PBXReferenceProxy; 766 | fileType = archive.ar; 767 | path = libRCTActionSheet.a; 768 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 769 | sourceTree = BUILT_PRODUCTS_DIR; 770 | }; 771 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 772 | isa = PBXReferenceProxy; 773 | fileType = archive.ar; 774 | path = libRCTGeolocation.a; 775 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 776 | sourceTree = BUILT_PRODUCTS_DIR; 777 | }; 778 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 779 | isa = PBXReferenceProxy; 780 | fileType = archive.ar; 781 | path = libRCTImage.a; 782 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 783 | sourceTree = BUILT_PRODUCTS_DIR; 784 | }; 785 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 786 | isa = PBXReferenceProxy; 787 | fileType = archive.ar; 788 | path = libRCTNetwork.a; 789 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 790 | sourceTree = BUILT_PRODUCTS_DIR; 791 | }; 792 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 793 | isa = PBXReferenceProxy; 794 | fileType = archive.ar; 795 | path = libRCTVibration.a; 796 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 797 | sourceTree = BUILT_PRODUCTS_DIR; 798 | }; 799 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 800 | isa = PBXReferenceProxy; 801 | fileType = archive.ar; 802 | path = libRCTSettings.a; 803 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 804 | sourceTree = BUILT_PRODUCTS_DIR; 805 | }; 806 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 807 | isa = PBXReferenceProxy; 808 | fileType = archive.ar; 809 | path = libRCTWebSocket.a; 810 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 811 | sourceTree = BUILT_PRODUCTS_DIR; 812 | }; 813 | 146834041AC3E56700842450 /* libReact.a */ = { 814 | isa = PBXReferenceProxy; 815 | fileType = archive.ar; 816 | path = libReact.a; 817 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 818 | sourceTree = BUILT_PRODUCTS_DIR; 819 | }; 820 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 821 | isa = PBXReferenceProxy; 822 | fileType = archive.ar; 823 | path = "libRCTImage-tvOS.a"; 824 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 825 | sourceTree = BUILT_PRODUCTS_DIR; 826 | }; 827 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 828 | isa = PBXReferenceProxy; 829 | fileType = archive.ar; 830 | path = "libRCTLinking-tvOS.a"; 831 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 832 | sourceTree = BUILT_PRODUCTS_DIR; 833 | }; 834 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 835 | isa = PBXReferenceProxy; 836 | fileType = archive.ar; 837 | path = "libRCTNetwork-tvOS.a"; 838 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 839 | sourceTree = BUILT_PRODUCTS_DIR; 840 | }; 841 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 842 | isa = PBXReferenceProxy; 843 | fileType = archive.ar; 844 | path = "libRCTSettings-tvOS.a"; 845 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 846 | sourceTree = BUILT_PRODUCTS_DIR; 847 | }; 848 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 849 | isa = PBXReferenceProxy; 850 | fileType = archive.ar; 851 | path = "libRCTText-tvOS.a"; 852 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 853 | sourceTree = BUILT_PRODUCTS_DIR; 854 | }; 855 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 856 | isa = PBXReferenceProxy; 857 | fileType = archive.ar; 858 | path = "libRCTWebSocket-tvOS.a"; 859 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 860 | sourceTree = BUILT_PRODUCTS_DIR; 861 | }; 862 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 863 | isa = PBXReferenceProxy; 864 | fileType = archive.ar; 865 | path = "libReact-tvOS.a"; 866 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 867 | sourceTree = BUILT_PRODUCTS_DIR; 868 | }; 869 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 870 | isa = PBXReferenceProxy; 871 | fileType = archive.ar; 872 | path = libyoga.a; 873 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 874 | sourceTree = BUILT_PRODUCTS_DIR; 875 | }; 876 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 877 | isa = PBXReferenceProxy; 878 | fileType = archive.ar; 879 | path = libyoga.a; 880 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 881 | sourceTree = BUILT_PRODUCTS_DIR; 882 | }; 883 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 884 | isa = PBXReferenceProxy; 885 | fileType = archive.ar; 886 | path = libcxxreact.a; 887 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 888 | sourceTree = BUILT_PRODUCTS_DIR; 889 | }; 890 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 891 | isa = PBXReferenceProxy; 892 | fileType = archive.ar; 893 | path = libcxxreact.a; 894 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 895 | sourceTree = BUILT_PRODUCTS_DIR; 896 | }; 897 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 898 | isa = PBXReferenceProxy; 899 | fileType = archive.ar; 900 | path = libjschelpers.a; 901 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 902 | sourceTree = BUILT_PRODUCTS_DIR; 903 | }; 904 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 905 | isa = PBXReferenceProxy; 906 | fileType = archive.ar; 907 | path = libjschelpers.a; 908 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 909 | sourceTree = BUILT_PRODUCTS_DIR; 910 | }; 911 | 3DEEF0041FA1B52F00F551E9 /* libRCTBlob-tvOS.a */ = { 912 | isa = PBXReferenceProxy; 913 | fileType = archive.ar; 914 | path = "libRCTBlob-tvOS.a"; 915 | remoteRef = 3DEEF0031FA1B52F00F551E9 /* PBXContainerItemProxy */; 916 | sourceTree = BUILT_PRODUCTS_DIR; 917 | }; 918 | 3DEEF0161FA1B52F00F551E9 /* libfishhook.a */ = { 919 | isa = PBXReferenceProxy; 920 | fileType = archive.ar; 921 | path = libfishhook.a; 922 | remoteRef = 3DEEF0151FA1B52F00F551E9 /* PBXContainerItemProxy */; 923 | sourceTree = BUILT_PRODUCTS_DIR; 924 | }; 925 | 3DEEF0181FA1B52F00F551E9 /* libfishhook-tvOS.a */ = { 926 | isa = PBXReferenceProxy; 927 | fileType = archive.ar; 928 | path = "libfishhook-tvOS.a"; 929 | remoteRef = 3DEEF0171FA1B52F00F551E9 /* PBXContainerItemProxy */; 930 | sourceTree = BUILT_PRODUCTS_DIR; 931 | }; 932 | 3DEEF01B1FA1B52F00F551E9 /* libRNImagePicker.a */ = { 933 | isa = PBXReferenceProxy; 934 | fileType = archive.ar; 935 | path = libRNImagePicker.a; 936 | remoteRef = 3DEEF01A1FA1B52F00F551E9 /* PBXContainerItemProxy */; 937 | sourceTree = BUILT_PRODUCTS_DIR; 938 | }; 939 | 3DEEF01E1FA1B52F00F551E9 /* libRNThumbnail.a */ = { 940 | isa = PBXReferenceProxy; 941 | fileType = archive.ar; 942 | path = libRNThumbnail.a; 943 | remoteRef = 3DEEF01D1FA1B52F00F551E9 /* PBXContainerItemProxy */; 944 | sourceTree = BUILT_PRODUCTS_DIR; 945 | }; 946 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 947 | isa = PBXReferenceProxy; 948 | fileType = archive.ar; 949 | path = libRCTAnimation.a; 950 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 951 | sourceTree = BUILT_PRODUCTS_DIR; 952 | }; 953 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 954 | isa = PBXReferenceProxy; 955 | fileType = archive.ar; 956 | path = libRCTAnimation.a; 957 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 958 | sourceTree = BUILT_PRODUCTS_DIR; 959 | }; 960 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 961 | isa = PBXReferenceProxy; 962 | fileType = archive.ar; 963 | path = libRCTLinking.a; 964 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 965 | sourceTree = BUILT_PRODUCTS_DIR; 966 | }; 967 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 968 | isa = PBXReferenceProxy; 969 | fileType = archive.ar; 970 | path = libRCTText.a; 971 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 972 | sourceTree = BUILT_PRODUCTS_DIR; 973 | }; 974 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 975 | isa = PBXReferenceProxy; 976 | fileType = archive.ar; 977 | path = libRCTBlob.a; 978 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 979 | sourceTree = BUILT_PRODUCTS_DIR; 980 | }; 981 | /* End PBXReferenceProxy section */ 982 | 983 | /* Begin PBXResourcesBuildPhase section */ 984 | 00E356EC1AD99517003FC87E /* Resources */ = { 985 | isa = PBXResourcesBuildPhase; 986 | buildActionMask = 2147483647; 987 | files = ( 988 | ); 989 | runOnlyForDeploymentPostprocessing = 0; 990 | }; 991 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 992 | isa = PBXResourcesBuildPhase; 993 | buildActionMask = 2147483647; 994 | files = ( 995 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 996 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 997 | ); 998 | runOnlyForDeploymentPostprocessing = 0; 999 | }; 1000 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1001 | isa = PBXResourcesBuildPhase; 1002 | buildActionMask = 2147483647; 1003 | files = ( 1004 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1005 | ); 1006 | runOnlyForDeploymentPostprocessing = 0; 1007 | }; 1008 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1009 | isa = PBXResourcesBuildPhase; 1010 | buildActionMask = 2147483647; 1011 | files = ( 1012 | ); 1013 | runOnlyForDeploymentPostprocessing = 0; 1014 | }; 1015 | /* End PBXResourcesBuildPhase section */ 1016 | 1017 | /* Begin PBXShellScriptBuildPhase section */ 1018 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1019 | isa = PBXShellScriptBuildPhase; 1020 | buildActionMask = 2147483647; 1021 | files = ( 1022 | ); 1023 | inputPaths = ( 1024 | ); 1025 | name = "Bundle React Native code and images"; 1026 | outputPaths = ( 1027 | ); 1028 | runOnlyForDeploymentPostprocessing = 0; 1029 | shellPath = /bin/sh; 1030 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1031 | }; 1032 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1033 | isa = PBXShellScriptBuildPhase; 1034 | buildActionMask = 2147483647; 1035 | files = ( 1036 | ); 1037 | inputPaths = ( 1038 | ); 1039 | name = "Bundle React Native Code And Images"; 1040 | outputPaths = ( 1041 | ); 1042 | runOnlyForDeploymentPostprocessing = 0; 1043 | shellPath = /bin/sh; 1044 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1045 | }; 1046 | /* End PBXShellScriptBuildPhase section */ 1047 | 1048 | /* Begin PBXSourcesBuildPhase section */ 1049 | 00E356EA1AD99517003FC87E /* Sources */ = { 1050 | isa = PBXSourcesBuildPhase; 1051 | buildActionMask = 2147483647; 1052 | files = ( 1053 | 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */, 1054 | ); 1055 | runOnlyForDeploymentPostprocessing = 0; 1056 | }; 1057 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1058 | isa = PBXSourcesBuildPhase; 1059 | buildActionMask = 2147483647; 1060 | files = ( 1061 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1062 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1063 | ); 1064 | runOnlyForDeploymentPostprocessing = 0; 1065 | }; 1066 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1067 | isa = PBXSourcesBuildPhase; 1068 | buildActionMask = 2147483647; 1069 | files = ( 1070 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1071 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1072 | ); 1073 | runOnlyForDeploymentPostprocessing = 0; 1074 | }; 1075 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1076 | isa = PBXSourcesBuildPhase; 1077 | buildActionMask = 2147483647; 1078 | files = ( 1079 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */, 1080 | ); 1081 | runOnlyForDeploymentPostprocessing = 0; 1082 | }; 1083 | /* End PBXSourcesBuildPhase section */ 1084 | 1085 | /* Begin PBXTargetDependency section */ 1086 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1087 | isa = PBXTargetDependency; 1088 | target = 13B07F861A680F5B00A75B9A /* Example */; 1089 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1090 | }; 1091 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1092 | isa = PBXTargetDependency; 1093 | target = 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */; 1094 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1095 | }; 1096 | /* End PBXTargetDependency section */ 1097 | 1098 | /* Begin PBXVariantGroup section */ 1099 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1100 | isa = PBXVariantGroup; 1101 | children = ( 1102 | 13B07FB21A68108700A75B9A /* Base */, 1103 | ); 1104 | name = LaunchScreen.xib; 1105 | path = Example; 1106 | sourceTree = ""; 1107 | }; 1108 | /* End PBXVariantGroup section */ 1109 | 1110 | /* Begin XCBuildConfiguration section */ 1111 | 00E356F61AD99517003FC87E /* Debug */ = { 1112 | isa = XCBuildConfiguration; 1113 | buildSettings = { 1114 | BUNDLE_LOADER = "$(TEST_HOST)"; 1115 | DEVELOPMENT_TEAM = JFUMMY68VD; 1116 | GCC_PREPROCESSOR_DEFINITIONS = ( 1117 | "DEBUG=1", 1118 | "$(inherited)", 1119 | ); 1120 | HEADER_SEARCH_PATHS = ( 1121 | "$(inherited)", 1122 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1123 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1124 | ); 1125 | INFOPLIST_FILE = ExampleTests/Info.plist; 1126 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1127 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1128 | LIBRARY_SEARCH_PATHS = ( 1129 | "$(inherited)", 1130 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1131 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1132 | ); 1133 | OTHER_LDFLAGS = ( 1134 | "-ObjC", 1135 | "-lc++", 1136 | ); 1137 | PRODUCT_NAME = "$(TARGET_NAME)"; 1138 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1139 | }; 1140 | name = Debug; 1141 | }; 1142 | 00E356F71AD99517003FC87E /* Release */ = { 1143 | isa = XCBuildConfiguration; 1144 | buildSettings = { 1145 | BUNDLE_LOADER = "$(TEST_HOST)"; 1146 | COPY_PHASE_STRIP = NO; 1147 | DEVELOPMENT_TEAM = JFUMMY68VD; 1148 | HEADER_SEARCH_PATHS = ( 1149 | "$(inherited)", 1150 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1151 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1152 | ); 1153 | INFOPLIST_FILE = ExampleTests/Info.plist; 1154 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1155 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1156 | LIBRARY_SEARCH_PATHS = ( 1157 | "$(inherited)", 1158 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1159 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1160 | ); 1161 | OTHER_LDFLAGS = ( 1162 | "-ObjC", 1163 | "-lc++", 1164 | ); 1165 | PRODUCT_NAME = "$(TARGET_NAME)"; 1166 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1167 | }; 1168 | name = Release; 1169 | }; 1170 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1171 | isa = XCBuildConfiguration; 1172 | buildSettings = { 1173 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1174 | CURRENT_PROJECT_VERSION = 1; 1175 | DEAD_CODE_STRIPPING = NO; 1176 | DEVELOPMENT_TEAM = JFUMMY68VD; 1177 | HEADER_SEARCH_PATHS = ( 1178 | "$(inherited)", 1179 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1180 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1181 | ); 1182 | INFOPLIST_FILE = Example/Info.plist; 1183 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1184 | OTHER_LDFLAGS = ( 1185 | "$(inherited)", 1186 | "-ObjC", 1187 | "-lc++", 1188 | ); 1189 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.react.native.thumbnail.example; 1190 | PRODUCT_NAME = Example; 1191 | VERSIONING_SYSTEM = "apple-generic"; 1192 | }; 1193 | name = Debug; 1194 | }; 1195 | 13B07F951A680F5B00A75B9A /* Release */ = { 1196 | isa = XCBuildConfiguration; 1197 | buildSettings = { 1198 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1199 | CURRENT_PROJECT_VERSION = 1; 1200 | DEVELOPMENT_TEAM = JFUMMY68VD; 1201 | HEADER_SEARCH_PATHS = ( 1202 | "$(inherited)", 1203 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1204 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1205 | ); 1206 | INFOPLIST_FILE = Example/Info.plist; 1207 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1208 | OTHER_LDFLAGS = ( 1209 | "$(inherited)", 1210 | "-ObjC", 1211 | "-lc++", 1212 | ); 1213 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.react.native.thumbnail.example; 1214 | PRODUCT_NAME = Example; 1215 | VERSIONING_SYSTEM = "apple-generic"; 1216 | }; 1217 | name = Release; 1218 | }; 1219 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1220 | isa = XCBuildConfiguration; 1221 | buildSettings = { 1222 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1223 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1224 | CLANG_ANALYZER_NONNULL = YES; 1225 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1226 | CLANG_WARN_INFINITE_RECURSION = YES; 1227 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1228 | DEBUG_INFORMATION_FORMAT = dwarf; 1229 | ENABLE_TESTABILITY = YES; 1230 | GCC_NO_COMMON_BLOCKS = YES; 1231 | HEADER_SEARCH_PATHS = ( 1232 | "$(inherited)", 1233 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1234 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1235 | ); 1236 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1237 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1238 | LIBRARY_SEARCH_PATHS = ( 1239 | "$(inherited)", 1240 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1241 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1242 | ); 1243 | OTHER_LDFLAGS = ( 1244 | "-ObjC", 1245 | "-lc++", 1246 | ); 1247 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1248 | PRODUCT_NAME = "$(TARGET_NAME)"; 1249 | SDKROOT = appletvos; 1250 | TARGETED_DEVICE_FAMILY = 3; 1251 | TVOS_DEPLOYMENT_TARGET = 9.2; 1252 | }; 1253 | name = Debug; 1254 | }; 1255 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1256 | isa = XCBuildConfiguration; 1257 | buildSettings = { 1258 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1259 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1260 | CLANG_ANALYZER_NONNULL = YES; 1261 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1262 | CLANG_WARN_INFINITE_RECURSION = YES; 1263 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1264 | COPY_PHASE_STRIP = NO; 1265 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1266 | GCC_NO_COMMON_BLOCKS = YES; 1267 | HEADER_SEARCH_PATHS = ( 1268 | "$(inherited)", 1269 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1270 | "$(SRCROOT)/../node_modules/react-native-thumbnail/ios", 1271 | ); 1272 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1273 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1274 | LIBRARY_SEARCH_PATHS = ( 1275 | "$(inherited)", 1276 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1277 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1278 | ); 1279 | OTHER_LDFLAGS = ( 1280 | "-ObjC", 1281 | "-lc++", 1282 | ); 1283 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1284 | PRODUCT_NAME = "$(TARGET_NAME)"; 1285 | SDKROOT = appletvos; 1286 | TARGETED_DEVICE_FAMILY = 3; 1287 | TVOS_DEPLOYMENT_TARGET = 9.2; 1288 | }; 1289 | name = Release; 1290 | }; 1291 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1292 | isa = XCBuildConfiguration; 1293 | buildSettings = { 1294 | BUNDLE_LOADER = "$(TEST_HOST)"; 1295 | CLANG_ANALYZER_NONNULL = YES; 1296 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1297 | CLANG_WARN_INFINITE_RECURSION = YES; 1298 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1299 | DEBUG_INFORMATION_FORMAT = dwarf; 1300 | ENABLE_TESTABILITY = YES; 1301 | GCC_NO_COMMON_BLOCKS = YES; 1302 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1303 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1304 | LIBRARY_SEARCH_PATHS = ( 1305 | "$(inherited)", 1306 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1307 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1308 | ); 1309 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1310 | PRODUCT_NAME = "$(TARGET_NAME)"; 1311 | SDKROOT = appletvos; 1312 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1313 | TVOS_DEPLOYMENT_TARGET = 10.1; 1314 | }; 1315 | name = Debug; 1316 | }; 1317 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1318 | isa = XCBuildConfiguration; 1319 | buildSettings = { 1320 | BUNDLE_LOADER = "$(TEST_HOST)"; 1321 | CLANG_ANALYZER_NONNULL = YES; 1322 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1323 | CLANG_WARN_INFINITE_RECURSION = YES; 1324 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1325 | COPY_PHASE_STRIP = NO; 1326 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1327 | GCC_NO_COMMON_BLOCKS = YES; 1328 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1329 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1330 | LIBRARY_SEARCH_PATHS = ( 1331 | "$(inherited)", 1332 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1333 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1334 | ); 1335 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1336 | PRODUCT_NAME = "$(TARGET_NAME)"; 1337 | SDKROOT = appletvos; 1338 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1339 | TVOS_DEPLOYMENT_TARGET = 10.1; 1340 | }; 1341 | name = Release; 1342 | }; 1343 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1344 | isa = XCBuildConfiguration; 1345 | buildSettings = { 1346 | ALWAYS_SEARCH_USER_PATHS = NO; 1347 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1348 | CLANG_CXX_LIBRARY = "libc++"; 1349 | CLANG_ENABLE_MODULES = YES; 1350 | CLANG_ENABLE_OBJC_ARC = YES; 1351 | CLANG_WARN_BOOL_CONVERSION = YES; 1352 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1353 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1354 | CLANG_WARN_EMPTY_BODY = YES; 1355 | CLANG_WARN_ENUM_CONVERSION = YES; 1356 | CLANG_WARN_INT_CONVERSION = YES; 1357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1358 | CLANG_WARN_UNREACHABLE_CODE = YES; 1359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1361 | COPY_PHASE_STRIP = NO; 1362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1363 | GCC_C_LANGUAGE_STANDARD = gnu99; 1364 | GCC_DYNAMIC_NO_PIC = NO; 1365 | GCC_OPTIMIZATION_LEVEL = 0; 1366 | GCC_PREPROCESSOR_DEFINITIONS = ( 1367 | "DEBUG=1", 1368 | "$(inherited)", 1369 | ); 1370 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1371 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1372 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1373 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1374 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1375 | GCC_WARN_UNUSED_FUNCTION = YES; 1376 | GCC_WARN_UNUSED_VARIABLE = YES; 1377 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1378 | MTL_ENABLE_DEBUG_INFO = YES; 1379 | ONLY_ACTIVE_ARCH = YES; 1380 | SDKROOT = iphoneos; 1381 | }; 1382 | name = Debug; 1383 | }; 1384 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1385 | isa = XCBuildConfiguration; 1386 | buildSettings = { 1387 | ALWAYS_SEARCH_USER_PATHS = NO; 1388 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1389 | CLANG_CXX_LIBRARY = "libc++"; 1390 | CLANG_ENABLE_MODULES = YES; 1391 | CLANG_ENABLE_OBJC_ARC = YES; 1392 | CLANG_WARN_BOOL_CONVERSION = YES; 1393 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1394 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1395 | CLANG_WARN_EMPTY_BODY = YES; 1396 | CLANG_WARN_ENUM_CONVERSION = YES; 1397 | CLANG_WARN_INT_CONVERSION = YES; 1398 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1399 | CLANG_WARN_UNREACHABLE_CODE = YES; 1400 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1401 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1402 | COPY_PHASE_STRIP = YES; 1403 | ENABLE_NS_ASSERTIONS = NO; 1404 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1405 | GCC_C_LANGUAGE_STANDARD = gnu99; 1406 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1407 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1408 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1409 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1410 | GCC_WARN_UNUSED_FUNCTION = YES; 1411 | GCC_WARN_UNUSED_VARIABLE = YES; 1412 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1413 | MTL_ENABLE_DEBUG_INFO = NO; 1414 | SDKROOT = iphoneos; 1415 | VALIDATE_PRODUCT = YES; 1416 | }; 1417 | name = Release; 1418 | }; 1419 | /* End XCBuildConfiguration section */ 1420 | 1421 | /* Begin XCConfigurationList section */ 1422 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */ = { 1423 | isa = XCConfigurationList; 1424 | buildConfigurations = ( 1425 | 00E356F61AD99517003FC87E /* Debug */, 1426 | 00E356F71AD99517003FC87E /* Release */, 1427 | ); 1428 | defaultConfigurationIsVisible = 0; 1429 | defaultConfigurationName = Release; 1430 | }; 1431 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */ = { 1432 | isa = XCConfigurationList; 1433 | buildConfigurations = ( 1434 | 13B07F941A680F5B00A75B9A /* Debug */, 1435 | 13B07F951A680F5B00A75B9A /* Release */, 1436 | ); 1437 | defaultConfigurationIsVisible = 0; 1438 | defaultConfigurationName = Release; 1439 | }; 1440 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */ = { 1441 | isa = XCConfigurationList; 1442 | buildConfigurations = ( 1443 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1444 | 2D02E4981E0B4A5E006451C7 /* Release */, 1445 | ); 1446 | defaultConfigurationIsVisible = 0; 1447 | defaultConfigurationName = Release; 1448 | }; 1449 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */ = { 1450 | isa = XCConfigurationList; 1451 | buildConfigurations = ( 1452 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1453 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1454 | ); 1455 | defaultConfigurationIsVisible = 0; 1456 | defaultConfigurationName = Release; 1457 | }; 1458 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */ = { 1459 | isa = XCConfigurationList; 1460 | buildConfigurations = ( 1461 | 83CBBA201A601CBA00E9B192 /* Debug */, 1462 | 83CBBA211A601CBA00E9B192 /* Release */, 1463 | ); 1464 | defaultConfigurationIsVisible = 0; 1465 | defaultConfigurationName = Release; 1466 | }; 1467 | /* End XCConfigurationList section */ 1468 | }; 1469 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1470 | } 1471 | -------------------------------------------------------------------------------- /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) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example/ios/Example/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"Example" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /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/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RNThumbnail 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIRequiredDeviceCapabilities 43 | 44 | armv7 45 | 46 | UISupportedInterfaceOrientations 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | NSPhotoLibraryUsageDescription 53 | For testing only 54 | NSCameraUsageDescription 55 | For testing only 56 | UIViewControllerBasedStatusBarAppearance 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /Example/ios/Example/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/ExampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface ExampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ExampleTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/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/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 | }, 9 | "dependencies": { 10 | "react": "16.0.0-beta.5", 11 | "react-native": "0.49.3", 12 | "react-native-image-picker": "^0.26.7", 13 | "react-native-thumbnail": "^1.1.0" 14 | }, 15 | "devDependencies": { 16 | "babel-jest": "21.2.0", 17 | "babel-preset-react-native": "4.0.0", 18 | "jest": "21.2.1", 19 | "react-test-renderer": "16.0.0-beta.5" 20 | }, 21 | "jest": { 22 | "preset": "react-native" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # react-native-thumbnail 3 | Get thumbnail from local media. Currently, it only supports for video. 4 | 5 | ## Getting started 6 | 7 | `$ npm install react-native-thumbnail --save` 8 | 9 | ### Mostly automatic installation 10 | 11 | `$ react-native link react-native-thumbnail` 12 | 13 | ### Manual installation 14 | 15 | 16 | #### iOS 17 | 18 | 1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 19 | 2. Go to `node_modules` ➜ `react-native-thumbnail` and add `RNThumbnail.xcodeproj` 20 | 3. In XCode, in the project navigator, select your project. Add `libRNThumbnail.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 21 | 4. Run your project (`Cmd+R`)< 22 | 23 | #### Android 24 | 25 | 1. Open up `android/app/src/main/java/[...]/MainActivity.java` 26 | - Add `import com.reactlibrary.RNThumbnailPackage;` to the imports at the top of the file 27 | - Add `new RNThumbnailPackage()` to the list returned by the `getPackages()` method 28 | 2. Append the following lines to `android/settings.gradle`: 29 | ``` 30 | include ':react-native-thumbnail' 31 | project(':react-native-thumbnail').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-thumbnail/android') 32 | ``` 33 | 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: 34 | ``` 35 | compile project(':react-native-thumbnail') 36 | ``` 37 | 38 | #### Windows 39 | [Read it! :D](https://github.com/ReactWindows/react-native) 40 | 41 | 1. In Visual Studio add the `RNThumbnail.sln` in `node_modules/react-native-thumbnail/windows/RNThumbnail.sln` folder to their solution, reference from their app. 42 | 2. Open up your `MainPage.cs` app 43 | - Add `using Com.Reactlibrary.RNThumbnail;` to the usings at the top of the file 44 | - Add `new RNThumbnailPackage()` to the `List` returned by the `Packages` method 45 | 46 | 47 | ## Usage 48 | ```javascript 49 | import RNThumbnail from 'react-native-thumbnail'; 50 | 51 | 52 | let options = { 53 | saveToDir: '.app_thumbs', //default "/storage/emulated/0/thumb/" 54 | uniqueNames: false,// default "false", same names 55 | }; 56 | const filePath = "/storage/emulated/0/DCIM/Camera/VID_20180116_202826.mp4"; 57 | RNThumbnail.get(filePath, options).then((result) => { 58 | console.log(filePath, result); 59 | /** result: 60 | { 61 | height: 320 62 | path:"file:///storage/emulated/0/DCIM/Camera/.app_thumbs/VID_20180116_202826.mp4.jpeg" // thumbnail path 63 | width:240 64 | } 65 | */ 66 | }); 67 | ``` 68 | -------------------------------------------------------------------------------- /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/RNThumbnailModule.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 | import com.facebook.react.bridge.Promise; 9 | import com.facebook.react.bridge.Arguments; 10 | import com.facebook.react.bridge.ReadableMap; 11 | import com.facebook.react.bridge.WritableMap; 12 | import android.media.ThumbnailUtils; 13 | import android.provider.MediaStore; 14 | import android.provider.MediaStore.Video.Thumbnails; 15 | import android.graphics.Bitmap; 16 | import android.os.Environment; 17 | import android.util.Log; 18 | import android.media.MediaMetadataRetriever; 19 | import android.graphics.Matrix; 20 | 21 | import java.util.UUID; 22 | import java.io.File; 23 | import java.io.OutputStream; 24 | import java.io.FileOutputStream; 25 | 26 | 27 | public class RNThumbnailModule extends ReactContextBaseJavaModule { 28 | 29 | private final ReactApplicationContext reactContext; 30 | 31 | public RNThumbnailModule(ReactApplicationContext reactContext) { 32 | super(reactContext); 33 | this.reactContext = reactContext; 34 | } 35 | 36 | @Override 37 | public String getName() { 38 | return "RNThumbnail"; 39 | } 40 | 41 | @ReactMethod 42 | public void get(String filePath, ReadableMap options, Promise promise) { 43 | 44 | // saveToDir: '.app_thumbs', // "/storage/emulated/0/.app_thumbs/", 45 | // default "/storage/emulated/0/thumb/" 46 | // uniqueNames: false, // default same names 47 | 48 | boolean uniqueNames = false; 49 | if (options.hasKey("uniqueNames")) { 50 | uniqueNames = options.getBoolean("uniqueNames"); 51 | } 52 | 53 | String fullPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/thumb"; 54 | 55 | filePath = filePath.replace("file://",""); 56 | MediaMetadataRetriever retriever = new MediaMetadataRetriever(); 57 | retriever.setDataSource(filePath); 58 | Bitmap image = retriever.getFrameAtTime(1000000, MediaMetadataRetriever.OPTION_CLOSEST_SYNC); 59 | 60 | try { 61 | 62 | File original = new File(filePath); 63 | 64 | if (options.hasKey("saveToDir")) { 65 | fullPath = original.getParent().toString() + "/" + options.getString("saveToDir"); 66 | } 67 | 68 | File dir = new File(fullPath); 69 | if (!dir.exists()) { 70 | dir.mkdirs(); 71 | } 72 | 73 | OutputStream fOut = null; 74 | 75 | 76 | String fileName = original.getName() + ".jpeg"; 77 | 78 | if (uniqueNames) { 79 | fileName = "thumb-" + UUID.randomUUID().toString() + ".jpeg"; 80 | } 81 | 82 | File file = new File(fullPath, fileName); 83 | file.createNewFile(); 84 | fOut = new FileOutputStream(file); 85 | 86 | // 100 means no compression, the lower you go, the stronger the compression 87 | image.compress(Bitmap.CompressFormat.JPEG, 100, fOut); 88 | fOut.flush(); 89 | fOut.close(); 90 | 91 | // MediaStore.Images.Media.insertImage(reactContext.getContentResolver(), file.getAbsolutePath(), file.getName(), file.getName()); 92 | 93 | WritableMap map = Arguments.createMap(); 94 | 95 | map.putString("path", "file://" + fullPath + '/' + fileName); 96 | map.putDouble("width", image.getWidth()); 97 | map.putDouble("height", image.getHeight()); 98 | 99 | promise.resolve(map); 100 | 101 | } catch (Exception e) { 102 | Log.e("E_RNThumnail_ERROR", e.getMessage()); 103 | promise.reject("E_RNThumnail_ERROR", e); 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /android/src/main/java/com/reactlibrary/RNThumbnailPackage.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 RNThumbnailPackage implements ReactPackage { 14 | @Override 15 | public List createNativeModules(ReactApplicationContext reactContext) { 16 | return Arrays.asList(new RNThumbnailModule(reactContext)); 17 | } 18 | 19 | public List> createJSModules() { 20 | return Collections.emptyList(); 21 | } 22 | 23 | @Override 24 | public List createViewManagers(ReactApplicationContext reactContext) { 25 | return Collections.emptyList(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 2 | import { NativeModules } from 'react-native'; 3 | 4 | const { RNThumbnail } = NativeModules; 5 | 6 | export default RNThumbnail; 7 | -------------------------------------------------------------------------------- /ios/RNThumbnail.h: -------------------------------------------------------------------------------- 1 | 2 | #if __has_include("RCTBridgeModule.h") 3 | #import "RCTBridgeModule.h" 4 | #else 5 | #import 6 | #endif 7 | 8 | @interface RNThumbnail : NSObject 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /ios/RNThumbnail.m: -------------------------------------------------------------------------------- 1 | 2 | #import "RNThumbnail.h" 3 | #import 4 | #import 5 | #import 6 | 7 | @implementation RNThumbnail 8 | 9 | - (dispatch_queue_t)methodQueue 10 | { 11 | return dispatch_get_main_queue(); 12 | } 13 | RCT_EXPORT_MODULE() 14 | 15 | RCT_EXPORT_METHOD(get:(NSString *)filepath resolve:(RCTPromiseResolveBlock)resolve 16 | reject:(RCTPromiseRejectBlock)reject) 17 | { 18 | @try { 19 | filepath = [filepath stringByReplacingOccurrencesOfString:@"file://" 20 | withString:@""]; 21 | NSURL *vidURL = [NSURL fileURLWithPath:filepath]; 22 | 23 | AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:vidURL options:nil]; 24 | AVAssetImageGenerator *generator = [[AVAssetImageGenerator alloc] initWithAsset:asset]; 25 | generator.appliesPreferredTrackTransform = YES; 26 | 27 | NSError *err = NULL; 28 | CMTime time = CMTimeMake(1, 60); 29 | 30 | CGImageRef imgRef = [generator copyCGImageAtTime:time actualTime:NULL error:&err]; 31 | UIImage *thumbnail = [UIImage imageWithCGImage:imgRef]; 32 | // save to temp directory 33 | NSString* tempDirectory = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, 34 | NSUserDomainMask, 35 | YES) lastObject]; 36 | 37 | NSData *data = UIImageJPEGRepresentation(thumbnail, 1.0); 38 | NSFileManager *fileManager = [NSFileManager defaultManager]; 39 | NSString *fullPath = [tempDirectory stringByAppendingPathComponent: [NSString stringWithFormat:@"thumb-%@.jpg", [[NSProcessInfo processInfo] globallyUniqueString]]]; 40 | [fileManager createFileAtPath:fullPath contents:data attributes:nil]; 41 | if (resolve) 42 | resolve(@{ @"path" : fullPath, 43 | @"width" : [NSNumber numberWithFloat: thumbnail.size.width], 44 | @"height" : [NSNumber numberWithFloat: thumbnail.size.height] }); 45 | } @catch(NSException *e) { 46 | reject(e.reason, nil, nil); 47 | } 48 | } 49 | 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /ios/RNThumbnail.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = "RNThumbnail" 4 | s.version = "1.0.0" 5 | s.summary = "RNThumbnail" 6 | s.description = <<-DESC 7 | RNThumbnail 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.homepage = "https://github.com/author/RNThumbnail" 14 | s.platform = :ios, "7.0" 15 | s.source = { :git => "https://github.com/author/RNThumbnail.git", :tag => "master" } 16 | s.source_files = "RNThumbnail/**/*.{h,m}" 17 | s.requires_arc = true 18 | 19 | 20 | s.dependency "React" 21 | #s.dependency "others" 22 | 23 | end 24 | 25 | 26 | -------------------------------------------------------------------------------- /ios/RNThumbnail.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | B3E7B58A1CC2AC0600A0062D /* RNThumbnail.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNThumbnail.m */; }; 11 | /* End PBXBuildFile section */ 12 | 13 | /* Begin PBXCopyFilesBuildPhase section */ 14 | 58B511D91A9E6C8500147676 /* CopyFiles */ = { 15 | isa = PBXCopyFilesBuildPhase; 16 | buildActionMask = 2147483647; 17 | dstPath = "include/$(PRODUCT_NAME)"; 18 | dstSubfolderSpec = 16; 19 | files = ( 20 | ); 21 | runOnlyForDeploymentPostprocessing = 0; 22 | }; 23 | /* End PBXCopyFilesBuildPhase section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 134814201AA4EA6300B7C361 /* libRNThumbnail.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNThumbnail.a; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | B3E7B5881CC2AC0600A0062D /* RNThumbnail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNThumbnail.h; sourceTree = ""; }; 28 | B3E7B5891CC2AC0600A0062D /* RNThumbnail.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNThumbnail.m; sourceTree = ""; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 58B511D81A9E6C8500147676 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | ); 37 | runOnlyForDeploymentPostprocessing = 0; 38 | }; 39 | /* End PBXFrameworksBuildPhase section */ 40 | 41 | /* Begin PBXGroup section */ 42 | 134814211AA4EA7D00B7C361 /* Products */ = { 43 | isa = PBXGroup; 44 | children = ( 45 | 134814201AA4EA6300B7C361 /* libRNThumbnail.a */, 46 | ); 47 | name = Products; 48 | sourceTree = ""; 49 | }; 50 | 58B511D21A9E6C8500147676 = { 51 | isa = PBXGroup; 52 | children = ( 53 | B3E7B5881CC2AC0600A0062D /* RNThumbnail.h */, 54 | B3E7B5891CC2AC0600A0062D /* RNThumbnail.m */, 55 | 134814211AA4EA7D00B7C361 /* Products */, 56 | ); 57 | sourceTree = ""; 58 | }; 59 | /* End PBXGroup section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 58B511DA1A9E6C8500147676 /* RNThumbnail */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNThumbnail" */; 65 | buildPhases = ( 66 | 58B511D71A9E6C8500147676 /* Sources */, 67 | 58B511D81A9E6C8500147676 /* Frameworks */, 68 | 58B511D91A9E6C8500147676 /* CopyFiles */, 69 | ); 70 | buildRules = ( 71 | ); 72 | dependencies = ( 73 | ); 74 | name = RNThumbnail; 75 | productName = RCTDataManager; 76 | productReference = 134814201AA4EA6300B7C361 /* libRNThumbnail.a */; 77 | productType = "com.apple.product-type.library.static"; 78 | }; 79 | /* End PBXNativeTarget section */ 80 | 81 | /* Begin PBXProject section */ 82 | 58B511D31A9E6C8500147676 /* Project object */ = { 83 | isa = PBXProject; 84 | attributes = { 85 | LastUpgradeCheck = 0610; 86 | ORGANIZATIONNAME = Facebook; 87 | TargetAttributes = { 88 | 58B511DA1A9E6C8500147676 = { 89 | CreatedOnToolsVersion = 6.1.1; 90 | }; 91 | }; 92 | }; 93 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNThumbnail" */; 94 | compatibilityVersion = "Xcode 3.2"; 95 | developmentRegion = English; 96 | hasScannedForEncodings = 0; 97 | knownRegions = ( 98 | en, 99 | ); 100 | mainGroup = 58B511D21A9E6C8500147676; 101 | productRefGroup = 58B511D21A9E6C8500147676; 102 | projectDirPath = ""; 103 | projectRoot = ""; 104 | targets = ( 105 | 58B511DA1A9E6C8500147676 /* RNThumbnail */, 106 | ); 107 | }; 108 | /* End PBXProject section */ 109 | 110 | /* Begin PBXSourcesBuildPhase section */ 111 | 58B511D71A9E6C8500147676 /* Sources */ = { 112 | isa = PBXSourcesBuildPhase; 113 | buildActionMask = 2147483647; 114 | files = ( 115 | B3E7B58A1CC2AC0600A0062D /* RNThumbnail.m in Sources */, 116 | ); 117 | runOnlyForDeploymentPostprocessing = 0; 118 | }; 119 | /* End PBXSourcesBuildPhase section */ 120 | 121 | /* Begin XCBuildConfiguration section */ 122 | 58B511ED1A9E6C8500147676 /* Debug */ = { 123 | isa = XCBuildConfiguration; 124 | buildSettings = { 125 | ALWAYS_SEARCH_USER_PATHS = NO; 126 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 127 | CLANG_CXX_LIBRARY = "libc++"; 128 | CLANG_ENABLE_MODULES = YES; 129 | CLANG_ENABLE_OBJC_ARC = YES; 130 | CLANG_WARN_BOOL_CONVERSION = YES; 131 | CLANG_WARN_CONSTANT_CONVERSION = YES; 132 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 133 | CLANG_WARN_EMPTY_BODY = YES; 134 | CLANG_WARN_ENUM_CONVERSION = YES; 135 | CLANG_WARN_INT_CONVERSION = YES; 136 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 137 | CLANG_WARN_UNREACHABLE_CODE = YES; 138 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 139 | COPY_PHASE_STRIP = NO; 140 | ENABLE_STRICT_OBJC_MSGSEND = YES; 141 | GCC_C_LANGUAGE_STANDARD = gnu99; 142 | GCC_DYNAMIC_NO_PIC = NO; 143 | GCC_OPTIMIZATION_LEVEL = 0; 144 | GCC_PREPROCESSOR_DEFINITIONS = ( 145 | "DEBUG=1", 146 | "$(inherited)", 147 | ); 148 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 149 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 150 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 151 | GCC_WARN_UNDECLARED_SELECTOR = YES; 152 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 153 | GCC_WARN_UNUSED_FUNCTION = YES; 154 | GCC_WARN_UNUSED_VARIABLE = YES; 155 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 156 | MTL_ENABLE_DEBUG_INFO = YES; 157 | ONLY_ACTIVE_ARCH = YES; 158 | SDKROOT = iphoneos; 159 | }; 160 | name = Debug; 161 | }; 162 | 58B511EE1A9E6C8500147676 /* Release */ = { 163 | isa = XCBuildConfiguration; 164 | buildSettings = { 165 | ALWAYS_SEARCH_USER_PATHS = NO; 166 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 167 | CLANG_CXX_LIBRARY = "libc++"; 168 | CLANG_ENABLE_MODULES = YES; 169 | CLANG_ENABLE_OBJC_ARC = YES; 170 | CLANG_WARN_BOOL_CONVERSION = YES; 171 | CLANG_WARN_CONSTANT_CONVERSION = YES; 172 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 173 | CLANG_WARN_EMPTY_BODY = YES; 174 | CLANG_WARN_ENUM_CONVERSION = YES; 175 | CLANG_WARN_INT_CONVERSION = YES; 176 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 177 | CLANG_WARN_UNREACHABLE_CODE = YES; 178 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 179 | COPY_PHASE_STRIP = YES; 180 | ENABLE_NS_ASSERTIONS = NO; 181 | ENABLE_STRICT_OBJC_MSGSEND = YES; 182 | GCC_C_LANGUAGE_STANDARD = gnu99; 183 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 184 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 185 | GCC_WARN_UNDECLARED_SELECTOR = YES; 186 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 187 | GCC_WARN_UNUSED_FUNCTION = YES; 188 | GCC_WARN_UNUSED_VARIABLE = YES; 189 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 190 | MTL_ENABLE_DEBUG_INFO = NO; 191 | SDKROOT = iphoneos; 192 | VALIDATE_PRODUCT = YES; 193 | }; 194 | name = Release; 195 | }; 196 | 58B511F01A9E6C8500147676 /* Debug */ = { 197 | isa = XCBuildConfiguration; 198 | buildSettings = { 199 | HEADER_SEARCH_PATHS = ( 200 | "$(inherited)", 201 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 202 | "$(SRCROOT)/../../../React/**", 203 | "$(SRCROOT)/../../react-native/React/**", 204 | ); 205 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 206 | OTHER_LDFLAGS = "-ObjC"; 207 | PRODUCT_NAME = RNThumbnail; 208 | SKIP_INSTALL = YES; 209 | }; 210 | name = Debug; 211 | }; 212 | 58B511F11A9E6C8500147676 /* Release */ = { 213 | isa = XCBuildConfiguration; 214 | buildSettings = { 215 | HEADER_SEARCH_PATHS = ( 216 | "$(inherited)", 217 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 218 | "$(SRCROOT)/../../../React/**", 219 | "$(SRCROOT)/../../react-native/React/**", 220 | ); 221 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 222 | OTHER_LDFLAGS = "-ObjC"; 223 | PRODUCT_NAME = RNThumbnail; 224 | SKIP_INSTALL = YES; 225 | }; 226 | name = Release; 227 | }; 228 | /* End XCBuildConfiguration section */ 229 | 230 | /* Begin XCConfigurationList section */ 231 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNThumbnail" */ = { 232 | isa = XCConfigurationList; 233 | buildConfigurations = ( 234 | 58B511ED1A9E6C8500147676 /* Debug */, 235 | 58B511EE1A9E6C8500147676 /* Release */, 236 | ); 237 | defaultConfigurationIsVisible = 0; 238 | defaultConfigurationName = Release; 239 | }; 240 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNThumbnail" */ = { 241 | isa = XCConfigurationList; 242 | buildConfigurations = ( 243 | 58B511F01A9E6C8500147676 /* Debug */, 244 | 58B511F11A9E6C8500147676 /* Release */, 245 | ); 246 | defaultConfigurationIsVisible = 0; 247 | defaultConfigurationName = Release; 248 | }; 249 | /* End XCConfigurationList section */ 250 | }; 251 | rootObject = 58B511D31A9E6C8500147676 /* Project object */; 252 | } 253 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-thumbnail", 3 | "version": "1.1.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "react-native" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/phuochau/react-native-thumbnail.git" 15 | }, 16 | "author": "", 17 | "license": "", 18 | "dependencies": { 19 | "react-native-thumbnail": "^1.1.0" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | react-native-thumbnail@^1.1.0: 6 | version "1.1.0" 7 | resolved "https://registry.yarnpkg.com/react-native-thumbnail/-/react-native-thumbnail-1.1.0.tgz#d3fc34e642340541117ffdae887514450e4b4552" 8 | --------------------------------------------------------------------------------