Skip to content

Commit

Permalink
Create network_security_config.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
smarthome-abc authored Jan 11, 2025
1 parent 4436ec9 commit b7f124f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">

Check warning

Code scanning / Android Lint

Insecure Base Configuration Warning

Insecure Base Configuration
<trust-anchors>
<certificates src="system" />
<certificates src="user" />

Check warning

Code scanning / Android Lint

Allowing User Certificates Warning

The Network Security Configuration allows the use of user certificates in the release version of your app
</trust-anchors>
</base-config>
</network-security-config>

0 comments on commit b7f124f

Please sign in to comment.