05-30-2020 05:10 AM
"The
app has not enabled Android
N's Network Security Configuration
feature, which forces the use of encryption (HTTPS) for all of the
app's connections. The feature will block most cleartext HTTP traffic
initiated by the app, which helps ensure that all data to and from
the app has a base level of protection at all times."
After some research, here is the solution I've found:
(1) Create
the file Assets/Plugins/Android/res/xml/ Assets/Plugins/Android/res/xml/network_security_config.xml
Put
in the file:
<?xml
version="1.0"
encoding="utf-8"?>
<network-security-config>
<base-config
cleartextTrafficPermitted="false">
</base-config>
</network-security-config>
android:networkSecurityConfig="@xml/network_sec_config"
<application android:networkSecurityConfig="@xml/network_security_config" android:allowBackup="false">
05-14-2021 06:08 AM
create the file where Assets/Plugins doesn't exist in unreal?