Settings shows the installed build version (CI-stamped versionName) — confirms which release Obtainium delivered
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
13
app/package-lock.json
generated
13
app/package-lock.json
generated
@@ -12,6 +12,7 @@
|
|||||||
"@react-native-async-storage/async-storage": "2.2.0",
|
"@react-native-async-storage/async-storage": "2.2.0",
|
||||||
"@react-native-community/netinfo": "12.0.1",
|
"@react-native-community/netinfo": "12.0.1",
|
||||||
"expo": "~57.0.11",
|
"expo": "~57.0.11",
|
||||||
|
"expo-application": "~57.0.2",
|
||||||
"expo-constants": "~57.0.9",
|
"expo-constants": "~57.0.9",
|
||||||
"expo-crypto": "~57.0.1",
|
"expo-crypto": "~57.0.1",
|
||||||
"expo-device": "~57.0.1",
|
"expo-device": "~57.0.1",
|
||||||
@@ -43,6 +44,9 @@
|
|||||||
"eslint": "^9.0.0",
|
"eslint": "^9.0.0",
|
||||||
"eslint-config-expo": "~57.0.1",
|
"eslint-config-expo": "~57.0.1",
|
||||||
"typescript": "~6.0.3"
|
"typescript": "~6.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "22.x"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@adobe/css-tools": {
|
"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": {
|
"node_modules/expo-asset": {
|
||||||
"version": "57.0.9",
|
"version": "57.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-57.0.9.tgz",
|
"resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-57.0.9.tgz",
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"@react-native-async-storage/async-storage": "2.2.0",
|
"@react-native-async-storage/async-storage": "2.2.0",
|
||||||
"@react-native-community/netinfo": "12.0.1",
|
"@react-native-community/netinfo": "12.0.1",
|
||||||
"expo": "~57.0.11",
|
"expo": "~57.0.11",
|
||||||
|
"expo-application": "~57.0.2",
|
||||||
"expo-constants": "~57.0.9",
|
"expo-constants": "~57.0.9",
|
||||||
"expo-crypto": "~57.0.1",
|
"expo-crypto": "~57.0.1",
|
||||||
"expo-device": "~57.0.1",
|
"expo-device": "~57.0.1",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import * as Application from "expo-application";
|
||||||
import { useRouter } from "expo-router";
|
import { useRouter } from "expo-router";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { ScrollView, Text } from "react-native";
|
import { ScrollView, Text } from "react-native";
|
||||||
@@ -44,6 +45,10 @@ export default function Settings() {
|
|||||||
/>
|
/>
|
||||||
<Button title="Save & test" onPress={save} />
|
<Button title="Save & test" onPress={save} />
|
||||||
{status && <Text style={{ color: C.danger }}>{status}</Text>}
|
{status && <Text style={{ color: C.danger }}>{status}</Text>}
|
||||||
|
{/* CI stamps versionName from the release tag — confirms which build Obtainium installed. */}
|
||||||
|
<Text style={{ color: C.muted, fontSize: 13, textAlign: "center", marginTop: 32 }}>
|
||||||
|
GTD v{Application.nativeApplicationVersion ?? "dev"}
|
||||||
|
</Text>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user