Wiki
Clone wikiREACT native plugin / countedClick
Overview
Notifies that an click 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( 'countedClick', (data) => console.log("countedClick placementName: " + data.placementName + " network: " + data.network) );
Updated