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
Possible Unhandled Promise Rejection (id: 0):
SyntaxError: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
The plugin works perfectly otherwise, and I have confirmed that my networkSaga and network reducer are configured correctly. (I can see the network state from Redux's @@INIT action onward. I have also tried using my own private ping server with no difference.
FYI - I didn't set up the network middleware as I am not looking to preserve the state when a user goes offline. Instead, I have another saga that tracks offlineActionTypes.CONNECTION_CHANGE and navigates to my offline screen if the payload changes to false, or back to my main screen if it changes to true.
software
version
react-native-offline
6.0.2
react-native
0.63.2
node
14.19.1
npm or yarn
yarn (1.22.19)
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Current Behavior
I get this warning after every
pingInterval
call.The plugin works perfectly otherwise, and I have confirmed that my
networkSaga
andnetwork
reducer are configured correctly. (I can see the network state from Redux's@@INIT
action onward. I have also tried using my own private ping server with no difference.FYI - I didn't set up the network middleware as I am not looking to preserve the state when a user goes offline. Instead, I have another saga that tracks
offlineActionTypes.CONNECTION_CHANGE
and navigates to my offline screen if the payload changes to false, or back to my main screen if it changes to true.Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: