Open bilck opened 2 years ago
Hello @bilck, can I ask you whether you have Internet Access set to Require under Player Settings > Other Settings? Also, could you please post the parts of your manifest in which you specify the permissions? Please remove any personal/sensitive info from those parts :)
Thanks!
It worked after I replace network_security_config.xml to this:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:android="http://schemas.android.com/apk/res/android">
<base-config cleartextTrafficPermitted="true"></base-config>
</network-security-config>
having the same issue, i tried network_security_config.xml and the manifest but still no luck. please help
I'm having issues using the monitoring app, I'm getting the following error:
java.io.IOException: Cleartext HTTP traffic to localhost not permitted
I have already added
android:usesCleartextTraffic="true"
to the main AndroidManifest.xml file. I have also addedandroid:networkSecurityConfig="@xml/network_security_config"
to it.Assets/Plugins/Android/res/xml/network_security_config.xml file content is:
What am I doing wrong? Even though I performed all these steps, I still get the following error: