Skip to content

Cordova / PhoneGap Plugin to bypass the iOS 9 App Queries Schemes (LSApplicationQueriesSchemes)

Notifications You must be signed in to change notification settings

incentfit/cordova-plugin-queries-schemes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

App Queries Schemes Plugin for Apache Cordova npm version

Cordova / PhoneGap Plugin to work arround Apple's iOS9 requirement that URL Schemes be declared and submitted to Apple (via Info.plist file).

In short, this plugin just whitelists the Url Scheme of the most popular apps on iOS so they will open when linked to. This is a work around. You should probably not use this plugin and instead explicitly call out any apps your app might link to. In the event that you don't know what might be linked to, this plugin should be of some use!

Install

Latest published version on npm (with Cordova CLI >= 5.0.0)

cordova plugin add cordova-plugin-queries-schemes

Latest version from GitHub

cordova plugin add https://github.com/rjhilgefort/cordova-plugin-queries-schemes.git

Usage

You can add any schemes necessary by just adding another entry in the list (in plugin.xml).

<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
    <array>
        ...
        <string>yourfavoriteapp</string>
        ...
    </array>
</config-file>

Contributing

If you feel that I've left out an important app, please modify the plugin.xml and send me a pull request along with why you think it should be added.

Platforms

Applies to iOS (9+) only.

License

MIT License

About

Cordova / PhoneGap Plugin to bypass the iOS 9 App Queries Schemes (LSApplicationQueriesSchemes)

Resources

Stars

Watchers

Forks

Packages

No packages published