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

Not detecting any third party applications #58

Open
iggirex opened this issue Apr 17, 2019 · 4 comments
Open

Not detecting any third party applications #58

iggirex opened this issue Apr 17, 2019 · 4 comments

Comments

@iggirex
Copy link

iggirex commented Apr 17, 2019

Trying this plugin on iOS and it can detect all Apple-branded apps like Safari, Watch, iMovie, Facetime but is not detecting any third party apps like Twitter, Vimeo, Facebook.

Even the code example in the Readme is not working. I've installed Twitter on the phone, and the plugin says Twitter is not installed.

  • Tried lots of different apps and they all follow the pattern of no third party apps being detected.
  • Rebooted phone

Running iOS SDK 12.2
built on Xcode 10.2
Cordova version 8.1.2
Cordova iOS platform version 4.5.5

@iggirex
Copy link
Author

iggirex commented Apr 19, 2019

Fix - for iOS to detect 3rd party applications they have to be whitelisted in the info.plist file first. Explained pretty well in step 3 here https://kitefaster.com/2016/07/13/how-to-open-ios-app-with-custom-url/

Adding this to the README for this plugin could be helpful to future users.

@eduboxgithub
Copy link

Thanks @iggirex for this information. It´s working now.

@josh-m-sharpe
Copy link

Agree with @iggirex - Step 3 from that link solves the issue. Some notes about it should be included in the README.

Step 3 – Open one iOS app from another iOS app
Set up Whitelist
Use Xcode’s Project Navigator to open your app’s (the app that will be opening the app in step 1 above) Info.plist file.
Right click and select “Add Row”.
 Add the key: LSApplicationQueriesSchemes of type Array.LSApplicationQueriesSchemes
Press the + button to add a new Item.
Enter the custom URL Scheme you would like to open.
Repeat the above two steps for each additional app you would like to open.

@ghost
Copy link

ghost commented Sep 7, 2020

Agree with @iggirex - Step 3 from that link solves the issue. Some notes about it should be included in the README.

Step 3 – Open one iOS app from another iOS app
Set up Whitelist
Use Xcode’s Project Navigator to open your app’s (the app that will be opening the app in step 1 above) Info.plist file.
Right click and select “Add Row”.
 Add the key: LSApplicationQueriesSchemes of type Array.LSApplicationQueriesSchemes
Press the + button to add a new Item.
Enter the custom URL Scheme you would like to open.
Repeat the above two steps for each additional app you would like to open.

Hi this is not working for me for IOS 13 :( or maybe i'm doing something wrong? Can you check if still works for you thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants