capacitor-plugins
capacitor-plugins copied to clipboard
@capacitor/app-launcher canOpenUrl always returns false (iOS 17.5.1, Capacitor 6, Ionic 7)
Bug Report
Plugin(s)
@capacitor/app-launcher
Capacitor Version
Latest Dependencies:
@capacitor/cli: 6.1.0
@capacitor/core: 6.1.0
@capacitor/android: 6.1.0
@capacitor/ios: 6.1.0
Installed Dependencies:
@capacitor/cli: 6.1.0
@capacitor/core: 6.1.0
@capacitor/android: 6.1.0
@capacitor/ios: 6.1.0
Platform(s)
iOS 17.5.1, Capacitor 6, Ionic 7, XCode 15.4
Current Behavior
I'm getting false for all installed apps on my iPhone
Expected Behavior
I should receive true for the commands specified in the next section
Code Reproduction
I've got bunch of messengers installed on my iPhone and when I check if they are installed I'm getting false for all of them:
console.log(await AppLauncher.canOpenUrl({url: 'org.telegram.messenger'}));
console.log(await AppLauncher.canOpenUrl({url: 'com.whatsapp'}));
console.log(await AppLauncher.canOpenUrl({url: 'com.facebook.orca'}));
console.log(await AppLauncher.canOpenUrl({url: 'com.viber.voip'}));
console.log(await AppLauncher.canOpenUrl({url: 'com.skype.raider'}));