SDK Installation
React Native

CTA Callback

1min
cta configuration cooee plugin supports callback when users perform any action on in app notifications & push notifications by returning an object of key value pairs check for more call to action docid\ kj yz ltdt72n4aqtvvqr for your industry type implements the cooeectalistener somewhere in your global code and override the following method import {nativeeventemitter, nativemodules} from 'react native'; import cooeereactnative from '@letscooee/react native'; const eventemitter = new nativeeventemitter(cooeereactnative); const eventlistener = eventemitter addlistener('oncooeectalistener', (event) => { if (!event){ return; } if (event get("actiontype") == "view item") { // use payload get("item") } else if (event get("actiontype") == "go to screen") { // use payload get("screenname") } });