Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@capacitor/app-launcher canOpenUrl always returns false (iOS 17.5.1, Capacitor 6, Ionic 7) #2143

Open
AndrewBargan opened this issue Jun 30, 2024 · 0 comments

Comments

@AndrewBargan
Copy link

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'}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants