diff --git a/expo/config/prod/app.config.js b/expo/config/prod/app.config.js index 6f87635..f42af45 100644 --- a/expo/config/prod/app.config.js +++ b/expo/config/prod/app.config.js @@ -17,7 +17,7 @@ module.exports = (config) => { // those id can be easily found in the URL in the browser in development buildsecrets.json config.extra.hpapp.firebaseIOSClientID = '265427540400-um42nfj6a2d2i59u7j01pmgpijmqk1oc.apps.googleusercontent.com'; config.extra.hpapp.firebaseAndroidClientID = - '265427540400-k0bpqfj2fph4vf2sspqd5a85te6lh151.apps.googleusercontent.com'; + '265427540400-e5jjgjmvm0ar0cnqn20lf27ncpj68jst.apps.googleusercontent.com'; config.updates.url = 'https://u.expo.dev/a76e7e46-e508-43cf-93a8-1ae32871d4f7'; return config; }; diff --git a/expo/features/app/internals/AppUpdateBanner.tsx b/expo/features/app/internals/AppUpdateBanner.tsx index bf4ebba..5b0bec9 100644 --- a/expo/features/app/internals/AppUpdateBanner.tsx +++ b/expo/features/app/internals/AppUpdateBanner.tsx @@ -5,7 +5,7 @@ import { t } from '@hpapp/system/i18n'; import Constants from 'expo-constants'; import * as Updates from 'expo-updates'; import { useState, useEffect } from 'react'; -import { AppState, AppStateStatus, TouchableOpacity, StyleSheet, View, Dimensions } from 'react-native'; +import { Alert, AppState, AppStateStatus, TouchableOpacity, StyleSheet, View, Dimensions } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import * as logging from 'system/logging'; @@ -89,10 +89,12 @@ export default function AppUpdateBanner() { isUpdating: true }); try { + Alert.alert('fetchUpdateAsync'); await Updates.fetchUpdateAsync(); + Alert.alert('reloadAsync'); await Updates.reloadAsync(); } catch (e) { - alert(e?.toString() ?? 'Unknown error occurrs'); + Alert.alert(e?.toString() ?? 'Unknown error occurrs'); setState({ ...state, isUpdating: false