We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2717d commit 255fdd1Copy full SHA for 255fdd1
android/src/main/AndroidManifest.xml
@@ -4,7 +4,7 @@
4
package="com.crazecoder.flutterbugly">
5
6
<application
7
- android:usesCleartextTraffic="true"
+ android:networkSecurityConfig="@xml/network_security_config"
8
tools:targetApi="n">
9
<activity
10
android:name="com.tencent.bugly.beta.ui.BetaActivity"
android/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<network-security-config>
3
+ <base-config cleartextTrafficPermitted="false" />
+ <domain-config cleartextTrafficPermitted="true">
+ <!--for bugly sdk-->
+ <domain includeSubdomains="true">android.bugly.qq.com</domain>
+ </domain-config>
+</network-security-config>
0 commit comments