bug: Setting iosScheme to http has no effect
See original GitHub issueBug Report
Capacitor Version
@capacitor/cli 1.3.0
@capacitor/ios 1.3.0
@capacitor/android 1.3.0
@capacitor/core 1.3.0
Affected Platform(s)
- Android
- iOS
- Electron
- Web
Current Behavior
Setting iosScheme
in capacitor.config.json
to http
makes no difference. App is still being loaded from capacitor://
I already removed the ios platform completely and an re-added it, but that didn’t work unfortunatley. Am I missing something? Do I need to set something in the plist file or anywhere else?
Expected Behavior
Setting iosScheme
in capacitor.config.json
to http
should make capacitor load the app from http://
instead of capacitor://
npm --version
output:
6.9.0
node --version
output:
v12.13.0
pod --version
output (iOS issues only):
1.7.5
Thank you for your help and awesome products!
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
cordova-plugin-ionic-webview - custom scheme not working ...
I am able to use this plugin on iOS but on Android the App crashes on launch. MY CONFIG.XML: <allow-navigation href="cordovaios://*" /> ...
Read more >Capacitor Configuration | Capacitor Documentation
If your app is not using a bundler, set this to `true`, then Capacitor ... If the device uses a lower WebView version,...
Read more >Apple Pay and Google Pay do they work on Ionic?
bug : Setting iosScheme to http has no effect · Issue #2173 · ionic-team/capacitor · GitHub. Other possible workarounds:.
Read more >app.json / app.config.js - Expo Documentation
If specified, this overrides the backgroundColor key. Must have the same dimensions as foregroundImage , and has no effect if foregroundImage` is not...
Read more >cordova-plugin-ionic-webview-fork-android-only - npm
There are no other projects in the npm registry using ... url (i.e <allow-navigation href="http://app/*"/> if Hostname is set to app ).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
as far as i can tell, stripe.js now also sees file:// and ionic:// as safe origins! in the stripe js file you can find this function:
key: "_ensureHTTPS", value: function () { var e = window.location.protocol, t = -1 !== ["https:", "file:", "ionic:"].indexOf(e),
I also test it right now, and it works if you serve your app from ionic:// on ios!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.