my fork of the bluesky client
at main 20 lines 909 B view raw
1import {version} from '../../package.json' 2 3export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV 4export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development' 5export const IS_TESTFLIGHT = false 6export const IS_INTERNAL = IS_DEV 7 8// This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings 9// along with the other version info. Useful for debugging/reporting. 10export const BUNDLE_IDENTIFIER = 11 process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER ?? 'dev' 12 13// This will always be in the format of YYMMDD, so that it always increases for each build. This should only be used 14// for Statsig reporting and shouldn't be used to identify a specific bundle. 15export const BUNDLE_DATE = IS_DEV 16 ? 0 17 : Number(process.env.EXPO_PUBLIC_BUNDLE_DATE) 18 19export const appVersion = version 20export const bundleInfo = `${BUNDLE_IDENTIFIER} (${IS_DEV ? 'dev' : 'prod'})`