This plugin dynamically specifies the URL schemes the app is able to test using the
canOpenURL:
method of theUIApplication
class.
cordova plugin add cordova-plugin-lsapplicationqueriesschemes
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.
Add or edit an URL scheme as follows:
- edit the
LSApplicationQueriesSchemes.json
file; - run
cordova prepare
.
Remove an URL scheme as follows:
- edit both
LSApplicationQueriesSchemes.json
and*-Info.plist
file.
- iOS
This project is MIT-licensed.