Skip to content

Commit

Permalink
chore: fill android settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexruzenhack committed Nov 1, 2024
1 parent 6e46029 commit e31f355
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions android/app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<!-- Base configuration applies to all connections attempts -->
<!-- cleartextTrafficPermitted false means to only trust SSL/TSL connections -->
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<!-- Trust on Hathor Network CAs -->
<!--<certificates src="@raw/hathornetworkcas" />-->
<!-- To trust on system certificates, uncomment the line bellow -->
<!--<certificates src="system" />-->
</trust-anchors>
</base-config>
<domain-config>
<domain includeSubdomains="true">example.com</domain>
<trust-anchors>
<pin-set>
<pin digest="SHA-256">zKePnjF2yATEC6NGgoKvBjb5NkyDDN3mPGtRspV6vBc=</pin>
<!-- backup pin -->
<!--<pin digest="SHA-256">zKePnjF2yATEC6NGgoKvBjb5NkyDDN3mPGtRspV6vBc=</pin>-->
</pin-set>
</trust-anchors>
</domain-config>
</network-security-config>

0 comments on commit e31f355

Please sign in to comment.