0.2.0 • Published 6 years ago
cordova-plugin-lsapplicationqueriesschemes v0.2.0
LSApplicationQueriesSchemes for Cordova
This plugin dynamically specifies the URL schemes the app is able to test using the
canOpenURL:method of theUIApplicationclass.
Installation
cordova plugin add cordova-plugin-lsapplicationqueriesschemesUsage
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.jsonfile; - run
cordova prepare.
How to remove an URL scheme
Remove an URL scheme as follows:
- edit both
LSApplicationQueriesSchemes.jsonand*-Info.plistfile.
Supported platforms
- iOS
License
This project is MIT-licensed.