diff --git a/app/package-lock.json b/app/package-lock.json index ad4f1af..5b9f7a3 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -12,6 +12,7 @@ "@react-native-async-storage/async-storage": "2.2.0", "@react-native-community/netinfo": "12.0.1", "expo": "~57.0.11", + "expo-application": "~57.0.2", "expo-constants": "~57.0.9", "expo-crypto": "~57.0.1", "expo-device": "~57.0.1", @@ -43,6 +44,9 @@ "eslint": "^9.0.0", "eslint-config-expo": "~57.0.1", "typescript": "~6.0.3" + }, + "engines": { + "node": "22.x" } }, "node_modules/@adobe/css-tools": { @@ -5838,6 +5842,15 @@ } } }, + "node_modules/expo-application": { + "version": "57.0.2", + "resolved": "https://registry.npmjs.org/expo-application/-/expo-application-57.0.2.tgz", + "integrity": "sha512-q31YwcXyymviAmdrtDfAg3Dld4VMxLCNAfgMHip7vZpPX4lzF/AfwsywqBJUAjQnJknzaNAkzqvMVjO5XmKYDA==", + "license": "MIT", + "peerDependencies": { + "expo": "*" + } + }, "node_modules/expo-asset": { "version": "57.0.9", "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-57.0.9.tgz", diff --git a/app/package.json b/app/package.json index 29392cc..fdf0b72 100644 --- a/app/package.json +++ b/app/package.json @@ -7,6 +7,7 @@ "@react-native-async-storage/async-storage": "2.2.0", "@react-native-community/netinfo": "12.0.1", "expo": "~57.0.11", + "expo-application": "~57.0.2", "expo-constants": "~57.0.9", "expo-crypto": "~57.0.1", "expo-device": "~57.0.1", diff --git a/app/src/app/settings.tsx b/app/src/app/settings.tsx index 092bd05..a1391cd 100644 --- a/app/src/app/settings.tsx +++ b/app/src/app/settings.tsx @@ -1,3 +1,4 @@ +import * as Application from "expo-application"; import { useRouter } from "expo-router"; import { useEffect, useState } from "react"; import { ScrollView, Text } from "react-native"; @@ -44,6 +45,10 @@ export default function Settings() { />