capacitor-app-tracking-transparency
Advanced tools
Comparing version 0.1.0 to 0.1.1
import { AppTrackingTransparencyStatus, CapacitorAppTrackingTransparencyPlugin } from './definitions'; | ||
declare type IAppTrackingTransparency = Record<keyof CapacitorAppTrackingTransparencyPlugin, Promise<AppTrackingTransparencyStatus>>; | ||
declare type IAppTrackingTransparency = Record<keyof CapacitorAppTrackingTransparencyPlugin, () => Promise<AppTrackingTransparencyStatus>>; | ||
export declare class AppTrackingTransparency implements IAppTrackingTransparency { | ||
getStatus: Promise<AppTrackingTransparencyStatus>; | ||
requestPermission: Promise<AppTrackingTransparencyStatus>; | ||
getStatus: () => Promise<AppTrackingTransparencyStatus>; | ||
requestPermission: () => Promise<AppTrackingTransparencyStatus>; | ||
} | ||
export {}; |
@@ -11,3 +11,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
function wrapMethod(f) { | ||
return f().then(v => v.value); | ||
return () => f().then(v => v.value); | ||
} | ||
@@ -14,0 +14,0 @@ let AppTrackingTransparency = class AppTrackingTransparency { |
@@ -20,3 +20,3 @@ var capacitorPlugin = (function (exports, core$1, core) { | ||
function wrapMethod(f) { | ||
return f().then(v => v.value); | ||
return () => f().then(v => v.value); | ||
} | ||
@@ -23,0 +23,0 @@ exports.AppTrackingTransparency = class AppTrackingTransparency { |
{ | ||
"name": "capacitor-app-tracking-transparency", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Capacitor plugin to request user authorization to access app-related data for tracking the user or the device. iOS only.", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.js", |
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
41309