capacitor-appmetrica
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -14,2 +14,5 @@ declare module '@capacitor/core' { | ||
}): Promise<void>; | ||
getDeviceID(): Promise<{ | ||
deviceID: string; | ||
}>; | ||
} |
@@ -5,2 +5,3 @@ export declare class Appmetrica { | ||
setUserProfileID(id: string): Promise<void>; | ||
getDeviceID(): Promise<string>; | ||
} |
@@ -13,3 +13,6 @@ import { Plugins } from '@capacitor/core'; | ||
} | ||
getDeviceID() { | ||
return this.appmetrica.getDeviceID().then(({ deviceID }) => deviceID); | ||
} | ||
} | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "capacitor-appmetrica", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Capacitor plugin for Appmetrica", | ||
@@ -5,0 +5,0 @@ "main": "plugin.js", |
@@ -15,2 +15,5 @@ var capacitorAppmetrica = (function (exports, core) { | ||
} | ||
getDeviceID() { | ||
return this.appmetrica.getDeviceID().then(({ deviceID }) => deviceID); | ||
} | ||
} | ||
@@ -17,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
263303
66