Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mtr-ionic/tune-analytics

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mtr-ionic/tune-analytics - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

package.json
{
"name": "@mtr-ionic/tune-analytics",
"version": "1.0.5",
"version": "1.0.6",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",

@@ -28,3 +28,3 @@ "homepage": "https://ionicframework.com/",

"gulp-replace": "0.5.4",
"gulp-tslint": "6.1.2",
"gulp-tslint": "^6.1.2",
"jasmine-core": "^2.6.1",

@@ -31,0 +31,0 @@ "karma": "^1.7.0",

@@ -14,4 +14,3 @@ /**

import { Injectable } from '@angular/core';
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';

@@ -42,3 +41,3 @@ /**

plugin: 'cordova-plugin-tune', // npm package name, example: cordova-plugin-camera
pluginRef: 'plugins.tunePlugin', // the variable reference to call the plugin, example: navigator.geolocation
pluginRef: 'TuneAnalytics', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/TuneOSS/phonegap-plugin', // the github repository URL for the plugin

@@ -49,4 +48,2 @@ platforms: ['Android', 'iOS', 'Windows Phone 8'] // Array of platforms supported, example: ['Android', 'iOS']

export class TuneAnalytics extends IonicNativePlugin {
/**

@@ -58,5 +55,7 @@ * @param {string} tuneAdvertiserId

*/
@Cordova()
initTune(tuneAdvertiserId: string, tuneConversionKey: string, turnOnIAM: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
initTune(tuneAdvertiserId: string, tuneConversionKey: string, turnOnIAM: boolean): Promise<any> { return; }
/**

@@ -66,29 +65,39 @@ * @param {object} automate

*/
@Cordova()
automateIapEventMeasurement(automate: object): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
automateIapEventMeasurement(automate: object): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
getAdvertisingId(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getAdvertisingId(): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
getTuneId(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getTuneId(): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
getOpenLogId(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getOpenLogId(): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
getIsPayingUser(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getIsPayingUser(): Promise<any> { return; }
/**

@@ -98,5 +107,7 @@ * @param {boolean} age

*/
@Cordova()
setAge(age: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAge(age: boolean): Promise<any> { return; }
/**

@@ -106,5 +117,7 @@ * @param {boolean} isAndroidId

*/
@Cordova()
setAndroidId(isAndroidId: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAndroidId(isAndroidId: boolean): Promise<any> { return; }
/**

@@ -114,5 +127,7 @@ * @param {boolean} isMD5

*/
@Cordova()
setAndroidIdMd5(isMD5: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAndroidIdMd5(isMD5: boolean): Promise<any> { return; }
/**

@@ -122,5 +137,7 @@ * @param {boolean} isSHA1

*/
@Cordova()
setAndroidIdSha1(isSHA1: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAndroidIdSha1(isSHA1: boolean): Promise<any> { return; }
/**

@@ -130,5 +147,7 @@ * @param {boolean} isSHA256

*/
@Cordova()
setAndroidIdSha256(isSHA256: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAndroidIdSha256(isSHA256: boolean): Promise<any> { return; }
/**

@@ -138,5 +157,7 @@ * @param {boolean} measurement

*/
@Cordova()
setAppAdMeasurement(measurement: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAppAdMeasurement(measurement: boolean): Promise<any> { return; }
/**

@@ -146,5 +167,7 @@ * @param {string} currency

*/
@Cordova()
setCurrencyCode(currency: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setCurrencyCode(currency: string): Promise<any> { return; }
/**

@@ -154,5 +177,7 @@ * @param {boolean} mode

*/
@Cordova()
setDebugMode(mode: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setDebugMode(mode: boolean): Promise<any> { return; }
/**

@@ -162,5 +187,7 @@ * @param {string} url

*/
@Cordova()
setDeepLink(url: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setDeepLink(url: string): Promise<any> { return; }
/**

@@ -170,5 +197,7 @@ * @param {boolean} delegate

*/
@Cordova()
setDelegate(delegate: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setDelegate(delegate: boolean): Promise<any> { return; }
/**

@@ -178,5 +207,7 @@ * @param {boolean} deviceId

*/
@Cordova()
setDeviceId(deviceId: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setDeviceId(deviceId: boolean): Promise<any> { return; }
/**

@@ -186,5 +217,7 @@ * @param {boolean} emailCollection

*/
@Cordova()
setEmailCollection(emailCollection: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setEmailCollection(emailCollection: boolean): Promise<any> { return; }
/**

@@ -194,5 +227,7 @@ * @param {boolean} existingUser

*/
@Cordova()
setExistingUser(existingUser: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setExistingUser(existingUser: boolean): Promise<any> { return; }
/**

@@ -203,5 +238,7 @@ * @param {boolean} allowSend

*/
@Cordova()
setFacebookEventLogging(allowSend: boolean, limit: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setFacebookEventLogging(allowSend: boolean, limit: boolean): Promise<any> { return; }
/**

@@ -211,5 +248,7 @@ * @param {boolean} fbUserId

*/
@Cordova()
setFacebookUserId(fbUserId: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setFacebookUserId(fbUserId: boolean): Promise<any> { return; }
/**

@@ -219,5 +258,7 @@ * @param {number} gender

*/
@Cordova()
setGender(gender: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setGender(gender: number): Promise<any> { return; }
/**

@@ -228,5 +269,7 @@ * @param {boolean} googleAid

*/
@Cordova()
setGoogleAdvertisingId(googleAid: boolean, isLat: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setGoogleAdvertisingId(googleAid: boolean, isLat: boolean): Promise<any> { return; }
/**

@@ -236,5 +279,7 @@ * @param {string} googleUserId

*/
@Cordova()
setGoogleUserId(googleUserId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setGoogleUserId(googleUserId: string): Promise<any> { return; }
/**

@@ -245,5 +290,7 @@ * @param {number} latitude

*/
@Cordova()
setLocation(latitude: number, longitude: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setLocation(latitude: number, longitude: number): Promise<any> { return; }
/**

@@ -255,5 +302,7 @@ * @param {number} latitude

*/
@Cordova()
setLocationWithAltitude(latitude: number, longitude: number, altitude: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setLocationWithAltitude(latitude: number, longitude: number, altitude: number): Promise<any> { return; }
/**

@@ -263,5 +312,7 @@ * @param {string} packageName

*/
@Cordova()
setPackageName(packageName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setPackageName(packageName: string): Promise<any> { return; }
/**

@@ -271,5 +322,7 @@ * @param {boolean} payingUser

*/
@Cordova()
setPayingUser(payingUser: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setPayingUser(payingUser: boolean): Promise<any> { return; }
/**

@@ -279,5 +332,7 @@ * @param {object} preloadData

*/
@Cordova()
setPreloadData(preloadData: object): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setPreloadData(preloadData: object): Promise<any> { return; }
/**

@@ -287,5 +342,7 @@ * @param {string} trustedId

*/
@Cordova()
setTRUSTeId(trustedId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setTRUSTeId(trustedId: string): Promise<any> { return; }
/**

@@ -295,5 +352,7 @@ * @param {string} twitterId

*/
@Cordova()
setTwitterUserId(twitterId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setTwitterUserId(twitterId: string): Promise<any> { return; }
/**

@@ -303,5 +362,7 @@ * @param {string} emailUser

*/
@Cordova()
setUserEmail(emailUser: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setUserEmail(emailUser: string): Promise<any> { return; }
/**

@@ -311,5 +372,7 @@ * @param {string} userId

*/
@Cordova()
setUserId(userId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setUserId(userId: string): Promise<any> { return; }
/**

@@ -319,5 +382,7 @@ * @param {string} username

*/
@Cordova()
setUserName(username: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setUserName(username: string): Promise<any> { return; }
/**

@@ -327,5 +392,7 @@ * @param {boolean} measurementCookie

*/
@Cordova()
setUseCookieMeasurement(measurementCookie: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setUseCookieMeasurement(measurementCookie: boolean): Promise<any> { return; }
/**

@@ -335,5 +402,7 @@ * @param {boolean} autoCollect

*/
@Cordova()
setShouldAutoCollectAppleAdvertisingIdentifier(autoCollect: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setShouldAutoCollectAppleAdvertisingIdentifier(autoCollect: boolean): Promise<any> { return; }
/**

@@ -343,5 +412,7 @@ * @param {boolean} autoCollect

*/
@Cordova()
setShouldAutoCollectDeviceLocation(autoCollect: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setShouldAutoCollectDeviceLocation(autoCollect: boolean): Promise<any> { return; }
/**

@@ -351,5 +422,7 @@ * @param {boolean} autoDetect

*/
@Cordova()
setShouldAutoDetectJailbroken(autoDetect: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setShouldAutoDetectJailbroken(autoDetect: boolean): Promise<any> { return; }
/**

@@ -359,5 +432,7 @@ * @param {boolean} autoGenerate

*/
@Cordova()
setShouldAutoGenerateAppleVendorIdentifier(autoGenerate: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setShouldAutoGenerateAppleVendorIdentifier(autoGenerate: boolean): Promise<any> { return; }
/**

@@ -367,5 +442,7 @@ * @param {boolean} jailbreak

*/
@Cordova()
setJailbroken(jailbreak: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setJailbroken(jailbreak: boolean): Promise<any> { return; }
/**

@@ -376,5 +453,7 @@ * @param {boolean} adsId

*/
@Cordova()
setAppleAdvertisingIdentifier(adsId: boolean, adsTracker: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAppleAdvertisingIdentifier(adsId: boolean, adsTracker: boolean): Promise<any> { return; }
/**

@@ -384,5 +463,7 @@ * @param {boolean} appleVendorId

*/
@Cordova()
setAppleVendorIdentifier(appleVendorId: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setAppleVendorIdentifier(appleVendorId: boolean): Promise<any> { return; }
/**

@@ -396,5 +477,7 @@ * @param {boolean} packageName

*/
@Cordova()
startAppToAppMeasurement(packageName: boolean, adsId: boolean, adsOfferId: boolean, adsPublisherId: boolean, shouldRedirect: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
startAppToAppMeasurement(packageName: boolean, adsId: boolean, adsOfferId: boolean, adsPublisherId: boolean, shouldRedirect: boolean): Promise<any> { return; }
/**

@@ -404,11 +487,15 @@ * @param {boolean} redirectUrl

*/
@Cordova()
setRedirectUrl(redirectUrl: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setRedirectUrl(redirectUrl: boolean): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
measureSession(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
measureSession(): Promise<any> { return; }
/**

@@ -418,5 +505,7 @@ * @param {boolean} tuneEvent

*/
@Cordova()
measureEvent(tuneEvent: boolean): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
measureEvent(tuneEvent: boolean): Promise<any> { return; }
/**

@@ -428,5 +517,7 @@ * @param {string} hookId

*/
@Cordova()
registerPowerHook(hookId: string, friendName: string, defaultValue: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerPowerHook(hookId: string, friendName: string, defaultValue: string): Promise<any> { return; }
/**

@@ -436,5 +527,7 @@ * @param {string} hookId

*/
@Cordova()
getValueForHookById(hookId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getValueForHookById(hookId: string): Promise<any> { return; }
/**

@@ -445,5 +538,7 @@ * @param {string} variableName

*/
@Cordova()
registerCustomProfileString(variableName: string, defaultValue: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerCustomProfileString(variableName: string, defaultValue: string): Promise<any> { return; }
/**

@@ -454,5 +549,7 @@ * @param {string} variableName

*/
@Cordova()
setCustomProfileString(variableName: string, value: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setCustomProfileString(variableName: string, value: string): Promise<any> { return; }
/**

@@ -462,5 +559,7 @@ * @param {string} variableName

*/
@Cordova()
getCustomProfileString(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getCustomProfileString(variableName: string): Promise<any> { return; }
/**

@@ -471,5 +570,7 @@ * @param {string} variableName

*/
@Cordova()
registerCustomProfileDate(variableName: string, defaultValue: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerCustomProfileDate(variableName: string, defaultValue: string): Promise<any> { return; }
/**

@@ -480,5 +581,7 @@ * @param {string} variableName

*/
@Cordova()
setCustomProfileDate(variableName: string, value: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setCustomProfileDate(variableName: string, value: number): Promise<any> { return; }
/**

@@ -488,5 +591,7 @@ * @param {string} variableName

*/
@Cordova()
getCustomProfileDate(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getCustomProfileDate(variableName: string): Promise<any> { return; }
/**

@@ -497,5 +602,7 @@ * @param {string} variableName

*/
@Cordova()
registerCustomProfileNumber(variableName: string, value: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerCustomProfileNumber(variableName: string, value: number): Promise<any> { return; }
/**

@@ -506,5 +613,7 @@ * @param {string} variableName

*/
@Cordova()
setCustomProfileNumber(variableName: string, value: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setCustomProfileNumber(variableName: string, value: number): Promise<any> { return; }
/**

@@ -514,5 +623,7 @@ * @param {string} variableName

*/
@Cordova()
getCustomProfileNumber(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getCustomProfileNumber(variableName: string): Promise<any> { return; }
/**

@@ -522,5 +633,7 @@ * @param {string} variableName

*/
@Cordova()
registerCustomProfileGeolocation(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerCustomProfileGeolocation(variableName: string): Promise<any> { return; }
/**

@@ -533,5 +646,7 @@ * @param {string} variableName

*/
@Cordova()
setCustomProfileGeolocation(variableName: string, latitude: number, longitude: number, altitude: number): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setCustomProfileGeolocation(variableName: string, latitude: number, longitude: number, altitude: number): Promise<any> { return; }
/**

@@ -541,5 +656,7 @@ * @param {string} variableName

*/
@Cordova()
getCustomProfileGeolocation(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
getCustomProfileGeolocation(variableName: string): Promise<any> { return; }
/**

@@ -549,11 +666,15 @@ * @param {string} variableName

*/
@Cordova()
clearCustomProfileVariable(variableName: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
clearCustomProfileVariable(variableName: string): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
clearAllCustomProfileVariables(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
clearAllCustomProfileVariables(): Promise<any> { return; }
/**

@@ -563,5 +684,7 @@ * @param {string} domainSuffix

*/
@Cordova()
registerCustomTuneLinkDomain(domainSuffix: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
registerCustomTuneLinkDomain(domainSuffix: string): Promise<any> { return; }
/**

@@ -571,5 +694,7 @@ * @param {string} senderId

*/
@Cordova()
enablePushNotifications(senderId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
enablePushNotifications(senderId: string): Promise<any> { return; }
/**

@@ -579,5 +704,7 @@ * @param {string} senderId

*/
@Cordova()
setPushNotificationRegistrationId(senderId: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
setPushNotificationRegistrationId(senderId: string): Promise<any> { return; }
/**

@@ -587,17 +714,23 @@ * @param {string} appLinkUrl

*/
@Cordova()
isTuneLink(appLinkUrl: string): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
isTuneLink(appLinkUrl: string): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
enableSmartwhere(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
enableSmartwhere(): Promise<any> { return; }
/**
* @returns Observable
*/
@Cordova()
disableSmartwhere(): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
disableSmartwhere(): Promise<any> { return; }
/**

@@ -607,4 +740,7 @@ * @param {object} jsonConfig

*/
@Cordova()
configureSmartwhere(jsonConfig: object): Observable<any> { return; }
@Cordova({
successIndex: 1,
errorIndex: 0
})
configureSmartwhere(jsonConfig: object): Promise<any> { return; }
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc