diff --git a/app.json b/app.json index 4cb06fe..7c11cf4 100644 --- a/app.json +++ b/app.json @@ -13,6 +13,24 @@ "splash": { "image": "./assets/splash.png", "backgroundColor": "#B1C0E8" - } + }, + "extra": { + "router": { + "origin": false + }, + "eas": { + "projectId": "a29396a9-864c-45f7-9815-43657407ac25" + } + }, + "android": { + "package": "com.risuleia.Mentis" + }, + "runtimeVersion": { + "policy": "appVersion" + }, + "updates": { + "url": "https://u.expo.dev/a29396a9-864c-45f7-9815-43657407ac25" + }, + "ios": {} } } diff --git a/assets/icon.png b/assets/icon.png index 455c287..43b1e5b 100644 Binary files a/assets/icon.png and b/assets/icon.png differ diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..1be56d6 --- /dev/null +++ b/eas.json @@ -0,0 +1,22 @@ +{ + "cli": { + "version": ">= 4.1.2" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "android": { + "buildType": "apk" + } + } + }, + "submit": { + "production": {} + } +} diff --git a/metro.config.js b/metro.config.js index 140ef4f..2cf9a36 100644 --- a/metro.config.js +++ b/metro.config.js @@ -2,4 +2,7 @@ module.exports = { resolver: { extraNodeModules: require('node-libs-react-native'), }, + transformer: { + assetPlugins: ['expo-asset/tools/hashAssetFiles'], + }, }; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 37bc30e..2fe3c9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,7 @@ "@react-native-community/slider": "4.4.2", "axios": "^1.4.0", "eslint-plugin-react-hooks": "^4.6.0", - "expo": "^49.0.4", - "expo-av": "~13.4.1", + "expo": "~49.0.6", "expo-constants": "~14.4.2", "expo-font": "~11.4.0", "expo-linear-gradient": "~12.3.0", @@ -169,9 +168,9 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.22.9", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.9.tgz", - "integrity": "sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ==", + "version": "7.22.11", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.11.tgz", + "integrity": "sha512-y1grdYL4WzmUDBRGK0pDbIoFd7UZKoDurDzWEoNMYoj1EL+foGRQNyPWDcC+YyegN5y1DUsFFmzjGijB3nSVAQ==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-environment-visitor": "^7.22.5", @@ -513,15 +512,15 @@ } }, "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.22.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.22.7.tgz", - "integrity": "sha512-omXqPF7Onq4Bb7wHxXjM3jSMSJvUUbvDvmmds7KI5n9Cq6Ln5I05I1W2nRlRof1rGdiUxJrxwe285WF96XlBXQ==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.22.10.tgz", + "integrity": "sha512-KxN6TqZzcFi4uD3UifqXElBTBNLAEH1l3vzMQj6JwJZbL2sZlThxSViOKCYY+4Ah4V4JhQ95IVB7s/Y6SJSlMQ==", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.6", + "@babel/helper-create-class-features-plugin": "^7.22.10", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/plugin-syntax-decorators": "^7.22.5" + "@babel/plugin-syntax-decorators": "^7.22.10" }, "engines": { "node": ">=6.9.0" @@ -702,9 +701,9 @@ } }, "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.5.tgz", - "integrity": "sha512-avpUOBS7IU6al8MmF1XpAyj9QYeLPuSDJI5D4pVMSMdL7xQokKqJPYQC67RCT0aCTashUXPiGwMJ0DEXXCEmMA==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.22.10.tgz", + "integrity": "sha512-z1KTVemBjnz+kSEilAsI4lbkPOl5TvJH7YDSY1CTIzvLWJ+KHXp+mRe8VPmfnyvqOPqar1V2gid2PleKzRUstQ==", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -6986,9 +6985,9 @@ } }, "node_modules/babel-preset-expo": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-9.5.0.tgz", - "integrity": "sha512-c5YPPro5g0rVf6WtednbCdRPFkZ+VT43/DhQQNh8rRubDxvKHT1bq0EUG0cgm5M61hXjTwgLJn9YzxX1TeBm/g==", + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-9.5.2.tgz", + "integrity": "sha512-hU1G1TDiikuXV6UDZjPnX+WdbjbtidDiYhftMEVrZQSst45pDPVBWbM41TUKrpJMwv4FypsLzK+378gnMPRVWQ==", "dependencies": { "@babel/plugin-proposal-decorators": "^7.12.9", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", @@ -6997,7 +6996,7 @@ "@babel/preset-env": "^7.20.0", "babel-plugin-module-resolver": "^5.0.0", "babel-plugin-react-native-web": "~0.18.10", - "metro-react-native-babel-preset": "0.76.5" + "metro-react-native-babel-preset": "0.76.8" } }, "node_modules/babel-preset-fbjs": { @@ -8843,24 +8842,24 @@ } }, "node_modules/expo": { - "version": "49.0.4", - "resolved": "https://registry.npmjs.org/expo/-/expo-49.0.4.tgz", - "integrity": "sha512-52FUpEYDLL8G+pFjR8H7a2W6XgjX9RlBF36bFMyrfHdwxURu/pMR/C2SBSDQZRao43+urL8soX8c7iwtPN696A==", + "version": "49.0.8", + "resolved": "https://registry.npmjs.org/expo/-/expo-49.0.8.tgz", + "integrity": "sha512-lkTRwMvJP8j7KAHJB+aZqI9dH1hw7j2QE1X9Okpcf+t0deGqH36XqkjUCcU6KYgCOjSnt8fvRm89TJR5Oq0ElA==", "dependencies": { "@babel/runtime": "^7.20.0", "@expo/cli": "0.10.11", "@expo/config": "8.1.2", "@expo/config-plugins": "7.2.5", "@expo/vector-icons": "^13.0.0", - "babel-preset-expo": "~9.5.0", + "babel-preset-expo": "~9.5.2", "expo-application": "~5.3.0", "expo-asset": "~8.10.1", "expo-constants": "~14.4.2", - "expo-file-system": "~15.4.2", + "expo-file-system": "~15.4.3", "expo-font": "~11.4.0", "expo-keep-awake": "~12.3.0", - "expo-modules-autolinking": "1.5.0", - "expo-modules-core": "1.5.7", + "expo-modules-autolinking": "1.5.1", + "expo-modules-core": "1.5.10", "fbemitter": "^3.0.0", "invariant": "^2.2.4", "md5-file": "^3.2.3", @@ -8894,14 +8893,6 @@ "url-parse": "^1.5.9" } }, - "node_modules/expo-av": { - "version": "13.4.1", - "resolved": "https://registry.npmjs.org/expo-av/-/expo-av-13.4.1.tgz", - "integrity": "sha512-0K8QEFzZeNGrppzYUs8wOtjOyPPkxzlVYbEHM6WzIQOG1uYYNOJkJB3aQHVFXHmz+AzoHwMrUjcschofwaMNeg==", - "peerDependencies": { - "expo": "*" - } - }, "node_modules/expo-constants": { "version": "14.4.2", "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-14.4.2.tgz", @@ -8920,9 +8911,9 @@ "integrity": "sha512-FSPy0ThcJBvzEzOZVhpOrYyHgQ8U1jJ4v7u7tr1x0KOVRqyf25APEQZFxxRPn3zAYW0tQ+uDTCbrwNymFqhQfw==" }, "node_modules/expo-file-system": { - "version": "15.4.2", - "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-15.4.2.tgz", - "integrity": "sha512-WFaEWuFEuUpETiq85YlhKYJgedccWTjtCMnYGAgyNfCfvnIgfMCVH7dWudGuxhfAcTZqh36OcqtSckbtbhOtyg==", + "version": "15.4.3", + "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-15.4.3.tgz", + "integrity": "sha512-HaaCBTUATs2+i7T4jxIvoU9rViAHMvOD2eBaJ1H7xPHlwZlMORjQs7bsNKonR/TQoduxZBJLVZGawvaAJNCH8g==", "dependencies": { "uuid": "^3.4.0" }, @@ -8997,9 +8988,9 @@ } }, "node_modules/expo-modules-autolinking": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-1.5.0.tgz", - "integrity": "sha512-i9zll5xNYh0/sjaa6hpZlTHodKEu2tMEFsJJYsfBMTt8G9J8gGhalOydrX/Ql1E8bQ4GxnLAqrM7duR0Tj2VTQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-1.5.1.tgz", + "integrity": "sha512-yt5a1VCp2BF9CrsO689PCD5oXKP14MMhnOanQMvDn4BDpURYfzAlDVGC5fZrNQKtwn/eq3bcrxIwZ7D9QjVVRg==", "dependencies": { "@expo/config": "~8.1.0", "chalk": "^4.1.0", @@ -9110,9 +9101,9 @@ } }, "node_modules/expo-modules-core": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-1.5.7.tgz", - "integrity": "sha512-qdSP/yExeDya2lySJEhP+1DRSyayZ6IlXAT0hA3wao1AUtoz09yM257TUMS05ASihopQhLn520Q6yAwrezDsxA==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-1.5.10.tgz", + "integrity": "sha512-+m+poHkhjAhRZmngSLUpJJoxhjoExYKSr4J5luy4N+YMlowK31Zewztg4xsPrNRoPvGK/B5uCm0UEzIQvLsNGg==", "dependencies": { "compare-versions": "^3.4.0", "invariant": "^2.2.4" @@ -12079,9 +12070,9 @@ } }, "node_modules/metro-react-native-babel-preset": { - "version": "0.76.5", - "resolved": "https://registry.npmjs.org/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.76.5.tgz", - "integrity": "sha512-IlVKeTon5fef77rQ6WreSmrabmbc3dEsLwr/sL80fYjobjsD8FRCnOlbaJdgUf2SMJmSIoawgjh5Yeebv+gJzg==", + "version": "0.76.8", + "resolved": "https://registry.npmjs.org/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.76.8.tgz", + "integrity": "sha512-Ptza08GgqzxEdK8apYsjTx2S8WDUlS2ilBlu9DR1CUcHmg4g3kOkFylZroogVAUKtpYQNYwAvdsjmrSdDNtiAg==", "dependencies": { "@babel/core": "^7.20.0", "@babel/plugin-proposal-async-generator-functions": "^7.0.0", diff --git a/package.json b/package.json index 20d27db..235d97d 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@react-native-community/slider": "4.4.2", "axios": "^1.4.0", "eslint-plugin-react-hooks": "^4.6.0", - "expo": "^49.0.4", + "expo": "~49.0.6", "expo-constants": "~14.4.2", "expo-font": "~11.4.0", "expo-linear-gradient": "~12.3.0", @@ -34,8 +34,7 @@ "react-native-reanimated": "~3.3.0", "react-native-safe-area-context": "4.6.3", "react-native-screens": "~3.22.0", - "react-native-web": "~0.19.6", - "expo-av": "~13.4.1" + "react-native-web": "~0.19.6" }, "peerDependencies": { "react": ">=16.8.0",