If network is not connected, SDK will send data again when the network is connected.
The above process is done inside SDK, so it is not necessary to do it inside the app.
*SDK re-send data while an application is running.
*When you close the application, SDK will send data the next time you open the app.
*SDK will not send data in the background but will do it in the foreground.