fix(): fix tealium jsdoc

This commit is contained in:
Daniel
2018-05-04 10:28:43 +02:00
parent 3fbd475ed2
commit f34b6e6664
3 changed files with 75 additions and 59 deletions
@@ -7,7 +7,7 @@ import { Injectable } from '@angular/core';
* @description
* This module depends on the [Tealium Cordova Plugin](https://github.com/tealium/cordova-plugin). Without it, this module will not do anything.
* Makes the IDFA and Google Ad Identifier available in the Tealium data layer.
*
*
* @usage
* ```
* import { TealiumAdIdentifier } from '@ionic-native/tealium-adidentifier';
@@ -30,12 +30,10 @@ import { Injectable } from '@angular/core';
pluginRef: 'window.tealiumAdIdentifier', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/Tealium/cordova-plugin', // the github repository URL for the plugin
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
install: '', // OPTIONAL install command, in case the plugin requires variables
install: '' // OPTIONAL install command, in case the plugin requires variables
})
@Injectable()
export class TealiumAdIdentifier extends IonicNativePlugin {
/**
* This function stores the ad identifier information as persistent data
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
@@ -55,5 +53,4 @@ export class TealiumAdIdentifier extends IonicNativePlugin {
setVolatile(instanceName: string): Promise<any> {
return;
}
}