Hi,
I am integrating in my React Native app the feature of adding in a queue the requests to the server that are made when there is no Internet connection.
I detect correctly when there is connection and when not, using the NetInfo component. I save the result in the store with a Redux Persist action/reducer. And, depending on the result, I show, or not, the offline notification. All right.
But when I unplug the Wi-Fi, with or without mobile data, actions I dispatch are not executed. Is it normal in development mode since it must be in the same network?; or, ¿once the app is launched, should the disconnections of the network not affect its operation?
Open my mind, please. I’m trapped.
Regards bro,