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
I called this in a js file on global scope. It works fine initially but if the app stays in the background for too long, it will stop working even after the app resumes (not restarts, app was still in the background).
Tested on Samsung Android 8.0.
The text was updated successfully, but these errors were encountered:
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.
The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.
Hi @rickhanlonii, thanks for the clarification.
It is not stated on the docs that the API call should be inside a React component. You might want to add that to the docs?
Environment
Description
I called this in a js file on global scope. It works fine initially but if the app stays in the background for too long, it will stop working even after the app resumes (not restarts, app was still in the background).
Tested on Samsung Android 8.0.
The text was updated successfully, but these errors were encountered: