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.
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.