managedConsentNeedsUserInterface
Overview
Notifies that Managed Consent needs to show a consent dialog. After receiving this notification, you should pause your application and call the showConsentDialogIfNeeded
method.
Example
import RNAatkit from '@addapptr/react-native-aatkit'
import { NativeEventEmitter, NativeModules } from 'react-native';
const aatkitEmitter = new NativeEventEmitter(RNAatkit);
const subscription = aatkitEmitter.addListener(
'managedConsentNeedsUserInterface',
() => {
console.log("managedConsentNeedsUserInterface");
}
);
Last updated