Search code examples
androidapptentive

Apptentive custom data not being passed


I am integrating Apptentive on Android. I am passing custom data to the Message Center but it is not display on the Apptentive website. This is my code

HashMap<String, String> customData = new HashMap<String, String>();

//add package name
customData.put("package", getPackageName()); 

//show message center
Apptentive.showMessageCenter(ViralPopup.this, customData);

Any suggestions?


Solution

  • Custom Data sent in this manner is attached to the message that the user sends. If they don't send a message, then you won't see the custom data show up. If you do send a message, look at the actual message you receive in the conversation view on the server. The custom data should be visible on the message itself.

    To view the custom data, you simply mouse over the message, and click "Show Custom Data".

    enter image description here