diff --git a/src/Expensify.tsx b/src/Expensify.tsx index f9fd379d94ce..76f2b6ec19a8 100644 --- a/src/Expensify.tsx +++ b/src/Expensify.tsx @@ -1,7 +1,7 @@ import {Audio} from 'expo-av'; import React, {useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState} from 'react'; import type {NativeEventSubscription} from 'react-native'; -import {AppState, Linking, NativeModules} from 'react-native'; +import {AppState, Linking, NativeModules, Platform} from 'react-native'; import type {OnyxEntry} from 'react-native-onyx'; import Onyx, {useOnyx, withOnyx} from 'react-native-onyx'; import ConfirmModal from './components/ConfirmModal'; @@ -13,6 +13,7 @@ import RequireTwoFactorAuthenticationModal from './components/RequireTwoFactorAu import AppleAuthWrapper from './components/SignInButtons/AppleAuthWrapper'; import SplashScreenHider from './components/SplashScreenHider'; import UpdateAppModal from './components/UpdateAppModal'; +import * as CONFIG from './CONFIG'; import CONST from './CONST'; import useLocalize from './hooks/useLocalize'; import * as EmojiPickerAction from './libs/actions/EmojiPickerAction'; @@ -169,6 +170,11 @@ function Expensify({ return unsubscribeNetInfo; }, []); + // Log the platform and config to debug .env issues + useEffect(() => { + Log.info('App launched', false, {Platform, CONFIG}); + }, []); + useEffect(() => { setTimeout(() => { BootSplash.getVisibilityStatus().then((status) => {