From 6994606073d406aefb3b50cf7e1b9a87e6cd9f2f Mon Sep 17 00:00:00 2001 From: Dylan Vann Date: Sun, 1 Mar 2020 15:58:28 -0500 Subject: [PATCH] chore: Update example to React Native 0.61.5. (#639) This also upgrades all the dependencies. --- ReactNativeFastImageExample/.eslintrc.js | 9 +- ReactNativeFastImageExample/.flowconfig | 34 +- ReactNativeFastImageExample/.gitignore | 2 +- ReactNativeFastImageExample/.prettierrc.js | 6 + .../__tests__/App-test.js | 12 +- .../android/app/{BUCK => _BUCK} | 0 .../android/app/build.gradle | 41 +- .../android/app/debug.keystore | Bin 0 -> 2257 bytes .../MainActivity.java | 16 +- .../MainApplication.java | 68 +- .../android/build.gradle | 4 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../android/gradlew.bat | 200 +- ReactNativeFastImageExample/babel.config.js | 4 +- ReactNativeFastImageExample/index.js | 9 +- ReactNativeFastImageExample/ios/Podfile | 16 +- ReactNativeFastImageExample/ios/Podfile.lock | 430 +- .../project.pbxproj | 202 +- .../AppIcon.appiconset/Contents.json | 15 - .../ReactNativeFastImageExample/Info.plist | 14 - .../ReactNativeFastImageExampleTests.m | 8 +- ReactNativeFastImageExample/metro.config.js | 18 +- ReactNativeFastImageExample/package.json | 48 +- .../src/AutoSizeExample.js | 8 +- .../src/DefaultImageGrid.js | 7 - .../src/FastImageExamples.js | 6 - .../src/FastImageGrid.js | 6 - ReactNativeFastImageExample/src/Icon.js | 13 + ReactNativeFastImageExample/src/Icons/Icon.js | 17 - ReactNativeFastImageExample/src/ImageGrid.js | 1 - .../src/LocalImagesExample.js | 15 +- .../src/PreloadExample.js | 9 +- .../src/ProgressExample.js | 14 +- .../src/ResizeModeExample.js | 2 +- .../src/StatusBarUnderlay.js | 2 +- .../src/TintColorExample.js | 2 +- .../src/images/fields.js | 2 +- ReactNativeFastImageExample/src/index.js | 55 +- .../src/withCacheBust.js | 2 +- ReactNativeFastImageExample/yarn.lock | 4098 +++++++++-------- 40 files changed, 2799 insertions(+), 2618 deletions(-) create mode 100644 ReactNativeFastImageExample/.prettierrc.js rename ReactNativeFastImageExample/android/app/{BUCK => _BUCK} (100%) create mode 100644 ReactNativeFastImageExample/android/app/debug.keystore create mode 100644 ReactNativeFastImageExample/src/Icon.js delete mode 100644 ReactNativeFastImageExample/src/Icons/Icon.js diff --git a/ReactNativeFastImageExample/.eslintrc.js b/ReactNativeFastImageExample/.eslintrc.js index 40c6dcd05..09eb1dabf 100644 --- a/ReactNativeFastImageExample/.eslintrc.js +++ b/ReactNativeFastImageExample/.eslintrc.js @@ -1,4 +1,7 @@ module.exports = { - root: true, - extends: '@react-native-community', -}; + root: true, + extends: '@react-native-community', + rules: { + semi: ['error', 'never'], + }, +} diff --git a/ReactNativeFastImageExample/.flowconfig b/ReactNativeFastImageExample/.flowconfig index 1319ea127..4afc766a2 100644 --- a/ReactNativeFastImageExample/.flowconfig +++ b/ReactNativeFastImageExample/.flowconfig @@ -5,14 +5,6 @@ ; Ignore "BUCK" generated dirs /\.buckd/ -; Ignore unexpected extra "@providesModule" -.*/node_modules/.*/node_modules/fbjs/.* - -; Ignore duplicate module providers -; For RN Apps installed via npm, "Libraries" folder is inside -; "node_modules/react-native" but in the source repo it is in the root -node_modules/react-native/Libraries/react-native/React.js - ; Ignore polyfills node_modules/react-native/Libraries/polyfills/.* @@ -21,7 +13,7 @@ node_modules/react-native/Libraries/polyfills/.* node_modules/warning/.* ; Flow doesn't support platforms -.*/Libraries/Utilities/HMRLoadingView.js +.*/Libraries/Utilities/LoadingView.js [untyped] .*/node_modules/@react-native-community/cli/.*/.* @@ -42,27 +34,11 @@ module.file_ext=.js module.file_ext=.json module.file_ext=.ios.js -module.system=haste -module.system.haste.use_name_reducers=true -# get basename -module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' -# strip .js or .js.flow suffix -module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' -# strip .ios suffix -module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' -module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' -module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' -module.system.haste.paths.blacklist=.*/__tests__/.* -module.system.haste.paths.blacklist=.*/__mocks__/.* -module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* -module.system.haste.paths.whitelist=/node_modules/react-native/RNTester/.* -module.system.haste.paths.whitelist=/node_modules/react-native/IntegrationTests/.* -module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/react-native/react-native-implementation.js -module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* - munge_underscores=true -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' +module.name_mapper='^react-native$' -> '/node_modules/react-native/Libraries/react-native/react-native-implementation' +module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' +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\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' suppress_type=$FlowIssue suppress_type=$FlowFixMe @@ -96,4 +72,4 @@ untyped-import untyped-type-import [version] -^0.98.0 +^0.105.0 diff --git a/ReactNativeFastImageExample/.gitignore b/ReactNativeFastImageExample/.gitignore index 828cc8846..ad572e632 100644 --- a/ReactNativeFastImageExample/.gitignore +++ b/ReactNativeFastImageExample/.gitignore @@ -20,7 +20,6 @@ DerivedData *.hmap *.ipa *.xcuserstate -project.xcworkspace # Android/IntelliJ # @@ -40,6 +39,7 @@ yarn-error.log buck-out/ \.buckd/ *.keystore +!debug.keystore # fastlane # diff --git a/ReactNativeFastImageExample/.prettierrc.js b/ReactNativeFastImageExample/.prettierrc.js new file mode 100644 index 000000000..369f73e82 --- /dev/null +++ b/ReactNativeFastImageExample/.prettierrc.js @@ -0,0 +1,6 @@ +module.exports = { + semi: false, + singleQuote: true, + trailingComma: 'all', + tabWidth: 4, +} diff --git a/ReactNativeFastImageExample/__tests__/App-test.js b/ReactNativeFastImageExample/__tests__/App-test.js index 178476699..f6e206ba2 100644 --- a/ReactNativeFastImageExample/__tests__/App-test.js +++ b/ReactNativeFastImageExample/__tests__/App-test.js @@ -2,13 +2,13 @@ * @format */ -import 'react-native'; -import React from 'react'; -import App from '../App'; +import 'react-native' +import React from 'react' +import App from '../App' // Note: test renderer must be required after react-native. -import renderer from 'react-test-renderer'; +import renderer from 'react-test-renderer' it('renders correctly', () => { - renderer.create(); -}); + renderer.create() +}) diff --git a/ReactNativeFastImageExample/android/app/BUCK b/ReactNativeFastImageExample/android/app/_BUCK similarity index 100% rename from ReactNativeFastImageExample/android/app/BUCK rename to ReactNativeFastImageExample/android/app/_BUCK diff --git a/ReactNativeFastImageExample/android/app/build.gradle b/ReactNativeFastImageExample/android/app/build.gradle index c6c4802b5..3e17ad895 100644 --- a/ReactNativeFastImageExample/android/app/build.gradle +++ b/ReactNativeFastImageExample/android/app/build.gradle @@ -76,7 +76,8 @@ import com.android.build.OutputFile */ project.ext.react = [ - entryFile: "index.js" + entryFile: "index.js", + enableHermes: false, // clean and rebuild if changing ] apply from: "../../node_modules/react-native/react.gradle" @@ -97,13 +98,26 @@ def enableSeparateBuildPerCPUArchitecture = false def enableProguardInReleaseBuilds = false /** - * Use international variant JavaScriptCore - * International variant includes ICU i18n library and necessary data allowing to use - * e.g. Date.toLocaleString and String.localeCompare that give correct results - * when using with locales other than en-US. - * Note that this variant is about 6MiB larger per architecture than default. + * The preferred build flavor of JavaScriptCore. + * + * For example, to use the international variant, you can use: + * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` + * + * The international variant includes ICU i18n library and necessary data + * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that + * give correct results when using with locales other than en-US. Note that + * this variant is about 6MiB larger per architecture than default. */ -def useIntlJsc = false +def jscFlavor = 'org.webkit:android-jsc:+' + +/** + * Whether to enable the Hermes VM. + * + * This should be set on project.ext.react and mirrored here. If it is not set + * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode + * and the benefits of using Hermes will therefore be sharply reduced. + */ +def enableHermes = project.ext.react.get("enableHermes", false); android { compileSdkVersion rootProject.ext.compileSdkVersion @@ -159,6 +173,7 @@ android { output.versionCodeOverride = versionCodes.get(abi) * 1048576 + defaultConfig.versionCode } + } } } @@ -167,11 +182,12 @@ dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.facebook.react:react-native:+" // From node_modules - // JSC from node_modules - if (useIntlJsc) { - implementation 'org.webkit:android-jsc-intl:+' + if (enableHermes) { + def hermesPath = "../../node_modules/hermes-engine/android/"; + debugImplementation files(hermesPath + "hermes-debug.aar") + releaseImplementation files(hermesPath + "hermes-release.aar") } else { - implementation 'org.webkit:android-jsc:+' + implementation jscFlavor } } @@ -182,5 +198,4 @@ task copyDownloadableDepsToLibs(type: Copy) { into 'libs' } -apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" -apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) \ No newline at end of file +apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/ReactNativeFastImageExample/android/app/debug.keystore b/ReactNativeFastImageExample/android/app/debug.keystore new file mode 100644 index 0000000000000000000000000000000000000000..364e105ed39fbfd62001429a68140672b06ec0de GIT binary patch literal 2257 zcmchYXEfYt8;7T1^dLH$VOTZ%2NOdOH5j5LYLtZ0q7x-V8_6gU5)#7dkq{HTmsfNq zB3ZqcAxeY^G10@?efK?Q&)M(qInVv!xjx+IKEL}p*K@LYvIzo#AZG>st5|P)KF1_Z;y){W{<7K{nl!CPuE z_^(!C(Ol0n8 zK13*rzAtW>(wULKPRYLd7G18F8#1P`V*9`(Poj26eOXYyBVZPno~Cvvhx7vPjAuZo zF?VD!zB~QG(!zbw#qsxT8%BSpqMZ4f70ZPn-3y$L8{EVbbN9$H`B&Z1quk9tgp5FM zuxp3pJ0b8u|3+#5bkJ4SRnCF2l7#DyLYXYY8*?OuAwK4E6J{0N=O3QNVzQ$L#FKkR zi-c@&!nDvezOV$i$Lr}iF$XEcwnybQ6WZrMKuw8gCL^U#D;q3t&HpTbqyD%vG=TeDlzCT~MXUPC|Leb-Uk+ z=vnMd(|>ld?Fh>V8poP;q;;nc@en$|rnP0ytzD&fFkCeUE^kG9Kx4wUh!!rpjwKDP zyw_e|a^x_w3E zP}}@$g>*LLJ4i0`Gx)qltL}@;mDv}D*xR^oeWcWdPkW@Uu)B^X&4W1$p6}ze!zudJ zyiLg@uggoMIArBr*27EZV7djDg@W1MaL+rcZ-lrANJQ%%>u8)ZMWU@R2qtnmG(acP z0d_^!t>}5W zpT`*2NR+0+SpTHb+6Js4b;%LJB;B_-ChhnU5py}iJtku*hm5F0!iql8Hrpcy1aYbT z1*dKC5ua6pMX@@iONI?Hpr%h;&YaXp9n!ND7-=a%BD7v&g zOO41M6EbE24mJ#S$Ui0-brR5ML%@|ndz^)YLMMV1atna{Fw<;TF@>d&F|!Z>8eg>>hkFrV)W+uv=`^F9^e zzzM2*oOjT9%gLoub%(R57p-`TXFe#oh1_{&N-YN z<}artH|m=d8TQuKSWE)Z%puU|g|^^NFwC#N=@dPhasyYjoy(fdEVfKR@cXKHZV-`06HsP`|Ftx;8(YD$fFXumLWbGnu$GMqRncXYY9mwz9$ap zQtfZB^_BeNYITh^hA7+(XNFox5WMeG_LtJ%*Q}$8VKDI_p8^pqX)}NMb`0e|wgF7D zuQACY_Ua<1ri{;Jwt@_1sW9zzdgnyh_O#8y+C;LcZq6=4e^cs6KvmK@$vVpKFGbQ= z$)Eux5C|Fx;Gtmv9^#Y-g@7Rt7*eLp5n!gJmn7&B_L$G?NCN`AP>cXQEz}%F%K;vUs{+l4Q{}eWW;ATe2 zqvXzxoIDy(u;F2q1JH7Sf;{jy_j})F+cKlIOmNfjBGHoG^CN zM|Ho&&X|L-36f}Q-obEACz`sI%2f&k>z5c$2TyTSj~vmO)BW~+N^kt`Jt@R|s!){H ze1_eCrlNaPkJQhL$WG&iRvF*YG=gXd1IyYQ9ew|iYn7r~g!wOnw;@n42>enAxBv*A zEmV*N#sxdicyNM=A4|yaOC5MByts}s_Hpfj|y<6G=o=!3S@eIFKDdpR7|FY>L&Wat&oW&cm&X~ z5Bt>Fcq(fgnvlvLSYg&o6>&fY`ODg4`V^lWWD=%oJ#Kbad2u~! zLECFS*??>|vDsNR&pH=Ze0Eo`sC_G`OjoEKVHY|wmwlX&(XBE<@sx3Hd^gtd-fNwUHsylg06p`U2y_={u}Bc getPackages() { - @SuppressWarnings("UnnecessaryLocalVariable") - List packages = new PackageList(this).getPackages(); - // Packages that cannot be autolinked yet can be added manually here, for example: - // packages.add(new MyReactNativePackage()); - return packages; - } + @Override + protected List getPackages() { + @SuppressWarnings("UnnecessaryLocalVariable") + List packages = new PackageList(this).getPackages(); + // Packages that cannot be autolinked yet can be added manually here, for example: + // packages.add(new MyReactNativePackage()); + return packages; + } - @Override - protected String getJSMainModuleName() { - return "index"; - } - }; + @Override + protected String getJSMainModuleName() { + return "index"; + } + }; @Override public ReactNativeHost getReactNativeHost() { @@ -42,5 +43,32 @@ public ReactNativeHost getReactNativeHost() { public void onCreate() { super.onCreate(); SoLoader.init(this, /* native exopackage */ false); + initializeFlipper(this); // Remove this line if you don't want Flipper enabled + } + + /** + * Loads Flipper in React Native templates. + * + * @param context + */ + private static void initializeFlipper(Context context) { + if (BuildConfig.DEBUG) { + try { + /* + We use reflection here to pick up the class that initializes Flipper, + since Flipper library is not available in release mode + */ + Class aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper"); + aClass.getMethod("initializeFlipper", Context.class).invoke(null, context); + } catch (ClassNotFoundException e) { + e.printStackTrace(); + } catch (NoSuchMethodException e) { + e.printStackTrace(); + } catch (IllegalAccessException e) { + e.printStackTrace(); + } catch (InvocationTargetException e) { + e.printStackTrace(); + } + } } } diff --git a/ReactNativeFastImageExample/android/build.gradle b/ReactNativeFastImageExample/android/build.gradle index e7732fe0d..28f7ec645 100644 --- a/ReactNativeFastImageExample/android/build.gradle +++ b/ReactNativeFastImageExample/android/build.gradle @@ -6,14 +6,13 @@ buildscript { minSdkVersion = 16 compileSdkVersion = 28 targetSdkVersion = 28 - supportLibVersion = "28.0.0" } repositories { google() jcenter() } dependencies { - classpath("com.android.tools.build:gradle:3.4.1") + classpath("com.android.tools.build:gradle:3.4.2") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -34,5 +33,6 @@ allprojects { google() jcenter() + maven { url 'https://jitpack.io' } } } diff --git a/ReactNativeFastImageExample/android/gradle/wrapper/gradle-wrapper.properties b/ReactNativeFastImageExample/android/gradle/wrapper/gradle-wrapper.properties index ee69dd68d..e0c4de36d 100644 --- a/ReactNativeFastImageExample/android/gradle/wrapper/gradle-wrapper.properties +++ b/ReactNativeFastImageExample/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/ReactNativeFastImageExample/android/gradlew.bat b/ReactNativeFastImageExample/android/gradlew.bat index 9991c5032..15e1ee37a 100644 --- a/ReactNativeFastImageExample/android/gradlew.bat +++ b/ReactNativeFastImageExample/android/gradlew.bat @@ -1,100 +1,100 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem http://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windows variants - -if not "%OS%" == "Windows_NT" goto win9xME_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/ReactNativeFastImageExample/babel.config.js b/ReactNativeFastImageExample/babel.config.js index f842b77fc..2e958de87 100644 --- a/ReactNativeFastImageExample/babel.config.js +++ b/ReactNativeFastImageExample/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], -}; + presets: ['module:metro-react-native-babel-preset'], +} diff --git a/ReactNativeFastImageExample/index.js b/ReactNativeFastImageExample/index.js index 9ee81b922..65346e859 100644 --- a/ReactNativeFastImageExample/index.js +++ b/ReactNativeFastImageExample/index.js @@ -2,8 +2,9 @@ * @format */ -import {AppRegistry} from 'react-native'; -import App from './src'; -import {name as appName} from './app.json'; +import 'react-native-gesture-handler' +import { AppRegistry } from 'react-native' +import App from './src' +import { name as appName } from './app.json' -AppRegistry.registerComponent(appName, () => App); +AppRegistry.registerComponent(appName, () => App) diff --git a/ReactNativeFastImageExample/ios/Podfile b/ReactNativeFastImageExample/ios/Podfile index 48d4a8c9f..61614fe0f 100644 --- a/ReactNativeFastImageExample/ios/Podfile +++ b/ReactNativeFastImageExample/ios/Podfile @@ -3,10 +3,14 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ target 'ReactNativeFastImageExample' do # Pods for ReactNativeFastImageExample + pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" + pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" + pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" + pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" pod 'React', :path => '../node_modules/react-native/' - pod 'React-Core', :path => '../node_modules/react-native/React' - pod 'React-DevSupport', :path => '../node_modules/react-native/React' - pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook' + pod 'React-Core', :path => '../node_modules/react-native/' + pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' + pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' @@ -16,13 +20,15 @@ target 'ReactNativeFastImageExample' do pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' - pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket' + pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' - pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga' + pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon" + pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" + pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' diff --git a/ReactNativeFastImageExample/ios/Podfile.lock b/ReactNativeFastImageExample/ios/Podfile.lock index e1be1b254..04345b825 100644 --- a/ReactNativeFastImageExample/ios/Podfile.lock +++ b/ReactNativeFastImageExample/ios/Podfile.lock @@ -1,6 +1,14 @@ PODS: - boost-for-react-native (1.63.0) - DoubleConversion (1.1.6) + - FBLazyVector (0.61.5) + - FBReactNativeSpec (0.61.5): + - Folly (= 2018.10.22.00) + - RCTRequired (= 0.61.5) + - RCTTypeSafety (= 0.61.5) + - React-Core (= 0.61.5) + - React-jsi (= 0.61.5) + - ReactCommon/turbomodule/core (= 0.61.5) - Folly (2018.10.22.00): - boost-for-react-native - DoubleConversion @@ -11,131 +19,258 @@ PODS: - DoubleConversion - glog - glog (0.3.5) - - libwebp (1.0.2): - - libwebp/core (= 1.0.2) - - libwebp/dec (= 1.0.2) - - libwebp/demux (= 1.0.2) - - libwebp/dsp (= 1.0.2) - - libwebp/enc (= 1.0.2) - - libwebp/mux (= 1.0.2) - - libwebp/utils (= 1.0.2) - - libwebp/webp (= 1.0.2) - - libwebp/core (1.0.2): + - libwebp (1.1.0): + - libwebp/demux (= 1.1.0) + - libwebp/mux (= 1.1.0) + - libwebp/webp (= 1.1.0) + - libwebp/demux (1.1.0): - libwebp/webp - - libwebp/dec (1.0.2): - - libwebp/core - - libwebp/demux (1.0.2): - - libwebp/core - - libwebp/dsp (1.0.2): - - libwebp/core - - libwebp/enc (1.0.2): - - libwebp/core - - libwebp/mux (1.0.2): - - libwebp/core - - libwebp/utils (1.0.2): - - libwebp/core - - libwebp/webp (1.0.2) - - React (0.60.0): - - React-Core (= 0.60.0) - - React-DevSupport (= 0.60.0) - - React-RCTActionSheet (= 0.60.0) - - React-RCTAnimation (= 0.60.0) - - React-RCTBlob (= 0.60.0) - - React-RCTImage (= 0.60.0) - - React-RCTLinking (= 0.60.0) - - React-RCTNetwork (= 0.60.0) - - React-RCTSettings (= 0.60.0) - - React-RCTText (= 0.60.0) - - React-RCTVibration (= 0.60.0) - - React-RCTWebSocket (= 0.60.0) - - React-Core (0.60.0): - - Folly (= 2018.10.22.00) - - React-cxxreact (= 0.60.0) - - React-jsiexecutor (= 0.60.0) - - yoga (= 0.60.0.React) - - React-cxxreact (0.60.0): + - libwebp/mux (1.1.0): + - libwebp/demux + - libwebp/webp (1.1.0) + - RCTRequired (0.61.5) + - RCTTypeSafety (0.61.5): + - FBLazyVector (= 0.61.5) + - Folly (= 2018.10.22.00) + - RCTRequired (= 0.61.5) + - React-Core (= 0.61.5) + - React (0.61.5): + - React-Core (= 0.61.5) + - React-Core/DevSupport (= 0.61.5) + - React-Core/RCTWebSocket (= 0.61.5) + - React-RCTActionSheet (= 0.61.5) + - React-RCTAnimation (= 0.61.5) + - React-RCTBlob (= 0.61.5) + - React-RCTImage (= 0.61.5) + - React-RCTLinking (= 0.61.5) + - React-RCTNetwork (= 0.61.5) + - React-RCTSettings (= 0.61.5) + - React-RCTText (= 0.61.5) + - React-RCTVibration (= 0.61.5) + - React-Core (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default (= 0.61.5) + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/CoreModulesHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/Default (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/DevSupport (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default (= 0.61.5) + - React-Core/RCTWebSocket (= 0.61.5) + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - React-jsinspector (= 0.61.5) + - Yoga + - React-Core/RCTActionSheetHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTAnimationHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTBlobHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTImageHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTLinkingHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTNetworkHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTSettingsHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTTextHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTVibrationHeaders (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-Core/RCTWebSocket (0.61.5): + - Folly (= 2018.10.22.00) + - glog + - React-Core/Default (= 0.61.5) + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsiexecutor (= 0.61.5) + - Yoga + - React-CoreModules (0.61.5): + - FBReactNativeSpec (= 0.61.5) + - Folly (= 2018.10.22.00) + - RCTTypeSafety (= 0.61.5) + - React-Core/CoreModulesHeaders (= 0.61.5) + - React-RCTImage (= 0.61.5) + - ReactCommon/turbomodule/core (= 0.61.5) + - React-cxxreact (0.61.5): - boost-for-react-native (= 1.63.0) - DoubleConversion - Folly (= 2018.10.22.00) - glog - - React-jsinspector (= 0.60.0) - - React-DevSupport (0.60.0): - - React-Core (= 0.60.0) - - React-RCTWebSocket (= 0.60.0) - - React-fishhook (0.60.0) - - React-jsi (0.60.0): + - React-jsinspector (= 0.61.5) + - React-jsi (0.61.5): - boost-for-react-native (= 1.63.0) - DoubleConversion - Folly (= 2018.10.22.00) - glog - - React-jsi/Default (= 0.60.0) - - React-jsi/Default (0.60.0): + - React-jsi/Default (= 0.61.5) + - React-jsi/Default (0.61.5): - boost-for-react-native (= 1.63.0) - DoubleConversion - Folly (= 2018.10.22.00) - glog - - React-jsiexecutor (0.60.0): + - React-jsiexecutor (0.61.5): - DoubleConversion - Folly (= 2018.10.22.00) - glog - - React-cxxreact (= 0.60.0) - - React-jsi (= 0.60.0) - - React-jsinspector (0.60.0) - - react-native-image-picker (0.28.1): + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - React-jsinspector (0.61.5) + - react-native-image-picker (2.3.1): - React - - React-RCTActionSheet (0.60.0): - - React-Core (= 0.60.0) - - React-RCTAnimation (0.60.0): - - React-Core (= 0.60.0) - - React-RCTBlob (0.60.0): - - React-Core (= 0.60.0) - - React-RCTNetwork (= 0.60.0) - - React-RCTWebSocket (= 0.60.0) - - React-RCTImage (0.60.0): - - React-Core (= 0.60.0) - - React-RCTNetwork (= 0.60.0) - - React-RCTLinking (0.60.0): - - React-Core (= 0.60.0) - - React-RCTNetwork (0.60.0): - - React-Core (= 0.60.0) - - React-RCTSettings (0.60.0): - - React-Core (= 0.60.0) - - React-RCTText (0.60.0): - - React-Core (= 0.60.0) - - React-RCTVibration (0.60.0): - - React-Core (= 0.60.0) - - React-RCTWebSocket (0.60.0): - - React-Core (= 0.60.0) - - React-fishhook (= 0.60.0) - - RNFastImage (6.1.1): + - react-native-safe-area-context (0.7.3): + - React + - React-RCTActionSheet (0.61.5): + - React-Core/RCTActionSheetHeaders (= 0.61.5) + - React-RCTAnimation (0.61.5): + - React-Core/RCTAnimationHeaders (= 0.61.5) + - React-RCTBlob (0.61.5): + - React-Core/RCTBlobHeaders (= 0.61.5) + - React-Core/RCTWebSocket (= 0.61.5) + - React-jsi (= 0.61.5) + - React-RCTNetwork (= 0.61.5) + - React-RCTImage (0.61.5): + - React-Core/RCTImageHeaders (= 0.61.5) + - React-RCTNetwork (= 0.61.5) + - React-RCTLinking (0.61.5): + - React-Core/RCTLinkingHeaders (= 0.61.5) + - React-RCTNetwork (0.61.5): + - React-Core/RCTNetworkHeaders (= 0.61.5) + - React-RCTSettings (0.61.5): + - React-Core/RCTSettingsHeaders (= 0.61.5) + - React-RCTText (0.61.5): + - React-Core/RCTTextHeaders (= 0.61.5) + - React-RCTVibration (0.61.5): + - React-Core/RCTVibrationHeaders (= 0.61.5) + - ReactCommon/jscallinvoker (0.61.5): + - DoubleConversion + - Folly (= 2018.10.22.00) + - glog + - React-cxxreact (= 0.61.5) + - ReactCommon/turbomodule/core (0.61.5): + - DoubleConversion + - Folly (= 2018.10.22.00) + - glog + - React-Core (= 0.61.5) + - React-cxxreact (= 0.61.5) + - React-jsi (= 0.61.5) + - ReactCommon/jscallinvoker (= 0.61.5) + - RNCMaskedView (0.1.6): + - React + - RNFastImage (7.0.2): - React - SDWebImage (~> 5.0) - SDWebImageWebPCoder (~> 0.2.3) - - RNGestureHandler (1.3.0): + - RNGestureHandler (1.6.0): + - React + - RNReanimated (1.7.0): + - React + - RNScreens (2.2.0): - React - RNVectorIcons (6.6.0): - React - - SDWebImage (5.0.6): - - SDWebImage/Core (= 5.0.6) - - SDWebImage/Core (5.0.6) - - SDWebImageWebPCoder (0.2.3): + - SDWebImage (5.5.2): + - SDWebImage/Core (= 5.5.2) + - SDWebImage/Core (5.5.2) + - SDWebImageWebPCoder (0.2.5): - libwebp (~> 1.0) - SDWebImage/Core (~> 5.0) - - yoga (0.60.0.React) + - Yoga (1.14.0) DEPENDENCIES: - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) + - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) + - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`) - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) + - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) - React (from `../node_modules/react-native/`) - - React-Core (from `../node_modules/react-native/React`) + - React-Core (from `../node_modules/react-native/`) + - React-Core/DevSupport (from `../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native/`) + - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) - - React-DevSupport (from `../node_modules/react-native/React`) - - React-fishhook (from `../node_modules/react-native/Libraries/fishhook`) - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) - - react-native-image-picker (from `/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-image-picker`) + - react-native-image-picker (from `../node_modules/react-native-image-picker`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) @@ -145,14 +280,18 @@ DEPENDENCIES: - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) - React-RCTText (from `../node_modules/react-native/Libraries/Text`) - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - - React-RCTWebSocket (from `../node_modules/react-native/Libraries/WebSocket`) - - RNFastImage (from `/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-fast-image`) - - RNGestureHandler (from `/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-gesture-handler`) - - RNVectorIcons (from `/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-vector-icons`) - - yoga (from `../node_modules/react-native/ReactCommon/yoga`) + - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)" + - RNFastImage (from `../node_modules/react-native-fast-image`) + - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) + - RNReanimated (from `../node_modules/react-native-reanimated`) + - RNScreens (from `../node_modules/react-native-screens`) + - RNVectorIcons (from `../node_modules/react-native-vector-icons`) + - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: - https://github.com/cocoapods/specs.git: + trunk: - boost-for-react-native - libwebp - SDWebImage @@ -161,20 +300,26 @@ SPEC REPOS: EXTERNAL SOURCES: DoubleConversion: :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" + FBLazyVector: + :path: "../node_modules/react-native/Libraries/FBLazyVector" + FBReactNativeSpec: + :path: "../node_modules/react-native/Libraries/FBReactNativeSpec" Folly: :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec" glog: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" + RCTRequired: + :path: "../node_modules/react-native/Libraries/RCTRequired" + RCTTypeSafety: + :path: "../node_modules/react-native/Libraries/TypeSafety" React: :path: "../node_modules/react-native/" React-Core: - :path: "../node_modules/react-native/React" + :path: "../node_modules/react-native/" + React-CoreModules: + :path: "../node_modules/react-native/React/CoreModules" React-cxxreact: :path: "../node_modules/react-native/ReactCommon/cxxreact" - React-DevSupport: - :path: "../node_modules/react-native/React" - React-fishhook: - :path: "../node_modules/react-native/Libraries/fishhook" React-jsi: :path: "../node_modules/react-native/ReactCommon/jsi" React-jsiexecutor: @@ -182,7 +327,9 @@ EXTERNAL SOURCES: React-jsinspector: :path: "../node_modules/react-native/ReactCommon/jsinspector" react-native-image-picker: - :path: "/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-image-picker" + :path: "../node_modules/react-native-image-picker" + react-native-safe-area-context: + :path: "../node_modules/react-native-safe-area-context" React-RCTActionSheet: :path: "../node_modules/react-native/Libraries/ActionSheetIOS" React-RCTAnimation: @@ -201,49 +348,62 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/Libraries/Text" React-RCTVibration: :path: "../node_modules/react-native/Libraries/Vibration" - React-RCTWebSocket: - :path: "../node_modules/react-native/Libraries/WebSocket" + ReactCommon: + :path: "../node_modules/react-native/ReactCommon" + RNCMaskedView: + :path: "../node_modules/@react-native-community/masked-view" RNFastImage: - :path: "/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-fast-image" + :path: "../node_modules/react-native-fast-image" RNGestureHandler: - :path: "/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-gesture-handler" + :path: "../node_modules/react-native-gesture-handler" + RNReanimated: + :path: "../node_modules/react-native-reanimated" + RNScreens: + :path: "../node_modules/react-native-screens" RNVectorIcons: - :path: "/Users/dylan/repos/react-native-fast-image/ReactNativeFastImageExample/node_modules/react-native-vector-icons" - yoga: + :path: "../node_modules/react-native-vector-icons" + Yoga: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 + FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f + FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75 Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 glog: 1f3da668190260b06b429bb211bfbee5cd790c28 - libwebp: b068a3bd7c45f7460f6715be7bed1a18fd5d6b48 - React: 4b3c068e793e96672dcd186a2b572fac43e4b031 - React-Core: 3dc86b22920597f813c62a96db3165950b64826b - React-cxxreact: 0dacb291e59b81e7c3f22a2118bee853ba8a60d2 - React-DevSupport: 4eb4135386acd10c2586cc9c759bf96b4dac035e - React-fishhook: 86ca737527bb9d860efbb943c11c729a5b69aa3d - React-jsi: 8e128c4d0d8febc2977ef617d1c09bb54326069c - React-jsiexecutor: 7a3554f703a58963ec80b860144ea0f0e9b910e1 - React-jsinspector: d4ed52225912efe0019bb7f1a225aec20f23049a - react-native-image-picker: fd93361c666f397bdf72f9c6c23f13d2685b9173 - React-RCTActionSheet: b27ff3cf3a68f917c46d2b94abf938b625b96570 - React-RCTAnimation: 9e4708e5bd65fca8285ce7c0aa076f3f4fa5c2f8 - React-RCTBlob: 6eafcc3a24f33785692a7be24918ade607bc8719 - React-RCTImage: 46b965d7225b428ea11580ead08a4318aef1d6be - React-RCTLinking: d65b9f56cf0b8e171575a86764df7bb019ac28d6 - React-RCTNetwork: 783ee2f430740e58f724e46adc79fe7feff64202 - React-RCTSettings: aa28315aadfbfaf94206d865673ae509f1e97c07 - React-RCTText: 685fca2e13b024271048e7e247ef24476f28a41e - React-RCTVibration: 4ee1cf208ab17a50fafb1c16ffe28fe594a64e4f - React-RCTWebSocket: fca087d583724aa0e5fef7d911f0f2a28d0f2736 - RNFastImage: 1931a5a201e8e4123a0bea419ce02c774d512c6f - RNGestureHandler: 5329a942fce3d41c68b84c2c2276ce06a696d8b0 + libwebp: 946cb3063cea9236285f7e9a8505d806d30e07f3 + RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1 + RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320 + React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78 + React-Core: 688b451f7d616cc1134ac95295b593d1b5158a04 + React-CoreModules: d04f8494c1a328b69ec11db9d1137d667f916dcb + React-cxxreact: d0f7bcafa196ae410e5300736b424455e7fb7ba7 + React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7 + React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386 + React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0 + react-native-image-picker: 6a850c41f57f0848d918c2a77aedd7aa272ffa30 + react-native-safe-area-context: e200d4433aba6b7e60b52da5f37af11f7a0b0392 + React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76 + React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360 + React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72 + React-RCTImage: 6b8e8df449eb7c814c99a92d6b52de6fe39dea4e + React-RCTLinking: 121bb231c7503cf9094f4d8461b96a130fabf4a5 + React-RCTNetwork: fb353640aafcee84ca8b78957297bd395f065c9a + React-RCTSettings: 8db258ea2a5efee381fcf7a6d5044e2f8b68b640 + React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe + React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad + ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd + RNCMaskedView: a88953beefbd347a29072d9eba90e42945fe291e + RNFastImage: 9b0c22643872bb7494c8d87bbbb66cc4c0d9e7a2 + RNGestureHandler: dde546180bf24af0b5f737c8ad04b6f3fa51609a + RNReanimated: 031fe8d9ea93c2bd689a40f05320ef9d96f74d7f + RNScreens: 812b79d384e2bea7eebc4ec981469160d4948fd5 RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4 - SDWebImage: 920f1a2ff1ca8296ad34f6e0510a1ef1d70ac965 - SDWebImageWebPCoder: 7568737603c50f6237850afedd7e9e28e5917e6b - yoga: 616fde658be980aa60a2158835170f3f9c2d04b4 + SDWebImage: 4d5c027c935438f341ed33dbac53ff9f479922ca + SDWebImageWebPCoder: 947093edd1349d820c40afbd9f42acb6cdecd987 + Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b -PODFILE CHECKSUM: 7b4a00390df1c4ff9550673b474ffbe2cf75e8c6 +PODFILE CHECKSUM: ba57d6260401694a7d491d5c4a4cad727c5231af -COCOAPODS: 1.6.1 +COCOAPODS: 1.9.0 diff --git a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj index b6cbfc3ef..c4a89cdc4 100644 --- a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj +++ b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj @@ -12,14 +12,14 @@ 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; + 1829EFD01EDCC120B36DC384 /* libPods-ReactNativeFastImageExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BA5F569BE99A43AAF170C1B2 /* libPods-ReactNativeFastImageExampleTests.a */; }; 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 2DCD954D1E0B4F2C00145EB5 /* ReactNativeFastImageExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeFastImageExampleTests.m */; }; - 5E1945A2620978F8537EFDCE /* libPods-ReactNativeFastImageExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3325CDE9BC6DA6B203BC494E /* libPods-ReactNativeFastImageExample.a */; }; - 7A8C142F9F95CE9A92F04E22 /* libPods-ReactNativeFastImageExample-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C71B4DF2C45B139E3C1DC362 /* libPods-ReactNativeFastImageExample-tvOS.a */; }; - B0E9939B9555D475653BD909 /* libPods-ReactNativeFastImageExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CB815DDDB82F3D7FC215B68 /* libPods-ReactNativeFastImageExampleTests.a */; }; - F9D58EBB3E8B0AB9B113034E /* libPods-ReactNativeFastImageExample-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CB050874A8DC377D533E374 /* libPods-ReactNativeFastImageExample-tvOSTests.a */; }; + 5B76F0ED936BBFCBF369D233 /* libPods-ReactNativeFastImageExample-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9B7B0D2E9145E48BDA2976AA /* libPods-ReactNativeFastImageExample-tvOSTests.a */; }; + 8ED0B79327FA1A4B3B6281B4 /* libPods-ReactNativeFastImageExample-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 686792D106A578EEBD13F1AF /* libPods-ReactNativeFastImageExample-tvOS.a */; }; + F8C69D5180CB05D63857155A /* libPods-ReactNativeFastImageExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 80915DCF4D7BA073041627FB /* libPods-ReactNativeFastImageExample.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -44,7 +44,7 @@ 00E356EE1AD99517003FC87E /* ReactNativeFastImageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeFastImageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 00E356F21AD99517003FC87E /* ReactNativeFastImageExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeFastImageExampleTests.m; sourceTree = ""; }; - 0A2AFF48848433BF00930C10 /* Pods-ReactNativeFastImageExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample.release.xcconfig"; sourceTree = ""; }; + 0EA7E3956412991EA7A2CA0C /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExampleTests.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExampleTests/Pods-ReactNativeFastImageExampleTests.release.xcconfig"; sourceTree = ""; }; 13B07F961A680F5B00A75B9A /* ReactNativeFastImageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeFastImageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeFastImageExample/AppDelegate.h; sourceTree = ""; }; 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeFastImageExample/AppDelegate.m; sourceTree = ""; }; @@ -52,21 +52,21 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeFastImageExample/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeFastImageExample/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeFastImageExample/main.m; sourceTree = ""; }; + 160E9822226B7DA14DDC0D14 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExampleTests/Pods-ReactNativeFastImageExampleTests.debug.xcconfig"; sourceTree = ""; }; 2D02E47B1E0B4A5D006451C7 /* ReactNativeFastImageExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeFastImageExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 2D02E4901E0B4A5D006451C7 /* ReactNativeFastImageExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeFastImageExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 31DE46A9FDE3F7C90554CB5F /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOS/Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig"; sourceTree = ""; }; - 3325CDE9BC6DA6B203BC494E /* libPods-ReactNativeFastImageExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CB050874A8DC377D533E374 /* libPods-ReactNativeFastImageExample-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 6E49010FF67A6890447B7622 /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExampleTests.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExampleTests/Pods-ReactNativeFastImageExampleTests.release.xcconfig"; sourceTree = ""; }; - 6FE3CEACF7F4232B8C6013D2 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOSTests/Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig"; sourceTree = ""; }; - 85988576EEA33E31834DAE84 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExampleTests/Pods-ReactNativeFastImageExampleTests.debug.xcconfig"; sourceTree = ""; }; - 8955B16561020337636EC519 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOSTests/Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig"; sourceTree = ""; }; - 8D7CE96E5A39098DBF5E3BE6 /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOS.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOS/Pods-ReactNativeFastImageExample-tvOS.release.xcconfig"; sourceTree = ""; }; - 9CB815DDDB82F3D7FC215B68 /* libPods-ReactNativeFastImageExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - C71B4DF2C45B139E3C1DC362 /* libPods-ReactNativeFastImageExample-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - E9B8542BA149510CA186A945 /* Pods-ReactNativeFastImageExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample.debug.xcconfig"; sourceTree = ""; }; + 409CCB29044E2AF2ED6DF4BA /* Pods-ReactNativeFastImageExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample.debug.xcconfig"; sourceTree = ""; }; + 686792D106A578EEBD13F1AF /* libPods-ReactNativeFastImageExample-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 73097A8CB6376953A4C77750 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOSTests/Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig"; sourceTree = ""; }; + 80915DCF4D7BA073041627FB /* libPods-ReactNativeFastImageExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 9B7B0D2E9145E48BDA2976AA /* libPods-ReactNativeFastImageExample-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExample-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + A14530762FEF5633D3AEC4A8 /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOS/Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig"; sourceTree = ""; }; + AB6AC85AF5F7B0ACC2A0C2F9 /* Pods-ReactNativeFastImageExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample.release.xcconfig"; sourceTree = ""; }; + B2ADAAD9246EF7C6F31DB94D /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOS.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOS/Pods-ReactNativeFastImageExample-tvOS.release.xcconfig"; sourceTree = ""; }; + BA5F569BE99A43AAF170C1B2 /* libPods-ReactNativeFastImageExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeFastImageExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; + EE5420CCEC8C76218298A8A1 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeFastImageExample-tvOSTests/Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -74,7 +74,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B0E9939B9555D475653BD909 /* libPods-ReactNativeFastImageExampleTests.a in Frameworks */, + 1829EFD01EDCC120B36DC384 /* libPods-ReactNativeFastImageExampleTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -82,7 +82,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 5E1945A2620978F8537EFDCE /* libPods-ReactNativeFastImageExample.a in Frameworks */, + F8C69D5180CB05D63857155A /* libPods-ReactNativeFastImageExample.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -90,7 +90,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7A8C142F9F95CE9A92F04E22 /* libPods-ReactNativeFastImageExample-tvOS.a in Frameworks */, + 8ED0B79327FA1A4B3B6281B4 /* libPods-ReactNativeFastImageExample-tvOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -98,7 +98,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - F9D58EBB3E8B0AB9B113034E /* libPods-ReactNativeFastImageExample-tvOSTests.a in Frameworks */, + 5B76F0ED936BBFCBF369D233 /* libPods-ReactNativeFastImageExample-tvOSTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -136,17 +136,17 @@ name = ReactNativeFastImageExample; sourceTree = ""; }; - 1FBCC443B8CC2FF6D9586C32 /* Pods */ = { + 24E013F858679DCB2ED70BF2 /* Pods */ = { isa = PBXGroup; children = ( - E9B8542BA149510CA186A945 /* Pods-ReactNativeFastImageExample.debug.xcconfig */, - 0A2AFF48848433BF00930C10 /* Pods-ReactNativeFastImageExample.release.xcconfig */, - 31DE46A9FDE3F7C90554CB5F /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */, - 8D7CE96E5A39098DBF5E3BE6 /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */, - 8955B16561020337636EC519 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */, - 6FE3CEACF7F4232B8C6013D2 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */, - 85988576EEA33E31834DAE84 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */, - 6E49010FF67A6890447B7622 /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */, + 409CCB29044E2AF2ED6DF4BA /* Pods-ReactNativeFastImageExample.debug.xcconfig */, + AB6AC85AF5F7B0ACC2A0C2F9 /* Pods-ReactNativeFastImageExample.release.xcconfig */, + A14530762FEF5633D3AEC4A8 /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */, + B2ADAAD9246EF7C6F31DB94D /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */, + 73097A8CB6376953A4C77750 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */, + EE5420CCEC8C76218298A8A1 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */, + 160E9822226B7DA14DDC0D14 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */, + 0EA7E3956412991EA7A2CA0C /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -156,10 +156,10 @@ children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, ED2971642150620600B7C4FE /* JavaScriptCore.framework */, - 3325CDE9BC6DA6B203BC494E /* libPods-ReactNativeFastImageExample.a */, - C71B4DF2C45B139E3C1DC362 /* libPods-ReactNativeFastImageExample-tvOS.a */, - 5CB050874A8DC377D533E374 /* libPods-ReactNativeFastImageExample-tvOSTests.a */, - 9CB815DDDB82F3D7FC215B68 /* libPods-ReactNativeFastImageExampleTests.a */, + 80915DCF4D7BA073041627FB /* libPods-ReactNativeFastImageExample.a */, + 686792D106A578EEBD13F1AF /* libPods-ReactNativeFastImageExample-tvOS.a */, + 9B7B0D2E9145E48BDA2976AA /* libPods-ReactNativeFastImageExample-tvOSTests.a */, + BA5F569BE99A43AAF170C1B2 /* libPods-ReactNativeFastImageExampleTests.a */, ); name = Frameworks; sourceTree = ""; @@ -179,7 +179,7 @@ 00E356EF1AD99517003FC87E /* ReactNativeFastImageExampleTests */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, - 1FBCC443B8CC2FF6D9586C32 /* Pods */, + 24E013F858679DCB2ED70BF2 /* Pods */, ); indentWidth = 2; sourceTree = ""; @@ -204,7 +204,7 @@ isa = PBXNativeTarget; buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeFastImageExampleTests" */; buildPhases = ( - C10BD8C2F6B68C539F80EF17 /* [CP] Check Pods Manifest.lock */, + A3C904C455880AE5C8CB30A7 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, @@ -223,13 +223,13 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeFastImageExample" */; buildPhases = ( - 2943198A3473C5BBA9EF36D9 /* [CP] Check Pods Manifest.lock */, + C9EF48499D14DC6AAB1055EB /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - BF5CA7D1A0DAE3DE7AEBC1B3 /* [CP] Copy Pods Resources */, + 3F4B7383C8858047AC768489 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -244,7 +244,7 @@ isa = PBXNativeTarget; buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeFastImageExample-tvOS" */; buildPhases = ( - A28B03E4574D327452A3B24E /* [CP] Check Pods Manifest.lock */, + 88C215EF52A3D9B37FC84F38 /* [CP] Check Pods Manifest.lock */, FD10A7F122414F3F0027D42C /* Start Packager */, 2D02E4771E0B4A5D006451C7 /* Sources */, 2D02E4781E0B4A5D006451C7 /* Frameworks */, @@ -264,7 +264,7 @@ isa = PBXNativeTarget; buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeFastImageExample-tvOSTests" */; buildPhases = ( - A3C979F52FE0877E7FA08B0F /* [CP] Check Pods Manifest.lock */, + 774E6DFD9644F561C28BE978 /* [CP] Check Pods Manifest.lock */, 2D02E48C1E0B4A5D006451C7 /* Sources */, 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 2D02E48E1E0B4A5D006451C7 /* Resources */, @@ -374,43 +374,69 @@ shellPath = /bin/sh; shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; - 2943198A3473C5BBA9EF36D9 /* [CP] Check Pods Manifest.lock */ = { + 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); - inputFileListPaths = ( - ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( ); + name = "Bundle React Native Code And Images"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; - 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { + 3F4B7383C8858047AC768489 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample-resources.sh", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf", + "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf", ); - name = "Bundle React Native Code And Images"; + name = "[CP] Copy Pods Resources"; outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample-resources.sh\"\n"; + showEnvVarsInLog = 0; }; - A28B03E4574D327452A3B24E /* [CP] Check Pods Manifest.lock */ = { + 774E6DFD9644F561C28BE978 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -425,14 +451,14 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-tvOS-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-tvOSTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - A3C979F52FE0877E7FA08B0F /* [CP] Check Pods Manifest.lock */ = { + 88C215EF52A3D9B37FC84F38 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -447,14 +473,14 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-tvOSTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-tvOS-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - BF5CA7D1A0DAE3DE7AEBC1B3 /* [CP] Copy Pods Resources */ = { + A3C904C455880AE5C8CB30A7 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -462,51 +488,21 @@ inputFileListPaths = ( ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample-resources.sh", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf", - "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf", + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( ); outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf", + "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExampleTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeFastImageExample/Pods-ReactNativeFastImageExample-resources.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - C10BD8C2F6B68C539F80EF17 /* [CP] Check Pods Manifest.lock */ = { + C9EF48499D14DC6AAB1055EB /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -521,7 +517,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExampleTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-ReactNativeFastImageExample-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -633,7 +629,7 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 85988576EEA33E31834DAE84 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */; + baseConfigurationReference = 160E9822226B7DA14DDC0D14 /* Pods-ReactNativeFastImageExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -656,7 +652,7 @@ }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6E49010FF67A6890447B7622 /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */; + baseConfigurationReference = 0EA7E3956412991EA7A2CA0C /* Pods-ReactNativeFastImageExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; @@ -676,7 +672,7 @@ }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E9B8542BA149510CA186A945 /* Pods-ReactNativeFastImageExample.debug.xcconfig */; + baseConfigurationReference = 409CCB29044E2AF2ED6DF4BA /* Pods-ReactNativeFastImageExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; @@ -696,7 +692,7 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0A2AFF48848433BF00930C10 /* Pods-ReactNativeFastImageExample.release.xcconfig */; + baseConfigurationReference = AB6AC85AF5F7B0ACC2A0C2F9 /* Pods-ReactNativeFastImageExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; @@ -715,7 +711,7 @@ }; 2D02E4971E0B4A5E006451C7 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 31DE46A9FDE3F7C90554CB5F /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */; + baseConfigurationReference = A14530762FEF5633D3AEC4A8 /* Pods-ReactNativeFastImageExample-tvOS.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -743,7 +739,7 @@ }; 2D02E4981E0B4A5E006451C7 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8D7CE96E5A39098DBF5E3BE6 /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */; + baseConfigurationReference = B2ADAAD9246EF7C6F31DB94D /* Pods-ReactNativeFastImageExample-tvOS.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -771,7 +767,7 @@ }; 2D02E4991E0B4A5E006451C7 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8955B16561020337636EC519 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */; + baseConfigurationReference = 73097A8CB6376953A4C77750 /* Pods-ReactNativeFastImageExample-tvOSTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; @@ -798,7 +794,7 @@ }; 2D02E49A1E0B4A5E006451C7 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6FE3CEACF7F4232B8C6013D2 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */; + baseConfigurationReference = EE5420CCEC8C76218298A8A1 /* Pods-ReactNativeFastImageExample-tvOSTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; diff --git a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Images.xcassets/AppIcon.appiconset/Contents.json b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Images.xcassets/AppIcon.appiconset/Contents.json index 19882d568..118c98f74 100644 --- a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,15 +1,5 @@ { "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, { "idiom" : "iphone", "size" : "29x29", @@ -39,11 +29,6 @@ "idiom" : "iphone", "size" : "60x60", "scale" : "3x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" } ], "info" : { diff --git a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Info.plist b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Info.plist index 74196e5de..10b984919 100644 --- a/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Info.plist +++ b/ReactNativeFastImageExample/ios/ReactNativeFastImageExample/Info.plist @@ -43,21 +43,7 @@ Need your photos. UIAppFonts - AntDesign.ttf - Entypo.ttf - EvilIcons.ttf - Feather.ttf - FontAwesome.ttf - FontAwesome5_Brands.ttf - FontAwesome5_Regular.ttf - FontAwesome5_Solid.ttf - Foundation.ttf Ionicons.ttf - MaterialIcons.ttf - MaterialCommunityIcons.ttf - SimpleLineIcons.ttf - Octicons.ttf - Zocial.ttf UILaunchStoryboardName LaunchScreen diff --git a/ReactNativeFastImageExample/ios/ReactNativeFastImageExampleTests/ReactNativeFastImageExampleTests.m b/ReactNativeFastImageExample/ios/ReactNativeFastImageExampleTests/ReactNativeFastImageExampleTests.m index f8085da5d..4b3a26e61 100644 --- a/ReactNativeFastImageExample/ios/ReactNativeFastImageExampleTests/ReactNativeFastImageExampleTests.m +++ b/ReactNativeFastImageExample/ios/ReactNativeFastImageExampleTests/ReactNativeFastImageExampleTests.m @@ -12,7 +12,7 @@ #import #define TIMEOUT_SECONDS 600 -#define TEXT_TO_LOOK_FOR @"Welcome to React Native!" +#define TEXT_TO_LOOK_FOR @"Welcome to React" @interface ReactNativeFastImageExampleTests : XCTestCase @@ -40,11 +40,13 @@ - (void)testRendersWelcomeScreen BOOL foundElement = NO; __block NSString *redboxError = nil; +#ifdef DEBUG RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { if (level >= RCTLogLevelError) { redboxError = message; } }); +#endif while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; @@ -57,8 +59,10 @@ - (void)testRendersWelcomeScreen return NO; }]; } - + +#ifdef DEBUG RCTSetLogFunction(RCTDefaultLogFunction); +#endif XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); diff --git a/ReactNativeFastImageExample/metro.config.js b/ReactNativeFastImageExample/metro.config.js index 13a964217..26b208f22 100644 --- a/ReactNativeFastImageExample/metro.config.js +++ b/ReactNativeFastImageExample/metro.config.js @@ -6,12 +6,12 @@ */ module.exports = { - transformer: { - getTransformOptions: async () => ({ - transform: { - experimentalImportSupport: false, - inlineRequires: false, - }, - }), - }, -}; + transformer: { + getTransformOptions: async () => ({ + transform: { + experimentalImportSupport: false, + inlineRequires: false, + }, + }), + }, +} diff --git a/ReactNativeFastImageExample/package.json b/ReactNativeFastImageExample/package.json index f9cd028ca..000f45361 100644 --- a/ReactNativeFastImageExample/package.json +++ b/ReactNativeFastImageExample/package.json @@ -3,36 +3,42 @@ "version": "0.0.1", "private": true, "scripts": { - "postinstall": "jetify", - "lint": "eslint .", + "android": "react-native run-android", + "ios": "react-native run-ios", "start": "react-native start", - "test": "jest" - }, - "jest": { - "preset": "react-native" + "test": "jest", + "lint": "eslint ." }, "dependencies": { - "react": "16.8.6", - "react-native": "0.60.0", - "react-native-fast-image": "../react-native-fast-image-6.1.1.tgz", - "react-native-gesture-handler": "^1.3.0", - "react-native-image-picker": "^0.28.1", + "@react-native-community/masked-view": "^0.1.7", + "@react-navigation/bottom-tabs": "^5.1.0", + "@react-navigation/native": "^5.0.8", + "@react-navigation/stack": "^5.1.0", + "react": "16.9.0", + "react-native": "0.61.5", + "react-native-fast-image": "^7.0.2", + "react-native-gesture-handler": "^1.6.0", + "react-native-image-picker": "^2.3.1", "react-native-image-progress": "^1.1.1", + "react-native-reanimated": "^1.7.0", + "react-native-safe-area-context": "^0.7.3", + "react-native-screens": "^2.2.0", "react-native-status-bar-height": "^2.1.0", "react-native-vector-icons": "^6.6.0", - "react-navigation": "^3.11.0", "react-timeout": "^1.1.2", - "uuid": "^3.3.2" + "uuid": "^7.0.1" }, "devDependencies": { - "@babel/core": "^7.5.0", - "@babel/runtime": "^7.5.0", + "@babel/core": "^7.6.2", + "@babel/runtime": "^7.6.2", "@react-native-community/eslint-config": "^0.0.5", - "babel-jest": "^24.8.0", - "eslint": "^6.0.1", - "jest": "^24.8.0", - "jetifier": "^1.6.1", - "metro-react-native-babel-preset": "^0.55.0", - "react-test-renderer": "16.8.6" + "babel-jest": "^24.9.0", + "eslint": "^6.5.1", + "jest": "^24.9.0", + "metro-react-native-babel-preset": "^0.56.0", + "react-test-renderer": "16.9.0" + }, + "jest": { + "preset": "react-native" } } diff --git a/ReactNativeFastImageExample/src/AutoSizeExample.js b/ReactNativeFastImageExample/src/AutoSizeExample.js index 42572fa2f..f9d5b6f41 100644 --- a/ReactNativeFastImageExample/src/AutoSizeExample.js +++ b/ReactNativeFastImageExample/src/AutoSizeExample.js @@ -20,11 +20,15 @@ class AutoSizingImage extends Component { nativeEvent: { width, height }, } = e this.setState({ width, height }) - if (this.props.onLoad) this.props.onLoad(e) + if (this.props.onLoad) { + this.props.onLoad(e) + } } getHeight = () => { - if (!this.state.height) return this.props.defaultHeight + if (!this.state.height) { + return this.props.defaultHeight + } const ratio = this.state.height / this.state.width const height = this.props.width * ratio return height diff --git a/ReactNativeFastImageExample/src/DefaultImageGrid.js b/ReactNativeFastImageExample/src/DefaultImageGrid.js index 36b4e976c..65f8a0ddf 100644 --- a/ReactNativeFastImageExample/src/DefaultImageGrid.js +++ b/ReactNativeFastImageExample/src/DefaultImageGrid.js @@ -1,14 +1,7 @@ -// @flow import React from 'react' import { Image } from 'react-native' -import Icon from './Icons/Icon' import ImageGrid from './ImageGrid' const DefaultImageGrid = () => -DefaultImageGrid.navigationOptions = { - tabBarLabel: 'Image Grid', - tabBarIcon: props => , -} - export default DefaultImageGrid diff --git a/ReactNativeFastImageExample/src/FastImageExamples.js b/ReactNativeFastImageExample/src/FastImageExamples.js index e0243d680..e251bdd76 100644 --- a/ReactNativeFastImageExample/src/FastImageExamples.js +++ b/ReactNativeFastImageExample/src/FastImageExamples.js @@ -1,6 +1,5 @@ import React from 'react' import { ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native' -import Icon from './Icons/Icon' import Section from './Section' import PriorityExample from './PriorityExample' import GifExample from './GifExample' @@ -45,11 +44,6 @@ const FastImageExample = () => ( ) -FastImageExample.navigationOptions = { - tabBarLabel: 'FastImage Example', - tabBarIcon: props => , -} - const styles = StyleSheet.create({ titleText: { fontWeight: '900', diff --git a/ReactNativeFastImageExample/src/FastImageGrid.js b/ReactNativeFastImageExample/src/FastImageGrid.js index 68bc25bc7..9a75edaa7 100644 --- a/ReactNativeFastImageExample/src/FastImageGrid.js +++ b/ReactNativeFastImageExample/src/FastImageGrid.js @@ -1,13 +1,7 @@ import React from 'react' import FastImage from 'react-native-fast-image' -import Icon from './Icons/Icon' import ImageGrid from './ImageGrid' const FastImageGrid = () => -FastImageGrid.navigationOptions = { - tabBarLabel: 'FastImage Grid', - tabBarIcon: props => , -} - export default FastImageGrid diff --git a/ReactNativeFastImageExample/src/Icon.js b/ReactNativeFastImageExample/src/Icon.js new file mode 100644 index 000000000..e2bf0ea81 --- /dev/null +++ b/ReactNativeFastImageExample/src/Icon.js @@ -0,0 +1,13 @@ +import React from 'react' +import Base from 'react-native-vector-icons/Ionicons' + +export function Icon({ size, name, color }) { + return ( + + ) +} diff --git a/ReactNativeFastImageExample/src/Icons/Icon.js b/ReactNativeFastImageExample/src/Icons/Icon.js deleted file mode 100644 index b48383bf3..000000000 --- a/ReactNativeFastImageExample/src/Icons/Icon.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react' -import Base from 'react-native-vector-icons/Ionicons' - -const Icon = ({ size, name, tintColor }) => ( - -) - -Icon.defaultProps = { - size: 26, -} - -export default Icon diff --git a/ReactNativeFastImageExample/src/ImageGrid.js b/ReactNativeFastImageExample/src/ImageGrid.js index 690df2648..0067412c8 100644 --- a/ReactNativeFastImageExample/src/ImageGrid.js +++ b/ReactNativeFastImageExample/src/ImageGrid.js @@ -92,7 +92,6 @@ const MARGIN = 2 const styles = StyleSheet.create({ container: { flex: 1, - backgroundColor: '#fff', alignItems: 'stretch', justifyContent: 'center', backgroundColor: 'white', diff --git a/ReactNativeFastImageExample/src/LocalImagesExample.js b/ReactNativeFastImageExample/src/LocalImagesExample.js index 997900877..efdc838d3 100644 --- a/ReactNativeFastImageExample/src/LocalImagesExample.js +++ b/ReactNativeFastImageExample/src/LocalImagesExample.js @@ -39,16 +39,12 @@ class PhotoExample extends Component { pick = () => { ImagePicker.showImagePicker(options, response => { - console.log('Response = ', response) if (response.didCancel) { - console.log('User cancelled image picker') + console.log('ImagePicker - User cancelled.') } else if (response.error) { - console.log('ImagePicker Error: ', response.error) + console.log(`ImagePicker - Error ${response.error}.`) } else if (response.customButton) { - console.log( - 'User tapped custom button: ', - response.customButton, - ) + console.log(`ImagePicker - Tapped ${response.customButton}`) } else { const uri = response.uri this.setState({ @@ -64,9 +60,7 @@ class PhotoExample extends Component { photo library - - Pick Photo - + Pick Photo @@ -92,6 +86,7 @@ const LocalImagesExample = () => ( ) const styles = StyleSheet.create({ + pickPhoto: { color: 'white', fontWeight: '900' }, row: { justifyContent: 'center', alignItems: 'center', diff --git a/ReactNativeFastImageExample/src/PreloadExample.js b/ReactNativeFastImageExample/src/PreloadExample.js index dfb0c78c5..193365948 100644 --- a/ReactNativeFastImageExample/src/PreloadExample.js +++ b/ReactNativeFastImageExample/src/PreloadExample.js @@ -4,7 +4,7 @@ import SectionFlex from './SectionFlex' import FastImage from 'react-native-fast-image' import Section from './Section' import FeatureText from './FeatureText' -import uuid from 'uuid/v4' +import { v4 as uuid } from 'uuid' import Button from './Button' import { createImageProgress } from 'react-native-image-progress' @@ -58,13 +58,13 @@ class PreloadExample extends Component { )} - +