feat(plugins): add name field

This commit is contained in:
Max Lynch 2016-10-17 20:33:17 -05:00
parent d09018d2d4
commit 96776567eb
101 changed files with 116 additions and 15 deletions

View File

@ -65,6 +65,7 @@ declare var window: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +41,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +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',
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,6 +30,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +44,7 @@ declare var window;
*/ */
@Plugin({ @Plugin({
name: '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,6 +19,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +272,7 @@ export interface Config {
* Config * Config
*/ */
@Plugin({ @Plugin({
name: '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,6 +28,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +18,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +14,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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',
@ -24,7 +25,7 @@ export class Base64ToGallery {
/** /**
* Converts a base64 string to an image file in the device gallery * 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 {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. * @returns {Promise} returns a promise that resolves when the image is saved.
*/ */
@Cordova({ @Cordova({

View File

@ -24,6 +24,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +160,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +28,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +18,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +38,7 @@ export interface CalendarOptions {
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +69,7 @@ export interface CameraPreviewSize {
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +110,7 @@ export interface CameraPopoverOptions {
* CameraPopoverOptions * CameraPopoverOptions
*/ */
@Plugin({ @Plugin({
name: '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,6 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +420,7 @@ export interface DownloadProgress {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +316,7 @@ export class ContactFindOptions implements IContactFindOptions {
* ContactAddress * ContactAddress
*/ */
@Plugin({ @Plugin({
name: '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,6 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +128,7 @@ export interface DatePickerOptions {
* DatePickerOptions * DatePickerOptions
*/ */
@Plugin({ @Plugin({
name: '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,6 +31,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -33,6 +33,7 @@ export interface DeeplinkMatch {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -41,6 +41,7 @@ export interface Device {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +2,7 @@ import { Cordova, Plugin } from './plugin';
@Plugin({ @Plugin({
name: '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,6 +62,7 @@ export interface AccelerometerOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +67,7 @@ export interface CompassOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +29,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +32,7 @@ export interface PromptCallback {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +44,7 @@ declare var cordova: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +9,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +78,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -338,6 +338,7 @@ declare var FileError: {
}; };
let pluginMeta = { let pluginMeta = {
name: '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'

View File

@ -138,7 +138,7 @@ export interface FileTransferError {
* fileKey: 'file', * fileKey: 'file',
* fileName: 'name.jpg', * fileName: 'name.jpg',
* headers: {} * headers: {}
* ..... * .....
* } * }
* fileTransfer.upload("<file path>", "<api endpoint>", options) * fileTransfer.upload("<file path>", "<api endpoint>", options)
* .then((data) => { * .then((data) => {
@ -152,6 +152,7 @@ export interface FileTransferError {
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +74,7 @@ import { Observable } from 'rxjs/Observable';
declare var window: any; declare var window: any;
@Plugin({ @Plugin({
name: '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/',
@ -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<Object>} * @return {Promise<Object>}
*/ */

View File

@ -139,6 +139,7 @@ export interface GeolocationOptions {
* GeolocationOptions * GeolocationOptions
*/ */
@Plugin({ @Plugin({
name: '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,6 +11,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,11 +12,12 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
plugin: 'cordova-plugin-googleplus', name: 'GooglePlus',
pluginRef: 'window.plugins.googleplus', plugin: 'cordova-plugin-googleplus',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus', pluginRef: 'window.plugins.googleplus',
platforms: ['Web', 'Android', 'iOS'], repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus',
install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid' platforms: ['Web', 'Android', 'iOS'],
install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid'
}) })
export class GooglePlus { export class GooglePlus {

View File

@ -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) * - (Android) Google Play Services SDK installed via [Android SDK Manager](https://developer.android.com/sdk/installing/adding-packages.html)
*/ */
@Plugin({ @Plugin({
name: '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,6 +84,7 @@ export const GoogleMapsAnimation = {
* ``` * ```
*/ */
let pluginMap = { let pluginMap = {
name: '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',

View File

@ -15,6 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -23,6 +23,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +268,7 @@ export interface Delegate {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +46,7 @@ export interface ImagePickerOptions {
* ImagePickerOptions * ImagePickerOptions
*/ */
@Plugin({ @Plugin({
name: '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,6 +67,7 @@ export interface ImageResizerOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +31,7 @@ export interface InAppBrowserEvent extends Event {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +51,7 @@ import { Plugin, Cordova } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: 'InAppPurchase',
plugin: 'cordova-plugin-inapppurchase', plugin: 'cordova-plugin-inapppurchase',
pluginRef: 'inAppPurchase', pluginRef: 'inAppPurchase',
platforms: ['Android', 'iOS'], platforms: ['Android', 'iOS'],

View File

@ -26,6 +26,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +15,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +17,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +14,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +82,7 @@ export interface LaunchNavigatorOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +45,7 @@ import { Cordova, Plugin } from './plugin';
* *
*/ */
@Plugin({ @Plugin({
name: '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

@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +22,7 @@ declare var navigator: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +68,7 @@ export interface MediaError {
* ``` * ```
*/ */
let pluginMeta = { let pluginMeta = {
name: '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'

View File

@ -6,6 +6,7 @@ declare var mixpanel: any;
* @private * @private
*/ */
export const pluginMeta = { export const pluginMeta = {
name: '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,6 +73,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +21,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +27,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +23,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,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` * The `connection` property will return one of the following connection types: `unknown`, `ethernet`, `wifi`, `2g`, `3g`, `4g`, `cellular`, `none`
*/ */
@Plugin({ @Plugin({
name: '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

@ -23,6 +23,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +30,7 @@ import { Observable } from 'rxjs/Observable';
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +58,7 @@ import { Plugin, Cordova } from './plugin';
* PayPalShippingAddress * PayPalShippingAddress
*/ */
@Plugin({ @Plugin({
name: '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,6 +12,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +61,7 @@ export interface PrintOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +286,7 @@ declare var PushNotification: {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +39,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'SafariViewController',
plugin: 'cordova-plugin-safariviewcontroller', plugin: 'cordova-plugin-safariviewcontroller',
pluginRef: 'SafariViewController', pluginRef: 'SafariViewController',
platforms: ['iOS', 'Android'], platforms: ['iOS', 'Android'],

View File

@ -23,9 +23,9 @@ declare var window;
* ``` * ```
* *
* @advanced * @advanced
* *
* Accepted orientation values: * Accepted orientation values:
* *
* | Value | Description | * | Value | Description |
* |-------------------------------|------------------------------------------------------------------------------| * |-------------------------------|------------------------------------------------------------------------------|
* | portrait-primary | The orientation is in the primary portrait mode. | * | 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. | * | landscape-secondary | The orientation is in the secondary landscape mode. |
* | portrait | The orientation is either portrait-primary or portrait-secondary (sensor). | * | portrait | The orientation is either portrait-primary or portrait-secondary (sensor). |
* | landscape | The orientation is either landscape-primary or landscape-secondary (sensor). | * | landscape | The orientation is either landscape-primary or landscape-secondary (sensor). |
* *
*/ */
@Plugin({ @Plugin({
name: '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,6 +17,7 @@ declare var navigator: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +40,7 @@ declare var cordova: any;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +15,7 @@ import { Observable } from 'rxjs/Observable';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +40,7 @@ export interface SmsOptionsAndroid {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +15,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,9 +31,10 @@ declare var sqlitePlugin;
* *
*/ */
@Plugin({ @Plugin({
pluginRef: 'sqlitePlugin', name: 'SQLite',
plugin: 'cordova-sqlite-storage', pluginRef: 'sqlitePlugin',
repo: 'https://github.com/litehelpers/Cordova-sqlite-storage' plugin: 'cordova-sqlite-storage',
repo: 'https://github.com/litehelpers/Cordova-sqlite-storage'
}) })
export class SQLite { export class SQLite {

View File

@ -22,6 +22,7 @@ declare var window;
* *
*/ */
@Plugin({ @Plugin({
name: '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

@ -19,6 +19,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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,6 +25,7 @@ export interface TTSOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: '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

@ -57,6 +57,7 @@ export interface ToastOptions {
* ToastOptions * ToastOptions
*/ */
@Plugin({ @Plugin({
name: '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',

View File

@ -45,6 +45,7 @@ import { Cordova, Plugin } from './plugin';
* - `-8` - TouchID is locked out from too many tries * - `-8` - TouchID is locked out from too many tries
*/ */
@Plugin({ @Plugin({
name: 'TouchID',
plugin: 'cordova-plugin-touch-id', plugin: 'cordova-plugin-touch-id',
pluginRef: 'plugins.touchid', pluginRef: 'plugins.touchid',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-touch-id', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-touch-id',

View File

@ -27,6 +27,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'TwitterConnect',
plugin: 'twitter-connect-plugin', plugin: 'twitter-connect-plugin',
pluginRef: 'TwitterConnect', pluginRef: 'TwitterConnect',
repo: 'https://github.com/ManifestWebDesign/twitter-connect-plugin', repo: 'https://github.com/ManifestWebDesign/twitter-connect-plugin',

View File

@ -10,7 +10,7 @@ import { Cordova, Plugin } from './plugin';
* *
* *
* // Vibrate the device for a second * // Vibrate the device for a second
* // Duration is ignored on iOS. * // Duration is ignored on iOS.
* Vibration.vibrate(1000); * Vibration.vibrate(1000);
* *
* // Vibrate 2 seconds * // Vibrate 2 seconds
@ -25,6 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'Vibration',
plugin: 'cordova-plugin-vibration', plugin: 'cordova-plugin-vibration',
pluginRef: 'navigator', pluginRef: 'navigator',
repo: 'https://github.com/apache/cordova-plugin-vibration', repo: 'https://github.com/apache/cordova-plugin-vibration',

View File

@ -137,6 +137,7 @@ export interface VideoInfo {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'VideoEditor',
plugin: 'cordova-plugin-video-editor', plugin: 'cordova-plugin-video-editor',
pluginRef: 'VideoEditor', pluginRef: 'VideoEditor',
repo: 'https://github.com/jbavari/cordova-plugin-video-editor', repo: 'https://github.com/jbavari/cordova-plugin-video-editor',

View File

@ -38,6 +38,7 @@ export interface VideoOptions {
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'VideoPlayer',
plugin: 'cordova-plugin-videoplayer', plugin: 'cordova-plugin-videoplayer',
pluginRef: 'VideoPlayer', pluginRef: 'VideoPlayer',
repo: 'https://github.com/moust/cordova-plugin-videoplayer', repo: 'https://github.com/moust/cordova-plugin-videoplayer',

View File

@ -17,6 +17,7 @@ declare var window;
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'WebIntent',
plugin: 'https://github.com/Initsogar/cordova-webintent.git', plugin: 'https://github.com/Initsogar/cordova-webintent.git',
pluginRef: 'window.plugins.webintent', pluginRef: 'window.plugins.webintent',
repo: 'https://github.com/Initsogar/cordova-webintent.git', repo: 'https://github.com/Initsogar/cordova-webintent.git',

View File

@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ``` * ```
*/ */
@Plugin({ @Plugin({
name: 'YoutubeVideoPlayer',
plugin: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git', plugin: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git',
pluginRef: 'YoutubeVideoPlayer', pluginRef: 'YoutubeVideoPlayer',
repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer', repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer',

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