Wiki

Clone wiki

REACT native plugin / AATKitShowingEmpty

Overview

Notifies that placement has loaded an Empty 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(
  'AATKitShowingEmpty',
  (data) => console.log("AATKitShowingEmpty placementName: " + data.placementName)
);

Updated