Push Callbacks
Netmera offers the following push callbacks:
Push Register
Push Receive
Push Open
Push Dismiss
Push Button Click
To be notified for one or more of these callbacks, follow the steps below:
Step 1: Create NetmeraPushHeadlessTask.js
file
NetmeraPushHeadlessTask.js
fileIn your React Native project, create a new file called NetmeraPushHeadlessTask.js
and define the callback functions:
Step 2: Initialize NetmeraBroadcastReceiver
in index.js
NetmeraBroadcastReceiver
in index.js
In your index.js
file, import the callback functions and initialize the NetmeraBroadcastReceiver
:
Last updated