From 91f820254905231c37f1496b2bcd3ae63a935e81 Mon Sep 17 00:00:00 2001 From: Hailey Date: Sat, 4 May 2024 16:45:59 -0700 Subject: [PATCH] fix typo in `app-info` (#3863) --- src/lib/app-info.ts | 3 ++- src/lib/app-info.web.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/app-info.ts b/src/lib/app-info.ts index 47c57d17..00b0d7ec 100644 --- a/src/lib/app-info.ts +++ b/src/lib/app-info.ts @@ -6,7 +6,8 @@ export const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight' // This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings // along with the other version info. Useful for debugging/reporting. -export const BUNDLE_IDENTIFIER = process.env.EXPO_PUBLIC_COMMIT_HASH ?? 'dev' +export const BUNDLE_IDENTIFIER = + process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER ?? 'dev' // This will always be in the format of YYMMDD, so that it always increases for each build. This should only be used // for Statsig reporting and shouldn't be used to identify a specific bundle. diff --git a/src/lib/app-info.web.ts b/src/lib/app-info.web.ts index 9a83953c..fe2bc5ff 100644 --- a/src/lib/app-info.web.ts +++ b/src/lib/app-info.web.ts @@ -4,7 +4,8 @@ export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development' // This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings // along with the other version info. Useful for debugging/reporting. -export const BUNDLE_IDENTIFIER = process.env.EXPO_PUBLIC_COMMIT_HASH ?? 'dev' +export const BUNDLE_IDENTIFIER = + process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER ?? 'dev' // This will always be in the format of YYMMDD, so that it always increases for each build. This should only be used // for Statsig reporting and shouldn't be used to identify a specific bundle.