From 328e5de3f31ed6b71c5f3fa0caef1a50097a32b2 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Fri, 2 Jun 2017 21:34:18 +0200 Subject: [PATCH] docs(plugins): added platforms (#1638) * added platforms * round 2 * round 3 * Update index.ts --- .../plugins/action-sheet/index.ts | 2 +- src/@ionic-native/plugins/alipay/index.ts | 2 +- src/@ionic-native/plugins/app-rate/index.ts | 2 +- .../plugins/app-version/index.ts | 2 +- .../plugins/background-geolocation/index.ts | 2 +- .../plugins/background-mode/index.ts | 2 +- src/@ionic-native/plugins/badge/index.ts | 2 +- .../plugins/barcode-scanner/index.ts | 2 +- .../plugins/battery-status/index.ts | 2 +- src/@ionic-native/plugins/ble/index.ts | 2 +- .../plugins/bluetooth-serial/index.ts | 2 +- .../plugins/call-number/index.ts | 2 +- src/@ionic-native/plugins/camera/index.ts | 2 +- src/@ionic-native/plugins/card-io/index.ts | 2 +- src/@ionic-native/plugins/clipboard/index.ts | 2 +- src/@ionic-native/plugins/contacts/index.ts | 2 +- src/@ionic-native/plugins/db-meter/index.ts | 2 +- src/@ionic-native/plugins/deeplinks/index.ts | 2 +- .../plugins/device-motion/index.ts | 2 +- .../plugins/device-orientation/index.ts | 2 +- src/@ionic-native/plugins/dialogs/index.ts | 2 +- .../plugins/email-composer/index.ts | 2 +- .../plugins/estimote-beacons/index.ts | 3 +- src/@ionic-native/plugins/facebook/index.ts | 2 +- src/@ionic-native/plugins/fcm/index.ts | 30 +++++++++---------- .../plugins/flurry-analytics/index.ts | 2 +- src/@ionic-native/plugins/geofence/index.ts | 2 +- .../plugins/geolocation/index.ts | 2 +- .../plugins/globalization/index.ts | 2 +- .../plugins/google-analytics/index.ts | 2 +- .../plugins/google-plus/index.ts | 2 +- src/@ionic-native/plugins/httpd/index.ts | 2 +- .../plugins/in-app-browser/index.ts | 2 +- .../plugins/in-app-purchase/index.ts | 4 +-- src/@ionic-native/plugins/insomnia/index.ts | 2 +- .../plugins/intel-security/index.ts | 2 +- .../plugins/launch-navigator/index.ts | 2 +- .../plugins/media-capture/index.ts | 3 +- src/@ionic-native/plugins/media/index.ts | 3 +- src/@ionic-native/plugins/mixpanel/index.ts | 3 +- .../plugins/mobile-accessibility/index.ts | 2 +- .../plugins/music-controls/index.ts | 3 +- .../plugins/native-audio/index.ts | 2 +- .../plugins/native-keyboard/index.ts | 2 +- .../plugins/native-page-transitions/index.ts | 2 +- .../plugins/native-storage/index.ts | 2 +- src/@ionic-native/plugins/network/index.ts | 2 +- src/@ionic-native/plugins/nfc/index.ts | 2 +- src/@ionic-native/plugins/onesignal/index.ts | 2 +- .../phonegap-local-notification/index.ts | 2 +- .../plugins/power-management/index.ts | 2 +- src/@ionic-native/plugins/printer/index.ts | 2 +- src/@ionic-native/plugins/push/index.ts | 2 +- .../plugins/safari-view-controller/index.ts | 2 +- .../plugins/screen-orientation/index.ts | 2 +- src/@ionic-native/plugins/screenshot/index.ts | 2 +- .../plugins/secure-storage/index.ts | 4 ++- src/@ionic-native/plugins/serial/index.ts | 2 +- src/@ionic-native/plugins/sim/index.ts | 2 +- src/@ionic-native/plugins/sms/index.ts | 2 +- .../plugins/social-sharing/index.ts | 5 +++- .../plugins/splash-screen/index.ts | 2 +- .../plugins/sqlite-porter/index.ts | 2 +- src/@ionic-native/plugins/status-bar/index.ts | 2 +- .../plugins/streaming-media/index.ts | 2 +- src/@ionic-native/plugins/stripe/index.ts | 2 +- src/@ionic-native/plugins/toast/index.ts | 2 +- src/@ionic-native/plugins/transfer/index.ts | 2 +- src/@ionic-native/plugins/vibration/index.ts | 2 +- .../plugins/video-editor/index.ts | 2 +- .../plugins/wheel-selector/index.ts | 5 ++-- 71 files changed, 96 insertions(+), 89 deletions(-) diff --git a/src/@ionic-native/plugins/action-sheet/index.ts b/src/@ionic-native/plugins/action-sheet/index.ts index c45c750d5..810fae544 100644 --- a/src/@ionic-native/plugins/action-sheet/index.ts +++ b/src/@ionic-native/plugins/action-sheet/index.ts @@ -94,7 +94,7 @@ export interface ActionSheetOptions { plugin: 'cordova-plugin-actionsheet', pluginRef: 'plugins.actionsheet', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet', - platforms: ['Android', 'iOS', 'Windows Phone 8', 'Browser'] + platforms: ['Android', 'Browser', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class ActionSheet extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/alipay/index.ts b/src/@ionic-native/plugins/alipay/index.ts index 6a5add498..219b7b3a8 100644 --- a/src/@ionic-native/plugins/alipay/index.ts +++ b/src/@ionic-native/plugins/alipay/index.ts @@ -101,7 +101,7 @@ export interface AlipayOrder { plugin: 'cordova-alipay-base', pluginRef: 'Alipay.Base', repo: 'https://github.com/xueron/cordova-alipay-base', - install: 'ionic cordova plugin add https://github.com/xueron/cordova-alipay-base --variable APP_ID=your_app_id', + install: 'ionic cordova plugin add cordova-alipay-base --variable APP_ID=your_app_id', installVariables: ['APP_ID'], platforms: ['Android', 'iOS'] }) diff --git a/src/@ionic-native/plugins/app-rate/index.ts b/src/@ionic-native/plugins/app-rate/index.ts index 99317a02a..646931168 100644 --- a/src/@ionic-native/plugins/app-rate/index.ts +++ b/src/@ionic-native/plugins/app-rate/index.ts @@ -140,7 +140,7 @@ export interface AppUrls { plugin: 'cordova-plugin-apprate', pluginRef: 'AppRate', repo: 'https://github.com/pushandplay/cordova-plugin-apprate', - platforms: ['Android', 'iOS', 'Windows (experimental)'] + platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'] }) @Injectable() export class AppRate extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/app-version/index.ts b/src/@ionic-native/plugins/app-version/index.ts index 9e953f458..1962cdebd 100644 --- a/src/@ionic-native/plugins/app-version/index.ts +++ b/src/@ionic-native/plugins/app-version/index.ts @@ -31,7 +31,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-app-version', pluginRef: 'cordova.getAppVersion', repo: 'https://github.com/whiteoctober/cordova-plugin-app-version', - platforms: ['Android', 'iOS'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class AppVersion extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/background-geolocation/index.ts b/src/@ionic-native/plugins/background-geolocation/index.ts index fc7e94e4f..be616e8d6 100644 --- a/src/@ionic-native/plugins/background-geolocation/index.ts +++ b/src/@ionic-native/plugins/background-geolocation/index.ts @@ -306,7 +306,7 @@ export interface BackgroundGeolocationConfig { plugin: 'cordova-plugin-mauron85-background-geolocation', pluginRef: 'backgroundGeolocation', repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation', - platforms: ['iOS', 'Android', 'Windows Phone 8'] + platforms: ['Android', 'iOS'] }) @Injectable() export class BackgroundGeolocation extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/background-mode/index.ts b/src/@ionic-native/plugins/background-mode/index.ts index 6cf7b7810..0db25dcd5 100644 --- a/src/@ionic-native/plugins/background-mode/index.ts +++ b/src/@ionic-native/plugins/background-mode/index.ts @@ -70,7 +70,7 @@ export interface BackgroundModeConfiguration { plugin: 'cordova-plugin-background-mode', pluginRef: 'cordova.plugins.backgroundMode', repo: 'https://github.com/katzer/cordova-plugin-background-mode', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['AmazonFire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class BackgroundMode extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/badge/index.ts b/src/@ionic-native/plugins/badge/index.ts index 46daacb0e..7da09cf74 100644 --- a/src/@ionic-native/plugins/badge/index.ts +++ b/src/@ionic-native/plugins/badge/index.ts @@ -27,7 +27,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-badge', pluginRef: 'cordova.plugins.notification.badge', repo: 'https://github.com/katzer/cordova-plugin-badge', - platforms: ['Android', 'iOS', 'Browser', 'Windows', 'Amazon FireOS', 'Windows Phone 8'] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Badge extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/barcode-scanner/index.ts b/src/@ionic-native/plugins/barcode-scanner/index.ts index 388fdf2d0..f55f76a01 100644 --- a/src/@ionic-native/plugins/barcode-scanner/index.ts +++ b/src/@ionic-native/plugins/barcode-scanner/index.ts @@ -92,7 +92,7 @@ export interface BarcodeScanResult { plugin: 'phonegap-plugin-barcodescanner', pluginRef: 'cordova.plugins.barcodeScanner', repo: 'https://github.com/phonegap/phonegap-plugin-barcodescanner', - platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows 10', 'Windows 8', 'BlackBerry 10', 'Browser'] + platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class BarcodeScanner extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/battery-status/index.ts b/src/@ionic-native/plugins/battery-status/index.ts index 924afeb96..339503b69 100644 --- a/src/@ionic-native/plugins/battery-status/index.ts +++ b/src/@ionic-native/plugins/battery-status/index.ts @@ -49,7 +49,7 @@ export interface BatteryStatusResponse { plugin: 'cordova-plugin-battery-status', pluginRef: 'navigator.battery', 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', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows'] }) @Injectable() export class BatteryStatus extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/ble/index.ts b/src/@ionic-native/plugins/ble/index.ts index eb35c4789..9f98746cc 100644 --- a/src/@ionic-native/plugins/ble/index.ts +++ b/src/@ionic-native/plugins/ble/index.ts @@ -173,7 +173,7 @@ import { Observable } from 'rxjs/Observable'; plugin: 'cordova-plugin-ble-central', pluginRef: 'ble', repo: 'https://github.com/don/cordova-plugin-ble-central', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class BLE extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/bluetooth-serial/index.ts b/src/@ionic-native/plugins/bluetooth-serial/index.ts index ec5e3f336..4ca599c79 100644 --- a/src/@ionic-native/plugins/bluetooth-serial/index.ts +++ b/src/@ionic-native/plugins/bluetooth-serial/index.ts @@ -35,7 +35,7 @@ import { Observable } from 'rxjs/Observable'; repo: 'https://github.com/don/BluetoothSerial', plugin: 'cordova-plugin-bluetooth-serial', pluginRef: 'bluetoothSerial', - platforms: ['Android', 'iOS', 'Windows Phone', 'Browser'] + platforms: ['Android', 'iOS', 'Windows Phone 8'] }) @Injectable() export class BluetoothSerial extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/call-number/index.ts b/src/@ionic-native/plugins/call-number/index.ts index b7be20acf..188927507 100644 --- a/src/@ionic-native/plugins/call-number/index.ts +++ b/src/@ionic-native/plugins/call-number/index.ts @@ -25,7 +25,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; plugin: 'call-number', pluginRef: 'plugins.CallNumber', repo: 'https://github.com/Rohfosho/CordovaCallNumberPlugin', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class CallNumber extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index 6d6b4ab9e..3b4481f84 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -125,7 +125,7 @@ export interface CameraPopoverOptions { plugin: 'cordova-plugin-camera', pluginRef: 'navigator.camera', repo: 'https://github.com/apache/cordova-plugin-camera', - platforms: ['Android', 'BlackBerry', 'Browser', 'Firefox', 'FireOS', 'iOS', 'Windows', 'Windows Phone 8', 'Ubuntu'] + platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone 8'] }) @Injectable() export class Camera extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/card-io/index.ts b/src/@ionic-native/plugins/card-io/index.ts index 8163be018..b59e498a6 100644 --- a/src/@ionic-native/plugins/card-io/index.ts +++ b/src/@ionic-native/plugins/card-io/index.ts @@ -164,7 +164,7 @@ export interface CardIOResponse { plugin: 'card.io.cordova.mobilesdk', pluginRef: 'CardIO', repo: 'https://github.com/card-io/card.io-Cordova-Plugin', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class CardIO extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/clipboard/index.ts b/src/@ionic-native/plugins/clipboard/index.ts index c3adb9dcb..1799f53dd 100644 --- a/src/@ionic-native/plugins/clipboard/index.ts +++ b/src/@ionic-native/plugins/clipboard/index.ts @@ -34,7 +34,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'https://github.com/VersoSolutions/CordovaClipboard.git', pluginRef: 'cordova.plugins.clipboard', repo: 'https://github.com/VersoSolutions/CordovaClipboard', - platforms: ['Amazon Fire OS', 'iOS', 'Android', 'BlackBerry 10', 'Windows Phone 7', 'Windows Phone 8', 'Windows', 'Firefox OS', 'Browser'] + platforms: ['Android', 'iOS', 'Windows Phone 8'] }) @Injectable() export class Clipboard extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/contacts/index.ts b/src/@ionic-native/plugins/contacts/index.ts index 4e17d4a00..f3e7f5d64 100644 --- a/src/@ionic-native/plugins/contacts/index.ts +++ b/src/@ionic-native/plugins/contacts/index.ts @@ -294,7 +294,7 @@ export class ContactFindOptions implements IContactFindOptions { plugin: 'cordova-plugin-contacts', pluginRef: 'navigator.contacts', repo: 'https://github.com/apache/cordova-plugin-contacts', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows 8', 'Windows Phone'] + platforms: ['Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone 8'] }) @Injectable() export class Contacts extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/db-meter/index.ts b/src/@ionic-native/plugins/db-meter/index.ts index 2bfb377fb..01e54bd83 100644 --- a/src/@ionic-native/plugins/db-meter/index.ts +++ b/src/@ionic-native/plugins/db-meter/index.ts @@ -39,7 +39,7 @@ import { Observable } from 'rxjs/Observable'; plugin: 'cordova-plugin-dbmeter', pluginRef: 'DBMeter', repo: 'https://github.com/akofman/cordova-plugin-dbmeter', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class DBMeter extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/deeplinks/index.ts b/src/@ionic-native/plugins/deeplinks/index.ts index c7ff382d7..f96425bc1 100644 --- a/src/@ionic-native/plugins/deeplinks/index.ts +++ b/src/@ionic-native/plugins/deeplinks/index.ts @@ -80,7 +80,7 @@ export interface DeeplinkMatch { repo: 'https://github.com/ionic-team/ionic-plugin-deeplinks', install: 'ionic cordova 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'], - platforms: ['iOS', 'Android', 'Browser'] + platforms: ['Android', 'Browser', 'iOS'] }) @Injectable() export class Deeplinks extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/device-motion/index.ts b/src/@ionic-native/plugins/device-motion/index.ts index b108d4790..c29ec8be3 100644 --- a/src/@ionic-native/plugins/device-motion/index.ts +++ b/src/@ionic-native/plugins/device-motion/index.ts @@ -72,7 +72,7 @@ export interface DeviceMotionAccelerometerOptions { plugin: 'cordova-plugin-device-motion', pluginRef: 'navigator.accelerometer', repo: 'https://github.com/apache/cordova-plugin-device-motion', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone 8'] }) @Injectable() export class DeviceMotion extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/device-orientation/index.ts b/src/@ionic-native/plugins/device-orientation/index.ts index 99a0a15d8..bbddc0339 100644 --- a/src/@ionic-native/plugins/device-orientation/index.ts +++ b/src/@ionic-native/plugins/device-orientation/index.ts @@ -77,7 +77,7 @@ export interface DeviceOrientationCompassOptions { plugin: 'cordova-plugin-device-orientation', pluginRef: 'navigator.compass', repo: 'https://github.com/apache/cordova-plugin-device-orientation', - platforms: ['Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class DeviceOrientation extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/dialogs/index.ts b/src/@ionic-native/plugins/dialogs/index.ts index f73ad933d..4c59e779d 100644 --- a/src/@ionic-native/plugins/dialogs/index.ts +++ b/src/@ionic-native/plugins/dialogs/index.ts @@ -46,7 +46,7 @@ export interface DialogsPromptCallback { plugin: 'cordova-plugin-dialogs', pluginRef: 'navigator.notification', repo: 'https://github.com/apache/cordova-plugin-dialogs', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Windows Phone 7', 'Windows Phone 8', 'Windows'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class Dialogs extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/email-composer/index.ts b/src/@ionic-native/plugins/email-composer/index.ts index fb21df3d7..1deac3f72 100644 --- a/src/@ionic-native/plugins/email-composer/index.ts +++ b/src/@ionic-native/plugins/email-composer/index.ts @@ -77,7 +77,7 @@ export interface EmailComposerOptions { plugin: 'cordova-plugin-email', pluginRef: 'cordova.plugins.email', repo: 'https://github.com/hypery2k/cordova-email-plugin', - platforms: ['Android', 'iOS'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class EmailComposer extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/estimote-beacons/index.ts b/src/@ionic-native/plugins/estimote-beacons/index.ts index beabd1387..5a6fde940 100644 --- a/src/@ionic-native/plugins/estimote-beacons/index.ts +++ b/src/@ionic-native/plugins/estimote-beacons/index.ts @@ -44,7 +44,7 @@ export interface EstimoteBeaconRegion { plugin: 'cordova-plugin-estimote', pluginRef: 'estimote.beacons', repo: 'https://github.com/evothings/phonegap-estimotebeacons', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class EstimoteBeacons extends IonicNativePlugin { @@ -512,4 +512,3 @@ export class EstimoteBeacons extends IonicNativePlugin { writeConnectedMinor(minor: number): Promise { return; } } - diff --git a/src/@ionic-native/plugins/facebook/index.ts b/src/@ionic-native/plugins/facebook/index.ts index ecc19c7e4..d50232f46 100644 --- a/src/@ionic-native/plugins/facebook/index.ts +++ b/src/@ionic-native/plugins/facebook/index.ts @@ -116,7 +116,7 @@ export interface FacebookLoginResponse { repo: 'https://github.com/jeduan/cordova-plugin-facebook4', install: 'ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"', installVariables: ['APP_ID', 'APP_NAME'], - platforms: ['Android', 'iOS'] + platforms: ['Android', 'iOS', 'Browser'] }) @Injectable() export class Facebook extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/fcm/index.ts b/src/@ionic-native/plugins/fcm/index.ts index e6610d334..af5f0b5e3 100644 --- a/src/@ionic-native/plugins/fcm/index.ts +++ b/src/@ionic-native/plugins/fcm/index.ts @@ -28,15 +28,15 @@ export interface NotificationData { * import { FCM } from '@ionic-native/fcm'; * * constructor(private fcm: FCM) {} - * + * * ... - * + * * fcm.subscribeToTopic('marketing'); - * + * * fcm.getToken().then(token=>{ * backend.registerToken(token); * }) - * + * * fcm.onNotification().subscribe(data=>{ * if(data.wasTapped){ * console.log("Received in background"); @@ -44,13 +44,13 @@ export interface NotificationData { * console.log("Received in foreground"); * }; * }) - * + * * fcm.onTokenRefresh().subscribe(token=>{ * backend.registerToken(token); * }) - * + * * fcm.unsubscribeFromTopic('marketing'); - * + * * ``` * @interfaces * NotificationData @@ -60,14 +60,14 @@ export interface NotificationData { plugin: 'cordova-plugin-fcm', pluginRef: 'FCMPlugin', repo: 'https://github.com/fechanique/cordova-plugin-fcm', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class FCM extends IonicNativePlugin { /** * Get's device's current registration id - * + * * @returns {Promise} Returns a Promise that resolves with the registration id token */ @Cordova() @@ -75,7 +75,7 @@ export class FCM extends IonicNativePlugin { /** * Event firing on the token refresh - * + * * @returns {Observable} Returns an Observable that notifies with the change of device's registration id */ @Cordova({ @@ -85,9 +85,9 @@ export class FCM extends IonicNativePlugin { /** * Subscribes you to a [topic](https://firebase.google.com/docs/notifications/android/console-topics) - * + * * @param {string} topic Topic to be subscribed to - * + * * @returns {Promise} Returns a promise resolving in result of subscribing to a topic */ @Cordova() @@ -95,9 +95,9 @@ export class FCM extends IonicNativePlugin { /** * Unubscribes you from a [topic](https://firebase.google.com/docs/notifications/android/console-topics) - * + * * @param {string} topic Topic to be unsubscribed from - * + * * @returns {Promise} Returns a promise resolving in result of unsubscribing from a topic */ @Cordova() @@ -105,7 +105,7 @@ export class FCM extends IonicNativePlugin { /** * Watch for incoming notifications - * + * * @returns {Observable} returns an object with data from the notification */ @Cordova({ diff --git a/src/@ionic-native/plugins/flurry-analytics/index.ts b/src/@ionic-native/plugins/flurry-analytics/index.ts index 36e521e1e..121a647fb 100644 --- a/src/@ionic-native/plugins/flurry-analytics/index.ts +++ b/src/@ionic-native/plugins/flurry-analytics/index.ts @@ -212,7 +212,7 @@ export class FlurryAnalyticsObject { plugin: 'cordova-plugin-flurryanalytics', pluginRef: 'FlurryAnalytics', repo: 'https://github.com/blakgeek/cordova-plugin-flurryanalytics', - platforms: ['Android', 'iOS', 'Browser'] + platforms: ['Android', 'iOS'] }) @Injectable() export class FlurryAnalytics extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/geofence/index.ts b/src/@ionic-native/plugins/geofence/index.ts index fe1f5a31d..0189680ba 100644 --- a/src/@ionic-native/plugins/geofence/index.ts +++ b/src/@ionic-native/plugins/geofence/index.ts @@ -80,7 +80,7 @@ declare const window: any; plugin: 'cordova-plugin-geofence', pluginRef: 'geofence', repo: 'https://github.com/cowbell/cordova-plugin-geofence', - platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows Phone'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class Geofence extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/geolocation/index.ts b/src/@ionic-native/plugins/geolocation/index.ts index b957fe600..f78a82507 100644 --- a/src/@ionic-native/plugins/geolocation/index.ts +++ b/src/@ionic-native/plugins/geolocation/index.ts @@ -153,7 +153,7 @@ export interface GeolocationOptions { plugin: 'cordova-plugin-geolocation', pluginRef: 'navigator.geolocation', repo: 'https://github.com/apache/cordova-plugin-geolocation', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Tizen', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class Geolocation extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/globalization/index.ts b/src/@ionic-native/plugins/globalization/index.ts index c890893e8..60c06f6a3 100644 --- a/src/@ionic-native/plugins/globalization/index.ts +++ b/src/@ionic-native/plugins/globalization/index.ts @@ -26,7 +26,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-globalization', pluginRef: 'navigator.globalization', repo: 'https://github.com/apache/cordova-plugin-globalization', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Windows Phone 8', 'Widnows', 'Browser'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Widnows Phone'] }) @Injectable() export class Globalization extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/google-analytics/index.ts b/src/@ionic-native/plugins/google-analytics/index.ts index 7dc4cba48..06b4ddacc 100644 --- a/src/@ionic-native/plugins/google-analytics/index.ts +++ b/src/@ionic-native/plugins/google-analytics/index.ts @@ -34,7 +34,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-google-analytics', pluginRef: 'ga', repo: 'https://github.com/danwilson/google-analytics-plugin', - platforms: ['Android', 'iOS', 'Browser'] + platforms: ['Android', 'Browser', 'iOS', 'Windows Phone 8'] }) @Injectable() export class GoogleAnalytics extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/google-plus/index.ts b/src/@ionic-native/plugins/google-plus/index.ts index c491d5040..ee57fb4fa 100644 --- a/src/@ionic-native/plugins/google-plus/index.ts +++ b/src/@ionic-native/plugins/google-plus/index.ts @@ -25,7 +25,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus', install: 'ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid', installVariables: ['REVERSED_CLIENT_ID'], - platforms: ['Android', 'iOS', 'Browser'] + platforms: ['Android', 'iOS'] }) @Injectable() export class GooglePlus extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/httpd/index.ts b/src/@ionic-native/plugins/httpd/index.ts index 2e2d61078..b08157195 100644 --- a/src/@ionic-native/plugins/httpd/index.ts +++ b/src/@ionic-native/plugins/httpd/index.ts @@ -52,7 +52,7 @@ export interface HttpdOptions { plugin: 'https://github.com/floatinghotpot/cordova-httpd.git', pluginRef: 'cordova.plugins.CorHttpd', repo: 'https://github.com/floatinghotpot/cordova-httpd', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS', 'macOS'] }) @Injectable() export class Httpd extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/in-app-browser/index.ts b/src/@ionic-native/plugins/in-app-browser/index.ts index 3078d8ed5..98c70b389 100644 --- a/src/@ionic-native/plugins/in-app-browser/index.ts +++ b/src/@ionic-native/plugins/in-app-browser/index.ts @@ -181,7 +181,7 @@ export class InAppBrowserObject { plugin: 'cordova-plugin-inappbrowser', pluginRef: 'cordova.InAppBrowser', repo: 'https://github.com/apache/cordova-plugin-inappbrowser', - platforms: ['Amazon', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'macOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['AmazonFire OS', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'macOS', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class InAppBrowser extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/in-app-purchase/index.ts b/src/@ionic-native/plugins/in-app-purchase/index.ts index 6b29972e6..4d59e18d9 100644 --- a/src/@ionic-native/plugins/in-app-purchase/index.ts +++ b/src/@ionic-native/plugins/in-app-purchase/index.ts @@ -57,8 +57,8 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; pluginName: 'InAppPurchase', plugin: 'cordova-plugin-inapppurchase', pluginRef: 'inAppPurchase', - platforms: ['Android', 'iOS'], - repo: 'https://github.com/AlexDisler/cordova-plugin-inapppurchase' + repo: 'https://github.com/AlexDisler/cordova-plugin-inapppurchase', + platforms: ['Android', 'iOS'] }) @Injectable() export class InAppPurchase extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/insomnia/index.ts b/src/@ionic-native/plugins/insomnia/index.ts index 053b51861..7fa3bae96 100644 --- a/src/@ionic-native/plugins/insomnia/index.ts +++ b/src/@ionic-native/plugins/insomnia/index.ts @@ -34,7 +34,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git', pluginRef: 'plugins.insomnia', repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['Android', 'Browser', 'Firefox OS', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class Insomnia extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/intel-security/index.ts b/src/@ionic-native/plugins/intel-security/index.ts index 9b28c5bc2..4047156cf 100644 --- a/src/@ionic-native/plugins/intel-security/index.ts +++ b/src/@ionic-native/plugins/intel-security/index.ts @@ -72,7 +72,7 @@ export interface IntelSecurityDataOptions { plugin: 'com-intel-security-cordova-plugin', pluginRef: 'intel.security', repo: 'https://github.com/AppSecurityApi/com-intel-security-cordova-plugin', - platforms: ['Android', 'iOS', 'Windows'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class IntelSecurity extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/launch-navigator/index.ts b/src/@ionic-native/plugins/launch-navigator/index.ts index 8300f2f07..61174c44d 100644 --- a/src/@ionic-native/plugins/launch-navigator/index.ts +++ b/src/@ionic-native/plugins/launch-navigator/index.ts @@ -92,7 +92,7 @@ export interface LaunchNavigatorOptions { plugin: 'uk.co.workingedge.phonegap.plugin.launchnavigator', pluginRef: 'launchnavigator', repo: 'https://github.com/dpa99c/phonegap-launch-navigator', - platforms: ['Android', 'iOS'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class LaunchNavigator extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/media-capture/index.ts b/src/@ionic-native/plugins/media-capture/index.ts index 136380184..580e155c4 100644 --- a/src/@ionic-native/plugins/media-capture/index.ts +++ b/src/@ionic-native/plugins/media-capture/index.ts @@ -146,7 +146,8 @@ export interface ConfigurationData { pluginName: 'MediaCapture', plugin: 'cordova-plugin-media-capture', pluginRef: 'navigator.device.capture', - repo: 'https://github.com/apache/cordova-plugin-media-capture' + repo: 'https://github.com/apache/cordova-plugin-media-capture', + platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class MediaCapture extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/media/index.ts b/src/@ionic-native/plugins/media/index.ts index 5a5e8c1b8..f2a4beebc 100644 --- a/src/@ionic-native/plugins/media/index.ts +++ b/src/@ionic-native/plugins/media/index.ts @@ -212,7 +212,8 @@ export type MediaErrorCallback = (error: MediaError) => void; pluginName: 'MediaPlugin', repo: 'https://github.com/apache/cordova-plugin-media', plugin: 'cordova-plugin-media', - pluginRef: 'Media' + pluginRef: 'Media', + platforms: ['Android', 'BlackBerry 10', 'Browser', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class MediaPlugin extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/mixpanel/index.ts b/src/@ionic-native/plugins/mixpanel/index.ts index 46d9d6328..debf12a63 100644 --- a/src/@ionic-native/plugins/mixpanel/index.ts +++ b/src/@ionic-native/plugins/mixpanel/index.ts @@ -28,7 +28,8 @@ declare var mixpanel: any; pluginName: 'Mixpanel', plugin: 'cordova-plugin-mixpanel', pluginRef: 'mixpanel', - repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin' + repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin', + platforms: ['Android', 'Browser', 'iOS'] }) @Injectable() export class Mixpanel extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/mobile-accessibility/index.ts b/src/@ionic-native/plugins/mobile-accessibility/index.ts index 5b94b5fd6..3b97751f6 100644 --- a/src/@ionic-native/plugins/mobile-accessibility/index.ts +++ b/src/@ionic-native/plugins/mobile-accessibility/index.ts @@ -25,7 +25,7 @@ import { Injectable } from '@angular/core'; plugin: 'https://github.com/phonegap/phonegap-mobile-accessibility.git', pluginRef: 'MobileAccessibilityNotifications', repo: 'https://github.com/phonegap/phonegap-mobile-accessibility', - platforms: ['Amazon Fire OS', 'Android', 'iOS'] + platforms: ['Android Fire OS', 'Android', 'iOS', 'Windows'] }) @Injectable() export class MobileAccessibility extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/music-controls/index.ts b/src/@ionic-native/plugins/music-controls/index.ts index cda697eef..af48eabd4 100644 --- a/src/@ionic-native/plugins/music-controls/index.ts +++ b/src/@ionic-native/plugins/music-controls/index.ts @@ -104,7 +104,8 @@ export interface MusicControlsOptions { pluginName: 'MusicControls', plugin: 'cordova-plugin-music-controls', pluginRef: 'MusicControls', - repo: 'https://github.com/homerours/cordova-music-controls-plugin' + repo: 'https://github.com/homerours/cordova-music-controls-plugin', + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class MusicControls extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/native-audio/index.ts b/src/@ionic-native/plugins/native-audio/index.ts index 544edfa45..91dca64b4 100644 --- a/src/@ionic-native/plugins/native-audio/index.ts +++ b/src/@ionic-native/plugins/native-audio/index.ts @@ -34,7 +34,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-nativeaudio', pluginRef: 'plugins.NativeAudio', repo: 'https://github.com/floatinghotpot/cordova-plugin-nativeaudio', - platforms: ['Android', 'iOS'] + platforms: ['Android', 'Browser', 'iOS'] }) @Injectable() export class NativeAudio extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/native-keyboard/index.ts b/src/@ionic-native/plugins/native-keyboard/index.ts index 03b94e2a8..c4d491286 100644 --- a/src/@ionic-native/plugins/native-keyboard/index.ts +++ b/src/@ionic-native/plugins/native-keyboard/index.ts @@ -202,7 +202,7 @@ export interface NativeKeyboardUpdateMessengerOptions { plugin: 'cordova-plugin-native-keyboard', pluginRef: 'NativeKeyboard', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-native-keyboard', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class NativeKeyboard extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/native-page-transitions/index.ts b/src/@ionic-native/plugins/native-page-transitions/index.ts index 4b21a7e46..537588b3c 100644 --- a/src/@ionic-native/plugins/native-page-transitions/index.ts +++ b/src/@ionic-native/plugins/native-page-transitions/index.ts @@ -66,7 +66,7 @@ export interface NativeTransitionOptions { plugin: 'com.telerik.plugins.nativepagetransitions', pluginRef: 'plugins.nativepagetransitions', repo: 'https://github.com/Telerik-Verified-Plugins/NativePageTransitions', - platforms: ['iOS', 'Android', 'Windows Phone'] + platforms: ['Android', 'iOS', 'Windows Phone 8'] }) @Injectable() export class NativePageTransitions extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/native-storage/index.ts b/src/@ionic-native/plugins/native-storage/index.ts index bbf574399..15b498c3f 100644 --- a/src/@ionic-native/plugins/native-storage/index.ts +++ b/src/@ionic-native/plugins/native-storage/index.ts @@ -32,7 +32,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-nativestorage', pluginRef: 'NativeStorage', repo: 'https://github.com/TheCocoaProject/cordova-plugin-nativestorage', - platforms: ['Android', 'iOS', 'Windows'] + platforms: ['Android', 'Browser', 'iOS', 'macOS', 'Windows'] }) @Injectable() export class NativeStorage extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/network/index.ts b/src/@ionic-native/plugins/network/index.ts index 18d2b680f..3249a3d36 100644 --- a/src/@ionic-native/plugins/network/index.ts +++ b/src/@ionic-native/plugins/network/index.ts @@ -53,7 +53,7 @@ declare const navigator: any; plugin: 'cordova-plugin-network-information', pluginRef: 'navigator.connection', 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', 'Android', 'BlackBerry 10', 'Browser', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class Network extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/nfc/index.ts b/src/@ionic-native/plugins/nfc/index.ts index 83447f08f..4a3f4bc44 100644 --- a/src/@ionic-native/plugins/nfc/index.ts +++ b/src/@ionic-native/plugins/nfc/index.ts @@ -33,7 +33,7 @@ declare let window: any; plugin: 'phonegap-nfc', pluginRef: 'nfc', repo: 'https://github.com/chariotsolutions/phonegap-nfc', - platforms: ['Android', 'Windows ', 'BlackBerry 7', 'BlackBerry 10'] + platforms: ['Android', 'BlackBerry 10', 'Windows', 'Windows Phone 8'] }) /** *@{ NFC } class methods diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 8da0f7811..248a32792 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -305,7 +305,7 @@ export enum OSActionType { plugin: 'onesignal-cordova-plugin', pluginRef: 'plugins.OneSignal', repo: 'https://github.com/OneSignal/OneSignal-Cordova-SDK', - platforms: ['Android', 'iOS', 'Windows', 'FireOS'] + platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows'] }) @Injectable() export class OneSignal extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/phonegap-local-notification/index.ts b/src/@ionic-native/plugins/phonegap-local-notification/index.ts index 3c1b02496..e2a20b18e 100644 --- a/src/@ionic-native/plugins/phonegap-local-notification/index.ts +++ b/src/@ionic-native/plugins/phonegap-local-notification/index.ts @@ -87,7 +87,7 @@ export interface LocalNotificationOptions { plugin: 'phonegap-local-notifications', pluginRef: 'Notification', repo: 'https://github.com/phonegap/phonegap-plugin-local-notification', - platforms: ['Android', 'iOS', 'Browser'] + platforms: ['Android', , 'Browser', 'iOS', 'Windows'] }) @Injectable() export class PhonegapLocalNotifications extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/power-management/index.ts b/src/@ionic-native/plugins/power-management/index.ts index f4afec750..ecd86188e 100644 --- a/src/@ionic-native/plugins/power-management/index.ts +++ b/src/@ionic-native/plugins/power-management/index.ts @@ -25,7 +25,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-powermanagement-orig', pluginRef: 'powerManagement', repo: 'https://github.com/Viras-/cordova-plugin-powermanagement', - platforms: ['Android', 'iOS', 'WindowsPhone', 'Windows'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone'] }) @Injectable() export class PowerManagement extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/printer/index.ts b/src/@ionic-native/plugins/printer/index.ts index fed237575..51337b564 100644 --- a/src/@ionic-native/plugins/printer/index.ts +++ b/src/@ionic-native/plugins/printer/index.ts @@ -70,7 +70,7 @@ export interface PrintOptions { plugin: 'de.appplant.cordova.plugin.printer', pluginRef: 'cordova.plugins.printer', repo: 'https://github.com/katzer/cordova-plugin-printer', - platforms: ['Android', 'iOS'] + platforms: ['Android', 'iOS', 'Windows'] }) @Injectable() export class Printer extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/push/index.ts b/src/@ionic-native/plugins/push/index.ts index ca082dc92..9a9eb74f8 100644 --- a/src/@ionic-native/plugins/push/index.ts +++ b/src/@ionic-native/plugins/push/index.ts @@ -266,7 +266,7 @@ export type PushEvent = 'registration' | 'error' | 'notification'; repo: 'https://github.com/phonegap/phonegap-plugin-push', install: 'ionic cordova plugin add phonegap-plugin-push --variable SENDER_ID=XXXXXXXXX', installVariables: ['SENDER_ID'], - platforms: ['Android', 'iOS', 'Browser', 'Windows '] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class Push extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/safari-view-controller/index.ts b/src/@ionic-native/plugins/safari-view-controller/index.ts index 2e19b37d0..2112b959b 100644 --- a/src/@ionic-native/plugins/safari-view-controller/index.ts +++ b/src/@ionic-native/plugins/safari-view-controller/index.ts @@ -59,7 +59,7 @@ export interface SafariViewControllerOptions { plugin: 'cordova-plugin-safariviewcontroller', pluginRef: 'SafariViewController', repo: 'https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller', - platforms: ['iOS', 'Android'] + platforms: ['Android', 'iOS'] }) @Injectable() export class SafariViewController extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/screen-orientation/index.ts b/src/@ionic-native/plugins/screen-orientation/index.ts index 5f79cb42a..b160318ac 100644 --- a/src/@ionic-native/plugins/screen-orientation/index.ts +++ b/src/@ionic-native/plugins/screen-orientation/index.ts @@ -48,7 +48,7 @@ import { Observable } from 'rxjs/Observable'; plugin: 'cordova-plugin-screen-orientation', pluginRef: 'screen.orientation', repo: 'https://github.com/apache/cordova-plugin-screen-orientation', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows'] }) @Injectable() export class ScreenOrientation extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/screenshot/index.ts b/src/@ionic-native/plugins/screenshot/index.ts index 904eeed09..363dd9a5c 100644 --- a/src/@ionic-native/plugins/screenshot/index.ts +++ b/src/@ionic-native/plugins/screenshot/index.ts @@ -26,7 +26,7 @@ declare const navigator: any; plugin: 'https://github.com/gitawego/cordova-screenshot.git', pluginRef: 'navigator.screenshot', repo: 'https://github.com/gitawego/cordova-screenshot', - platforms: ['Android', 'iOS'] + platforms: ['Android', 'iOS', 'macOS'] }) @Injectable() export class Screenshot extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/secure-storage/index.ts b/src/@ionic-native/plugins/secure-storage/index.ts index a02eb11de..7c1d9fb18 100644 --- a/src/@ionic-native/plugins/secure-storage/index.ts +++ b/src/@ionic-native/plugins/secure-storage/index.ts @@ -73,6 +73,8 @@ export class SecureStorageObject { * * Requires Cordova plugin: `cordova-plugin-secure-storage`. For more info, please see the [Cordova Secure Storage docs](https://github.com/Crypho/cordova-plugin-secure-storage). * + * The browser platform is supported as a mock only. Key/values are stored unencrypted in localStorage. + * * @usage * * ```typescript @@ -115,7 +117,7 @@ export class SecureStorageObject { plugin: 'cordova-plugin-secure-storage', pluginRef: 'cordova.plugins.SecureStorage', repo: 'https://github.com/Crypho/cordova-plugin-secure-storage', - platforms: ['Android', 'iOS', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'Windows'] }) @Injectable() export class SecureStorage extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/serial/index.ts b/src/@ionic-native/plugins/serial/index.ts index 3647997b4..dd76d5475 100644 --- a/src/@ionic-native/plugins/serial/index.ts +++ b/src/@ionic-native/plugins/serial/index.ts @@ -42,7 +42,7 @@ export interface SerialOpenOptions { plugin: 'cordovarduino', pluginRef: 'serial', repo: 'https://github.com/xseignard/cordovarduino', - platforms: ['Android'] + platforms: ['Android', 'Ubuntu'] }) @Injectable() export class Serial extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/sim/index.ts b/src/@ionic-native/plugins/sim/index.ts index 7a2612a2c..4e7f97f15 100644 --- a/src/@ionic-native/plugins/sim/index.ts +++ b/src/@ionic-native/plugins/sim/index.ts @@ -38,7 +38,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-sim', pluginRef: 'plugins.sim', repo: 'https://github.com/pbakondy/cordova-plugin-sim', - platforms: ['Android', 'iOS', 'Windows Phone'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone'] }) @Injectable() export class Sim extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/sms/index.ts b/src/@ionic-native/plugins/sms/index.ts index e984e02f4..e5cf9879e 100644 --- a/src/@ionic-native/plugins/sms/index.ts +++ b/src/@ionic-native/plugins/sms/index.ts @@ -53,7 +53,7 @@ export interface SmsOptionsAndroid { plugin: 'cordova-sms-plugin', pluginRef: 'sms', repo: 'https://github.com/cordova-sms/cordova-sms-plugin', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class SMS extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/social-sharing/index.ts b/src/@ionic-native/plugins/social-sharing/index.ts index 039627eb9..8ca43c5e0 100644 --- a/src/@ionic-native/plugins/social-sharing/index.ts +++ b/src/@ionic-native/plugins/social-sharing/index.ts @@ -6,6 +6,9 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; * @name Social Sharing * @description * Share text, files, images, and links via social networks, sms, and email. + * + * For Browser usage check out the Web Share API docs: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#web-share-api + * * @usage * ```typescript * import { SocialSharing } from '@ionic-native/social-sharing'; @@ -34,7 +37,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-x-socialsharing', pluginRef: 'plugins.socialsharing', repo: 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin', - platforms: ['iOS', 'Android', 'Windows Phone'] + platforms: ['Android', 'Browser', 'iOS', 'Windows', 'Windows Phone'] }) @Injectable() export class SocialSharing extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/splash-screen/index.ts b/src/@ionic-native/plugins/splash-screen/index.ts index ca45d2dd7..94a2d18f5 100644 --- a/src/@ionic-native/plugins/splash-screen/index.ts +++ b/src/@ionic-native/plugins/splash-screen/index.ts @@ -23,7 +23,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-splashscreen', pluginRef: 'navigator.splashscreen', repo: 'https://github.com/apache/cordova-plugin-splashscreen', - platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'iOS', 'Windows Phone 7 and 8', 'Windows', 'Browser'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class SplashScreen extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/sqlite-porter/index.ts b/src/@ionic-native/plugins/sqlite-porter/index.ts index 843e4e2f7..b4e4b3ef0 100644 --- a/src/@ionic-native/plugins/sqlite-porter/index.ts +++ b/src/@ionic-native/plugins/sqlite-porter/index.ts @@ -43,7 +43,7 @@ import { Injectable } from '@angular/core'; plugin: 'uk.co.workingedge.cordova.plugin.sqliteporter', pluginRef: 'cordova.plugins.sqlitePorter', repo: 'https://github.com/dpa99c/cordova-sqlite-porter', - platforms: ['Android', 'iOS', 'Tizen', 'BlackBerry 10'] + platforms: ['Amazon Fire OS', 'Android', 'BlackBerry 10', 'Browser', 'iOS', 'Tizen', 'Windows', 'Windows Phone'] }) @Injectable() export class SQLitePorter extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/status-bar/index.ts b/src/@ionic-native/plugins/status-bar/index.ts index efeaaf169..480421d23 100644 --- a/src/@ionic-native/plugins/status-bar/index.ts +++ b/src/@ionic-native/plugins/status-bar/index.ts @@ -29,7 +29,7 @@ import { Cordova, CordovaProperty, Plugin, IonicNativePlugin } from '@ionic-nati plugin: 'cordova-plugin-statusbar', pluginRef: 'StatusBar', repo: 'https://github.com/apache/cordova-plugin-statusbar', - platforms: ['iOS', 'Android', 'Windows Phone 8', 'Windows 8', 'Windows 10'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone'] }) @Injectable() export class StatusBar extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/streaming-media/index.ts b/src/@ionic-native/plugins/streaming-media/index.ts index 25e3aaead..6fb18f53c 100644 --- a/src/@ionic-native/plugins/streaming-media/index.ts +++ b/src/@ionic-native/plugins/streaming-media/index.ts @@ -45,7 +45,7 @@ export interface StreamingAudioOptions { plugin: 'cordova-plugin-streaming-media', pluginRef: 'plugins.streamingMedia', repo: 'https://github.com/nchutchind/cordova-plugin-streaming-media', - platforms: ['Android', 'iOS'] + platforms: ['Amazon Fire OS', 'Android', 'iOS'] }) @Injectable() export class StreamingMedia extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/stripe/index.ts b/src/@ionic-native/plugins/stripe/index.ts index 0b19bbe3f..83c7a7c8c 100644 --- a/src/@ionic-native/plugins/stripe/index.ts +++ b/src/@ionic-native/plugins/stripe/index.ts @@ -115,7 +115,7 @@ export interface StripeBankAccountParams { plugin: 'cordova-plugin-stripe', pluginRef: 'cordova.plugins.stripe', repo: 'https://github.com/zyramedia/cordova-plugin-stripe', - platforms: ['Android', 'iOS', 'Browser'] + platforms: ['Android', 'Browser', 'iOS'] }) @Injectable() export class Stripe extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/toast/index.ts b/src/@ionic-native/plugins/toast/index.ts index f4c7c0c5a..9cfea2b1e 100644 --- a/src/@ionic-native/plugins/toast/index.ts +++ b/src/@ionic-native/plugins/toast/index.ts @@ -65,7 +65,7 @@ export interface ToastOptions { plugin: 'cordova-plugin-x-toast', pluginRef: 'plugins.toast', repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['Android', 'BlackBerry 10', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class Toast extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/transfer/index.ts b/src/@ionic-native/plugins/transfer/index.ts index 2f5d5a244..c6e7175a7 100644 --- a/src/@ionic-native/plugins/transfer/index.ts +++ b/src/@ionic-native/plugins/transfer/index.ts @@ -177,7 +177,7 @@ export interface FileTransferError { plugin: 'cordova-plugin-file-transfer', pluginRef: 'FileTransfer', repo: 'https://github.com/apache/cordova-plugin-file-transfer', - platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] + platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class Transfer extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/vibration/index.ts b/src/@ionic-native/plugins/vibration/index.ts index 54213e8fd..e09b678b3 100644 --- a/src/@ionic-native/plugins/vibration/index.ts +++ b/src/@ionic-native/plugins/vibration/index.ts @@ -33,7 +33,7 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; plugin: 'cordova-plugin-vibration', pluginRef: 'navigator', repo: 'https://github.com/apache/cordova-plugin-vibration', - platforms: ['Android', 'iOS', 'Windows 8.1 Phone', 'Windows 8.1', 'Windows 10'] + platforms: ['Android', 'BlackBerry 10', 'Firefox OS', 'iOS', 'Tizen', 'Ubuntu', 'Windows', 'Windows Phone'] }) @Injectable() export class Vibration extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/video-editor/index.ts b/src/@ionic-native/plugins/video-editor/index.ts index 9e2314852..16af70d2e 100644 --- a/src/@ionic-native/plugins/video-editor/index.ts +++ b/src/@ionic-native/plugins/video-editor/index.ts @@ -152,7 +152,7 @@ export interface VideoInfo { plugin: 'cordova-plugin-video-editor', pluginRef: 'VideoEditor', repo: 'https://github.com/jbavari/cordova-plugin-video-editor', - platforms: ['Android', 'iOS', 'Windows Phone 8'] + platforms: ['Android', 'iOS', 'Windows', 'Windows Phone 8'] }) @Injectable() export class VideoEditor extends IonicNativePlugin { diff --git a/src/@ionic-native/plugins/wheel-selector/index.ts b/src/@ionic-native/plugins/wheel-selector/index.ts index 6e828c44c..2958f02db 100644 --- a/src/@ionic-native/plugins/wheel-selector/index.ts +++ b/src/@ionic-native/plugins/wheel-selector/index.ts @@ -114,7 +114,7 @@ export interface WheelSelectorData { * err => console.log('Error: ', err) * ); * } - * + * * ... * * //basic selection, setting initial displayed default values: '3' 'Banana' @@ -137,7 +137,7 @@ export interface WheelSelectorData { * err => console.log('Error: ' + JSON.stringify(err)) * ); * } - * + * * ... * * //more complex as overrides which key to display @@ -196,5 +196,4 @@ export class WheelSelector extends IonicNativePlugin { platforms: ['iOS'] }) hideSelector(): Promise { return; } - }