/api/users/login net::ERR_CLEARTEXT_NOT_PERMITTED
I am getting ERR_CLEARTEXT_NOT_PERMITTED error in android application using ionic.
To allow network connections of type http, https in Android , enable
cleartextTrafficPermitted="true"
create a file in this path res/xml/network_security_config.xml
network_security_config.xml:
I am getting ERR_CLEARTEXT_NOT_PERMITTED error in android application using ionic.
To allow network connections of type http, https in Android , enable
cleartextTrafficPermitted="true"
create a file in this path res/xml/network_security_config.xml
network_security_config.xml:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
0 coment�rios:
Post a Comment