Closed kandangit closed 3 years ago
I must admit to be blank about how to solve this. I'd assume it would be enough to install the cert on the OS.
I tested and this is also happening on NativeScript's built-in WebView.
As an alternative I am using InAppBrowser (Chrome Custom Tabs) plugin (https://www.npmjs.com/package/nativescript-inappbrowser) which does recognize the certificate. Clearly to display external URLs, in this case at least, "Chrome Custom Tabs" seem a better option.
Thanks.
I close as it seems it has not fix.
Which platform(s) does your issue occur on?
Have tested in Android 10, API Level 29 Android emulator Nexus 5X API 29
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Use the webview to display an external URL. In this URL some authentication occurs and at the end a landing page in another URL is displayed.
In the external URL, the third-party requests the certificate of the browser to log the user in. The certificate is correctly installed but is not recognised by the third-party provider returning an authentication error.
When the URL is opened with an external browser within the emulator -outside the WebView- (i.e., Chrome), it works fine and is recognized. So it does not seem an issue with the installation of the certificate in the emulator.
Does this plugin cover certificates or is not implemented?
If it was implemented have not see what should I do, otherwise would be nice to have it.
Thank you.
Is there any code involved?