Commit 78c84c82 authored by fallenstardust's avatar fallenstardust

fix Android Pie doesnot permit http URL

parent f25c0336
......@@ -33,6 +33,7 @@
android:largeHeap="true"
android:supportsRtl="false"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config"
tools:replace="android:allowBackup,android:supportsRtl">
<activity
android:name="cn.garymb.ygomobile.ui.activities.LogoActivity"
......@@ -202,5 +203,4 @@
android:value="${PGYER_APPID}" >
</meta-data>
</application>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">www.pgyer.com</domain>
</domain-config>
</network-security-config>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment