connectivity_wrapper icon indicating copy to clipboard operation
connectivity_wrapper copied to clipboard

App works Perfectly fine with Wi-Fi though doesn't work with Mobile Data

Open Aruljebaraj opened this issue 2 years ago • 4 comments

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.

Aruljebaraj avatar Nov 28 '22 05:11 Aruljebaraj

I'm having the same issue, did you fix it or what is a better alternative if you have used one?

Mu7ammadRasul avatar Jan 20 '23 11:01 Mu7ammadRasul

Exactly the same problem here. Any news about this? Or any alternative way to work around the problem?

thiagotalma avatar Mar 17 '23 13:03 thiagotalma

I have updated the plugin. Please check @thiagotalma @Mu7ammadRasul. If you are still facing the issue do let me know.

ProjectAJ14 avatar Apr 05 '23 12:04 ProjectAJ14

connectivity_wrapper: ^1.1.2

ProjectAJ14 avatar Apr 05 '23 12:04 ProjectAJ14