about summary refs log tree commit diff
path: root/src/lib/app-info.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/app-info.ts')
-rw-r--r--src/lib/app-info.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/app-info.ts b/src/lib/app-info.ts
index 3071e031b..83406bf2e 100644
--- a/src/lib/app-info.ts
+++ b/src/lib/app-info.ts
@@ -1,9 +1,9 @@
-import VersionNumber from 'react-native-version-number'
+import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application'
 
 export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development'
 export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'
 
 const UPDATES_CHANNEL = IS_TESTFLIGHT ? 'testflight' : 'production'
-export const appVersion = `${VersionNumber.appVersion} (${
-  VersionNumber.buildVersion
-}, ${IS_DEV ? 'development' : UPDATES_CHANNEL})`
+export const appVersion = `${nativeApplicationVersion} (${nativeBuildVersion}, ${
+  IS_DEV ? 'development' : UPDATES_CHANNEL
+})`