TealiumInstallReferrerPaid
This plugin might require a paid license, or might take a share of your app's earnings. Check the plugin's repo for more information.
This module depends on the Tealium Cordova Plugin. Without it, this module will not do anything. Implements a Broadcast Receiver for the INSTALL_REFERRER intent.
Repo: https://github.com/Tealium/cordova-plugin
Installation
- Install the Cordova and Ionic Native plugins:
$ '' $ npm install --save @ionic-native/tealium-installreferrer@4
- Add this plugin to your app's module
Supported platforms
- Android
Usage
import { TealiumInstallReferrer } from '@ionic-native/tealium-installreferrer';
constructor(private installReferrer: TealiumInstallReferrer) { }
this.installReferrer.setPersistent("main");
this.installReferrer.setVolatile("main");
Instance Members
setPersistent(instanceName)
This function stores the install referrer information as persistent data
Param | Type | Details |
---|---|---|
instanceName |
string
|
Your arbitrary Tealium instance name provided at init time |
Returns: Promise<any>
Returns a promise that resolves when something happens
setVolatile(instanceName)
This function stores the install referrer information as volatile data
Param | Type | Details |
---|---|---|
instanceName |
string
|
Your arbitrary Tealium instance name provided at init time |
Returns: Promise<any>
Returns a promise that resolves when something happens