docs(): add platforms tag

This commit is contained in:
Ibby Hadeed 2017-03-28 08:54:40 -04:00
parent 8262219d05
commit d3d8f8264c
3 changed files with 6 additions and 3 deletions

View File

@ -67,7 +67,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: 'PayPal',
plugin: 'com.paypal.cordova.mobilesdk',
pluginRef: 'PayPalMobile',
repo: 'https://github.com/paypal/PayPal-Cordova-Plugin'
repo: 'https://github.com/paypal/PayPal-Cordova-Plugin',
platforms: ['Android', 'iOS']
})
@Injectable()
export class PayPal {

View File

@ -44,7 +44,8 @@ import { Injectable } from '@angular/core';
plugin: 'cordova-plugin-photo-library',
pluginRef: 'cordova.plugins.photoLibrary',
repo: 'https://github.com/terikon/cordova-plugin-photo-library',
install: 'ionic plugin add cordova-plugin-photo-library --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="To choose photos"'
install: 'ionic plugin add cordova-plugin-photo-library --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="To choose photos"',
platforms: ['Android', 'Browser', 'iOS']
})
@Injectable()
export class PhotoLibrary {

View File

@ -20,7 +20,8 @@ import { Plugin, Cordova } from '@ionic-native/core';
pluginName: 'PhotoViewer',
plugin: 'com-sarriaroman-photoviewer',
pluginRef: 'PhotoViewer',
repo: 'https://github.com/sarriaroman/photoviewer'
repo: 'https://github.com/sarriaroman/photoviewer',
platforms: ['Android', 'iOS']
})
@Injectable()
export class PhotoViewer {