You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic was on every screen, because when trying to put this in App.tsx (c6a3605) or navigation/index.tsx (5619f8a) to avoid code duplication then whenever the internet was back, the user was redirected to the starting screen of the app. We want: when the internet is back, to be back on the screen where the user ended.
The other solution causes several popups (1693c04), but it is as we wanted to return the user to the same screen.
Currently, the final solution is to use Alert in App.tsx, whereas No Internet View on each screen (9e59911).
The logic was on every
screen
, because when trying to put this inApp.tsx
(c6a3605) ornavigation/index.tsx
(5619f8a) to avoid code duplication then whenever the internet was back, the user was redirected to the startingscreen
of the app. We want: when the internet is back, to be back on the screen where the user ended.The other solution causes several popups (1693c04), but it is as we wanted to return the user to the same screen.
Currently, the final solution is to use
Alert
inApp.tsx
, whereasNo Internet View
on each screen (9e59911).Hopefully, someone will update here: https://stackoverflow.com/a/73080730/11127383
The text was updated successfully, but these errors were encountered: