Skip to content

Commit

Permalink
fix: network issue while making request to ipv4, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
bajrangCoder committed Dec 17, 2024
1 parent 2537c64 commit 8598b19
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions res/android/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="false">
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>

<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">*</domain>
<domain includeSubdomains="true">localhost</domain>
</domain-config>
</network-security-config>

<!-- This file is used to allow the app to load http://localhost in in-app browser, used to run project. DO NOT remove-->
<!-- This file is used to allow the app to load http://localhost in in-app browser, used to run project. DO NOT remove-->

0 comments on commit 8598b19

Please sign in to comment.