-
-
Notifications
You must be signed in to change notification settings - Fork 323
FAQs
Q: How do I setup SSL / TLS pinning for my app with this plugin?
A: Please read the documentation carefully README.md#setServerTrustMode. It's very important to have the certificates encoded correctly!
Q: I'm trying to setup SSL cert pinning. It's working on Android, but failing on iOS "Cancelled". What's the problem?
A: If it's working on Android but not on iOS it's most likely because you're using a Base64 (PEM formatted) cert (in your App, not the server side). Please read the docu for further details.
Q: Does this plugin work with UIWebView and WKWebView?
A: Yes, it's working with both kind of web views.
Q: Is this plugin subject to CORS restrictions?
A: No, this plugin doesn't respect CORS restrictions. Therefore, it's possible to load data from any remote source even if your page was loaded from a local source.
Q: Can this plugin be used to load local files (cdvfile://localhost/bundle/www/file.js, file:///...)?
A: No, this plugin is not meant to be used for local resources. It's supporting http:// and https:// protocols. Please use XMLHttpRequest or cordova file plugin instead.