Skip to content

Commit

Permalink
Allow self-signed certificate (Android)
Browse files Browse the repository at this point in the history
  • Loading branch information
djorkaeffalexandre committed Oct 16, 2019
1 parent 4ac98a1 commit e6f8b71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/app/src/debug/res/xml/react_native_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@
<domain includeSubdomains="false">10.0.2.2</domain>
<domain includeSubdomains="false">10.0.3.2</domain>
</domain-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</base-config>
</network-security-config>

0 comments on commit e6f8b71

Please sign in to comment.