Better dist strings for Sentry (#3584)

* better version codes for sentry

* use a `.` to follow the same intended format as before

* ignore dist build number
This commit is contained in:
Hailey 2024-04-16 14:38:25 -07:00 committed by GitHub
parent 046e11de31
commit 69d3768006
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 18 deletions

View file

@ -1,5 +1,6 @@
import {nativeApplicationVersion, nativeBuildVersion} from 'expo-application'
export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV
export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development'
export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'