diff --git a/src/plugins/base64togallery.ts b/src/plugins/base64togallery.ts index 2e5e9a23b..25fc3fa36 100644 --- a/src/plugins/base64togallery.ts +++ b/src/plugins/base64togallery.ts @@ -2,7 +2,6 @@ import {Plugin, Cordova} from './plugin' /** * @name Base64 To Gallery * @description This plugin allows you to save base64 data as a png image into the device - * @platforms Android, iOS, Windows Phone * @usage * ```ts * import {Base64ToGallery} from 'ionic-native'; @@ -23,7 +22,7 @@ import {Plugin, Cordova} from './plugin' export class Base64ToGallery { /** - * + * Converts a base64 string to an image file in the device gallery * @param data * @param prefix */ diff --git a/src/plugins/dbmeter.ts b/src/plugins/dbmeter.ts index 34a32c74d..9d7bdedc5 100644 --- a/src/plugins/dbmeter.ts +++ b/src/plugins/dbmeter.ts @@ -3,7 +3,6 @@ import {Observable} from "rxjs/Observable"; /** * @name DB Meter * @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone. - * @platforms Android, iOS * @usage * ```ts * import {DBMeter} from 'ionic-native'; @@ -33,7 +32,8 @@ import {Observable} from "rxjs/Observable"; @Plugin({ plugin: 'cordova-plugin-dbmeter', pluginRef: 'DBMeter', - repo: 'https://github.com/akofman/cordova-plugin-dbmeter' + repo: 'https://github.com/akofman/cordova-plugin-dbmeter', + platforms: ['iOS','Android'] }) export class DBMeter { diff --git a/src/plugins/hotspot.ts b/src/plugins/hotspot.ts index 963986603..48d06dea2 100644 --- a/src/plugins/hotspot.ts +++ b/src/plugins/hotspot.ts @@ -3,7 +3,6 @@ import {Plugin, Cordova} from './plugin' /** * @name Hotspot * @description - * @platforms Android * @usage * ```js * import {Hotspot} from 'ionic-native'; @@ -15,7 +14,8 @@ import {Plugin, Cordova} from './plugin' @Plugin({ plugin: 'cordova-plugin-hotspot', pluginRef: 'cordova.plugins.hotspot', - repo: 'https://github.com/hypery2k/cordova-hotspot-plugin' + repo: 'https://github.com/hypery2k/cordova-hotspot-plugin', + platforms: ['Android'] }) export class Hotspot { diff --git a/src/plugins/keyboard.ts b/src/plugins/keyboard.ts index b6720ee92..8a6c9e4ad 100644 --- a/src/plugins/keyboard.ts +++ b/src/plugins/keyboard.ts @@ -32,50 +32,50 @@ export class Keyboard { /** * Force keyboard to be shown. - * @platforms ['Android','BlackBerry 10','Windows'] */ @Cordova({ - sync: true + sync: true, + platforms: ['Android','BlackBerry 10','Windows'] }) static show() : void {} /** * Close the keyboard if open - * @platforms ['iOS','Android','BlackBerry 10','Windows'] */ @Cordova({ - sync: true + sync: true, + platforms: ['iOS','Android','BlackBerry 10','Windows'] }) static close() : void {} /** * Prevents the native UIScrollView from moving when an input is focused. - * @platforms ['iOS','Windows'] * @param disable */ @Cordova({ - sync: true + sync: true, + platforms: ['iOS','Windows'] }) static disableScroll(disable : boolean) : void {} /** * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. - * @platforms ['iOS','Android','BlackBerry 10','Windows'] */ @Cordova({ eventObservable: true, - event: 'native.keyboardshow' + event: 'native.keyboardshow', + platforms: ['iOS','Android','BlackBerry 10','Windows'] }) - static onKeybardShow() : Observable {return} + static onKeyboardShow() : Observable {return} /** * Creates an observable that notifies you when the keyboard is hidden. Unsubscribe to observable to cancel event watch. - * @platforms ['iOS','Android','BlackBerry 10','Windows'] */ @Cordova({ eventObservable: true, - event: 'native.keyboardhide' + event: 'native.keyboardhide', + platforms: ['iOS','Android','BlackBerry 10','Windows'] }) - static onKeybardHide() : Observable {return} + static onKeyboardHide() : Observable {return} } \ No newline at end of file