We've been facing an issue with our apple application. Your help on the same is much appreciated.
Our application is built to work with Online and Offline mode.
Mode is identified based on the network connectivity, we're using connectivity_wrapper(flutter) library to identify if network is present which would help the app to identify if internet is present.
if (await ConnectivityWrapper.instance.isConnected) {
offlineMode(false);
} else {
offlineMode(true);
}
The application is working perfectly fine and as expected.
However, in some cases the application is not able to access to mobile data. Interestingly, on the same devices the app is able to identify the network if the user is connected via wifi. Only mobile data would not work.
We've verified the permission for the application - it does have permission to access network and mobile data.
Following is already added to info.plist:
https://drive.google.com/drive/folders/1iOEj1CrRoILDh5ux4CbFVPjdeoSOHJqB?usp=sharing
The mobile data is definitely working as other applications like whatsapp, facebook etc. are working.