cordova-plugin-lsapplicationqueriesschemes
v0.2.0
Published
Dynamically specify the URL schemes the app is able to test using the canOpenURL: method of the UIApplication class
Downloads
29
Maintainers
Readme
LSApplicationQueriesSchemes for Cordova
This plugin dynamically specifies the URL schemes the app is able to test using the
canOpenURL:
method of theUIApplication
class.
Installation
cordova plugin add cordova-plugin-lsapplicationqueriesschemes
Usage
The plugin merges and keeps synchronized the URL schemes from the *-Info.plist
and the LSApplicationQueriesSchemes.json
files.
Merging and synchronization happens upon cordova prepare
.
The LSApplicationQueriesSchemes.json
file is created inside the project root upon plugin installation.
How to add or edit an URL scheme
Add or edit an URL scheme as follows:
- edit the
LSApplicationQueriesSchemes.json
file; - run
cordova prepare
.
How to remove an URL scheme
Remove an URL scheme as follows:
- edit both
LSApplicationQueriesSchemes.json
and*-Info.plist
file.
Supported platforms
- iOS
License
This project is MIT-licensed.