Commit 78c84c82 authored by fallenstardust's avatar fallenstardust

fix Android Pie doesnot permit http URL

parent f25c0336
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
android:largeHeap="true" android:largeHeap="true"
android:supportsRtl="false" android:supportsRtl="false"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config"
tools:replace="android:allowBackup,android:supportsRtl"> tools:replace="android:allowBackup,android:supportsRtl">
<activity <activity
android:name="cn.garymb.ygomobile.ui.activities.LogoActivity" android:name="cn.garymb.ygomobile.ui.activities.LogoActivity"
...@@ -202,5 +203,4 @@ ...@@ -202,5 +203,4 @@
android:value="${PGYER_APPID}" > android:value="${PGYER_APPID}" >
</meta-data> </meta-data>
</application> </application>
</manifest> </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