0.0.2 • Published 1 year ago

capacitor-ump-consent v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

capacitor-ump-consent

Capacitor Plugin for UMP Consent

Install

npm install capacitor-ump-consent
npx cap sync

Usage

import { UmpConsent } from 'capacitor-ump-consent';

UmpConsent.userMessagingPlatform().then(value => {
    //show banner
    
  }).catch(error => {
    // Handle error
  });

API

userMessagingPlatform()

userMessagingPlatform() => Promise<{ status: string; }>

Returns: Promise<{ status: string; }>


forceForm()

forceForm() => Promise<{ status: string; }>

Returns: Promise<{ status: string; }>


reset()

reset() => Promise<void>