show app version from expo config on help page; bump to 1.0.6

This commit is contained in:
2026-07-30 16:34:07 +02:00
parent 45e57181a9
commit 8007607e16
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"expo": { "expo": {
"name": "etfoglasi", "name": "etfoglasi",
"slug": "etfoglasi", "slug": "etfoglasi",
"version": "1.0.0", "version": "1.0.6",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/images/icon.png", "icon": "./assets/images/icon.png",
"scheme": "etfoglasi", "scheme": "etfoglasi",
+4 -1
View File
@@ -5,11 +5,14 @@ import {
} from "react-native"; } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context"; import { SafeAreaView } from "react-native-safe-area-context";
import { Ionicons } from "@expo/vector-icons"; import { Ionicons } from "@expo/vector-icons";
import Constants from "expo-constants";
const CONTACT_EMAIL = "contact@ksan.dev"; const CONTACT_EMAIL = "contact@ksan.dev";
//TODO make github page because yea //TODO make github page because yea
const GITHUB_URL = "https://git.ksan.dev/ksan"; const GITHUB_URL = "https://git.ksan.dev/ksan";
const APP_VERSION = "1.0.0"; // Sourced from app.json's expo.version, which CI stamps on every mobile
// release (scripts/set-mobile-version.js), so this stays in sync automatically.
const APP_VERSION = Constants.expoConfig?.version ?? "unknown";
export default function HelpSupport({ onClose }: { onClose: () => void }) { export default function HelpSupport({ onClose }: { onClose: () => void }) {
const dark = useColorScheme() === "dark"; const dark = useColorScheme() === "dark";