Does not work with "Custom URL scheme" plugin and iOS
See original GitHub issueHello, I’m implementing Google oauth login using SafariViewController combined with “Custom URL scheme” cordova plugin on iOS.
The oauth authentication was launched in a SafariViewController session. On authentication success redirect I show a server web page with a redirect to “myapp://authenticate” but the redirect is never executed.
window.open('myapp://link')
I tried to call “myapp://” directly in Safari browser and it works. I setted “cordova-plugin-whitelist” with the “allow-intent” for my app.
Actually I’m trying in iOS emulator, it works perfectly under Android. On xcode debug console I have this error on app start:
Internal navigation rejected - <allow-navigation> not set for url=‘about:blank’
Can you help me?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Cordova Custom-URL-scheme plugin not working
It should not implement something in iOS. Custom URL scheme only updates Info.plist in iOS. So, it's fine. It REGISTERS custom URL schemes....
Read more >Issues · EddyVerbruggen/Custom-URL-scheme - GitHub
link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp:// ... handleOpenURL method is not called on iOS when running with...
Read more >Open Application via URL Scheme in Cordova
URL scheme is used to open application via url links from email or messages. ... For this we need to install cordova plugin...
Read more >Defining a custom URL scheme for your app - Apple Developer
While custom URL schemes are an acceptable form of deep linking, universal links are strongly recommended. For more information on universal links, ...
Read more >uni_links | Flutter Package - Pub.dev
Uni Links #. A Flutter plugin project to help with App/Deep Links (Android) and Universal Links and Custom URL schemes (iOS). These links...
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
The article clearly advise the use of Safari View Controller over in-App Browser, Which make this question valid
It might help you,
In the redirect page I have:
But URLScheme handles only when I close SafariViewController manually (By pressing the “ok” button)