diff --git a/src/plugins/3dtouch.ts b/src/plugins/3dtouch.ts index 0288a28dfd..16af3bbc1f 100644 --- a/src/plugins/3dtouch.ts +++ b/src/plugins/3dtouch.ts @@ -65,6 +65,7 @@ declare var window: any; * ``` */ @Plugin({ + name: 'ThreeDeeTouch', plugin: 'cordova-plugin-3dtouch', pluginRef: 'ThreeDeeTouch', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-3dtouch', diff --git a/src/plugins/actionsheet.ts b/src/plugins/actionsheet.ts index c5f457868c..03a4901c6f 100644 --- a/src/plugins/actionsheet.ts +++ b/src/plugins/actionsheet.ts @@ -41,6 +41,7 @@ import { Cordova, Plugin } from './plugin'; * */ @Plugin({ + name: 'ActionSheet', plugin: 'cordova-plugin-actionsheet', pluginRef: 'plugins.actionsheet', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet', diff --git a/src/plugins/admob.ts b/src/plugins/admob.ts index 1c825b3055..b2cd1ffe4d 100644 --- a/src/plugins/admob.ts +++ b/src/plugins/admob.ts @@ -8,6 +8,7 @@ import { Observable } from 'rxjs/Observable'; * Please refer the the plugin's original repository for detailed usage. */ @Plugin({ + name: 'AdMob', plugin: 'cordova-plugin-admobpro', pluginRef: 'AdMob', repo: 'https://github.com/floatinghotpot/cordova-admob-pro', diff --git a/src/plugins/android-fingerprint-auth.ts b/src/plugins/android-fingerprint-auth.ts index d75713ac7c..8a54fe8369 100644 --- a/src/plugins/android-fingerprint-auth.ts +++ b/src/plugins/android-fingerprint-auth.ts @@ -30,6 +30,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'AndroidFingerprintAuth', plugin: 'cordova-plugin-android-fingerprint-auth', pluginRef: 'FingerprintAuth', repo: 'https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth' diff --git a/src/plugins/appavailability.ts b/src/plugins/appavailability.ts index 58232e203e..5461eef696 100644 --- a/src/plugins/appavailability.ts +++ b/src/plugins/appavailability.ts @@ -28,6 +28,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'AppAvailability', plugin: 'cordova-plugin-appavailability', pluginRef: 'appAvailability', repo: 'https://github.com/ohh2ahh/AppAvailability', diff --git a/src/plugins/apprate.ts b/src/plugins/apprate.ts index 91cd59f79b..3a902fc2c3 100644 --- a/src/plugins/apprate.ts +++ b/src/plugins/apprate.ts @@ -44,6 +44,7 @@ declare var window; */ @Plugin({ + name: 'AppRate', plugin: 'cordova-plugin-apprate', pluginRef: 'AppRate', repo: 'https://github.com/pushandplay/cordova-plugin-apprate', diff --git a/src/plugins/appversion.ts b/src/plugins/appversion.ts index 644f9657bd..4d1e9eb43e 100644 --- a/src/plugins/appversion.ts +++ b/src/plugins/appversion.ts @@ -19,6 +19,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'AppVersion', plugin: 'cordova-plugin-app-version', pluginRef: 'cordova.getAppVersion', repo: 'https://github.com/whiteoctober/cordova-plugin-app-version', diff --git a/src/plugins/background-geolocation.ts b/src/plugins/background-geolocation.ts index 053516bce2..50252b68f8 100644 --- a/src/plugins/background-geolocation.ts +++ b/src/plugins/background-geolocation.ts @@ -272,6 +272,7 @@ export interface Config { * Config */ @Plugin({ + name: 'BackgroundGeolocation', plugin: 'cordova-plugin-mauron85-background-geolocation', pluginRef: 'backgroundGeolocation', repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation', diff --git a/src/plugins/backgroundmode.ts b/src/plugins/backgroundmode.ts index ae0c775401..fd8d41c859 100644 --- a/src/plugins/backgroundmode.ts +++ b/src/plugins/backgroundmode.ts @@ -28,6 +28,7 @@ import { Observable } from 'rxjs/Observable'; * */ @Plugin({ + name: 'BackgroundMode', plugin: 'cordova-plugin-background-mode', pluginRef: 'cordova.plugins.backgroundMode', repo: 'https://github.com/katzer/cordova-plugin-background-mode', diff --git a/src/plugins/badge.ts b/src/plugins/badge.ts index c188d273eb..0809219b9d 100644 --- a/src/plugins/badge.ts +++ b/src/plugins/badge.ts @@ -18,6 +18,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Badge', plugin: 'cordova-plugin-badge', pluginRef: 'cordova.plugins.notification.badge', repo: 'https://github.com/katzer/cordova-plugin-badge', diff --git a/src/plugins/barcodescanner.ts b/src/plugins/barcodescanner.ts index 65b4227ff5..48ed1a3ed9 100644 --- a/src/plugins/barcodescanner.ts +++ b/src/plugins/barcodescanner.ts @@ -20,6 +20,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'BarcodeScanner', plugin: 'phonegap-plugin-barcodescanner', pluginRef: 'cordova.plugins.barcodeScanner', repo: 'https://github.com/phonegap/phonegap-plugin-barcodescanner', diff --git a/src/plugins/base64togallery.ts b/src/plugins/base64togallery.ts index 61d55dca1e..895f623d7b 100644 --- a/src/plugins/base64togallery.ts +++ b/src/plugins/base64togallery.ts @@ -14,6 +14,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Base64ToGallery', plugin: 'cordova-base64-to-gallery', pluginRef: 'cordova', repo: 'https://github.com/Nexxa/cordova-base64-to-gallery', @@ -24,7 +25,7 @@ export class Base64ToGallery { /** * Converts a base64 string to an image file in the device gallery * @param {string} data The actual base64 string that you want to save - * @param {any} options (optional) An object with properties: prefix: string, mediaScanner: boolean. Prefix will be prepended to the filename. If true, mediaScanner runs Media Scanner on Android and saves to Camera Roll on iOS; if false, saves to Library folder on iOS. + * @param {any} options (optional) An object with properties: prefix: string, mediaScanner: boolean. Prefix will be prepended to the filename. If true, mediaScanner runs Media Scanner on Android and saves to Camera Roll on iOS; if false, saves to Library folder on iOS. * @returns {Promise} returns a promise that resolves when the image is saved. */ @Cordova({ diff --git a/src/plugins/batterystatus.ts b/src/plugins/batterystatus.ts index c70beae60a..64f9a1cb3f 100644 --- a/src/plugins/batterystatus.ts +++ b/src/plugins/batterystatus.ts @@ -24,6 +24,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'BatteryStatus', plugin: 'cordova-plugin-battery-status', repo: 'https://github.com/apache/cordova-plugin-battery-status', platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser'] diff --git a/src/plugins/ble.ts b/src/plugins/ble.ts index fa3a545c72..81331ce679 100644 --- a/src/plugins/ble.ts +++ b/src/plugins/ble.ts @@ -160,6 +160,7 @@ import { Observable } from 'rxjs/Observable'; * */ @Plugin({ + name: 'BLE', plugin: 'cordova-plugin-ble-central', pluginRef: 'ble', repo: 'https://github.com/don/cordova-plugin-ble-central', diff --git a/src/plugins/bluetoothserial.ts b/src/plugins/bluetoothserial.ts index 069fed3f34..49b8b73449 100644 --- a/src/plugins/bluetoothserial.ts +++ b/src/plugins/bluetoothserial.ts @@ -28,6 +28,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'BluetoothSerial', repo: 'https://github.com/don/BluetoothSerial', plugin: 'cordova-plugin-bluetooth-serial', pluginRef: 'bluetoothSerial', diff --git a/src/plugins/brightness.ts b/src/plugins/brightness.ts index f23161890e..15ef6e153b 100644 --- a/src/plugins/brightness.ts +++ b/src/plugins/brightness.ts @@ -18,6 +18,7 @@ import { Cordova, Plugin } from './plugin'; * */ @Plugin({ + name: 'Brightness', plugin: 'cordova-plugin-brightness', pluginRef: 'cordova.plugins.brightness', repo: 'https://github.com/mgcrea/cordova-plugin-brightness', diff --git a/src/plugins/calendar.ts b/src/plugins/calendar.ts index b2ed66c134..ddaf690285 100644 --- a/src/plugins/calendar.ts +++ b/src/plugins/calendar.ts @@ -38,6 +38,7 @@ export interface CalendarOptions { * */ @Plugin({ + name: 'Calendar', plugin: 'cordova-plugin-calendar', pluginRef: 'plugins.calendar', repo: 'https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin', diff --git a/src/plugins/call-number.ts b/src/plugins/call-number.ts index fc305d1b6b..281a91ffb1 100644 --- a/src/plugins/call-number.ts +++ b/src/plugins/call-number.ts @@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'CallNumber', plugin: 'call-number', pluginRef: 'plugins.CallNumber', repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin', diff --git a/src/plugins/camera-preview.ts b/src/plugins/camera-preview.ts index 4f306b09e3..a47ca50d88 100644 --- a/src/plugins/camera-preview.ts +++ b/src/plugins/camera-preview.ts @@ -69,6 +69,7 @@ export interface CameraPreviewSize { * */ @Plugin({ + name: 'CameraPreview', plugin: 'cordova-plugin-camera-preview', pluginRef: 'cordova.plugins.camerapreview', repo: 'https://github.com/westonganger/cordova-plugin-camera-preview', diff --git a/src/plugins/camera.ts b/src/plugins/camera.ts index 3551c60fa3..a892e9eec1 100644 --- a/src/plugins/camera.ts +++ b/src/plugins/camera.ts @@ -110,6 +110,7 @@ export interface CameraPopoverOptions { * CameraPopoverOptions */ @Plugin({ + name: 'Camera', plugin: 'cordova-plugin-camera', pluginRef: 'navigator.camera', repo: 'https://github.com/apache/cordova-plugin-camera', diff --git a/src/plugins/card-io.ts b/src/plugins/card-io.ts index ef69527824..4d390d7f4f 100644 --- a/src/plugins/card-io.ts +++ b/src/plugins/card-io.ts @@ -25,6 +25,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'CardIO', plugin: 'https://github.com/card-io/card.io-Cordova-Plugin', pluginRef: 'CardIO', repo: 'https://github.com/card-io/card.io-Cordova-Plugin', diff --git a/src/plugins/clipboard.ts b/src/plugins/clipboard.ts index 77e5021903..ae83a3063d 100644 --- a/src/plugins/clipboard.ts +++ b/src/plugins/clipboard.ts @@ -28,6 +28,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Clipboard', plugin: 'https://github.com/VersoSolutions/CordovaClipboard.git', pluginRef: 'cordova.plugins.clipboard', repo: 'https://github.com/VersoSolutions/CordovaClipboard', diff --git a/src/plugins/code-push.ts b/src/plugins/code-push.ts index 29f253d264..4808423ad5 100644 --- a/src/plugins/code-push.ts +++ b/src/plugins/code-push.ts @@ -420,6 +420,7 @@ export interface DownloadProgress { * ``` */ @Plugin({ + name: 'CodePush', plugin: 'cordova-plugin-code-push', pluginRef: 'codePush', repo: 'https://github.com/Microsoft/cordova-plugin-code-push', diff --git a/src/plugins/contacts.ts b/src/plugins/contacts.ts index f0ba12e73d..43c938134e 100644 --- a/src/plugins/contacts.ts +++ b/src/plugins/contacts.ts @@ -316,6 +316,7 @@ export class ContactFindOptions implements IContactFindOptions { * ContactAddress */ @Plugin({ + name: 'Contacts', plugin: 'cordova-plugin-contacts', pluginRef: 'navigator.contacts', repo: 'https://github.com/apache/cordova-plugin-contacts' diff --git a/src/plugins/crop.ts b/src/plugins/crop.ts index 29f89554af..4c0e7336e1 100644 --- a/src/plugins/crop.ts +++ b/src/plugins/crop.ts @@ -16,6 +16,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Crop', plugin: 'cordova-plugin-crop', pluginRef: 'plugins', repo: 'https://github.com/jeduan/cordova-plugin-crop' diff --git a/src/plugins/datepicker.ts b/src/plugins/datepicker.ts index 0aaa090aea..5a991fb56c 100644 --- a/src/plugins/datepicker.ts +++ b/src/plugins/datepicker.ts @@ -128,6 +128,7 @@ export interface DatePickerOptions { * DatePickerOptions */ @Plugin({ + name: 'DatePicker', plugin: 'cordova-plugin-datepicker', pluginRef: 'datePicker', repo: 'https://github.com/VitaliiBlagodir/cordova-plugin-datepicker' diff --git a/src/plugins/dbmeter.ts b/src/plugins/dbmeter.ts index 138ee643ac..907dded427 100644 --- a/src/plugins/dbmeter.ts +++ b/src/plugins/dbmeter.ts @@ -31,6 +31,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'DBMeter', plugin: 'cordova-plugin-dbmeter', pluginRef: 'DBMeter', repo: 'https://github.com/akofman/cordova-plugin-dbmeter', diff --git a/src/plugins/deeplinks.ts b/src/plugins/deeplinks.ts index 9cc0430164..3b85f36c4d 100644 --- a/src/plugins/deeplinks.ts +++ b/src/plugins/deeplinks.ts @@ -33,6 +33,7 @@ export interface DeeplinkMatch { * ``` */ @Plugin({ + name: 'Deeplinks', plugin: 'ionic-plugin-deeplinks', pluginRef: 'IonicDeeplink', repo: 'https://github.com/driftyco/ionic-plugin-deeplinks', diff --git a/src/plugins/device.ts b/src/plugins/device.ts index 6dd106936f..01d07cd23d 100644 --- a/src/plugins/device.ts +++ b/src/plugins/device.ts @@ -41,6 +41,7 @@ export interface Device { * ``` */ @Plugin({ + name: 'Device', plugin: 'cordova-plugin-device', pluginRef: 'device', repo: 'https://github.com/apache/cordova-plugin-device' diff --git a/src/plugins/deviceaccounts.ts b/src/plugins/deviceaccounts.ts index 1b1a7a11f2..c7392b573e 100644 --- a/src/plugins/deviceaccounts.ts +++ b/src/plugins/deviceaccounts.ts @@ -2,6 +2,7 @@ import { Cordova, Plugin } from './plugin'; @Plugin({ + name: 'DeviceAccounts', plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git', pluginRef: 'plugins.DeviceAccounts', repo: 'https://github.com/loicknuchel/cordova-device-accounts', diff --git a/src/plugins/devicemotion.ts b/src/plugins/devicemotion.ts index b3a67bcfdf..025912f837 100644 --- a/src/plugins/devicemotion.ts +++ b/src/plugins/devicemotion.ts @@ -62,6 +62,7 @@ export interface AccelerometerOptions { * ``` */ @Plugin({ + name: 'DeviceMotion', plugin: 'cordova-plugin-device-motion', pluginRef: 'navigator.accelerometer', repo: 'https://github.com/apache/cordova-plugin-device-motion' diff --git a/src/plugins/deviceorientation.ts b/src/plugins/deviceorientation.ts index 431b9aa20b..1d5b247a94 100644 --- a/src/plugins/deviceorientation.ts +++ b/src/plugins/deviceorientation.ts @@ -67,6 +67,7 @@ export interface CompassOptions { * ``` */ @Plugin({ + name: 'DeviceOrientation', plugin: 'cordova-plugin-device-orientation', pluginRef: 'navigator.compass', repo: 'https://github.com/apache/cordova-plugin-device-orientation' diff --git a/src/plugins/diagnostic.ts b/src/plugins/diagnostic.ts index 28a18dcdac..22209e2c39 100644 --- a/src/plugins/diagnostic.ts +++ b/src/plugins/diagnostic.ts @@ -29,6 +29,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Diagnostic', plugin: 'cordova.plugins.diagnostic', pluginRef: 'cordova.plugins.diagnostic', repo: 'https://github.com/dpa99c/cordova-diagnostic-plugin' diff --git a/src/plugins/dialogs.ts b/src/plugins/dialogs.ts index bfda6f7f89..17effc1542 100644 --- a/src/plugins/dialogs.ts +++ b/src/plugins/dialogs.ts @@ -32,6 +32,7 @@ export interface PromptCallback { * ``` */ @Plugin({ + name: 'Dialogs', plugin: 'cordova-plugin-dialogs', pluginRef: 'navigator.notification', repo: 'https://github.com/apache/cordova-plugin-dialogs.git' diff --git a/src/plugins/emailcomposer.ts b/src/plugins/emailcomposer.ts index 9e5069f107..f396a5604e 100644 --- a/src/plugins/emailcomposer.ts +++ b/src/plugins/emailcomposer.ts @@ -44,6 +44,7 @@ declare var cordova: any; * ``` */ @Plugin({ + name: 'EmailComposer', plugin: 'cordova-plugin-email', pluginRef: 'cordova.plugins.email', repo: 'https://github.com/hypery2k/cordova-email-plugin', diff --git a/src/plugins/estimote-beacons.ts b/src/plugins/estimote-beacons.ts index f43ef464c6..07d42d6fa2 100644 --- a/src/plugins/estimote-beacons.ts +++ b/src/plugins/estimote-beacons.ts @@ -9,6 +9,7 @@ import { Observable } from 'rxjs/Observable'; * */ @Plugin({ + name: 'EstimoteBeacons', plugin: 'cordova-plugin-estimote', pluginRef: 'estimote.beacons', repo: 'https://github.com/evothings/phonegap-estimotebeacons', diff --git a/src/plugins/facebook.ts b/src/plugins/facebook.ts index d6fe83b42f..41e982db79 100644 --- a/src/plugins/facebook.ts +++ b/src/plugins/facebook.ts @@ -78,6 +78,7 @@ import { Cordova, Plugin } from './plugin'; * */ @Plugin({ + name: 'Facebook', plugin: 'cordova-plugin-facebook4', pluginRef: 'facebookConnectPlugin', repo: 'https://github.com/jeduan/cordova-plugin-facebook4', diff --git a/src/plugins/file-chooser.ts b/src/plugins/file-chooser.ts index 3f1066d914..8fa42e704c 100644 --- a/src/plugins/file-chooser.ts +++ b/src/plugins/file-chooser.ts @@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'FileChooser', plugin: 'http://github.com/don/cordova-filechooser.git', pluginRef: 'fileChooser', repo: 'https://github.com/don/cordova-filechooser', diff --git a/src/plugins/file-opener.ts b/src/plugins/file-opener.ts index 638e36358a..03d034028a 100644 --- a/src/plugins/file-opener.ts +++ b/src/plugins/file-opener.ts @@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'FileOpener', plugin: 'cordova-plugin-file-opener2', pluginRef: 'cordova.plugins.fileOpener2', repo: 'https://github.com/pwlin/cordova-plugin-file-opener2' diff --git a/src/plugins/file.ts b/src/plugins/file.ts index c58179719c..3d4d6c1621 100644 --- a/src/plugins/file.ts +++ b/src/plugins/file.ts @@ -338,6 +338,7 @@ declare var FileError: { }; let pluginMeta = { + name: 'File', plugin: 'cordova-plugin-file', pluginRef: 'cordova.file', repo: 'https://github.com/apache/cordova-plugin-file' diff --git a/src/plugins/filetransfer.ts b/src/plugins/filetransfer.ts index defdbeecbc..73991d117c 100644 --- a/src/plugins/filetransfer.ts +++ b/src/plugins/filetransfer.ts @@ -138,7 +138,7 @@ export interface FileTransferError { * fileKey: 'file', * fileName: 'name.jpg', * headers: {} - * ..... + * ..... * } * fileTransfer.upload("", "", options) * .then((data) => { @@ -152,6 +152,7 @@ export interface FileTransferError { * */ @Plugin({ + name: 'FileTransfer', plugin: 'cordova-plugin-file-transfer', pluginRef: 'FileTransfer', repo: 'https://github.com/apache/cordova-plugin-file-transfer' diff --git a/src/plugins/flashlight.ts b/src/plugins/flashlight.ts index 137901816f..7c325b46c4 100644 --- a/src/plugins/flashlight.ts +++ b/src/plugins/flashlight.ts @@ -16,6 +16,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Flashlight', plugin: 'cordova-plugin-flashlight', pluginRef: 'window.plugins.flashlight', repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git' diff --git a/src/plugins/geofence.ts b/src/plugins/geofence.ts index e7f2fa15ee..436ad13a06 100644 --- a/src/plugins/geofence.ts +++ b/src/plugins/geofence.ts @@ -74,6 +74,7 @@ import { Observable } from 'rxjs/Observable'; declare var window: any; @Plugin({ + name: 'Geofence', plugin: 'cordova-plugin-geofence', pluginRef: 'geofence', repo: 'https://github.com/cowbell/cordova-plugin-geofence/', @@ -146,7 +147,7 @@ export class Geofence { } /** - * Called when the user clicks a geofence notification. iOS and Android only. + * Called when the user clicks a geofence notification. iOS and Android only. * * @return {Promise} */ diff --git a/src/plugins/geolocation.ts b/src/plugins/geolocation.ts index b2f15ef936..539541e1b9 100644 --- a/src/plugins/geolocation.ts +++ b/src/plugins/geolocation.ts @@ -139,6 +139,7 @@ export interface GeolocationOptions { * GeolocationOptions */ @Plugin({ + name: 'Geolocation', plugin: 'cordova-plugin-geolocation', pluginRef: 'navigator.geolocation', repo: 'https://github.com/apache/cordova-plugin-geolocation' diff --git a/src/plugins/globalization.ts b/src/plugins/globalization.ts index 88988a8ae1..52e3586f2d 100644 --- a/src/plugins/globalization.ts +++ b/src/plugins/globalization.ts @@ -11,6 +11,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Globalization', plugin: 'cordova-plugin-globalization', pluginRef: 'navigator.globalization', repo: 'https://github.com/apache/cordova-plugin-globalization' diff --git a/src/plugins/google-plus.ts b/src/plugins/google-plus.ts index e3401e158c..63c0957f87 100644 --- a/src/plugins/google-plus.ts +++ b/src/plugins/google-plus.ts @@ -12,11 +12,12 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ - plugin: 'cordova-plugin-googleplus', - pluginRef: 'window.plugins.googleplus', - repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus', - platforms: ['Web', 'Android', 'iOS'], - install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid' + name: 'GooglePlus', + plugin: 'cordova-plugin-googleplus', + pluginRef: 'window.plugins.googleplus', + repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus', + platforms: ['Web', 'Android', 'iOS'], + install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid' }) export class GooglePlus { diff --git a/src/plugins/googleanalytics.ts b/src/plugins/googleanalytics.ts index d6a4e5883a..2ab94af0b1 100644 --- a/src/plugins/googleanalytics.ts +++ b/src/plugins/googleanalytics.ts @@ -13,6 +13,7 @@ declare var window; * - (Android) Google Play Services SDK installed via [Android SDK Manager](https://developer.android.com/sdk/installing/adding-packages.html) */ @Plugin({ + name: 'GoogleAnalytics', plugin: 'cordova-plugin-google-analytics', pluginRef: 'ga', repo: 'https://github.com/danwilson/google-analytics-plugin', diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index 2cccc17712..ec7938b8dc 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -84,6 +84,7 @@ export const GoogleMapsAnimation = { * ``` */ let pluginMap = { + name: 'GoogleMap', pluginRef: 'plugin.google.maps.Map', plugin: 'cordova-plugin-googlemaps', repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps', diff --git a/src/plugins/hotspot.ts b/src/plugins/hotspot.ts index ffa21d87ad..eb4fcb418f 100644 --- a/src/plugins/hotspot.ts +++ b/src/plugins/hotspot.ts @@ -15,6 +15,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Hotspot', plugin: 'cordova-plugin-hotspot', pluginRef: 'cordova.plugins.hotspot', repo: 'https://github.com/hypery2k/cordova-hotspot-plugin', diff --git a/src/plugins/httpd.ts b/src/plugins/httpd.ts index 5d11b39414..3c09f66025 100644 --- a/src/plugins/httpd.ts +++ b/src/plugins/httpd.ts @@ -23,6 +23,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'Httpd', plugin: 'https://github.com/floatinghotpot/cordova-httpd.git', pluginRef: 'cordova.plugins.CorHttpd', repo: 'https://github.com/floatinghotpot/cordova-httpd', diff --git a/src/plugins/ibeacon.ts b/src/plugins/ibeacon.ts index c310f603e5..f5c1788329 100644 --- a/src/plugins/ibeacon.ts +++ b/src/plugins/ibeacon.ts @@ -268,6 +268,7 @@ export interface Delegate { * ``` */ @Plugin({ + name: 'IBeacon', plugin: 'cordova-plugin-ibeacon', pluginRef: 'cordova.plugins.locationManager', repo: 'https://github.com/petermetz/cordova-plugin-ibeacon', diff --git a/src/plugins/imagepicker.ts b/src/plugins/imagepicker.ts index fdc8983041..d63216de55 100644 --- a/src/plugins/imagepicker.ts +++ b/src/plugins/imagepicker.ts @@ -46,6 +46,7 @@ export interface ImagePickerOptions { * ImagePickerOptions */ @Plugin({ + name: 'ImagePicker', plugin: 'cordova-plugin-image-picker', pluginRef: 'window.imagePicker', repo: 'https://github.com/wymsee/cordova-imagePicker' diff --git a/src/plugins/imageresizer.ts b/src/plugins/imageresizer.ts index bf0f7d7567..6bee4bd4fc 100644 --- a/src/plugins/imageresizer.ts +++ b/src/plugins/imageresizer.ts @@ -67,6 +67,7 @@ export interface ImageResizerOptions { * ``` */ @Plugin({ + name: 'ImageResizer', plugin: 'https://github.com/protonet/cordova-plugin-image-resizer.git', pluginRef: 'ImageResizer', repo: 'https://github.com/protonet/cordova-plugin-image-resizer' diff --git a/src/plugins/inappbrowser.ts b/src/plugins/inappbrowser.ts index b088c9b58a..e50b3e8f9b 100644 --- a/src/plugins/inappbrowser.ts +++ b/src/plugins/inappbrowser.ts @@ -31,6 +31,7 @@ export interface InAppBrowserEvent extends Event { * ``` */ @Plugin({ + name: 'InAppBrowser', plugin: 'cordova-plugin-inappbrowser', pluginRef: 'cordova.InAppBrowser', repo: 'https://github.com/apache/cordova-plugin-inappbrowser' diff --git a/src/plugins/inapppurchase.ts b/src/plugins/inapppurchase.ts index 6603fcdfb6..701e2ca1e7 100644 --- a/src/plugins/inapppurchase.ts +++ b/src/plugins/inapppurchase.ts @@ -51,6 +51,7 @@ import { Plugin, Cordova } from './plugin'; * */ @Plugin({ + name: 'InAppPurchase', plugin: 'cordova-plugin-inapppurchase', pluginRef: 'inAppPurchase', platforms: ['Android', 'iOS'], diff --git a/src/plugins/insomnia.ts b/src/plugins/insomnia.ts index 8e39c44227..ba46e0ff2b 100644 --- a/src/plugins/insomnia.ts +++ b/src/plugins/insomnia.ts @@ -26,6 +26,7 @@ import { Cordova, Plugin } from './plugin'; * */ @Plugin({ + name: 'Insomnia', plugin: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git', pluginRef: 'plugins.insomnia', repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin', diff --git a/src/plugins/instagram.ts b/src/plugins/instagram.ts index 9334a72553..f045d6698c 100644 --- a/src/plugins/instagram.ts +++ b/src/plugins/instagram.ts @@ -15,6 +15,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'Instagram', plugin: 'cordova-instagram-plugin', pluginRef: 'Instagram', repo: 'https://github.com/vstirbu/InstagramPlugin' diff --git a/src/plugins/is-debug.ts b/src/plugins/is-debug.ts index c842a3c156..d04447cf2e 100644 --- a/src/plugins/is-debug.ts +++ b/src/plugins/is-debug.ts @@ -17,6 +17,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'IsDebug', plugin: 'cordova-plugin-is-debug', pluginRef: 'cordova.plugins.IsDebug', repo: 'https://github.com/mattlewis92/cordova-plugin-is-debug' diff --git a/src/plugins/keyboard.ts b/src/plugins/keyboard.ts index 07ecad051f..f1998a9165 100644 --- a/src/plugins/keyboard.ts +++ b/src/plugins/keyboard.ts @@ -14,6 +14,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'Keyboard', plugin: 'ionic-plugin-keyboard', pluginRef: 'cordova.plugins.Keyboard', repo: 'https://github.com/driftyco/ionic-plugin-keyboard' diff --git a/src/plugins/launchnavigator.ts b/src/plugins/launchnavigator.ts index 03bd91e684..5746151aae 100644 --- a/src/plugins/launchnavigator.ts +++ b/src/plugins/launchnavigator.ts @@ -82,6 +82,7 @@ export interface LaunchNavigatorOptions { * ``` */ @Plugin({ + name: 'LaunchNavigator', plugin: 'uk.co.workingedge.phonegap.plugin.launchnavigator', pluginRef: 'launchnavigator', repo: 'https://github.com/dpa99c/phonegap-launch-navigator.git' diff --git a/src/plugins/localnotifications.ts b/src/plugins/localnotifications.ts index 7912e7fa4b..d60c0d2d1d 100644 --- a/src/plugins/localnotifications.ts +++ b/src/plugins/localnotifications.ts @@ -45,6 +45,7 @@ import { Cordova, Plugin } from './plugin'; * */ @Plugin({ + name: 'LocalNotifications', plugin: 'de.appplant.cordova.plugin.local-notification', pluginRef: 'cordova.plugins.notification.local', repo: 'https://github.com/katzer/cordova-plugin-local-notifications' diff --git a/src/plugins/market.ts b/src/plugins/market.ts index 1e63ce6fed..0ba60687e3 100644 --- a/src/plugins/market.ts +++ b/src/plugins/market.ts @@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'Market', plugin: 'cordova-plugin-market', pluginRef: 'plugins.market', repo: 'https://github.com/xmartlabs/cordova-plugin-market' diff --git a/src/plugins/media-capture.ts b/src/plugins/media-capture.ts index 1bd838a08e..f2aba7160e 100644 --- a/src/plugins/media-capture.ts +++ b/src/plugins/media-capture.ts @@ -22,6 +22,7 @@ declare var navigator: any; * ``` */ @Plugin({ + name: 'MediaCapture', plugin: 'cordova-plugin-media-capture', pluginRef: 'navigator.device.capture', repo: 'https://github.com/apache/cordova-plugin-media-capture' diff --git a/src/plugins/media.ts b/src/plugins/media.ts index d9af0592d3..bef100f631 100644 --- a/src/plugins/media.ts +++ b/src/plugins/media.ts @@ -68,6 +68,7 @@ export interface MediaError { * ``` */ let pluginMeta = { + name: 'MediaPlugin', repo: 'https://github.com/apache/cordova-plugin-media', plugin: 'cordova-plugin-media', pluginRef: 'Media' diff --git a/src/plugins/mixpanel.ts b/src/plugins/mixpanel.ts index 6fa0000f35..6137a9e0c8 100644 --- a/src/plugins/mixpanel.ts +++ b/src/plugins/mixpanel.ts @@ -6,6 +6,7 @@ declare var mixpanel: any; * @private */ export const pluginMeta = { + name: 'Mixpanel', plugin: 'cordova-plugin-mixpanel', pluginRef: 'mixpanel', repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin' diff --git a/src/plugins/music-controls.ts b/src/plugins/music-controls.ts index c091af3329..cddd6be007 100644 --- a/src/plugins/music-controls.ts +++ b/src/plugins/music-controls.ts @@ -73,6 +73,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'MusicControls', plugin: 'cordova-plugin-music-controls', pluginRef: 'MusicControls', repo: 'https://github.com/homerours/cordova-music-controls-plugin' diff --git a/src/plugins/native-audio.ts b/src/plugins/native-audio.ts index 3eef0d13a6..58485763f2 100644 --- a/src/plugins/native-audio.ts +++ b/src/plugins/native-audio.ts @@ -21,6 +21,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'NativeAudio', plugin: 'cordova-plugin-nativeaudio', pluginRef: 'plugins.NativeAudio', repo: 'https://github.com/floatinghotpot/cordova-plugin-nativeaudio' diff --git a/src/plugins/native-page-transitions.ts b/src/plugins/native-page-transitions.ts index 41b5d79a1f..7020e0114f 100644 --- a/src/plugins/native-page-transitions.ts +++ b/src/plugins/native-page-transitions.ts @@ -27,6 +27,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'NativePageTransitions', plugin: 'com.telerik.plugins.nativepagetransitions', pluginRef: 'plugins.nativepagetransitions', repo: 'https://github.com/Telerik-Verified-Plugins/NativePageTransitions', diff --git a/src/plugins/nativestorage.ts b/src/plugins/nativestorage.ts index 66bc7e9e3f..f4ee84108a 100644 --- a/src/plugins/nativestorage.ts +++ b/src/plugins/nativestorage.ts @@ -23,6 +23,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'NativeStorage', plugin: 'cordova-plugin-nativestorage', pluginRef: 'NativeStorage', repo: 'https://github.com/TheCocoaProject/cordova-plugin-nativestorage' diff --git a/src/plugins/network.ts b/src/plugins/network.ts index 4b238ca11c..964b4e5017 100644 --- a/src/plugins/network.ts +++ b/src/plugins/network.ts @@ -43,6 +43,7 @@ declare var navigator: any; * The `connection` property will return one of the following connection types: `unknown`, `ethernet`, `wifi`, `2g`, `3g`, `4g`, `cellular`, `none` */ @Plugin({ + name: 'Network', plugin: 'cordova-plugin-network-information', repo: 'https://github.com/apache/cordova-plugin-network-information', platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser'], diff --git a/src/plugins/nfc.ts b/src/plugins/nfc.ts index 1159b97a99..7d1ea916d1 100644 --- a/src/plugins/nfc.ts +++ b/src/plugins/nfc.ts @@ -23,6 +23,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'NFC', plugin: 'phonegap-nfc', pluginRef: 'nfc', repo: 'https://github.com/chariotsolutions/phonegap-nfc' diff --git a/src/plugins/onesignal.ts b/src/plugins/onesignal.ts index f3c234954f..1209d05375 100644 --- a/src/plugins/onesignal.ts +++ b/src/plugins/onesignal.ts @@ -30,6 +30,7 @@ import { Observable } from 'rxjs/Observable'; * */ @Plugin({ + name: 'OneSignal', plugin: 'onesignal-cordova-plugin', pluginRef: 'plugins.OneSignal', repo: 'https://github.com/OneSignal/OneSignal-Cordova-SDK' diff --git a/src/plugins/pay-pal.ts b/src/plugins/pay-pal.ts index cd550b65de..0539dbf709 100644 --- a/src/plugins/pay-pal.ts +++ b/src/plugins/pay-pal.ts @@ -58,6 +58,7 @@ import { Plugin, Cordova } from './plugin'; * PayPalShippingAddress */ @Plugin({ + name: 'PayPal', plugin: 'com.paypal.cordova.mobilesdk', pluginRef: 'PayPalMobile', repo: 'https://github.com/paypal/PayPal-Cordova-Plugin' diff --git a/src/plugins/photo-viewer.ts b/src/plugins/photo-viewer.ts index 95728f0fd1..cca6e40395 100644 --- a/src/plugins/photo-viewer.ts +++ b/src/plugins/photo-viewer.ts @@ -12,6 +12,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'PhotoViewer', plugin: 'com-sarriaroman-photoviewer', pluginRef: 'PhotoViewer', repo: 'https://github.com/sarriaroman/photoviewer' diff --git a/src/plugins/pin-dialog.ts b/src/plugins/pin-dialog.ts index 3e2ac519ab..ba7f500522 100644 --- a/src/plugins/pin-dialog.ts +++ b/src/plugins/pin-dialog.ts @@ -20,6 +20,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'PinDialog', plugin: 'cordova-plugin-pin-dialog', pluginRef: 'plugins.pinDialog', repo: 'https://github.com/Paldom/PinDialog' diff --git a/src/plugins/power-management.ts b/src/plugins/power-management.ts index a43999acc9..e5dbf71294 100644 --- a/src/plugins/power-management.ts +++ b/src/plugins/power-management.ts @@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'PowerManagement', plugin: 'cordova-plugin-powermanagement-orig', pluginRef: 'powerManagement', repo: 'https://github.com/Viras-/cordova-plugin-powermanagement' diff --git a/src/plugins/printer.ts b/src/plugins/printer.ts index 43ae62f209..72c5062a24 100644 --- a/src/plugins/printer.ts +++ b/src/plugins/printer.ts @@ -61,6 +61,7 @@ export interface PrintOptions { * ``` */ @Plugin({ + name: 'Printer', plugin: 'de.appplant.cordova.plugin.printer', pluginRef: 'cordova.plugins.printer', repo: 'https://github.com/katzer/cordova-plugin-printer.git', diff --git a/src/plugins/push.ts b/src/plugins/push.ts index c4cfff762c..10d452b319 100644 --- a/src/plugins/push.ts +++ b/src/plugins/push.ts @@ -286,6 +286,7 @@ declare var PushNotification: { * ``` */ @Plugin({ + name: 'Push', plugin: 'phonegap-plugin-push', pluginRef: 'PushNotification', repo: 'https://github.com/phonegap/phonegap-plugin-push' diff --git a/src/plugins/safari-view-controller.ts b/src/plugins/safari-view-controller.ts index 62d3429139..12e009a7d0 100644 --- a/src/plugins/safari-view-controller.ts +++ b/src/plugins/safari-view-controller.ts @@ -39,6 +39,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'SafariViewController', plugin: 'cordova-plugin-safariviewcontroller', pluginRef: 'SafariViewController', platforms: ['iOS', 'Android'], diff --git a/src/plugins/screen-orientation.ts b/src/plugins/screen-orientation.ts index f5c4d4463e..a7d305f517 100644 --- a/src/plugins/screen-orientation.ts +++ b/src/plugins/screen-orientation.ts @@ -23,9 +23,9 @@ declare var window; * ``` * * @advanced - * + * * Accepted orientation values: - * + * * | Value | Description | * |-------------------------------|------------------------------------------------------------------------------| * | portrait-primary | The orientation is in the primary portrait mode. | @@ -34,9 +34,10 @@ declare var window; * | landscape-secondary | The orientation is in the secondary landscape mode. | * | portrait | The orientation is either portrait-primary or portrait-secondary (sensor). | * | landscape | The orientation is either landscape-primary or landscape-secondary (sensor). | - * + * */ @Plugin({ + name: 'ScreenOrientation', plugin: 'cordova-plugin-screen-orientation', pluginRef: 'window.screen', repo: 'https://github.com/apache/cordova-plugin-screen-orientation', diff --git a/src/plugins/screenshot.ts b/src/plugins/screenshot.ts index 9b8d973810..822876c692 100644 --- a/src/plugins/screenshot.ts +++ b/src/plugins/screenshot.ts @@ -17,6 +17,7 @@ declare var navigator: any; * ``` */ @Plugin({ + name: 'Screenshot', plugin: 'https://github.com/gitawego/cordova-screenshot.git', pluginRef: 'navigator.screenshot', repo: 'https://github.com/gitawego/cordova-screenshot.git' diff --git a/src/plugins/securestorage.ts b/src/plugins/securestorage.ts index 09c766a8a6..8cf8732439 100644 --- a/src/plugins/securestorage.ts +++ b/src/plugins/securestorage.ts @@ -40,6 +40,7 @@ declare var cordova: any; * ``` */ @Plugin({ + name: 'SecureStorage', plugin: 'cordova-plugin-secure-storage', pluginRef: 'plugins.securestorage', repo: 'https://github.com/Crypho/cordova-plugin-secure-storage', diff --git a/src/plugins/shake.ts b/src/plugins/shake.ts index 4e5208f03c..99df465b1d 100644 --- a/src/plugins/shake.ts +++ b/src/plugins/shake.ts @@ -15,6 +15,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'Shake', plugin: 'cordova-plugin-shake', pluginRef: 'shake', repo: 'https://github.com/leecrossley/cordova-plugin-shake' diff --git a/src/plugins/sim.ts b/src/plugins/sim.ts index bff9a49b01..fe173d7a5b 100644 --- a/src/plugins/sim.ts +++ b/src/plugins/sim.ts @@ -20,6 +20,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Sim', plugin: 'cordova-plugin-sim', pluginRef: 'plugins.sim', repo: 'https://github.com/pbakondy/cordova-plugin-sim', diff --git a/src/plugins/sms.ts b/src/plugins/sms.ts index d659fc6af7..c1b996e376 100644 --- a/src/plugins/sms.ts +++ b/src/plugins/sms.ts @@ -40,6 +40,7 @@ export interface SmsOptionsAndroid { * ``` */ @Plugin({ + name: 'SMS', plugin: 'cordova-sms-plugin', pluginRef: 'sms', repo: 'https://github.com/cordova-sms/cordova-sms-plugin', diff --git a/src/plugins/socialsharing.ts b/src/plugins/socialsharing.ts index 78a1ad2649..c64ca8433f 100644 --- a/src/plugins/socialsharing.ts +++ b/src/plugins/socialsharing.ts @@ -25,6 +25,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'SocialSharing', plugin: 'cordova-plugin-x-socialsharing', pluginRef: 'plugins.socialsharing', repo: 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin', diff --git a/src/plugins/spinnerdialog.ts b/src/plugins/spinnerdialog.ts index 6f5397111e..f2c9182cf6 100644 --- a/src/plugins/spinnerdialog.ts +++ b/src/plugins/spinnerdialog.ts @@ -15,6 +15,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'SpinnerDialog', plugin: 'cordova-plugin-spinner-dialog', pluginRef: 'window.plugins.spinnerDialog', repo: 'https://github.com/Paldom/SpinnerDialog', diff --git a/src/plugins/splashscreen.ts b/src/plugins/splashscreen.ts index f5bc86623b..974c03abea 100644 --- a/src/plugins/splashscreen.ts +++ b/src/plugins/splashscreen.ts @@ -15,6 +15,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Splashscreen', plugin: 'cordova-plugin-splashscreen', pluginRef: 'navigator.splashscreen', repo: 'https://github.com/apache/cordova-plugin-splashscreen' diff --git a/src/plugins/sqlite.ts b/src/plugins/sqlite.ts index 1942e6c387..2b123aa27d 100644 --- a/src/plugins/sqlite.ts +++ b/src/plugins/sqlite.ts @@ -31,9 +31,10 @@ declare var sqlitePlugin; * */ @Plugin({ - pluginRef: 'sqlitePlugin', - plugin: 'cordova-sqlite-storage', - repo: 'https://github.com/litehelpers/Cordova-sqlite-storage' + name: 'SQLite', + pluginRef: 'sqlitePlugin', + plugin: 'cordova-sqlite-storage', + repo: 'https://github.com/litehelpers/Cordova-sqlite-storage' }) export class SQLite { diff --git a/src/plugins/statusbar.ts b/src/plugins/statusbar.ts index 2628d92050..2bf89ed5df 100644 --- a/src/plugins/statusbar.ts +++ b/src/plugins/statusbar.ts @@ -22,6 +22,7 @@ declare var window; * */ @Plugin({ + name: 'StatusBar', plugin: 'cordova-plugin-statusbar', pluginRef: 'StatusBar', repo: 'https://github.com/apache/cordova-plugin-statusbar', diff --git a/src/plugins/streaming-media.ts b/src/plugins/streaming-media.ts index 86cdf26be9..96534232c3 100644 --- a/src/plugins/streaming-media.ts +++ b/src/plugins/streaming-media.ts @@ -19,6 +19,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'StreamingMedia', plugin: 'cordova-plugin-streaming-media', pluginRef: 'plugins.streamingMedia', repo: 'https://github.com/nchutchind/cordova-plugin-streaming-media', diff --git a/src/plugins/text-to-speech.ts b/src/plugins/text-to-speech.ts index 41a16025ed..f6afd107eb 100644 --- a/src/plugins/text-to-speech.ts +++ b/src/plugins/text-to-speech.ts @@ -25,6 +25,7 @@ export interface TTSOptions { * ``` */ @Plugin({ + name: 'TextToSpeech', plugin: 'cordova-plugin-tts', pluginRef: 'TTS', repo: 'https://github.com/vilic/cordova-plugin-tts' diff --git a/src/plugins/toast.ts b/src/plugins/toast.ts index d7355ffe9c..3e1613479d 100644 --- a/src/plugins/toast.ts +++ b/src/plugins/toast.ts @@ -57,6 +57,7 @@ export interface ToastOptions { * ToastOptions */ @Plugin({ + name: 'Toast', plugin: 'cordova-plugin-x-toast', pluginRef: 'plugins.toast', repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin', diff --git a/src/plugins/touchid.ts b/src/plugins/touchid.ts index 559aa8054c..749d7b21ee 100644 --- a/src/plugins/touchid.ts +++ b/src/plugins/touchid.ts @@ -45,6 +45,7 @@ import { Cordova, Plugin } from './plugin'; * - `-8` - TouchID is locked out from too many tries */ @Plugin({ + name: 'TouchID', plugin: 'cordova-plugin-touch-id', pluginRef: 'plugins.touchid', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-touch-id', diff --git a/src/plugins/twitter-connect.ts b/src/plugins/twitter-connect.ts index f39c93b5be..cd3a7730c4 100644 --- a/src/plugins/twitter-connect.ts +++ b/src/plugins/twitter-connect.ts @@ -27,6 +27,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'TwitterConnect', plugin: 'twitter-connect-plugin', pluginRef: 'TwitterConnect', repo: 'https://github.com/ManifestWebDesign/twitter-connect-plugin', diff --git a/src/plugins/vibration.ts b/src/plugins/vibration.ts index 5f2c82a529..df09bcaeb2 100644 --- a/src/plugins/vibration.ts +++ b/src/plugins/vibration.ts @@ -10,7 +10,7 @@ import { Cordova, Plugin } from './plugin'; * * * // Vibrate the device for a second - * // Duration is ignored on iOS. + * // Duration is ignored on iOS. * Vibration.vibrate(1000); * * // Vibrate 2 seconds @@ -25,6 +25,7 @@ import { Cordova, Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'Vibration', plugin: 'cordova-plugin-vibration', pluginRef: 'navigator', repo: 'https://github.com/apache/cordova-plugin-vibration', diff --git a/src/plugins/video-editor.ts b/src/plugins/video-editor.ts index 17a1ea9d98..0c9399a457 100644 --- a/src/plugins/video-editor.ts +++ b/src/plugins/video-editor.ts @@ -137,6 +137,7 @@ export interface VideoInfo { * ``` */ @Plugin({ + name: 'VideoEditor', plugin: 'cordova-plugin-video-editor', pluginRef: 'VideoEditor', repo: 'https://github.com/jbavari/cordova-plugin-video-editor', diff --git a/src/plugins/video-player.ts b/src/plugins/video-player.ts index a39ad9812c..47089b03b0 100644 --- a/src/plugins/video-player.ts +++ b/src/plugins/video-player.ts @@ -38,6 +38,7 @@ export interface VideoOptions { * ``` */ @Plugin({ + name: 'VideoPlayer', plugin: 'cordova-plugin-videoplayer', pluginRef: 'VideoPlayer', repo: 'https://github.com/moust/cordova-plugin-videoplayer', diff --git a/src/plugins/webintent.ts b/src/plugins/webintent.ts index 568a33e8e2..8373dbe0a4 100644 --- a/src/plugins/webintent.ts +++ b/src/plugins/webintent.ts @@ -17,6 +17,7 @@ declare var window; * ``` */ @Plugin({ + name: 'WebIntent', plugin: 'https://github.com/Initsogar/cordova-webintent.git', pluginRef: 'window.plugins.webintent', repo: 'https://github.com/Initsogar/cordova-webintent.git', diff --git a/src/plugins/youtube-video-player.ts b/src/plugins/youtube-video-player.ts index 27511bfbaf..20f0349554 100644 --- a/src/plugins/youtube-video-player.ts +++ b/src/plugins/youtube-video-player.ts @@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'YoutubeVideoPlayer', plugin: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git', pluginRef: 'YoutubeVideoPlayer', repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer', diff --git a/src/plugins/zip.ts b/src/plugins/zip.ts index b2d4058b1a..01dd6e9723 100644 --- a/src/plugins/zip.ts +++ b/src/plugins/zip.ts @@ -18,6 +18,7 @@ import { Plugin, Cordova } from './plugin'; * ``` */ @Plugin({ + name: 'Zip', plugin: 'cordova-plugin-zip', pluginRef: 'zip', repo: 'https://github.com/MobileChromeApps/cordova-plugin-zip',