Skip to content

Commit

Permalink
feat(plugins): add name field
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Oct 18, 2016
1 parent d09018d commit 9677656
Show file tree
Hide file tree
Showing 101 changed files with 116 additions and 15 deletions.
1 change: 1 addition & 0 deletions src/plugins/3dtouch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ declare var window: any;
* ```
*/
@Plugin({
name: 'ThreeDeeTouch',
plugin: 'cordova-plugin-3dtouch',
pluginRef: 'ThreeDeeTouch',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-3dtouch',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/actionsheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { Cordova, Plugin } from './plugin';
*
*/
@Plugin({
name: 'ActionSheet',
plugin: 'cordova-plugin-actionsheet',
pluginRef: 'plugins.actionsheet',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/admob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Observable } from 'rxjs/Observable';
* Please refer the the plugin's original repository for detailed usage.
*/
@Plugin({
name: 'AdMob',
plugin: 'cordova-plugin-admobpro',
pluginRef: 'AdMob',
repo: 'https://github.com/floatinghotpot/cordova-admob-pro',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/android-fingerprint-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'AndroidFingerprintAuth',
plugin: 'cordova-plugin-android-fingerprint-auth',
pluginRef: 'FingerprintAuth',
repo: 'https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/appavailability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'AppAvailability',
plugin: 'cordova-plugin-appavailability',
pluginRef: 'appAvailability',
repo: 'https://github.com/ohh2ahh/AppAvailability',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/apprate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ declare var window;
*/
@Plugin({
name: 'AppRate',
plugin: 'cordova-plugin-apprate',
pluginRef: 'AppRate',
repo: 'https://github.com/pushandplay/cordova-plugin-apprate',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/appversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'AppVersion',
plugin: 'cordova-plugin-app-version',
pluginRef: 'cordova.getAppVersion',
repo: 'https://github.com/whiteoctober/cordova-plugin-app-version',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/background-geolocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ export interface Config {
* Config
*/
@Plugin({
name: 'BackgroundGeolocation',
plugin: 'cordova-plugin-mauron85-background-geolocation',
pluginRef: 'backgroundGeolocation',
repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/backgroundmode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { Observable } from 'rxjs/Observable';
*
*/
@Plugin({
name: 'BackgroundMode',
plugin: 'cordova-plugin-background-mode',
pluginRef: 'cordova.plugins.backgroundMode',
repo: 'https://github.com/katzer/cordova-plugin-background-mode',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Badge',
plugin: 'cordova-plugin-badge',
pluginRef: 'cordova.plugins.notification.badge',
repo: 'https://github.com/katzer/cordova-plugin-badge',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/barcodescanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'BarcodeScanner',
plugin: 'phonegap-plugin-barcodescanner',
pluginRef: 'cordova.plugins.barcodeScanner',
repo: 'https://github.com/phonegap/phonegap-plugin-barcodescanner',
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/base64togallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Base64ToGallery',
plugin: 'cordova-base64-to-gallery',
pluginRef: 'cordova',
repo: 'https://github.com/Nexxa/cordova-base64-to-gallery',
Expand All @@ -24,7 +25,7 @@ export class Base64ToGallery {
/**
* Converts a base64 string to an image file in the device gallery
* @param {string} data The actual base64 string that you want to save
* @param {any} options (optional) An object with properties: prefix: string, mediaScanner: boolean. Prefix will be prepended to the filename. If true, mediaScanner runs Media Scanner on Android and saves to Camera Roll on iOS; if false, saves to Library folder on iOS.
* @param {any} options (optional) An object with properties: prefix: string, mediaScanner: boolean. Prefix will be prepended to the filename. If true, mediaScanner runs Media Scanner on Android and saves to Camera Roll on iOS; if false, saves to Library folder on iOS.
* @returns {Promise} returns a promise that resolves when the image is saved.
*/
@Cordova({
Expand Down
1 change: 1 addition & 0 deletions src/plugins/batterystatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { Observable } from 'rxjs/Observable';
* ```
*/
@Plugin({
name: 'BatteryStatus',
plugin: 'cordova-plugin-battery-status',
repo: 'https://github.com/apache/cordova-plugin-battery-status',
platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser']
Expand Down
1 change: 1 addition & 0 deletions src/plugins/ble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ import { Observable } from 'rxjs/Observable';
*
*/
@Plugin({
name: 'BLE',
plugin: 'cordova-plugin-ble-central',
pluginRef: 'ble',
repo: 'https://github.com/don/cordova-plugin-ble-central',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/bluetoothserial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { Observable } from 'rxjs/Observable';
* ```
*/
@Plugin({
name: 'BluetoothSerial',
repo: 'https://github.com/don/BluetoothSerial',
plugin: 'cordova-plugin-bluetooth-serial',
pluginRef: 'bluetoothSerial',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/brightness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { Cordova, Plugin } from './plugin';
*
*/
@Plugin({
name: 'Brightness',
plugin: 'cordova-plugin-brightness',
pluginRef: 'cordova.plugins.brightness',
repo: 'https://github.com/mgcrea/cordova-plugin-brightness',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface CalendarOptions {
*
*/
@Plugin({
name: 'Calendar',
plugin: 'cordova-plugin-calendar',
pluginRef: 'plugins.calendar',
repo: 'https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/call-number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ```
*/
@Plugin({
name: 'CallNumber',
plugin: 'call-number',
pluginRef: 'plugins.CallNumber',
repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/camera-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export interface CameraPreviewSize {
*
*/
@Plugin({
name: 'CameraPreview',
plugin: 'cordova-plugin-camera-preview',
pluginRef: 'cordova.plugins.camerapreview',
repo: 'https://github.com/westonganger/cordova-plugin-camera-preview',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export interface CameraPopoverOptions {
* CameraPopoverOptions
*/
@Plugin({
name: 'Camera',
plugin: 'cordova-plugin-camera',
pluginRef: 'navigator.camera',
repo: 'https://github.com/apache/cordova-plugin-camera',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/card-io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'CardIO',
plugin: 'https://github.com/card-io/card.io-Cordova-Plugin',
pluginRef: 'CardIO',
repo: 'https://github.com/card-io/card.io-Cordova-Plugin',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Clipboard',
plugin: 'https://github.com/VersoSolutions/CordovaClipboard.git',
pluginRef: 'cordova.plugins.clipboard',
repo: 'https://github.com/VersoSolutions/CordovaClipboard',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/code-push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ export interface DownloadProgress {
* ```
*/
@Plugin({
name: 'CodePush',
plugin: 'cordova-plugin-code-push',
pluginRef: 'codePush',
repo: 'https://github.com/Microsoft/cordova-plugin-code-push',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/contacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ export class ContactFindOptions implements IContactFindOptions {
* ContactAddress
*/
@Plugin({
name: 'Contacts',
plugin: 'cordova-plugin-contacts',
pluginRef: 'navigator.contacts',
repo: 'https://github.com/apache/cordova-plugin-contacts'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/crop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Crop',
plugin: 'cordova-plugin-crop',
pluginRef: 'plugins',
repo: 'https://github.com/jeduan/cordova-plugin-crop'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export interface DatePickerOptions {
* DatePickerOptions
*/
@Plugin({
name: 'DatePicker',
plugin: 'cordova-plugin-datepicker',
pluginRef: 'datePicker',
repo: 'https://github.com/VitaliiBlagodir/cordova-plugin-datepicker'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/dbmeter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { Observable } from 'rxjs/Observable';
* ```
*/
@Plugin({
name: 'DBMeter',
plugin: 'cordova-plugin-dbmeter',
pluginRef: 'DBMeter',
repo: 'https://github.com/akofman/cordova-plugin-dbmeter',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/deeplinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface DeeplinkMatch {
* ```
*/
@Plugin({
name: 'Deeplinks',
plugin: 'ionic-plugin-deeplinks',
pluginRef: 'IonicDeeplink',
repo: 'https://github.com/driftyco/ionic-plugin-deeplinks',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export interface Device {
* ```
*/
@Plugin({
name: 'Device',
plugin: 'cordova-plugin-device',
pluginRef: 'device',
repo: 'https://github.com/apache/cordova-plugin-device'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/deviceaccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Cordova, Plugin } from './plugin';


@Plugin({
name: 'DeviceAccounts',
plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git',
pluginRef: 'plugins.DeviceAccounts',
repo: 'https://github.com/loicknuchel/cordova-device-accounts',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/devicemotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface AccelerometerOptions {
* ```
*/
@Plugin({
name: 'DeviceMotion',
plugin: 'cordova-plugin-device-motion',
pluginRef: 'navigator.accelerometer',
repo: 'https://github.com/apache/cordova-plugin-device-motion'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/deviceorientation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export interface CompassOptions {
* ```
*/
@Plugin({
name: 'DeviceOrientation',
plugin: 'cordova-plugin-device-orientation',
pluginRef: 'navigator.compass',
repo: 'https://github.com/apache/cordova-plugin-device-orientation'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/diagnostic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Diagnostic',
plugin: 'cordova.plugins.diagnostic',
pluginRef: 'cordova.plugins.diagnostic',
repo: 'https://github.com/dpa99c/cordova-diagnostic-plugin'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/dialogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface PromptCallback {
* ```
*/
@Plugin({
name: 'Dialogs',
plugin: 'cordova-plugin-dialogs',
pluginRef: 'navigator.notification',
repo: 'https://github.com/apache/cordova-plugin-dialogs.git'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/emailcomposer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ declare var cordova: any;
* ```
*/
@Plugin({
name: 'EmailComposer',
plugin: 'cordova-plugin-email',
pluginRef: 'cordova.plugins.email',
repo: 'https://github.com/hypery2k/cordova-email-plugin',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/estimote-beacons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { Observable } from 'rxjs/Observable';
*
*/
@Plugin({
name: 'EstimoteBeacons',
plugin: 'cordova-plugin-estimote',
pluginRef: 'estimote.beacons',
repo: 'https://github.com/evothings/phonegap-estimotebeacons',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/facebook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ import { Cordova, Plugin } from './plugin';
*
*/
@Plugin({
name: 'Facebook',
plugin: 'cordova-plugin-facebook4',
pluginRef: 'facebookConnectPlugin',
repo: 'https://github.com/jeduan/cordova-plugin-facebook4',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/file-chooser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Plugin, Cordova } from './plugin';
* ```
*/
@Plugin({
name: 'FileChooser',
plugin: 'http://github.com/don/cordova-filechooser.git',
pluginRef: 'fileChooser',
repo: 'https://github.com/don/cordova-filechooser',
Expand Down
1 change: 1 addition & 0 deletions src/plugins/file-opener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { Plugin, Cordova } from './plugin';
* ```
*/
@Plugin({
name: 'FileOpener',
plugin: 'cordova-plugin-file-opener2',
pluginRef: 'cordova.plugins.fileOpener2',
repo: 'https://github.com/pwlin/cordova-plugin-file-opener2'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ declare var FileError: {
};

let pluginMeta = {
name: 'File',
plugin: 'cordova-plugin-file',
pluginRef: 'cordova.file',
repo: 'https://github.com/apache/cordova-plugin-file'
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/filetransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export interface FileTransferError {
* fileKey: 'file',
* fileName: 'name.jpg',
* headers: {}
* .....
* .....
* }
* fileTransfer.upload("<file path>", "<api endpoint>", options)
* .then((data) => {
Expand All @@ -152,6 +152,7 @@ export interface FileTransferError {
*
*/
@Plugin({
name: 'FileTransfer',
plugin: 'cordova-plugin-file-transfer',
pluginRef: 'FileTransfer',
repo: 'https://github.com/apache/cordova-plugin-file-transfer'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/flashlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Flashlight',
plugin: 'cordova-plugin-flashlight',
pluginRef: 'window.plugins.flashlight',
repo: 'https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git'
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/geofence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ import { Observable } from 'rxjs/Observable';
declare var window: any;

@Plugin({
name: 'Geofence',
plugin: 'cordova-plugin-geofence',
pluginRef: 'geofence',
repo: 'https://github.com/cowbell/cordova-plugin-geofence/',
Expand Down Expand Up @@ -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>}
*/
Expand Down
1 change: 1 addition & 0 deletions src/plugins/geolocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export interface GeolocationOptions {
* GeolocationOptions
*/
@Plugin({
name: 'Geolocation',
plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation',
repo: 'https://github.com/apache/cordova-plugin-geolocation'
Expand Down
1 change: 1 addition & 0 deletions src/plugins/globalization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Cordova, Plugin } from './plugin';
* ```
*/
@Plugin({
name: 'Globalization',
plugin: 'cordova-plugin-globalization',
pluginRef: 'navigator.globalization',
repo: 'https://github.com/apache/cordova-plugin-globalization'
Expand Down
Loading

0 comments on commit 9677656

Please sign in to comment.