Newer versions of Android restrict http requests
kerber opened this issue · 0 comments
kerber commented
Problem
All interactions with GameFrame result in "Operation Failed" message. In reviewing the logs, I'm seeing the exception:
java.net.UnknownServiceException: CLEARTEXT communication to 192.168.1.119 not permitted by network security policy
In my understanding, this is likely caused by Android recently changing the default security policy. If that's the case, it should be possible to override the new default in the AndroidManifest. I've dabbled with the code locally, but am yet to get my environment correct to build a usable app.
Ref: https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted