Wiki

Clone wiki

REACT native plugin / countedAdSpace

Overview

Notifies that an adspace has been counted.

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(
  'countedAdSpace',
  (data) => console.log("countedAdSpace placementName: " + data.placementName)
);

Updated