show app version from expo config on help page; bump to 1.0.6
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
"expo": {
|
||||
"name": "etfoglasi",
|
||||
"slug": "etfoglasi",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.6",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/icon.png",
|
||||
"scheme": "etfoglasi",
|
||||
|
||||
@@ -5,11 +5,14 @@ import {
|
||||
} from "react-native";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import { Ionicons } from "@expo/vector-icons";
|
||||
import Constants from "expo-constants";
|
||||
|
||||
const CONTACT_EMAIL = "contact@ksan.dev";
|
||||
//TODO make github page because yea
|
||||
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 }) {
|
||||
const dark = useColorScheme() === "dark";
|
||||
|
||||
Reference in New Issue
Block a user