Wiki

Clone wiki

REACT native plugin / countedResponse

Overview

Notifies that an response has been counted for a given network.

Data passed by the event

placementName

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

network

Network name.

Examples

#!javascript

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

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

Updated