forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1import {nativeBuildVersion} from 'expo-application'
2
3import {BUNDLE_IDENTIFIER, IS_TESTFLIGHT, RELEASE_VERSION} from '#/env/common'
4
5export * from '#/env/common'
6
7/**
8 * The semver version of the app, specified in our `package.json`.file. On
9 * iOs/Android, the native build version is appended to the semver version, so
10 * that it can be used to identify a specific build.
11 */
12export const APP_VERSION = `${RELEASE_VERSION}.${nativeBuildVersion}`
13
14/**
15 * The short commit hash and environment of the current bundle.
16 */
17export const APP_METADATA = `${BUNDLE_IDENTIFIER.slice(0, 7)} (${
18 __DEV__ ? 'dev' : IS_TESTFLIGHT ? 'tf' : 'prod'
19})`