Skip to end of metadata
Go to start of metadata

Retrieve custom parameters from Push/In-App/Geofence/Beacons

If you want to retrieve custom parameters from Push, In-App or Inbox features, call:

Each time a Push/In-App is displayed or clicked, you will receive a response like this one:

    Retrieve Push Notification payload

    If you want to retrieve the entire push payload, use the following method:

    Here's a payload example for iOS and Android:

      action can contain:

      categories can contain:

      Only our Android SDK is broadcasting BEACON_NOTIFICATIONS and GEOFENCE_NOTIFICATIONS information to third party developer.

      All parameters including your custom parameters are inside params (here we have a custom param named 'my-key')

      Geofence/Beacons

      For a Geofence/Beacon, you will receive a response like this one :

      Here, we have entered 2 geofences.

      transition :

      • 1 for enter
      • 0 for exit

       

      For a beacon, the key will be

       

       instead of


      More details can be found on Android#RetrievingBeaconinformationwithaBroadcastReceiver

      Stop listening for custom parameters

      If you don't want to retrieve custom parameters anymore, please call:

      • No labels