docs(): add platforms

This commit is contained in:
Ibby Hadeed 2017-03-28 08:24:04 -04:00
parent ea88c9e4a8
commit 5aa484c024
33 changed files with 65 additions and 34 deletions

View File

@ -101,7 +101,8 @@ export interface AdMobFreeRewardVideoConfig {
pluginName: 'AdMobFree', pluginName: 'AdMobFree',
plugin: 'cordova-plugin-admob-free', plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob', pluginRef: 'admob',
repo: 'https://github.com/ratson/cordova-plugin-admob-free' repo: 'https://github.com/ratson/cordova-plugin-admob-free',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class AdMobFree { export class AdMobFree {

View File

@ -144,7 +144,8 @@ export interface AFAEncryptResponse {
pluginName: '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',
platforms: ['Android']
}) })
@Injectable() @Injectable()
export class AndroidFingerprintAuth { export class AndroidFingerprintAuth {

View File

@ -21,9 +21,10 @@ import { Injectable } from '@angular/core';
*/ */
@Plugin({ @Plugin({
pluginName: 'AppPreferences', pluginName: 'AppPreferences',
plugin: 'cordova-plugin-app-preferences', // npm package name, example: cordova-plugin-camera plugin: 'cordova-plugin-app-preferences',
pluginRef: 'plugins.appPreferences', // the variable reference to call the plugin, example: navigator.geolocation pluginRef: 'plugins.appPreferences',
repo: 'https://github.com/apla/me.apla.cordova.app-preferences', // the github repository URL for the plugin repo: 'https://github.com/apla/me.apla.cordova.app-preferences',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'OS X', 'Windows 8', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class AppPreferences { export class AppPreferences {

View File

@ -28,7 +28,7 @@ import { Injectable } from '@angular/core';
plugin: 'https://github.com/appodeal/appodeal-cordova-plugin', plugin: 'https://github.com/appodeal/appodeal-cordova-plugin',
pluginRef: 'Appodeal', pluginRef: 'Appodeal',
repo: 'https://github.com/appodeal/appodeal-cordova-plugin.git', repo: 'https://github.com/appodeal/appodeal-cordova-plugin.git',
platforms: [ 'ios', 'android' ] platforms: [ 'iOS', 'Android' ]
}) })
@Injectable() @Injectable()
export class Appodeal { export class Appodeal {

View File

@ -290,7 +290,8 @@ export class ContactFindOptions implements IContactFindOptions {
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows 8', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class Contacts { export class Contacts {

View File

@ -26,6 +26,7 @@ import { Injectable } from '@angular/core';
plugin: 'https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin', plugin: 'https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin',
pluginRef: 'cblite', pluginRef: 'cblite',
repo: 'https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin', repo: 'https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class CouchbaseLite { export class CouchbaseLite {

View File

@ -23,7 +23,8 @@ import { Cordova, Plugin } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class Crop { export class Crop {

View File

@ -78,7 +78,7 @@ export interface DeeplinkMatch {
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',
platforms: ['iOS', 'Android'], platforms: ['iOS', 'Android', 'Browser'],
install: 'ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/', install: 'ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/',
installVariables: ['URL_SCHEME', 'DEEPLINK_SCHEME', 'DEEPLINK_HOST', 'ANDROID_PATH_PREFIX'] installVariables: ['URL_SCHEME', 'DEEPLINK_SCHEME', 'DEEPLINK_HOST', 'ANDROID_PATH_PREFIX']
}) })

View File

@ -71,7 +71,8 @@ export interface DeviceMotionAccelerometerOptions {
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class DeviceMotion { export class DeviceMotion {

View File

@ -76,7 +76,8 @@ export interface DeviceOrientationCompassOptions {
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class DeviceOrientation { export class DeviceOrientation {

View File

@ -23,7 +23,8 @@ declare var window: any;
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'OS X', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class Device { export class Device {

View File

@ -38,7 +38,8 @@ import {Cordova, Plugin, CordovaProperty} from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS', 'Windows']
}) })
@Injectable() @Injectable()
export class Diagnostic { export class Diagnostic {

View File

@ -45,7 +45,8 @@ export interface DialogsPromptCallback {
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class Dialogs { export class Dialogs {

View File

@ -113,7 +113,8 @@ export interface FacebookLoginResponse {
pluginRef: 'facebookConnectPlugin', pluginRef: 'facebookConnectPlugin',
repo: 'https://github.com/jeduan/cordova-plugin-facebook4', repo: 'https://github.com/jeduan/cordova-plugin-facebook4',
install: 'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"', install: 'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"',
installVariables: ['APP_ID', 'APP_NAME'] installVariables: ['APP_ID', 'APP_NAME'],
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class Facebook { export class Facebook {

View File

@ -24,7 +24,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8']
}) })
@Injectable() @Injectable()
export class FileOpener { export class FileOpener {

View File

@ -367,7 +367,8 @@ export declare var FileError: {
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'OS X', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class File { export class File {

View File

@ -24,7 +24,8 @@ import { Cordova, Plugin } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS', 'Windows Phone 8']
}) })
@Injectable() @Injectable()
export class Flashlight { export class Flashlight {

View File

@ -152,7 +152,8 @@ export interface GeolocationOptions {
pluginName: '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',
platforms: ['Android', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class Geolocation { export class Geolocation {

View File

@ -451,7 +451,8 @@ export class GoogleMap {
plugin: 'cordova-plugin-googlemaps', plugin: 'cordova-plugin-googlemaps',
repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps', repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps',
install: 'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"', install: 'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"',
installVariables: ['API_KEY_FOR_ANDROID', 'API_KEY_FOR_IOS'] installVariables: ['API_KEY_FOR_ANDROID', 'API_KEY_FOR_IOS'],
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class GoogleMaps { export class GoogleMaps {

View File

@ -171,7 +171,8 @@ export interface HealthData {
pluginName: 'Health', pluginName: 'Health',
plugin: 'cordova-plugin-health', plugin: 'cordova-plugin-health',
pluginRef: 'navigator.health', pluginRef: 'navigator.health',
repo: 'https://github.com/dariosalvi78/cordova-plugin-health' repo: 'https://github.com/dariosalvi78/cordova-plugin-health',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class Health { export class Health {

View File

@ -59,7 +59,8 @@ export interface ImagePickerOptions {
pluginName: 'ImagePicker', pluginName: 'ImagePicker',
plugin: 'https://github.com/Telerik-Verified-Plugins/ImagePicker', plugin: 'https://github.com/Telerik-Verified-Plugins/ImagePicker',
pluginRef: 'window.imagePicker', pluginRef: 'window.imagePicker',
repo: 'https://github.com/Telerik-Verified-Plugins/ImagePicker' repo: 'https://github.com/Telerik-Verified-Plugins/ImagePicker',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class ImagePicker { export class ImagePicker {

View File

@ -76,7 +76,8 @@ export interface ImageResizerOptions {
pluginName: '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',
platforms: ['Android', 'iOS', 'Windows']
}) })
@Injectable() @Injectable()
export class ImageResizer { export class ImageResizer {

View File

@ -162,7 +162,8 @@ export class InAppBrowserObject {
pluginName: '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',
platforms: ['Amazon', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'OS X', 'Ubuntu', 'Windows', 'Windows Phone']
}) })
@Injectable() @Injectable()
export class InAppBrowser { export class InAppBrowser {

View File

@ -23,7 +23,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class Instagram { export class Instagram {

View File

@ -72,7 +72,8 @@ export interface IntelSecurityDataOptions {
pluginName: 'IntelSecurity', pluginName: 'IntelSecurity',
plugin: 'com-intel-security-cordova-plugin', plugin: 'com-intel-security-cordova-plugin',
pluginRef: 'intel.security', pluginRef: 'intel.security',
repo: 'https://github.com/AppSecurityApi/com-intel-security-cordova-plugin' repo: 'https://github.com/AppSecurityApi/com-intel-security-cordova-plugin',
platforms: ['Android', 'iOS', 'Windows']
}) })
@Injectable() @Injectable()
export class IntelSecurity { export class IntelSecurity {

View File

@ -25,7 +25,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class IsDebug { export class IsDebug {

View File

@ -27,7 +27,8 @@ declare var cordova: any;
pluginName: 'Jins Meme', pluginName: 'Jins Meme',
plugin: 'JinsMemeSDK-Plugin-Cordova', plugin: 'JinsMemeSDK-Plugin-Cordova',
pluginRef: 'cordova.plugins.JinsMemePlugin', pluginRef: 'cordova.plugins.JinsMemePlugin',
repo: 'https://github.com/jins-meme/JinsMemeSDK-Plugin-Cordova.git' repo: 'https://github.com/jins-meme/JinsMemeSDK-Plugin-Cordova',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class JinsMeme { export class JinsMeme {

View File

@ -24,7 +24,8 @@ import { Observable } from 'rxjs/Observable';
pluginName: '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',
platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows']
}) })
@Injectable() @Injectable()
export class Keyboard { export class Keyboard {

View File

@ -91,7 +91,8 @@ export interface LaunchNavigatorOptions {
pluginName: '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',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class LaunchNavigator { export class LaunchNavigator {

View File

@ -53,7 +53,8 @@ export type LinkedInLoginScopes = 'r_basicprofile' | 'r_emailaddress' | 'rw_comp
plugin: 'cordova-plugin-linkedin', plugin: 'cordova-plugin-linkedin',
pluginRef: 'cordova.plugins.LinkedIn', pluginRef: 'cordova.plugins.LinkedIn',
repo: 'https://github.com/zyramedia/cordova-plugin-linkedin', repo: 'https://github.com/zyramedia/cordova-plugin-linkedin',
install: 'ionic plugin add cordova-plugin-linkedin --variable APP_ID=YOUR_APP_ID' install: 'ionic plugin add cordova-plugin-linkedin --variable APP_ID=YOUR_APP_ID',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class LinkedIn { export class LinkedIn {

View File

@ -144,7 +144,8 @@ export interface ILocalNotification {
pluginName: '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',
platforms: ['Android', 'iOS', 'Windows']
}) })
@Injectable() @Injectable()
export class LocalNotifications { export class LocalNotifications {

View File

@ -32,7 +32,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: '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',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class LocationAccuracy { export class LocationAccuracy {

View File

@ -21,7 +21,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: 'Market', pluginName: 'Market',
plugin: 'cordova-plugin-market', plugin: 'cordova-plugin-market',
pluginRef: 'cordova.plugins.market', pluginRef: 'cordova.plugins.market',
repo: 'https://github.com/xmartlabs/cordova-plugin-market' repo: 'https://github.com/xmartlabs/cordova-plugin-market',
platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()
export class Market { export class Market {