Problems requesting a web service on Android 9 or higher

Hi everyone, I have a web API that work very well on Android 8 or lower, but when run the App on Android 9 or higher the request fails and the message is “Network request failed”

Can everyone help me please?
Is there something is missing for Android 9 or higher?

Regards.

1 Like

This is due to security and privacy continuous update preventing cross server data transfers. You will find APIs that work on Android 9 but not 10 and so on.

Thank for helping, but I’ve already found the trouble. The API must have a certificate, in other words, the URL must begin https:// instead http://.

This certificate is important to run the App on Android 9 or higher.

Regards.

1 Like