connectivity_wrapper
connectivity_wrapper copied to clipboard
App works Perfectly fine with Wi-Fi though doesn't work with Mobile Data
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.
I'm having the same issue, did you fix it or what is a better alternative if you have used one?
Exactly the same problem here. Any news about this? Or any alternative way to work around the problem?
I have updated the plugin. Please check @thiagotalma @Mu7ammadRasul. If you are still facing the issue do let me know.
connectivity_wrapper: ^1.1.2