I have created an offline app in MDK. I have added a button to sync to the backend. I wanted to know if there is any way to detect, if the device is connected to a network so that it automatically sync. instead of clicking on the sync button.
Thank You