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
@@ -1,5 +1,5 @@
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @paid
@@ -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.
* Implements a Broadcast Receiver for the INSTALL_REFERRER intent.
*
*
* @usage
* ```
* import { TealiumInstallReferrer } from '@ionic-native/tealium-installreferrer';
@@ -15,7 +15,7 @@ import { Injectable } from '@angular/core';
*
* constructor(private installReferrer: TealiumInstallReferrer) { }
*
*
*
* this.installReferrer.setPersistent("main");
* this.installReferrer.setVolatile("main");
*
@@ -30,12 +30,10 @@ import { Injectable } from '@angular/core';
pluginRef: 'window.tealiumInstallReferrer', // 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'], // 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 TealiumInstallReferrer extends IonicNativePlugin {
/**
* This function stores the install referrer information as persistent data
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
@@ -55,5 +53,4 @@ export class TealiumInstallReferrer extends IonicNativePlugin {
setVolatile(instanceName: string): Promise<any> {
return;
}
}