feat(plugins): add platforms info

This commit is contained in:
Ibrahim Hadeed
2016-03-14 13:38:35 -04:00
parent 363be2feb7
commit 9826dfd026
13 changed files with 27 additions and 13 deletions
+3 -1
View File
@@ -104,7 +104,8 @@ export interface CameraPopoverOptions {
@Plugin({
plugin: 'cordova-plugin-camera',
pluginRef: 'navigator.camera',
repo: 'https://github.com/apache/cordova-plugin-camera'
repo: 'https://github.com/apache/cordova-plugin-camera',
platforms: ['Android','BlackBerry','Browser','Firefox','FireOS','iOS','Windows','Windows Phone 8','Ubuntu']
})
export class Camera {
/**
@@ -121,6 +122,7 @@ export class Camera {
* Remove intermediate image files that are kept in temporary storage after calling camera.getPicture.
* Applies only when the value of Camera.sourceType equals Camera.PictureSourceType.CAMERA and the Camera.destinationType equals Camera.DestinationType.FILE_URI.
* @return Returns a Promise
* @platforms ['iOS']
*/
@Cordova()
static cleanup(){};