I'm new here. I built a simple app that sends some data to server and as well receives the response.
The app is working fine on devices up to android N. But not working on O and P. Seems like the issue is with the internet permission. I have checked and the app is not sending any data to server while it is running on o and p. Please let me know if i need to seek any specific permission for internet access.
I have added this in manifest
<uses-permission android:name="android.permission.INTERNET" />
Any help would be appreciated.
If your URL start's with http
then you have to use it is used in Android Pie i.e API level 28
android:usesCleartextTraffic="true"
in your manifest inside application tag as an attribute
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With