Wiki

Clone wiki

REACT native plugin / showConsentDialogIfNeeded

Overview

Presents the consent screen ONLY if it is required by the used CMP (for example if no user consent has been set yet). It is advised to always call this method when the app starts.

Syntax

showConsentDialogIfNeeded();

Examples

#!javascript

RNAatkit.showConsentDialogIfNeeded();

Updated