mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
fix(): fix tealium jsdoc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user