diff options
Diffstat (limited to 'src/env/index.web.ts')
-rw-r--r-- | src/env/index.web.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/env/index.web.ts b/src/env/index.web.ts new file mode 100644 index 000000000..66087749b --- /dev/null +++ b/src/env/index.web.ts @@ -0,0 +1,15 @@ +import {BUNDLE_IDENTIFIER, RELEASE_VERSION} from '#/env/common' + +export * from '#/env/common' + +/** + * The semver version of the app, specified in our `package.json`.file. On + * iOs/Android, the native build version is appended to the semver version, so + * that it can be used to identify a specific build. + */ +export const APP_VERSION = RELEASE_VERSION + +/** + * The short commit hash and environment of the current bundle. + */ +export const APP_METADATA = `${BUNDLE_IDENTIFIER.slice(0, 7)} (${__DEV__ ? 'dev' : 'prod'})` |