cordova-plugin-lsapplicationqueriesschemes

0.2.0 • Public • Published

LSApplicationQueriesSchemes for Cordova

Build Status

This plugin dynamically specifies the URL schemes the app is able to test using the canOpenURL: method of the UIApplication 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.

Package Sidebar

Install

npm i cordova-plugin-lsapplicationqueriesschemes

Weekly Downloads

13

Version

0.2.0

License

MIT

Unpacked Size

12.9 kB

Total Files

10

Last publish

Collaborators

  • adigiovanni