AATKitPauseForAd

Overview

Notifies that ad went fullscreen and that application should pause.

Data passed by the event

placementName

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

Examples

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

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

Last updated