diff --git a/scripts/templates/wrap-min.tmpl b/scripts/templates/wrap-min.tmpl index 3e0d607a9..8c6f18a0a 100644 --- a/scripts/templates/wrap-min.tmpl +++ b/scripts/templates/wrap-min.tmpl @@ -21,7 +21,8 @@ import { Injectable } from '@angular/core'; pluginName: '$PluginName', plugin: '', pluginRef: '', - repo: '' + repo: '', + platforms: [] }) @Injectable() export class $PluginName { diff --git a/scripts/templates/wrap.tmpl b/scripts/templates/wrap.tmpl index 8c13ef559..441bf8836 100644 --- a/scripts/templates/wrap.tmpl +++ b/scripts/templates/wrap.tmpl @@ -40,7 +40,8 @@ import { Observable } from 'rxjs/Observable'; plugin: '', // npm package name, example: cordova-plugin-camera pluginRef: '', // the variable reference to call the plugin, example: navigator.geolocation repo: '', // the github repository URL for the plugin - install: '' // OPTIONAL install command, in case the plugin requires variables + platforms: [], // Array of platforms supported, example: ['Android', 'iOS'] + install: '', // OPTIONAL install command, in case the plugin requires variables }) @Injectable() export class $PluginName {