From a87b490305e08db67b4e6703187d276d382afc25 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 23 Jul 2025 11:48:58 -0500 Subject: [PATCH] Slice bundle hash to match other platforms, needed for render.com deployments --- src/env.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/env.ts b/src/env.ts index fc3cbed1db..86a6cab04d 100644 --- a/src/env.ts +++ b/src/env.ts @@ -22,12 +22,12 @@ export const IS_DEV = __DEV__ export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT /** - * 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. + * The _short_ 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: string = - process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER || 'dev' + process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER?.slice(0, 7) || 'dev' /** * This will always be in the format of YYMMDD, so that it always increases for