Cordova-plugin-ionic-webview: Need to load page on https://hostname instead of ionic://hostname

Created on 28 Dec 2019  路  5Comments  路  Source: ionic-team/cordova-plugin-ionic-webview

We are using the Ionic4 with angular router. For IOS Need to load page on wkwebview url like https://hostname instead of ionic://hostname. because we need to call the okta server for two way authentication. okta not accept the "ionic" as trusted orgin. okta allowed only _"https or http"._

Most helpful comment

To have https as trusted origin for iOS is huge. Hopefully in the next release?

All 5 comments

@mlynch is there any possibility to change the scheme for IOS.

https://github.com/ionic-team/cordova-plugin-ionic-webview#scheme

@wnabil this preference is for Android, and it works on that platform.

+1 for this possibility on iOS, I also need it for external service which checks app protocol...
Would be great to allow https for iOS as well!

Is there any reason why it's not allowed?

To have https as trusted origin for iOS is huge. Hopefully in the next release?

you can use v2 of the plugin, but on v4 you can't use https or http to serve the files

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jairemix picture jairemix  路  3Comments

acollazomayer picture acollazomayer  路  3Comments

slymeng picture slymeng  路  5Comments

alexverbitsky picture alexverbitsky  路  3Comments

paulstelzer picture paulstelzer  路  8Comments