Wiki

Clone wiki

REACT native plugin / managedConsentCMPFailedToLoad

Overview

Notifies that the used CMP failed to load.

Examples

#!javascript

import RNAatkit from '@addapptr/react-native-aatkit'
import { NativeEventEmitter, NativeModules } from 'react-native';
const aatkitEmitter = new NativeEventEmitter(RNAatkit);

const subscription = aatkitEmitter.addListener(
    'managedConsentCMPFailedToLoad',
    () => {
        console.log("managedConsentCMPFailedToLoad");
    }
);

Updated