My android app doesn't work with 3g, only works with WiFi

I have an Android app for web service related news. It only works on WiFi, when I use 4G or 3G the app "unfortunately stops"!

I have searched but found no clues.

<!-- Internet -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Internet -->

      

+3


source to share


1 answer


I think it might be because of the DNS data for the domain name you have to connect to, so when the device switched to 3g or 4g that operator was unable to connect correctly.



check this one for more details and please add your console logs which will help a lot.

0


source







All Articles