diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index af4394e5a..eb7386752 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -90,7 +90,7 @@ export interface CameraPopoverOptions { * @description * Take a photo or capture video. * - * Requires {@link module:driftyco/ionic-native} and the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera). + * Requires and the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera). * * @usage * ```typescript @@ -120,7 +120,6 @@ export interface CameraPopoverOptions { * CameraOptions * CameraPopoverOptions */ -@Injectable() @Plugin({ pluginName: 'Camera', plugin: 'cordova-plugin-camera', @@ -128,6 +127,7 @@ export interface CameraPopoverOptions { repo: 'https://github.com/apache/cordova-plugin-camera', platforms: ['Android', 'BlackBerry', 'Browser', 'Firefox', 'FireOS', 'iOS', 'Windows', 'Windows Phone 8', 'Ubuntu'] }) +@Injectable() export class Camera { /** diff --git a/src/@ionic-native/plugins/geofence/index.ts b/src/@ionic-native/plugins/geofence/index.ts index c9fd1e98c..3ba47ee0e 100644 --- a/src/@ionic-native/plugins/geofence/index.ts +++ b/src/@ionic-native/plugins/geofence/index.ts @@ -82,7 +82,6 @@ declare var window: any; repo: 'https://github.com/cowbell/cordova-plugin-geofence/', platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows Phone'] }) - @Injectable() export class Geofence { diff --git a/src/@ionic-native/plugins/health/index.ts b/src/@ionic-native/plugins/health/index.ts index 58bbe6f55..ca23d77d7 100644 --- a/src/@ionic-native/plugins/health/index.ts +++ b/src/@ionic-native/plugins/health/index.ts @@ -167,13 +167,13 @@ export interface HealthData { * HealthStoreOptions * HealthData */ -@Injectable() @Plugin({ pluginName: 'Health', plugin: 'cordova-plugin-health', pluginRef: 'navigator.health', repo: 'https://github.com/dariosalvi78/cordova-plugin-health' }) +@Injectable() export class Health { /** diff --git a/src/@ionic-native/plugins/mixpanel/index.ts b/src/@ionic-native/plugins/mixpanel/index.ts index 78b636fab..852ebfde7 100644 --- a/src/@ionic-native/plugins/mixpanel/index.ts +++ b/src/@ionic-native/plugins/mixpanel/index.ts @@ -109,12 +109,12 @@ export class Mixpanel { /** * @hidden */ -@Injectable() @Plugin({ plugin: 'cordova-plugin-mixpanel', pluginRef: 'mixpanel.people', pluginName: 'Mixpanel' }) +@Injectable() export class MixpanelPeople { /** diff --git a/src/@ionic-native/plugins/nfc/index.ts b/src/@ionic-native/plugins/nfc/index.ts index b20f141dd..3119ae193 100644 --- a/src/@ionic-native/plugins/nfc/index.ts +++ b/src/@ionic-native/plugins/nfc/index.ts @@ -184,12 +184,12 @@ export class NFC { /** * @hidden */ -@Injectable() @Plugin({ pluginName: 'NFC', plugin: 'phonegap-nfc', pluginRef: 'ndef' }) +@Injectable() export class Ndef { @Cordova({ sync: true })