capacitor-appmetrica
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -7,3 +7,3 @@ declare module '@capacitor/core' { | ||
export interface AppmetricaPlugin { | ||
logEvent(options: { | ||
reportEvent(options: { | ||
name: string; | ||
@@ -10,0 +10,0 @@ parameters?: Object; |
export declare class Appmetrica { | ||
private appmetrica; | ||
logEvent(name: string, parameters?: Object): Promise<void>; | ||
reportEvent(name: string, parameters?: Object): Promise<void>; | ||
setUserProfileID(id: string): Promise<void>; | ||
} |
@@ -7,4 +7,4 @@ import { Plugins } from '@capacitor/core'; | ||
} | ||
logEvent(name, parameters) { | ||
return this.appmetrica.logEvent({ name, parameters }); | ||
reportEvent(name, parameters) { | ||
return this.appmetrica.reportEvent({ name, parameters }); | ||
} | ||
@@ -11,0 +11,0 @@ setUserProfileID(id) { |
{ | ||
"name": "capacitor-appmetrica", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Capacitor plugin for Appmetrica", | ||
@@ -5,0 +5,0 @@ "main": "plugin.js", |
@@ -9,4 +9,4 @@ var capacitorAppmetrica = (function (exports, core) { | ||
} | ||
logEvent(name, parameters) { | ||
return this.appmetrica.logEvent({ name, parameters }); | ||
reportEvent(name, parameters) { | ||
return this.appmetrica.reportEvent({ name, parameters }); | ||
} | ||
@@ -13,0 +13,0 @@ setUserProfileID(id) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260539