Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Capacitor 4 : Http urls not working (only https) #278

Open
cschoenecker opened this issue Aug 23, 2022 · 2 comments
Open

Capacitor 4 : Http urls not working (only https) #278

cschoenecker opened this issue Aug 23, 2022 · 2 comments

Comments

@cschoenecker
Copy link

Since the migration to Capacitor 4 and version 2.0.0-0 of the http plugin, I can no longer fetch http urls, only https addresses are functional

@rdlabo
Copy link
Member

rdlabo commented Aug 23, 2022

This reason may be https://capacitorjs.com/docs/updating/4-0#optional-remove-nsapptransportsecurity-entry-from-infoplist

Please try to add NSAppTransportSecurity.

@cschoenecker
Copy link
Author

Thank's, it works with this instruction :)

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

No branches or pull requests

2 participants