Skip to content

Commit

Permalink
#41 Fixed android 9.0+ not allowing clear http request by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MewX committed Nov 3, 2018
1 parent 8dfd8b6 commit 33c43f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<application
android:name="org.mewx.wenku8.MyApp"
android:allowBackup="true"
android:networkSecurityConfig="@xml/network_security_config"
android:label="@string/app_name"
tools:replace="android:label"
android:description="@string/app_description"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">wenku8.com</domain>
<domain includeSubdomains="true">wkcdn.com</domain>
</domain-config>
</network-security-config>

0 comments on commit 33c43f7

Please sign in to comment.