Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working with network_security_config #565

Open
Norman191 opened this issue Jul 14, 2021 · 0 comments
Open

Not Working with network_security_config #565

Norman191 opened this issue Jul 14, 2021 · 0 comments

Comments

@Norman191
Copy link

I use this to parse a json file, it works fine, but when i add this :

android:networkSecurityConfig="@xml/network_security_config"

to the application tag , the Json does not work anymore, like there is some conflict.

when i remove it , it works again.

it happens with version that needs cleartext .

my config file is the facebook ads file, like this :

< ?xml version="1.0" encoding="utf-8"? >
< network-security-config >
< domain-config cleartextTrafficPermitted="true" >
< domain includeSubdomains="true" >127.0.0.1</ domain >
</ domain-config >
</ network-security-config >

Any Help Please, I'm stuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant