From 0a0f47ad199645208c46272e4c7d734b772b0582 Mon Sep 17 00:00:00 2001 From: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Date: Mon, 20 Nov 2023 08:23:58 +0530 Subject: [PATCH] refactor(INJI-449): use expo-splash-screen instead of expo-app-loading expo-app-loading package is deprecated and it is suggested to replace it with expo-splash-screen Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --- .talismanrc | 6 +- App.tsx | 14 +- ios/Podfile.lock | 65 +++--- package-lock.json | 573 ---------------------------------------------- package.json | 1 - 5 files changed, 41 insertions(+), 618 deletions(-) diff --git a/.talismanrc b/.talismanrc index d171572fc3..8c12920152 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,6 +1,4 @@ fileignoreconfig: -- filename: ios/Podfile.lock - checksum: cc123c3e1f04d41b394ceb16843b15c08bac3ba619ae853ff322717739761a85 - filename: package.json checksum: a5a22604f2b9d917adaf3561fdcaeccd4e69b92e1240070480d7498e1eda5162 - filename: package-lock.json @@ -41,9 +39,7 @@ fileignoreconfig: checksum: bc12c43ccc27ac04e5763fa6a6ed3cee63e4362ba5666c160b5e53269de924ab checksum: 9a61cd59a3718adf1f14faf3024fec66a3295ef373878a878a28e5cb1287afaa - filename: ios/Podfile.lock - checksum: edad9c2d11b0b3ed819cb0dcbfaf0515d31adb8116223c07f7b7b79e6689fe96 -- filename: ios/Podfile.lock - checksum: cc123c3e1f04d41b394ceb16843b15c08bac3ba619ae853ff322717739761a85 + checksum: 9dc888bdf7bc1a2aa7b90d3c7f0865ca2141c49f076c80b159f7e63cd97dd440 - filename: screens/Home/IntroSlidersScreen.tsx checksum: 72ef913857448ef05763e52e32356faa2d1f3de8130a1c638d1897f44823031f - filename: shared/commonUtil.ts diff --git a/App.tsx b/App.tsx index adc105eef2..d9fc2714ab 100644 --- a/App.tsx +++ b/App.tsx @@ -1,5 +1,4 @@ import React, {useContext, useEffect} from 'react'; -import AppLoading from 'expo-app-loading'; import {AppLayout} from './screens/AppLayout'; import {useFont} from './shared/hooks/useFont'; import {GlobalContextProvider} from './components/GlobalContextProvider'; @@ -26,9 +25,12 @@ import SecureKeystore from 'react-native-secure-keystore'; import {isHardwareKeystoreExists} from './shared/cryptoutil/cryptoUtil'; import i18n from './i18n'; import './shared/flipperConfig'; +import * as SplashScreen from 'expo-splash-screen'; + +SplashScreen.preventAutoHideAsync(); // kludge: this is a bad practice but has been done temporarily to surface -// an occurance of a bug with minimal residual code changes, this should +// an occurrence of a bug with minimal residual code changes, this should // be removed once the bug cause is determined & fixed, ref: INJI-222 const DecryptErrorAlert = (controller, t) => { const heading = t('errors.decryptionFailed'); @@ -78,7 +80,6 @@ const AppLoadingWrapper: React.FC = () => { }, [isKeyInvalidateError]); return ( <> - { } }, [i18n.language]); + useEffect(() => { + async function hideAppLoading() { + await SplashScreen.hideAsync(); + } + if (isReady && hasFontsLoaded) hideAppLoading(); + }, [isReady, hasFontsLoaded]); + return isReady && hasFontsLoaded ? ( ) : ( diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 15e009e390..ed17ae8b35 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -14,58 +14,54 @@ PODS: - CatCrypto (0.3.2) - CrcSwift (0.0.3) - DoubleConversion (1.1.6) - - EASClient (0.6.0): + - EASClient (0.5.1): - ExpoModulesCore - - EXApplication (5.3.1): + - EXApplication (5.1.1): - ExpoModulesCore - EXBarCodeScanner (12.3.2): - EXImageLoader - ExpoModulesCore - ZXingObjC/OneD - ZXingObjC/PDF417 - - EXCamera (13.6.0): + - EXCamera (13.2.1): - ExpoModulesCore - - EXConstants (14.4.2): + - EXConstants (14.2.1): - ExpoModulesCore - - EXFileSystem (15.4.4): + - EXFileSystem (15.2.2): - ExpoModulesCore - EXFont (11.1.1): - ExpoModulesCore - EXImageLoader (4.1.1): - ExpoModulesCore - React-Core - - EXJSONUtils (0.7.1) - - EXManifests (0.7.2): + - EXJSONUtils (0.5.1) + - EXManifests (0.5.2): + - EXJSONUtils + - Expo (48.0.20): - ExpoModulesCore - - Expo (49.0.16): - - ExpoModulesCore - - ExpoKeepAwake (12.3.0): + - ExpoKeepAwake (12.0.1): - ExpoModulesCore - ExpoLocalAuthentication (13.3.0): - ExpoModulesCore - ExpoLocalization (14.1.1): - ExpoModulesCore - - ExpoModulesCore (1.5.11): - - RCT-Folly (= 2021.07.22.00) + - ExpoModulesCore (1.2.7): - React-Core - React-RCTAppDelegate - ReactCommon/turbomodule/core - - EXSplashScreen (0.22.0): + - EXSplashScreen (0.18.2): - ExpoModulesCore - - RCT-Folly (= 2021.07.22.00) - React-Core - - EXStructuredHeaders (3.3.0) - - EXUpdates (0.18.17): + - EXStructuredHeaders (3.1.2) + - EXUpdates (0.16.4): - ASN1Decoder (~> 1.8) - EASClient - EXManifests - ExpoModulesCore - EXStructuredHeaders - EXUpdatesInterface - - RCT-Folly (= 2021.07.22.00) - - ReachabilitySwift - React-Core - - EXUpdatesInterface (0.10.1) + - EXUpdatesInterface (0.9.3) - FBLazyVector (0.71.8) - FBReactNativeSpec (0.71.8): - RCT-Folly (= 2021.07.22.00) @@ -117,7 +113,6 @@ PODS: - FBLazyVector (= 0.71.8) - RCTRequired (= 0.71.8) - React-Core (= 0.71.8) - - ReachabilitySwift (5.0.0) - React (0.71.8): - React-Core (= 0.71.8) - React-Core/DevSupport (= 0.71.8) @@ -602,7 +597,6 @@ SPEC REPOS: - libevent - MMKV - MMKVCore - - ReachabilitySwift - TensorFlowLiteC - TensorFlowLiteObjC - ZXingObjC @@ -784,25 +778,25 @@ SPEC CHECKSUMS: CatCrypto: a477899b6be4954e75be4897e732da098cc0a5a8 CrcSwift: f85dea6b41dddb5f98bb3743fd777ce58b77bc2e DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 - EASClient: 49f8ea858204eb4844d9fb386e5fb7920aee2e30 - EXApplication: 042aa2e3f05258a16962ea1a9914bf288db9c9a1 + EASClient: 950674e1098ebc09c4c2cf064a61e42e84d9d4c6 + EXApplication: d8f53a7eee90a870a75656280e8d4b85726ea903 EXBarCodeScanner: 8e23fae8d267dbef9f04817833a494200f1fce35 - EXCamera: 2dc2bd2828bca4e283018a0b5a84aec6639ff0b4 - EXConstants: ce5bbea779da8031ac818c36bea41b10e14d04e1 - EXFileSystem: 2b826a3bf1071a4b80a8457e97124783d1ac860e + EXCamera: a323a5942b5e7fc8349e17d728e91c18840ad561 + EXConstants: f348da07e21b23d2b085e270d7b74f282df1a7d9 + EXFileSystem: 844e86ca9b5375486ecc4ef06d3838d5597d895d EXFont: 6ea3800df746be7233208d80fe379b8ed74f4272 EXImageLoader: fd053169a8ee932dd83bf1fe5487a50c26d27c2b - EXJSONUtils: 6802be4282d42b97c51682468ddc1026a06f8276 - EXManifests: cf66451b11b2c2f6464917528d792759f7fd6ce0 - Expo: fcfd60c1ed6806dee5103b210335ae0c72f675ed - ExpoKeepAwake: be4cbd52d9b177cde0fd66daa1913afa3161fc1d + EXJSONUtils: 48b1e764ac35160e6f54d21ab60d7d9501f3e473 + EXManifests: 500666d48e8dd7ca5a482c9e729e4a7a6c34081b + Expo: b7d2843b0a0027d0ce76121a63085764355a16ed + ExpoKeepAwake: 69f5f627670d62318410392d03e0b5db0f85759a ExpoLocalAuthentication: 32919307c66fb3661caefa07e7811a95a7539d7b ExpoLocalization: f26cd431ad9ea3533c5b08c4fabd879176a794bb - ExpoModulesCore: d9d45dcbb86a5dba2ec62253267720cb58516f75 - EXSplashScreen: 5ed09ea490155ef603d007d9f194c9e04a4b7980 - EXStructuredHeaders: 324cc3130571d2696357fafd8be7fd9a0b5fdf6e - EXUpdates: 8f03b362414e8f9f0998f8a6d6c9fc00f2a9d2f2 - EXUpdatesInterface: 82ed48d417cdcd376c12ca1c2ce390d35500bed6 + ExpoModulesCore: 653958063a301098b541ae4dfed1ac0b98db607b + EXSplashScreen: 0e0a9ba0cf7553094e93213099bd7b42e6e237e9 + EXStructuredHeaders: f3a6d417d5d12ef369fd1a31320d1c188a1b0f4b + EXUpdates: 603c4dfec2ed9ef323dfbd9c59c946593d4d9a5c + EXUpdatesInterface: e86394c0770f14eb96386cbb32be83fa6a97e8f9 FBLazyVector: f637f31eacba90d4fdeff3fa41608b8f361c173b FBReactNativeSpec: 0d9a4f4de7ab614c49e98c00aedfd3bfbda33d59 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 @@ -820,7 +814,6 @@ SPEC CHECKSUMS: RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 RCTRequired: 8af6a32dfc2b65ec82193c2dee6e1011ff22ac2a RCTTypeSafety: bee9dd161c175896c680d47ef1d9eaacf2b587f4 - ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825 React: d850475db9ba8006a8b875d79e1e0d6ac8a0f8b6 React-callinvoker: 6a0c75475ddc17c9ed54e4ff0478074a18fd7ab5 React-Codegen: 786571642e87add634e7f4d299c85314ec6cc158 diff --git a/package-lock.json b/package-lock.json index dd32d714cc..2367504c47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,6 @@ "crypto-js": "^3.3.0", "date-fns": "^2.26.0", "expo": "^49.0.16", - "expo-app-loading": "2.1.1", "expo-barcode-scanner": "~12.3.2", "expo-camera": "^13.6.0", "expo-constants": "^14.4.2", @@ -3507,63 +3506,6 @@ "node": ">=10" } }, - "node_modules/@expo/configure-splash-screen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@expo/configure-splash-screen/-/configure-splash-screen-0.6.0.tgz", - "integrity": "sha512-4DyPoNXJqx9bN4nEwF3HQreo//ECu7gDe1Xor3dnnzFm9P/VDxAKdbEhA0n+R6fgkNfT2onVHWijqvdpTS3Xew==", - "dependencies": { - "color-string": "^1.5.3", - "commander": "^5.1.0", - "fs-extra": "^9.0.0", - "glob": "^7.1.6", - "lodash": "^4.17.15", - "pngjs": "^5.0.0", - "xcode": "^3.0.0", - "xml-js": "^1.6.11" - }, - "bin": { - "configure-splash-screen": "build/index-cli.js", - "expo-splash-screen": "build/index-cli.js" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@expo/configure-splash-screen/node_modules/commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@expo/configure-splash-screen/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@expo/configure-splash-screen/node_modules/pngjs": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", - "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/@expo/dev-server": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/@expo/dev-server/-/dev-server-0.5.5.tgz", @@ -13740,238 +13682,6 @@ "expo": "bin/cli" } }, - "node_modules/expo-app-loading": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/expo-app-loading/-/expo-app-loading-2.1.1.tgz", - "integrity": "sha512-b3VNkPuFaI9J847HSpjI4uiuyE4+IWyAIPT9uzbkS7QFknL99DMoihtgzeWzKaJKSAmbYc3ph2Vl9skJAkVYUg==", - "dependencies": { - "expo-splash-screen": "~0.17.0" - } - }, - "node_modules/expo-app-loading/node_modules/@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/config": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-7.0.3.tgz", - "integrity": "sha512-joVtB5o+NF40Tmsdp65UzryRtbnCuMbXkVO4wJnNJO4aaK0EYLdHCYSewORVqNcDfGN0LphQr8VTG2npbd9CJA==", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~5.0.3", - "@expo/config-types": "^47.0.0", - "@expo/json-file": "8.2.36", - "getenv": "^1.0.0", - "glob": "7.1.6", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "semver": "7.3.2", - "slugify": "^1.3.4", - "sucrase": "^3.20.0" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/config-plugins": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-5.0.4.tgz", - "integrity": "sha512-vzUcVpqOMs3h+hyRdhGwk+eGIOhXa5xYdd92yO17RMNHav3v/+ekMbs7XA2c3lepMO8Yd4/5hqmRw9ZTL6jGzg==", - "dependencies": { - "@expo/config-types": "^47.0.0", - "@expo/json-file": "8.2.36", - "@expo/plist": "0.0.18", - "@expo/sdk-runtime-versions": "^1.0.0", - "@react-native/normalize-color": "^2.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.1", - "find-up": "~5.0.0", - "getenv": "^1.0.0", - "glob": "7.1.6", - "resolve-from": "^5.0.0", - "semver": "^7.3.5", - "slash": "^3.0.0", - "xcode": "^3.0.1", - "xml2js": "0.4.23" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/config-plugins/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/config-types": { - "version": "47.0.0", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-47.0.0.tgz", - "integrity": "sha512-r0pWfuhkv7KIcXMUiNACJmJKKwlTBGMw9VZHNdppS8/0Nve8HZMTkNRFQzTHW1uH3pBj8jEXpyw/2vSWDHex9g==" - }, - "node_modules/expo-app-loading/node_modules/@expo/json-file": { - "version": "8.2.36", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-8.2.36.tgz", - "integrity": "sha512-tOZfTiIFA5KmMpdW9KF7bc6CFiGjb0xnbieJhTGlHrLL+ps2G0OkqmuZ3pFEXBOMnJYUVpnSy++52LFxvpa5ZQ==", - "dependencies": { - "@babel/code-frame": "~7.10.4", - "json5": "^1.0.1", - "write-file-atomic": "^2.3.0" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/plist": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.0.18.tgz", - "integrity": "sha512-+48gRqUiz65R21CZ/IXa7RNBXgAI/uPSdvJqoN9x1hfL44DNbUoWHgHiEXTx7XelcATpDwNTz6sHLfy0iNqf+w==", - "dependencies": { - "@xmldom/xmldom": "~0.7.0", - "base64-js": "^1.2.3", - "xmlbuilder": "^14.0.0" - } - }, - "node_modules/expo-app-loading/node_modules/@expo/prebuild-config": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-5.0.7.tgz", - "integrity": "sha512-D+TBpJUHe4+oTGFPb4o0rrw/h1xxc6wF+abJnbDHUkhnaeiHkE2O3ByS7FdiZ2FT36t0OKqeSKG/xFwWT3m1Ew==", - "dependencies": { - "@expo/config": "~7.0.2", - "@expo/config-plugins": "~5.0.3", - "@expo/config-types": "^47.0.0", - "@expo/image-utils": "0.3.22", - "@expo/json-file": "8.2.36", - "debug": "^4.3.1", - "fs-extra": "^9.0.0", - "resolve-from": "^5.0.0", - "semver": "7.3.2", - "xml2js": "0.4.23" - }, - "peerDependencies": { - "expo-modules-autolinking": ">=0.8.1" - } - }, - "node_modules/expo-app-loading/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/expo-app-loading/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/expo-app-loading/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/expo-app-loading/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/expo-app-loading/node_modules/expo-splash-screen": { - "version": "0.17.5", - "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-0.17.5.tgz", - "integrity": "sha512-ejSO78hwHXz8T9u8kh8t4r6CR4h70iBvA65gX8GK+dYxZl6/IANPbIb2VnUpND9vqfW+JnkDw+ZFst+gDnkpcQ==", - "dependencies": { - "@expo/configure-splash-screen": "^0.6.0", - "@expo/prebuild-config": "5.0.7" - }, - "peerDependencies": { - "expo": "*" - } - }, - "node_modules/expo-app-loading/node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/expo-app-loading/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/expo-app-loading/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/expo-app-loading/node_modules/semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expo-app-loading/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/expo-application": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/expo-application/-/expo-application-5.3.1.tgz", @@ -29110,37 +28820,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/xml-js": { - "version": "1.6.11", - "resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz", - "integrity": "sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==", - "dependencies": { - "sax": "^1.2.4" - }, - "bin": { - "xml-js": "bin/cli.js" - } - }, - "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xml2js/node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "engines": { - "node": ">=4.0" - } - }, "node_modules/xmlbuilder": { "version": "14.0.0", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-14.0.0.tgz", @@ -31746,46 +31425,6 @@ "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-49.0.0.tgz", "integrity": "sha512-8eyREVi+K2acnMBe/rTIu1dOfyR2+AMnTLHlut+YpMV9OZPdeKV0Bs9BxAewGqBA2slslbQ9N39IS2CuTKpXkA==" }, - "@expo/configure-splash-screen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@expo/configure-splash-screen/-/configure-splash-screen-0.6.0.tgz", - "integrity": "sha512-4DyPoNXJqx9bN4nEwF3HQreo//ECu7gDe1Xor3dnnzFm9P/VDxAKdbEhA0n+R6fgkNfT2onVHWijqvdpTS3Xew==", - "requires": { - "color-string": "^1.5.3", - "commander": "^5.1.0", - "fs-extra": "^9.0.0", - "glob": "^7.1.6", - "lodash": "^4.17.15", - "pngjs": "^5.0.0", - "xcode": "^3.0.0", - "xml-js": "^1.6.11" - }, - "dependencies": { - "commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "pngjs": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", - "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==" - } - } - }, "@expo/dev-server": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/@expo/dev-server/-/dev-server-0.5.5.tgz", @@ -39536,194 +39175,6 @@ } } }, - "expo-app-loading": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/expo-app-loading/-/expo-app-loading-2.1.1.tgz", - "integrity": "sha512-b3VNkPuFaI9J847HSpjI4uiuyE4+IWyAIPT9uzbkS7QFknL99DMoihtgzeWzKaJKSAmbYc3ph2Vl9skJAkVYUg==", - "requires": { - "expo-splash-screen": "~0.17.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "requires": { - "@babel/highlight": "^7.10.4" - } - }, - "@expo/config": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-7.0.3.tgz", - "integrity": "sha512-joVtB5o+NF40Tmsdp65UzryRtbnCuMbXkVO4wJnNJO4aaK0EYLdHCYSewORVqNcDfGN0LphQr8VTG2npbd9CJA==", - "requires": { - "@babel/code-frame": "~7.10.4", - "@expo/config-plugins": "~5.0.3", - "@expo/config-types": "^47.0.0", - "@expo/json-file": "8.2.36", - "getenv": "^1.0.0", - "glob": "7.1.6", - "require-from-string": "^2.0.2", - "resolve-from": "^5.0.0", - "semver": "7.3.2", - "slugify": "^1.3.4", - "sucrase": "^3.20.0" - } - }, - "@expo/config-plugins": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-5.0.4.tgz", - "integrity": "sha512-vzUcVpqOMs3h+hyRdhGwk+eGIOhXa5xYdd92yO17RMNHav3v/+ekMbs7XA2c3lepMO8Yd4/5hqmRw9ZTL6jGzg==", - "requires": { - "@expo/config-types": "^47.0.0", - "@expo/json-file": "8.2.36", - "@expo/plist": "0.0.18", - "@expo/sdk-runtime-versions": "^1.0.0", - "@react-native/normalize-color": "^2.0.0", - "chalk": "^4.1.2", - "debug": "^4.3.1", - "find-up": "~5.0.0", - "getenv": "^1.0.0", - "glob": "7.1.6", - "resolve-from": "^5.0.0", - "semver": "^7.3.5", - "slash": "^3.0.0", - "xcode": "^3.0.1", - "xml2js": "0.4.23" - }, - "dependencies": { - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "@expo/config-types": { - "version": "47.0.0", - "resolved": "https://registry.npmjs.org/@expo/config-types/-/config-types-47.0.0.tgz", - "integrity": "sha512-r0pWfuhkv7KIcXMUiNACJmJKKwlTBGMw9VZHNdppS8/0Nve8HZMTkNRFQzTHW1uH3pBj8jEXpyw/2vSWDHex9g==" - }, - "@expo/json-file": { - "version": "8.2.36", - "resolved": "https://registry.npmjs.org/@expo/json-file/-/json-file-8.2.36.tgz", - "integrity": "sha512-tOZfTiIFA5KmMpdW9KF7bc6CFiGjb0xnbieJhTGlHrLL+ps2G0OkqmuZ3pFEXBOMnJYUVpnSy++52LFxvpa5ZQ==", - "requires": { - "@babel/code-frame": "~7.10.4", - "json5": "^1.0.1", - "write-file-atomic": "^2.3.0" - } - }, - "@expo/plist": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.0.18.tgz", - "integrity": "sha512-+48gRqUiz65R21CZ/IXa7RNBXgAI/uPSdvJqoN9x1hfL44DNbUoWHgHiEXTx7XelcATpDwNTz6sHLfy0iNqf+w==", - "requires": { - "@xmldom/xmldom": "~0.7.0", - "base64-js": "^1.2.3", - "xmlbuilder": "^14.0.0" - } - }, - "@expo/prebuild-config": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-5.0.7.tgz", - "integrity": "sha512-D+TBpJUHe4+oTGFPb4o0rrw/h1xxc6wF+abJnbDHUkhnaeiHkE2O3ByS7FdiZ2FT36t0OKqeSKG/xFwWT3m1Ew==", - "requires": { - "@expo/config": "~7.0.2", - "@expo/config-plugins": "~5.0.3", - "@expo/config-types": "^47.0.0", - "@expo/image-utils": "0.3.22", - "@expo/json-file": "8.2.36", - "debug": "^4.3.1", - "fs-extra": "^9.0.0", - "resolve-from": "^5.0.0", - "semver": "7.3.2", - "xml2js": "0.4.23" - } - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "expo-splash-screen": { - "version": "0.17.5", - "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-0.17.5.tgz", - "integrity": "sha512-ejSO78hwHXz8T9u8kh8t4r6CR4h70iBvA65gX8GK+dYxZl6/IANPbIb2VnUpND9vqfW+JnkDw+ZFst+gDnkpcQ==", - "requires": { - "@expo/configure-splash-screen": "^0.6.0", - "@expo/prebuild-config": "5.0.7" - } - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "requires": { - "minimist": "^1.2.0" - } - }, - "semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "expo-application": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/expo-application/-/expo-application-5.3.1.tgz", @@ -51165,30 +50616,6 @@ } } }, - "xml-js": { - "version": "1.6.11", - "resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz", - "integrity": "sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==", - "requires": { - "sax": "^1.2.4" - } - }, - "xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "dependencies": { - "xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" - } - } - }, "xmlbuilder": { "version": "14.0.0", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-14.0.0.tgz", diff --git a/package.json b/package.json index 0d319828cd..9ab63ad023 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "crypto-js": "^3.3.0", "date-fns": "^2.26.0", "expo": "^49.0.16", - "expo-app-loading": "2.1.1", "expo-barcode-scanner": "~12.3.2", "expo-camera": "^13.6.0", "expo-constants": "^14.4.2",