Wiki

Clone wiki

REACT native plugin / AATKitNoAds

Overview

Notifies that placement has failed to load an ad.

Data passed by the event

placementName

Unique name of the placement. The same name will be used in addapptr.com account.

Examples

#!javascript

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

const subscription = aatkitEmitter.addListener(
  'AATKitNoAds',
  (data) => console.log("AATKitNoAds placementName: " + data.placementName)
);

Updated