SDK Installation
Flutter

CTA Callback

2min
cta configuration flutter plugin supports callback on the action of in app notification buttons by returning a map of key value pairs check for more call to action docid\ kj yz ltdt72n4aqtvvqr according to your industry to make use of this first set the inappnotificationclicklistener to your activity code dart cooeeplugin sdk = new cooeeplugin(); sdk setcooeeinappnotificationaction(inapptriggered); make sure you have a function created in your code dart void inapptriggered(map\<string, dynamic> map) { this setstate(() { if (map actiontype == "play course") { // product id will be available via "map courseid" } else if (map actiontype == "apply coupon") { // your code to apply a given coupon // coupon code can be accessed via "map couponcode" } else if (map actiontype == "go to screen") { // your code to take user to a particular screen // screen name can be accessed via "map screenname" } }); } important note please remove the android\ name from application tag present the android/app/src/main/androidmanifest xml