You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am porting an application that uses this plugin from Cordova to Capacitor.
I have configured the CFBundleURLTypes in info.plist and my app does get launched successfully on iOS when another app opens my custom URL.
However, the handleOpenURL method does not get called on iOS. It does get called on Android ... provided that you run with the latest version of this plugin (5.0.2 or later which has a fix for Capacitor Android).
As a workaround, I am using functionality in the Capacitor App plugin to call my handleOpenURL method like this:
App.addListener('appUrlOpen', data => {
window.handleOpenURL(data.url);
});
The text was updated successfully, but these errors were encountered:
I am porting an application that uses this plugin from Cordova to Capacitor.
I have configured the CFBundleURLTypes in info.plist and my app does get launched successfully on iOS when another app opens my custom URL.
However, the handleOpenURL method does not get called on iOS. It does get called on Android ... provided that you run with the latest version of this plugin (5.0.2 or later which has a fix for Capacitor Android).
As a workaround, I am using functionality in the Capacitor App plugin to call my handleOpenURL method like this:
The text was updated successfully, but these errors were encountered: