Wiki

Clone wiki

REACT native plugin / AATKitResumeAfterAd

Overview

Notifies that ad came back from fullscreen and that application should resume.

Data passed by the event

placementName

Unique name of the placement. The same name will be used in addapptr.com account. On iOS due to architectural constraints this param is always "undefinied".

Examples

#!javascript

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

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

Updated