about summary refs log tree commit diff
path: root/src/lib/app-info.ts
diff options
context:
space:
mode:
authorJaz Volpert <ericvolp12@gmail.com>2025-07-30 17:40:42 +0000
committerJaz Volpert <ericvolp12@gmail.com>2025-07-30 17:40:42 +0000
commit13499de325314804d2564c70f0392191d15f0680 (patch)
treef73c691d15ddc90663accf1cb0b6f50084b15770 /src/lib/app-info.ts
parent2d23d821d395dd81691f7a1590800e122b59e3c6 (diff)
parentd4b23d3ab4e8448321fecc7bd46b6531ada80348 (diff)
downloadvoidsky-13499de325314804d2564c70f0392191d15f0680.tar.zst
Merge branch 'main' into go-124
Diffstat (limited to 'src/lib/app-info.ts')
-rw-r--r--src/lib/app-info.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/app-info.ts b/src/lib/app-info.ts
deleted file mode 100644
index 0749087ea..000000000
--- a/src/lib/app-info.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application'
-
-export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'
-export const IS_INTERNAL = __DEV__ || IS_TESTFLIGHT
-
-// This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings
-// along with the other version info. Useful for debugging/reporting.
-export const BUNDLE_IDENTIFIER = process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER ?? ''
-
-// This will always be in the format of YYMMDD, so that it always increases for each build. This should only be used
-// for Statsig reporting and shouldn't be used to identify a specific bundle.
-export const BUNDLE_DATE =
-  IS_TESTFLIGHT || __DEV__ ? 0 : Number(process.env.EXPO_PUBLIC_BUNDLE_DATE)
-
-export const appVersion = `${nativeApplicationVersion}.${nativeBuildVersion}`
-export const bundleInfo = `${BUNDLE_IDENTIFIER} (${
-  __DEV__ ? 'dev' : IS_TESTFLIGHT ? 'tf' : 'prod'
-})`