diff --git a/app.json b/app.json index 0992c21..54d4e8f 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "expo": { "name": "Covid19", "slug": "Covid19", - "version": "4.0.1", + "version": "4.0.2", "orientation": "portrait", "icon": "./assets/icon.png", "splash": { diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..a8bdec1 --- /dev/null +++ b/eas.json @@ -0,0 +1,20 @@ +{ + "cli": { + "version": ">= 0.42.4" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "apk": { + "android": { + "buildType": "apk" + } + }, + "production": {} + }, + "submit": { + "production": {} + } +} diff --git a/index.js b/index.js new file mode 100644 index 0000000..e5802d2 --- /dev/null +++ b/index.js @@ -0,0 +1,5 @@ +import { registerRootComponent } from "expo"; + +import App from "./App"; + +registerRootComponent(App); diff --git a/package.json b/package.json index c3e034b..d3d1c11 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,4 @@ { - "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", @@ -7,8 +6,9 @@ "web": "expo start --web", "eject": "expo eject", "desktop": "tauri dev", - "build-android": "expo build:android", - "build-ios": "expo build:ios", + "build-android": "eas build --platform android --profile apk", + "build-android-store": "eas build --platform android", + "build-ios-store": "eas build --platform ios", "build-web": "expo build:web", "build-desktop": "tauri build", "lint": "eslint ." @@ -27,6 +27,7 @@ "expo-location": "~12.1.2", "expo-splash-screen": "~0.11.2", "expo-status-bar": "~1.0.4", + "expo-system-ui": "^1.1.0", "moti": "^0.14.2", "react": "16.13.1", "react-dom": "^17.0.2", @@ -51,9 +52,9 @@ "@types/redux-logger": "^3.0.9", "@typescript-eslint/eslint-plugin": "^4.31.0", "@typescript-eslint/parser": "^4.31.0", + "babel-plugin-transform-remove-console": "^6.9.4", "babel-preset-expo": "^8.4.1", "eslint": "^7.32.0", - "babel-plugin-transform-remove-console": "^6.9.4", "eslint-config-universe": "^7.0.1", "pre-commit": "^1.2.2", "prettier": "^2.3.2", diff --git a/yarn.lock b/yarn.lock index 1da3dc1..68f9c5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1227,6 +1227,28 @@ xcode "^3.0.1" xml2js "^0.4.23" +"@expo/config-plugins@^4.0.2": + version "4.0.15" + resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-4.0.15.tgz#cc170a0cf890973b6491cf357540e9955296019c" + integrity sha512-QqxVEt2bFu3ZuI1soULRJv7i0Zrg/FMZ0IxNV7Y3AjH7fhtUJH3pPo9f6MURvqNr+PLxhBlkofkWfunrVejSkw== + dependencies: + "@expo/config-types" "^43.0.1" + "@expo/json-file" "8.2.34" + "@expo/plist" "0.0.16" + "@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" + fs-extra "9.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" + "@expo/config-types@^41.0.0": version "41.0.0" resolved "https://registry.npmjs.org/@expo/config-types/-/config-types-41.0.0.tgz" @@ -1237,6 +1259,11 @@ resolved "https://registry.npmjs.org/@expo/config-types/-/config-types-42.0.0.tgz" integrity sha512-Rj02OMZke2MrGa/1Y/EScmR7VuWbDEHPJyvfFyyLbadUt+Yv6isCdeFzDt71I7gJlPR9T4fzixeYLrtXXOTq0w== +"@expo/config-types@^43.0.1": + version "43.0.1" + resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-43.0.1.tgz#3e047dccb371741a540980eaff26fb0c95039c30" + integrity sha512-EtllpCGDdB/UdwAIs5YXJwBLpbFQNdlLLrxIvoILA9cXrpQMWkeDCT9lQPJzFRMFcLUaMuGvkzX2tR4tx5EQFQ== + "@expo/config@5.0.9": version "5.0.9" resolved "https://registry.npmjs.org/@expo/config/-/config-5.0.9.tgz" @@ -1324,6 +1351,15 @@ json5 "^1.0.1" write-file-atomic "^2.3.0" +"@expo/json-file@8.2.34": + version "8.2.34" + resolved "https://registry.yarnpkg.com/@expo/json-file/-/json-file-8.2.34.tgz#2f24e90a677195f7a81e167115460eb2902c3130" + integrity sha512-ZxtBodAZGxdLtgKzmsC+8ViUxt1mhFW642Clu2OuG3f6PAyAFsU/SqEGag9wKFaD3x3Wt8VhL+3y5fMJmUFgPw== + dependencies: + "@babel/code-frame" "~7.10.4" + json5 "^1.0.1" + write-file-atomic "^2.3.0" + "@expo/metro-config@^0.1.70": version "0.1.84" resolved "https://registry.npmjs.org/@expo/metro-config/-/metro-config-0.1.84.tgz" @@ -1352,6 +1388,15 @@ base64-js "^1.2.3" xmlbuilder "^14.0.0" +"@expo/plist@0.0.16": + version "0.0.16" + resolved "https://registry.yarnpkg.com/@expo/plist/-/plist-0.0.16.tgz#c7d294a774196cfa1d8caf89a75ba923f5d1d53c" + integrity sha512-yQMt2CTm2VNLiHv2/EqHYrHvfflI2mFJd+DZIQQy569hvpZle0CxMPGH1p2KatbrO8htxJNvwrlR/4TIwhQJ5w== + dependencies: + "@xmldom/xmldom" "~0.7.0" + base64-js "^1.2.3" + xmlbuilder "^14.0.0" + "@expo/prebuild-config@^2.0.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@expo/prebuild-config/-/prebuild-config-2.1.0.tgz#d1dbead511b3959237e542e326a9db757e97fcab" @@ -1366,6 +1411,11 @@ fs-extra "^9.0.0" resolve-from "^5.0.0" +"@expo/sdk-runtime-versions@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz#d7ebd21b19f1c6b0395e50d78da4416941c57f7c" + integrity sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ== + "@expo/spawn-async@1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@expo/spawn-async/-/spawn-async-1.5.0.tgz#799827edd8c10ef07eb1a2ff9dcfe081d596a395" @@ -1713,6 +1763,11 @@ sudo-prompt "^9.0.0" wcwidth "^1.0.1" +"@react-native/normalize-color@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@react-native/normalize-color/-/normalize-color-2.0.0.tgz#da955909432474a9a0fe1cbffc66576a0447f567" + integrity sha512-Wip/xsc5lw8vsBlmY2MO/gFLp3MvuZ2baBZjDeTjjndMgM0h5sxz7AZR62RDPGgstp8Np7JzjvVqVT7tpFZqsw== + "@react-navigation/core@^6.0.1": version "6.0.1" resolved "https://registry.npmjs.org/@react-navigation/core/-/core-6.0.1.tgz" @@ -4212,6 +4267,13 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: dependencies: ms "2.1.2" +debug@^4.3.2: + version "4.3.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + dependencies: + ms "2.1.2" + decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" @@ -5194,6 +5256,15 @@ expo-status-bar@~1.0.4: resolved "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-1.0.4.tgz" integrity sha512-s7nc496D/Zn1NGiMJ5wu6HyIdXxbgGtmZZtbHm7rpbcmLdf28GmMSNHDx7M0t00BMhky7VAurTCUo+BJs8ugsw== +expo-system-ui@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/expo-system-ui/-/expo-system-ui-1.1.0.tgz#e2fbf9402f8231ab2586dbc1eb9d0e7d833cf743" + integrity sha512-aEehlZftivxhqwUKOuKSZllMMQqiCXzNkBYDP4ZjMcSdHOStpMwQuAtq1X1uvFAoqshzWfWEwkrnQY0kZg8Mjg== + dependencies: + "@expo/config-plugins" "^4.0.2" + "@react-native/normalize-color" "^2.0.0" + debug "^4.3.2" + expo@~42.0.1: version "42.0.3" resolved "https://registry.npmjs.org/expo/-/expo-42.0.3.tgz" @@ -12391,7 +12462,7 @@ xml-js@^1.6.11: dependencies: sax "^1.2.4" -xml2js@^0.4.23: +xml2js@0.4.23, xml2js@^0.4.23: version "0.4.23" resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz" integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==