fix(plugin): don't bind to name field. Fixes #740

This commit is contained in:
Max Lynch 2016-10-27 12:48:50 -05:00
parent 0669ba5222
commit 71916a85dd
109 changed files with 119 additions and 119 deletions

View File

@ -65,7 +65,7 @@ declare var window: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'ThreeDeeTouch', pluginName: 'ThreeDeeTouch',
plugin: 'cordova-plugin-3dtouch', plugin: 'cordova-plugin-3dtouch',
pluginRef: 'ThreeDeeTouch', pluginRef: 'ThreeDeeTouch',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-3dtouch', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-3dtouch',

View File

@ -41,7 +41,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'ActionSheet', pluginName: 'ActionSheet',
plugin: 'cordova-plugin-actionsheet', plugin: 'cordova-plugin-actionsheet',
pluginRef: 'plugins.actionsheet', pluginRef: 'plugins.actionsheet',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet',

View File

@ -8,7 +8,7 @@ import { Observable } from 'rxjs/Observable';
* Please refer the the plugin's original repository for detailed usage. * Please refer the the plugin's original repository for detailed usage.
*/ */
@Plugin({ @Plugin({
name: 'AdMob', pluginName: 'AdMob',
plugin: 'cordova-plugin-admobpro', plugin: 'cordova-plugin-admobpro',
pluginRef: 'AdMob', pluginRef: 'AdMob',
repo: 'https://github.com/floatinghotpot/cordova-admob-pro', repo: 'https://github.com/floatinghotpot/cordova-admob-pro',

View File

@ -30,7 +30,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'AndroidFingerprintAuth', pluginName: 'AndroidFingerprintAuth',
plugin: 'cordova-plugin-android-fingerprint-auth', plugin: 'cordova-plugin-android-fingerprint-auth',
pluginRef: 'FingerprintAuth', pluginRef: 'FingerprintAuth',
repo: 'https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth' repo: 'https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth'

View File

@ -28,7 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'AppAvailability', pluginName: 'AppAvailability',
plugin: 'cordova-plugin-appavailability', plugin: 'cordova-plugin-appavailability',
pluginRef: 'appAvailability', pluginRef: 'appAvailability',
repo: 'https://github.com/ohh2ahh/AppAvailability', repo: 'https://github.com/ohh2ahh/AppAvailability',

View File

@ -44,7 +44,7 @@ declare var window;
*/ */
@Plugin({ @Plugin({
name: 'AppRate', pluginName: 'AppRate',
plugin: 'cordova-plugin-apprate', plugin: 'cordova-plugin-apprate',
pluginRef: 'AppRate', pluginRef: 'AppRate',
repo: 'https://github.com/pushandplay/cordova-plugin-apprate', repo: 'https://github.com/pushandplay/cordova-plugin-apprate',

View File

@ -19,7 +19,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'AppVersion', pluginName: 'AppVersion',
plugin: 'cordova-plugin-app-version', plugin: 'cordova-plugin-app-version',
pluginRef: 'cordova.getAppVersion', pluginRef: 'cordova.getAppVersion',
repo: 'https://github.com/whiteoctober/cordova-plugin-app-version', repo: 'https://github.com/whiteoctober/cordova-plugin-app-version',

View File

@ -272,7 +272,7 @@ export interface Config {
* Config * Config
*/ */
@Plugin({ @Plugin({
name: 'BackgroundGeolocation', pluginName: 'BackgroundGeolocation',
plugin: 'cordova-plugin-mauron85-background-geolocation', plugin: 'cordova-plugin-mauron85-background-geolocation',
pluginRef: 'backgroundGeolocation', pluginRef: 'backgroundGeolocation',
repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation', repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation',

View File

@ -28,7 +28,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: 'BackgroundMode', pluginName: 'BackgroundMode',
plugin: 'cordova-plugin-background-mode', plugin: 'cordova-plugin-background-mode',
pluginRef: 'cordova.plugins.backgroundMode', pluginRef: 'cordova.plugins.backgroundMode',
repo: 'https://github.com/katzer/cordova-plugin-background-mode', repo: 'https://github.com/katzer/cordova-plugin-background-mode',

View File

@ -18,7 +18,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Badge', pluginName: 'Badge',
plugin: 'cordova-plugin-badge', plugin: 'cordova-plugin-badge',
pluginRef: 'cordova.plugins.notification.badge', pluginRef: 'cordova.plugins.notification.badge',
repo: 'https://github.com/katzer/cordova-plugin-badge', repo: 'https://github.com/katzer/cordova-plugin-badge',

View File

@ -20,7 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'BarcodeScanner', pluginName: 'BarcodeScanner',
plugin: 'phonegap-plugin-barcodescanner', plugin: 'phonegap-plugin-barcodescanner',
pluginRef: 'cordova.plugins.barcodeScanner', pluginRef: 'cordova.plugins.barcodeScanner',
repo: 'https://github.com/phonegap/phonegap-plugin-barcodescanner', repo: 'https://github.com/phonegap/phonegap-plugin-barcodescanner',

View File

@ -14,7 +14,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Base64ToGallery', pluginName: 'Base64ToGallery',
plugin: 'cordova-base64-to-gallery', plugin: 'cordova-base64-to-gallery',
pluginRef: 'cordova', pluginRef: 'cordova',
repo: 'https://github.com/Nexxa/cordova-base64-to-gallery', repo: 'https://github.com/Nexxa/cordova-base64-to-gallery',

View File

@ -24,7 +24,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'BatteryStatus', pluginName: 'BatteryStatus',
plugin: 'cordova-plugin-battery-status', plugin: 'cordova-plugin-battery-status',
repo: 'https://github.com/apache/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'] platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser']

View File

@ -160,7 +160,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: 'BLE', pluginName: 'BLE',
plugin: 'cordova-plugin-ble-central', plugin: 'cordova-plugin-ble-central',
pluginRef: 'ble', pluginRef: 'ble',
repo: 'https://github.com/don/cordova-plugin-ble-central', repo: 'https://github.com/don/cordova-plugin-ble-central',

View File

@ -28,7 +28,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'BluetoothSerial', pluginName: 'BluetoothSerial',
repo: 'https://github.com/don/BluetoothSerial', repo: 'https://github.com/don/BluetoothSerial',
plugin: 'cordova-plugin-bluetooth-serial', plugin: 'cordova-plugin-bluetooth-serial',
pluginRef: 'bluetoothSerial', pluginRef: 'bluetoothSerial',

View File

@ -18,7 +18,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'Brightness', pluginName: 'Brightness',
plugin: 'cordova-plugin-brightness', plugin: 'cordova-plugin-brightness',
pluginRef: 'cordova.plugins.brightness', pluginRef: 'cordova.plugins.brightness',
repo: 'https://github.com/mgcrea/cordova-plugin-brightness', repo: 'https://github.com/mgcrea/cordova-plugin-brightness',

View File

@ -38,7 +38,7 @@ export interface CalendarOptions {
* *
*/ */
@Plugin({ @Plugin({
name: 'Calendar', pluginName: 'Calendar',
plugin: 'cordova-plugin-calendar', plugin: 'cordova-plugin-calendar',
pluginRef: 'plugins.calendar', pluginRef: 'plugins.calendar',
repo: 'https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin', repo: 'https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin',

View File

@ -16,7 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'CallNumber', pluginName: 'CallNumber',
plugin: 'call-number', plugin: 'call-number',
pluginRef: 'plugins.CallNumber', pluginRef: 'plugins.CallNumber',
repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin', repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin',

View File

@ -69,7 +69,7 @@ export interface CameraPreviewSize {
* *
*/ */
@Plugin({ @Plugin({
name: 'CameraPreview', pluginName: 'CameraPreview',
plugin: 'cordova-plugin-camera-preview', plugin: 'cordova-plugin-camera-preview',
pluginRef: 'cordova.plugins.camerapreview', pluginRef: 'cordova.plugins.camerapreview',
repo: 'https://github.com/westonganger/cordova-plugin-camera-preview', repo: 'https://github.com/westonganger/cordova-plugin-camera-preview',

View File

@ -110,7 +110,7 @@ export interface CameraPopoverOptions {
* CameraPopoverOptions * CameraPopoverOptions
*/ */
@Plugin({ @Plugin({
name: 'Camera', pluginName: 'Camera',
plugin: 'cordova-plugin-camera', plugin: 'cordova-plugin-camera',
pluginRef: 'navigator.camera', pluginRef: 'navigator.camera',
repo: 'https://github.com/apache/cordova-plugin-camera', repo: 'https://github.com/apache/cordova-plugin-camera',

View File

@ -25,7 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'CardIO', pluginName: 'CardIO',
plugin: 'https://github.com/card-io/card.io-Cordova-Plugin', plugin: 'https://github.com/card-io/card.io-Cordova-Plugin',
pluginRef: 'CardIO', pluginRef: 'CardIO',
repo: 'https://github.com/card-io/card.io-Cordova-Plugin', repo: 'https://github.com/card-io/card.io-Cordova-Plugin',

View File

@ -28,7 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Clipboard', pluginName: 'Clipboard',
plugin: 'https://github.com/VersoSolutions/CordovaClipboard.git', plugin: 'https://github.com/VersoSolutions/CordovaClipboard.git',
pluginRef: 'cordova.plugins.clipboard', pluginRef: 'cordova.plugins.clipboard',
repo: 'https://github.com/VersoSolutions/CordovaClipboard', repo: 'https://github.com/VersoSolutions/CordovaClipboard',

View File

@ -420,7 +420,7 @@ export interface DownloadProgress {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'CodePush', pluginName: 'CodePush',
plugin: 'cordova-plugin-code-push', plugin: 'cordova-plugin-code-push',
pluginRef: 'codePush', pluginRef: 'codePush',
repo: 'https://github.com/Microsoft/cordova-plugin-code-push', repo: 'https://github.com/Microsoft/cordova-plugin-code-push',

View File

@ -316,7 +316,7 @@ export class ContactFindOptions implements IContactFindOptions {
* ContactAddress * ContactAddress
*/ */
@Plugin({ @Plugin({
name: 'Contacts', pluginName: 'Contacts',
plugin: 'cordova-plugin-contacts', plugin: 'cordova-plugin-contacts',
pluginRef: 'navigator.contacts', pluginRef: 'navigator.contacts',
repo: 'https://github.com/apache/cordova-plugin-contacts' repo: 'https://github.com/apache/cordova-plugin-contacts'

View File

@ -16,7 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Crop', pluginName: 'Crop',
plugin: 'cordova-plugin-crop', plugin: 'cordova-plugin-crop',
pluginRef: 'plugins', pluginRef: 'plugins',
repo: 'https://github.com/jeduan/cordova-plugin-crop' repo: 'https://github.com/jeduan/cordova-plugin-crop'

View File

@ -128,7 +128,7 @@ export interface DatePickerOptions {
* DatePickerOptions * DatePickerOptions
*/ */
@Plugin({ @Plugin({
name: 'DatePicker', pluginName: 'DatePicker',
plugin: 'cordova-plugin-datepicker', plugin: 'cordova-plugin-datepicker',
pluginRef: 'datePicker', pluginRef: 'datePicker',
repo: 'https://github.com/VitaliiBlagodir/cordova-plugin-datepicker' repo: 'https://github.com/VitaliiBlagodir/cordova-plugin-datepicker'

View File

@ -31,7 +31,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'DBMeter', pluginName: 'DBMeter',
plugin: 'cordova-plugin-dbmeter', plugin: 'cordova-plugin-dbmeter',
pluginRef: 'DBMeter', pluginRef: 'DBMeter',
repo: 'https://github.com/akofman/cordova-plugin-dbmeter', repo: 'https://github.com/akofman/cordova-plugin-dbmeter',

View File

@ -59,7 +59,7 @@ export interface DeeplinkMatch {
* retrieve the `NavController` reference at runtime. * retrieve the `NavController` reference at runtime.
*/ */
@Plugin({ @Plugin({
name: 'Deeplinks', pluginName: 'Deeplinks',
plugin: 'ionic-plugin-deeplinks', plugin: 'ionic-plugin-deeplinks',
pluginRef: 'IonicDeeplink', pluginRef: 'IonicDeeplink',
repo: 'https://github.com/driftyco/ionic-plugin-deeplinks', repo: 'https://github.com/driftyco/ionic-plugin-deeplinks',

View File

@ -25,7 +25,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'DeviceFeedback', pluginName: 'DeviceFeedback',
plugin: 'cordova-plugin-velda-devicefeedback', plugin: 'cordova-plugin-velda-devicefeedback',
pluginRef: 'plugins.deviceFeedback', pluginRef: 'plugins.deviceFeedback',
repo: 'https://github.com/VVelda/device-feedback', repo: 'https://github.com/VVelda/device-feedback',

View File

@ -41,7 +41,7 @@ export interface Device {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Device', pluginName: 'Device',
plugin: 'cordova-plugin-device', plugin: 'cordova-plugin-device',
pluginRef: 'device', pluginRef: 'device',
repo: 'https://github.com/apache/cordova-plugin-device' repo: 'https://github.com/apache/cordova-plugin-device'

View File

@ -2,7 +2,7 @@ import { Cordova, Plugin } from './plugin';
@Plugin({ @Plugin({
name: 'DeviceAccounts', pluginName: 'DeviceAccounts',
plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git', plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git',
pluginRef: 'plugins.DeviceAccounts', pluginRef: 'plugins.DeviceAccounts',
repo: 'https://github.com/loicknuchel/cordova-device-accounts', repo: 'https://github.com/loicknuchel/cordova-device-accounts',

View File

@ -62,7 +62,7 @@ export interface AccelerometerOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'DeviceMotion', pluginName: 'DeviceMotion',
plugin: 'cordova-plugin-device-motion', plugin: 'cordova-plugin-device-motion',
pluginRef: 'navigator.accelerometer', pluginRef: 'navigator.accelerometer',
repo: 'https://github.com/apache/cordova-plugin-device-motion' repo: 'https://github.com/apache/cordova-plugin-device-motion'

View File

@ -67,7 +67,7 @@ export interface CompassOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'DeviceOrientation', pluginName: 'DeviceOrientation',
plugin: 'cordova-plugin-device-orientation', plugin: 'cordova-plugin-device-orientation',
pluginRef: 'navigator.compass', pluginRef: 'navigator.compass',
repo: 'https://github.com/apache/cordova-plugin-device-orientation' repo: 'https://github.com/apache/cordova-plugin-device-orientation'

View File

@ -29,7 +29,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Diagnostic', pluginName: 'Diagnostic',
plugin: 'cordova.plugins.diagnostic', plugin: 'cordova.plugins.diagnostic',
pluginRef: 'cordova.plugins.diagnostic', pluginRef: 'cordova.plugins.diagnostic',
repo: 'https://github.com/dpa99c/cordova-diagnostic-plugin' repo: 'https://github.com/dpa99c/cordova-diagnostic-plugin'

View File

@ -32,7 +32,7 @@ export interface PromptCallback {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Dialogs', pluginName: 'Dialogs',
plugin: 'cordova-plugin-dialogs', plugin: 'cordova-plugin-dialogs',
pluginRef: 'navigator.notification', pluginRef: 'navigator.notification',
repo: 'https://github.com/apache/cordova-plugin-dialogs.git' repo: 'https://github.com/apache/cordova-plugin-dialogs.git'

View File

@ -44,7 +44,7 @@ declare var cordova: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'EmailComposer', pluginName: 'EmailComposer',
plugin: 'cordova-plugin-email', plugin: 'cordova-plugin-email',
pluginRef: 'cordova.plugins.email', pluginRef: 'cordova.plugins.email',
repo: 'https://github.com/hypery2k/cordova-email-plugin', repo: 'https://github.com/hypery2k/cordova-email-plugin',

View File

@ -9,7 +9,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: 'EstimoteBeacons', pluginName: 'EstimoteBeacons',
plugin: 'cordova-plugin-estimote', plugin: 'cordova-plugin-estimote',
pluginRef: 'estimote.beacons', pluginRef: 'estimote.beacons',
repo: 'https://github.com/evothings/phonegap-estimotebeacons', repo: 'https://github.com/evothings/phonegap-estimotebeacons',

View File

@ -78,7 +78,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'Facebook', pluginName: 'Facebook',
plugin: 'cordova-plugin-facebook4', plugin: 'cordova-plugin-facebook4',
pluginRef: 'facebookConnectPlugin', pluginRef: 'facebookConnectPlugin',
repo: 'https://github.com/jeduan/cordova-plugin-facebook4', repo: 'https://github.com/jeduan/cordova-plugin-facebook4',

View File

@ -16,7 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'FileChooser', pluginName: 'FileChooser',
plugin: 'http://github.com/don/cordova-filechooser.git', plugin: 'http://github.com/don/cordova-filechooser.git',
pluginRef: 'fileChooser', pluginRef: 'fileChooser',
repo: 'https://github.com/don/cordova-filechooser', repo: 'https://github.com/don/cordova-filechooser',

View File

@ -13,7 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'FileOpener', pluginName: 'FileOpener',
plugin: 'cordova-plugin-file-opener2', plugin: 'cordova-plugin-file-opener2',
pluginRef: 'cordova.plugins.fileOpener2', pluginRef: 'cordova.plugins.fileOpener2',
repo: 'https://github.com/pwlin/cordova-plugin-file-opener2' repo: 'https://github.com/pwlin/cordova-plugin-file-opener2'

View File

@ -360,7 +360,7 @@ declare var FileError: {
* It also implements the FileWriter spec : http://dev.w3.org/2009/dap/file-system/file-writer.html * It also implements the FileWriter spec : http://dev.w3.org/2009/dap/file-system/file-writer.html
*/ */
@Plugin({ @Plugin({
name: 'File', pluginName: 'File',
plugin: 'cordova-plugin-file', plugin: 'cordova-plugin-file',
pluginRef: 'cordova.file', pluginRef: 'cordova.file',
repo: 'https://github.com/apache/cordova-plugin-file' repo: 'https://github.com/apache/cordova-plugin-file'
@ -391,7 +391,7 @@ export class File {
return new Promise<any>((resolve, reject) => { return new Promise<any>((resolve, reject) => {
if (!cordova || !cordova.exec) { if (!cordova || !cordova.exec) {
pluginWarn({ pluginWarn({
name: 'File', pluginName: 'File',
plugin: 'cordova-plugin-file' plugin: 'cordova-plugin-file'
}); });
reject({ error: 'plugin_not_installed' }); reject({ error: 'plugin_not_installed' });

View File

@ -19,7 +19,7 @@ declare var window: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'FilePath', pluginName: 'FilePath',
plugin: 'cordova-plugin-filepath', plugin: 'cordova-plugin-filepath',
pluginRef: 'window.FilePath', pluginRef: 'window.FilePath',
repo: 'https://github.com/hiddentao/cordova-plugin-filepath', repo: 'https://github.com/hiddentao/cordova-plugin-filepath',

View File

@ -173,7 +173,7 @@ export interface FileTransferError {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'FileTransfer', pluginName: 'FileTransfer',
plugin: 'cordova-plugin-file-transfer', plugin: 'cordova-plugin-file-transfer',
pluginRef: 'FileTransfer', pluginRef: 'FileTransfer',
repo: 'https://github.com/apache/cordova-plugin-file-transfer' repo: 'https://github.com/apache/cordova-plugin-file-transfer'

View File

@ -16,7 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Flashlight', pluginName: 'Flashlight',
plugin: 'cordova-plugin-flashlight', plugin: 'cordova-plugin-flashlight',
pluginRef: 'window.plugins.flashlight', pluginRef: 'window.plugins.flashlight',
repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git' repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git'

View File

@ -74,7 +74,7 @@ import { Observable } from 'rxjs/Observable';
declare var window: any; declare var window: any;
@Plugin({ @Plugin({
name: 'Geofence', pluginName: 'Geofence',
plugin: 'cordova-plugin-geofence', plugin: 'cordova-plugin-geofence',
pluginRef: 'geofence', pluginRef: 'geofence',
repo: 'https://github.com/cowbell/cordova-plugin-geofence/', repo: 'https://github.com/cowbell/cordova-plugin-geofence/',

View File

@ -139,7 +139,7 @@ export interface GeolocationOptions {
* GeolocationOptions * GeolocationOptions
*/ */
@Plugin({ @Plugin({
name: 'Geolocation', pluginName: 'Geolocation',
plugin: 'cordova-plugin-geolocation', plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation', pluginRef: 'navigator.geolocation',
repo: 'https://github.com/apache/cordova-plugin-geolocation' repo: 'https://github.com/apache/cordova-plugin-geolocation'

View File

@ -11,7 +11,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Globalization', pluginName: 'Globalization',
plugin: 'cordova-plugin-globalization', plugin: 'cordova-plugin-globalization',
pluginRef: 'navigator.globalization', pluginRef: 'navigator.globalization',
repo: 'https://github.com/apache/cordova-plugin-globalization' repo: 'https://github.com/apache/cordova-plugin-globalization'

View File

@ -12,7 +12,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'GooglePlus', pluginName: 'GooglePlus',
plugin: 'cordova-plugin-googleplus', plugin: 'cordova-plugin-googleplus',
pluginRef: 'window.plugins.googleplus', pluginRef: 'window.plugins.googleplus',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus',

View File

@ -13,7 +13,7 @@ declare var window;
* - (Android) Google Play Services SDK installed via [Android SDK Manager](https://developer.android.com/sdk/installing/adding-packages.html) * - (Android) Google Play Services SDK installed via [Android SDK Manager](https://developer.android.com/sdk/installing/adding-packages.html)
*/ */
@Plugin({ @Plugin({
name: 'GoogleAnalytics', pluginName: 'GoogleAnalytics',
plugin: 'cordova-plugin-google-analytics', plugin: 'cordova-plugin-google-analytics',
pluginRef: 'ga', pluginRef: 'ga',
repo: 'https://github.com/danwilson/google-analytics-plugin', repo: 'https://github.com/danwilson/google-analytics-plugin',

View File

@ -84,7 +84,7 @@ export const GoogleMapsAnimation = {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'GoogleMap', pluginName: 'GoogleMap',
pluginRef: 'plugin.google.maps.Map', pluginRef: 'plugin.google.maps.Map',
plugin: 'cordova-plugin-googlemaps', plugin: 'cordova-plugin-googlemaps',
repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps', repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps',
@ -109,7 +109,7 @@ export class GoogleMap {
this._objectInstance = plugin.google.maps.Map.getMap(element, options); this._objectInstance = plugin.google.maps.Map.getMap(element, options);
} else { } else {
pluginWarn({ pluginWarn({
name: 'GoogleMap', pluginName: 'GoogleMap',
plugin: 'plugin.google.maps.Map' plugin: 'plugin.google.maps.Map'
}); });
} }
@ -982,7 +982,7 @@ export class Geocoder {
return new Promise<GeocoderResult[]>((resolve, reject) => { return new Promise<GeocoderResult[]>((resolve, reject) => {
if (!plugin || !plugin.google || !plugin.google.maps || !plugin.google.maps.Geocoder) { if (!plugin || !plugin.google || !plugin.google.maps || !plugin.google.maps.Geocoder) {
pluginWarn({ pluginWarn({
name: 'GoogleMap', pluginName: 'GoogleMap',
plugin: 'plugin.google.maps.Map' plugin: 'plugin.google.maps.Map'
}); });
reject({ error: 'plugin_not_installed' }); reject({ error: 'plugin_not_installed' });

View File

@ -15,7 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Hotspot', pluginName: 'Hotspot',
plugin: 'cordova-plugin-hotspot', plugin: 'cordova-plugin-hotspot',
pluginRef: 'cordova.plugins.hotspot', pluginRef: 'cordova.plugins.hotspot',
repo: 'https://github.com/hypery2k/cordova-hotspot-plugin', repo: 'https://github.com/hypery2k/cordova-hotspot-plugin',

View File

@ -33,7 +33,7 @@ import { Plugin, Cordova } from './plugin';
* HTTPResponse * HTTPResponse
*/ */
@Plugin({ @Plugin({
name: 'HTTP', pluginName: 'HTTP',
plugin: 'cordova-plugin-http', plugin: 'cordova-plugin-http',
pluginRef: 'cordovaHTTP', pluginRef: 'cordovaHTTP',
repo: 'https://github.com/wymsee/cordova-HTTP', repo: 'https://github.com/wymsee/cordova-HTTP',

View File

@ -23,7 +23,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Httpd', pluginName: 'Httpd',
plugin: 'https://github.com/floatinghotpot/cordova-httpd.git', plugin: 'https://github.com/floatinghotpot/cordova-httpd.git',
pluginRef: 'cordova.plugins.CorHttpd', pluginRef: 'cordova.plugins.CorHttpd',
repo: 'https://github.com/floatinghotpot/cordova-httpd', repo: 'https://github.com/floatinghotpot/cordova-httpd',

View File

@ -268,7 +268,7 @@ export interface Delegate {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'IBeacon', pluginName: 'IBeacon',
plugin: 'cordova-plugin-ibeacon', plugin: 'cordova-plugin-ibeacon',
pluginRef: 'cordova.plugins.locationManager', pluginRef: 'cordova.plugins.locationManager',
repo: 'https://github.com/petermetz/cordova-plugin-ibeacon', repo: 'https://github.com/petermetz/cordova-plugin-ibeacon',

View File

@ -46,7 +46,7 @@ export interface ImagePickerOptions {
* ImagePickerOptions * ImagePickerOptions
*/ */
@Plugin({ @Plugin({
name: 'ImagePicker', pluginName: 'ImagePicker',
plugin: 'cordova-plugin-image-picker', plugin: 'cordova-plugin-image-picker',
pluginRef: 'window.imagePicker', pluginRef: 'window.imagePicker',
repo: 'https://github.com/wymsee/cordova-imagePicker' repo: 'https://github.com/wymsee/cordova-imagePicker'

View File

@ -67,7 +67,7 @@ export interface ImageResizerOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'ImageResizer', pluginName: 'ImageResizer',
plugin: 'https://github.com/protonet/cordova-plugin-image-resizer.git', plugin: 'https://github.com/protonet/cordova-plugin-image-resizer.git',
pluginRef: 'ImageResizer', pluginRef: 'ImageResizer',
repo: 'https://github.com/protonet/cordova-plugin-image-resizer' repo: 'https://github.com/protonet/cordova-plugin-image-resizer'

View File

@ -31,7 +31,7 @@ export interface InAppBrowserEvent extends Event {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'InAppBrowser', pluginName: 'InAppBrowser',
plugin: 'cordova-plugin-inappbrowser', plugin: 'cordova-plugin-inappbrowser',
pluginRef: 'cordova.InAppBrowser', pluginRef: 'cordova.InAppBrowser',
repo: 'https://github.com/apache/cordova-plugin-inappbrowser' repo: 'https://github.com/apache/cordova-plugin-inappbrowser'

View File

@ -51,7 +51,7 @@ import { Plugin, Cordova } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'InAppPurchase', pluginName: 'InAppPurchase',
plugin: 'cordova-plugin-inapppurchase', plugin: 'cordova-plugin-inapppurchase',
pluginRef: 'inAppPurchase', pluginRef: 'inAppPurchase',
platforms: ['Android', 'iOS'], platforms: ['Android', 'iOS'],

View File

@ -26,7 +26,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'Insomnia', pluginName: 'Insomnia',
plugin: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git', plugin: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git',
pluginRef: 'plugins.insomnia', pluginRef: 'plugins.insomnia',
repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin', repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin',

View File

@ -15,7 +15,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Instagram', pluginName: 'Instagram',
plugin: 'cordova-instagram-plugin', plugin: 'cordova-instagram-plugin',
pluginRef: 'Instagram', pluginRef: 'Instagram',
repo: 'https://github.com/vstirbu/InstagramPlugin' repo: 'https://github.com/vstirbu/InstagramPlugin'

View File

@ -17,7 +17,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'IsDebug', pluginName: 'IsDebug',
plugin: 'cordova-plugin-is-debug', plugin: 'cordova-plugin-is-debug',
pluginRef: 'cordova.plugins.IsDebug', pluginRef: 'cordova.plugins.IsDebug',
repo: 'https://github.com/mattlewis92/cordova-plugin-is-debug' repo: 'https://github.com/mattlewis92/cordova-plugin-is-debug'

View File

@ -14,7 +14,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Keyboard', pluginName: 'Keyboard',
plugin: 'ionic-plugin-keyboard', plugin: 'ionic-plugin-keyboard',
pluginRef: 'cordova.plugins.Keyboard', pluginRef: 'cordova.plugins.Keyboard',
repo: 'https://github.com/driftyco/ionic-plugin-keyboard' repo: 'https://github.com/driftyco/ionic-plugin-keyboard'

View File

@ -82,7 +82,7 @@ export interface LaunchNavigatorOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'LaunchNavigator', pluginName: 'LaunchNavigator',
plugin: 'uk.co.workingedge.phonegap.plugin.launchnavigator', plugin: 'uk.co.workingedge.phonegap.plugin.launchnavigator',
pluginRef: 'launchnavigator', pluginRef: 'launchnavigator',
repo: 'https://github.com/dpa99c/phonegap-launch-navigator.git' repo: 'https://github.com/dpa99c/phonegap-launch-navigator.git'

View File

@ -45,7 +45,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'LocalNotifications', pluginName: 'LocalNotifications',
plugin: 'de.appplant.cordova.plugin.local-notification', plugin: 'de.appplant.cordova.plugin.local-notification',
pluginRef: 'cordova.plugins.notification.local', pluginRef: 'cordova.plugins.notification.local',
repo: 'https://github.com/katzer/cordova-plugin-local-notifications' repo: 'https://github.com/katzer/cordova-plugin-local-notifications'

View File

@ -23,7 +23,7 @@ import {Plugin, Cordova} from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'LocationAccuracy', pluginName: 'LocationAccuracy',
plugin: 'cordova-plugin-request-location-accuracy', plugin: 'cordova-plugin-request-location-accuracy',
pluginRef: 'cordova.plugins.locationAccuracy', pluginRef: 'cordova.plugins.locationAccuracy',
repo: 'https://github.com/dpa99c/cordova-plugin-request-location-accuracy' repo: 'https://github.com/dpa99c/cordova-plugin-request-location-accuracy'

View File

@ -13,7 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Market', pluginName: 'Market',
plugin: 'cordova-plugin-market', plugin: 'cordova-plugin-market',
pluginRef: 'plugins.market', pluginRef: 'plugins.market',
repo: 'https://github.com/xmartlabs/cordova-plugin-market' repo: 'https://github.com/xmartlabs/cordova-plugin-market'

View File

@ -22,7 +22,7 @@ declare var navigator: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'MediaCapture', pluginName: 'MediaCapture',
plugin: 'cordova-plugin-media-capture', plugin: 'cordova-plugin-media-capture',
pluginRef: 'navigator.device.capture', pluginRef: 'navigator.device.capture',
repo: 'https://github.com/apache/cordova-plugin-media-capture' repo: 'https://github.com/apache/cordova-plugin-media-capture'

View File

@ -68,7 +68,7 @@ export interface MediaError {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'MediaPlugin', pluginName: 'MediaPlugin',
repo: 'https://github.com/apache/cordova-plugin-media', repo: 'https://github.com/apache/cordova-plugin-media',
plugin: 'cordova-plugin-media', plugin: 'cordova-plugin-media',
pluginRef: 'Media' pluginRef: 'Media'
@ -132,7 +132,7 @@ export class MediaPlugin {
}); });
} else { } else {
pluginWarn({ pluginWarn({
name: 'MediaPlugin', pluginName: 'MediaPlugin',
plugin: 'cordova-plugin-media' plugin: 'cordova-plugin-media'
}); });
} }

View File

@ -18,7 +18,7 @@ declare var mixpanel: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Mixpanel', pluginName: 'Mixpanel',
plugin: 'cordova-plugin-mixpanel', plugin: 'cordova-plugin-mixpanel',
pluginRef: 'mixpanel', pluginRef: 'mixpanel',
repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin' repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin'

View File

@ -73,7 +73,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'MusicControls', pluginName: 'MusicControls',
plugin: 'cordova-plugin-music-controls', plugin: 'cordova-plugin-music-controls',
pluginRef: 'MusicControls', pluginRef: 'MusicControls',
repo: 'https://github.com/homerours/cordova-music-controls-plugin' repo: 'https://github.com/homerours/cordova-music-controls-plugin'

View File

@ -21,7 +21,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'NativeAudio', pluginName: 'NativeAudio',
plugin: 'cordova-plugin-nativeaudio', plugin: 'cordova-plugin-nativeaudio',
pluginRef: 'plugins.NativeAudio', pluginRef: 'plugins.NativeAudio',
repo: 'https://github.com/floatinghotpot/cordova-plugin-nativeaudio' repo: 'https://github.com/floatinghotpot/cordova-plugin-nativeaudio'

View File

@ -27,7 +27,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'NativePageTransitions', pluginName: 'NativePageTransitions',
plugin: 'com.telerik.plugins.nativepagetransitions', plugin: 'com.telerik.plugins.nativepagetransitions',
pluginRef: 'plugins.nativepagetransitions', pluginRef: 'plugins.nativepagetransitions',
repo: 'https://github.com/Telerik-Verified-Plugins/NativePageTransitions', repo: 'https://github.com/Telerik-Verified-Plugins/NativePageTransitions',

View File

@ -23,7 +23,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'NativeStorage', pluginName: 'NativeStorage',
plugin: 'cordova-plugin-nativestorage', plugin: 'cordova-plugin-nativestorage',
pluginRef: 'NativeStorage', pluginRef: 'NativeStorage',
repo: 'https://github.com/TheCocoaProject/cordova-plugin-nativestorage' repo: 'https://github.com/TheCocoaProject/cordova-plugin-nativestorage'

View File

@ -43,7 +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` * The `connection` property will return one of the following connection types: `unknown`, `ethernet`, `wifi`, `2g`, `3g`, `4g`, `cellular`, `none`
*/ */
@Plugin({ @Plugin({
name: 'Network', pluginName: 'Network',
plugin: 'cordova-plugin-network-information', plugin: 'cordova-plugin-network-information',
repo: 'https://github.com/apache/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'], platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser'],

View File

@ -24,7 +24,7 @@ declare let window: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'NFC', pluginName: 'NFC',
plugin: 'phonegap-nfc', plugin: 'phonegap-nfc',
pluginRef: 'nfc', pluginRef: 'nfc',
repo: 'https://github.com/chariotsolutions/phonegap-nfc' repo: 'https://github.com/chariotsolutions/phonegap-nfc'

View File

@ -30,7 +30,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: 'OneSignal', pluginName: 'OneSignal',
plugin: 'onesignal-cordova-plugin', plugin: 'onesignal-cordova-plugin',
pluginRef: 'plugins.OneSignal', pluginRef: 'plugins.OneSignal',
repo: 'https://github.com/OneSignal/OneSignal-Cordova-SDK' repo: 'https://github.com/OneSignal/OneSignal-Cordova-SDK'

View File

@ -58,7 +58,7 @@ import { Plugin, Cordova } from './plugin';
* PayPalShippingAddress * PayPalShippingAddress
*/ */
@Plugin({ @Plugin({
name: 'PayPal', pluginName: 'PayPal',
plugin: 'com.paypal.cordova.mobilesdk', plugin: 'com.paypal.cordova.mobilesdk',
pluginRef: 'PayPalMobile', pluginRef: 'PayPalMobile',
repo: 'https://github.com/paypal/PayPal-Cordova-Plugin' repo: 'https://github.com/paypal/PayPal-Cordova-Plugin'

View File

@ -12,7 +12,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'PhotoViewer', pluginName: 'PhotoViewer',
plugin: 'com-sarriaroman-photoviewer', plugin: 'com-sarriaroman-photoviewer',
pluginRef: 'PhotoViewer', pluginRef: 'PhotoViewer',
repo: 'https://github.com/sarriaroman/photoviewer' repo: 'https://github.com/sarriaroman/photoviewer'

View File

@ -20,7 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'PinDialog', pluginName: 'PinDialog',
plugin: 'cordova-plugin-pin-dialog', plugin: 'cordova-plugin-pin-dialog',
pluginRef: 'plugins.pinDialog', pluginRef: 'plugins.pinDialog',
repo: 'https://github.com/Paldom/PinDialog' repo: 'https://github.com/Paldom/PinDialog'

View File

@ -19,7 +19,7 @@ export const getPlugin = function(pluginRef: string): any {
* @param method * @param method
*/ */
export const pluginWarn = function(pluginObj: any, method?: string) { export const pluginWarn = function(pluginObj: any, method?: string) {
let pluginName = pluginObj.name, plugin = pluginObj.plugin; let pluginName = pluginObj.pluginName, plugin = pluginObj.plugin;
if (method) { if (method) {
console.warn('Native: tried calling ' + pluginName + '.' + method + ', but the ' + pluginName + ' plugin is not installed.'); console.warn('Native: tried calling ' + pluginName + '.' + method + ', but the ' + pluginName + ' plugin is not installed.');
} else { } else {
@ -111,7 +111,7 @@ function callCordovaPlugin(pluginObj: any, methodName: string, args: any[], opts
if (!pluginInstance) { if (!pluginInstance) {
// Do this check in here in the case that the Web API for this plugin is available (for example, Geolocation). // Do this check in here in the case that the Web API for this plugin is available (for example, Geolocation).
if (!window.cordova) { if (!window.cordova) {
cordovaWarn(pluginObj.name, methodName); cordovaWarn(pluginObj.pluginName, methodName);
return { return {
error: 'cordova_not_available' error: 'cordova_not_available'
}; };
@ -196,7 +196,7 @@ function wrapObservable(pluginObj: any, methodName: string, args: any[], opts: a
return get(window, pluginObj.pluginRef)[opts.clearFunction].call(pluginObj, pluginResult); return get(window, pluginObj.pluginRef)[opts.clearFunction].call(pluginObj, pluginResult);
} }
} catch (e) { } catch (e) {
console.warn('Unable to clear the previous observable watch for', pluginObj.name, methodName); console.warn('Unable to clear the previous observable watch for', pluginObj.pluginName, methodName);
console.error(e); console.error(e);
} }
}; };
@ -223,7 +223,7 @@ function wrapInstance(pluginObj: any, methodName: string, opts: any = {}) {
} }
return pluginObj._objectInstance[opts.clearFunction].call(pluginObj, pluginResult); return pluginObj._objectInstance[opts.clearFunction].call(pluginObj, pluginResult);
} catch (e) { } catch (e) {
console.warn('Unable to clear the previous observable watch for', pluginObj.name, methodName); console.warn('Unable to clear the previous observable watch for', pluginObj.pluginName, methodName);
console.error(e); console.error(e);
} }
}; };
@ -268,7 +268,7 @@ function overrideFunction(pluginObj: any, methodName: string, args: any[], opts:
if (!pluginInstance) { if (!pluginInstance) {
// Do this check in here in the case that the Web API for this plugin is available (for example, Geolocation). // Do this check in here in the case that the Web API for this plugin is available (for example, Geolocation).
if (!window.cordova) { if (!window.cordova) {
cordovaWarn(pluginObj.name, methodName); cordovaWarn(pluginObj.pluginName, methodName);
observer.error({ observer.error({
error: 'cordova_not_available' error: 'cordova_not_available'
}); });
@ -326,7 +326,7 @@ export const wrap = function(pluginObj: any, methodName: string, opts: any = {})
* @usage * @usage
* ```typescript * ```typescript
* @Plugin({ * @Plugin({
* name: 'MyPlugin', * pluginName: 'MyPlugin',
* plugin: 'cordova-plugin-myplugin', * plugin: 'cordova-plugin-myplugin',
* pluginRef: 'window.myplugin' * pluginRef: 'window.myplugin'
* }) * })

View File

@ -16,7 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'PowerManagement', pluginName: 'PowerManagement',
plugin: 'cordova-plugin-powermanagement-orig', plugin: 'cordova-plugin-powermanagement-orig',
pluginRef: 'powerManagement', pluginRef: 'powerManagement',
repo: 'https://github.com/Viras-/cordova-plugin-powermanagement' repo: 'https://github.com/Viras-/cordova-plugin-powermanagement'

View File

@ -61,7 +61,7 @@ export interface PrintOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Printer', pluginName: 'Printer',
plugin: 'de.appplant.cordova.plugin.printer', plugin: 'de.appplant.cordova.plugin.printer',
pluginRef: 'cordova.plugins.printer', pluginRef: 'cordova.plugins.printer',
repo: 'https://github.com/katzer/cordova-plugin-printer.git', repo: 'https://github.com/katzer/cordova-plugin-printer.git',

View File

@ -286,7 +286,7 @@ declare var PushNotification: {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Push', pluginName: 'Push',
plugin: 'phonegap-plugin-push', plugin: 'phonegap-plugin-push',
pluginRef: 'PushNotification', pluginRef: 'PushNotification',
repo: 'https://github.com/phonegap/phonegap-plugin-push' repo: 'https://github.com/phonegap/phonegap-plugin-push'

View File

@ -39,7 +39,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SafariViewController', pluginName: 'SafariViewController',
plugin: 'cordova-plugin-safariviewcontroller', plugin: 'cordova-plugin-safariviewcontroller',
pluginRef: 'SafariViewController', pluginRef: 'SafariViewController',
platforms: ['iOS', 'Android'], platforms: ['iOS', 'Android'],

View File

@ -37,7 +37,7 @@ declare var window;
* *
*/ */
@Plugin({ @Plugin({
name: 'ScreenOrientation', pluginName: 'ScreenOrientation',
plugin: 'cordova-plugin-screen-orientation', plugin: 'cordova-plugin-screen-orientation',
pluginRef: 'window.screen', pluginRef: 'window.screen',
repo: 'https://github.com/apache/cordova-plugin-screen-orientation', repo: 'https://github.com/apache/cordova-plugin-screen-orientation',

View File

@ -17,7 +17,7 @@ declare var navigator: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Screenshot', pluginName: 'Screenshot',
plugin: 'https://github.com/gitawego/cordova-screenshot.git', plugin: 'https://github.com/gitawego/cordova-screenshot.git',
pluginRef: 'navigator.screenshot', pluginRef: 'navigator.screenshot',
repo: 'https://github.com/gitawego/cordova-screenshot.git' repo: 'https://github.com/gitawego/cordova-screenshot.git'

View File

@ -40,7 +40,7 @@ declare var cordova: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SecureStorage', pluginName: 'SecureStorage',
plugin: 'cordova-plugin-secure-storage', plugin: 'cordova-plugin-secure-storage',
pluginRef: 'plugins.securestorage', pluginRef: 'plugins.securestorage',
repo: 'https://github.com/Crypho/cordova-plugin-secure-storage', repo: 'https://github.com/Crypho/cordova-plugin-secure-storage',

View File

@ -15,7 +15,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Shake', pluginName: 'Shake',
plugin: 'cordova-plugin-shake', plugin: 'cordova-plugin-shake',
pluginRef: 'shake', pluginRef: 'shake',
repo: 'https://github.com/leecrossley/cordova-plugin-shake' repo: 'https://github.com/leecrossley/cordova-plugin-shake'

View File

@ -20,7 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Sim', pluginName: 'Sim',
plugin: 'cordova-plugin-sim', plugin: 'cordova-plugin-sim',
pluginRef: 'plugins.sim', pluginRef: 'plugins.sim',
repo: 'https://github.com/pbakondy/cordova-plugin-sim', repo: 'https://github.com/pbakondy/cordova-plugin-sim',

View File

@ -40,7 +40,7 @@ export interface SmsOptionsAndroid {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SMS', pluginName: 'SMS',
plugin: 'cordova-sms-plugin', plugin: 'cordova-sms-plugin',
pluginRef: 'sms', pluginRef: 'sms',
repo: 'https://github.com/cordova-sms/cordova-sms-plugin', repo: 'https://github.com/cordova-sms/cordova-sms-plugin',

View File

@ -25,7 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SocialSharing', pluginName: 'SocialSharing',
plugin: 'cordova-plugin-x-socialsharing', plugin: 'cordova-plugin-x-socialsharing',
pluginRef: 'plugins.socialsharing', pluginRef: 'plugins.socialsharing',
repo: 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin', repo: 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin',

View File

@ -15,7 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SpinnerDialog', pluginName: 'SpinnerDialog',
plugin: 'cordova-plugin-spinner-dialog', plugin: 'cordova-plugin-spinner-dialog',
pluginRef: 'window.plugins.spinnerDialog', pluginRef: 'window.plugins.spinnerDialog',
repo: 'https://github.com/Paldom/SpinnerDialog', repo: 'https://github.com/Paldom/SpinnerDialog',

View File

@ -15,7 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Splashscreen', pluginName: 'Splashscreen',
plugin: 'cordova-plugin-splashscreen', plugin: 'cordova-plugin-splashscreen',
pluginRef: 'navigator.splashscreen', pluginRef: 'navigator.splashscreen',
repo: 'https://github.com/apache/cordova-plugin-splashscreen' repo: 'https://github.com/apache/cordova-plugin-splashscreen'

View File

@ -31,7 +31,7 @@ declare var sqlitePlugin;
* *
*/ */
@Plugin({ @Plugin({
name: 'SQLite', pluginName: 'SQLite',
pluginRef: 'sqlitePlugin', pluginRef: 'sqlitePlugin',
plugin: 'cordova-sqlite-storage', plugin: 'cordova-sqlite-storage',
repo: 'https://github.com/litehelpers/Cordova-sqlite-storage' repo: 'https://github.com/litehelpers/Cordova-sqlite-storage'
@ -83,7 +83,7 @@ export class SQLite {
}); });
} else { } else {
pluginWarn({ pluginWarn({
name: 'SQLite', pluginName: 'SQLite',
plugin: 'cordova-sqlite-storage' plugin: 'cordova-sqlite-storage'
}); });
} }

View File

@ -22,7 +22,7 @@ declare var window;
* *
*/ */
@Plugin({ @Plugin({
name: 'StatusBar', pluginName: 'StatusBar',
plugin: 'cordova-plugin-statusbar', plugin: 'cordova-plugin-statusbar',
pluginRef: 'StatusBar', pluginRef: 'StatusBar',
repo: 'https://github.com/apache/cordova-plugin-statusbar', repo: 'https://github.com/apache/cordova-plugin-statusbar',

View File

@ -20,7 +20,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Stepcounter', pluginName: 'Stepcounter',
plugin: 'https://github.com/texh/cordova-plugin-stepcounter', plugin: 'https://github.com/texh/cordova-plugin-stepcounter',
pluginRef: 'stepcounter', pluginRef: 'stepcounter',
repo: 'https://github.com/texh/cordova-plugin-stepcounter', repo: 'https://github.com/texh/cordova-plugin-stepcounter',

View File

@ -19,7 +19,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'StreamingMedia', pluginName: 'StreamingMedia',
plugin: 'cordova-plugin-streaming-media', plugin: 'cordova-plugin-streaming-media',
pluginRef: 'plugins.streamingMedia', pluginRef: 'plugins.streamingMedia',
repo: 'https://github.com/nchutchind/cordova-plugin-streaming-media', repo: 'https://github.com/nchutchind/cordova-plugin-streaming-media',

View File

@ -25,7 +25,7 @@ export interface TTSOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'TextToSpeech', pluginName: 'TextToSpeech',
plugin: 'cordova-plugin-tts', plugin: 'cordova-plugin-tts',
pluginRef: 'TTS', pluginRef: 'TTS',
repo: 'https://github.com/vilic/cordova-plugin-tts' repo: 'https://github.com/vilic/cordova-plugin-tts'

View File

@ -144,7 +144,7 @@ export interface ThemeableBrowserOptions {
* We suggest that you refer to the plugin's repository for additional information on usage that may not be covered here. * We suggest that you refer to the plugin's repository for additional information on usage that may not be covered here.
*/ */
@Plugin({ @Plugin({
name: 'ThemeableBrowser', pluginName: 'ThemeableBrowser',
plugin: 'cordova-plugin-themeablebrowser', plugin: 'cordova-plugin-themeablebrowser',
pluginRef: 'cordova.ThemeableBrowser', pluginRef: 'cordova.ThemeableBrowser',
repo: 'https://github.com/initialxy/cordova-plugin-themeablebrowser' repo: 'https://github.com/initialxy/cordova-plugin-themeablebrowser'

View File

@ -57,7 +57,7 @@ export interface ToastOptions {
* ToastOptions * ToastOptions
*/ */
@Plugin({ @Plugin({
name: 'Toast', pluginName: 'Toast',
plugin: 'cordova-plugin-x-toast', plugin: 'cordova-plugin-x-toast',
pluginRef: 'plugins.toast', pluginRef: 'plugins.toast',
repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin', repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin',

Some files were not shown because too many files have changed in this diff Show More