How to record push open from a Parse Push alert

I am using Parse (parse 1.9.2) to send push notifications on Android and IOS using React Native. However, even if I click on the notification and the application is open, Parse does not record this event. What do I need to do to write to Parse so that this notification is open. When I open Past Pushthe "Analysis" toolbar, he always said that N/A Notifications Opens. Please, help

enter image description here

+6
source share
1 answer

You should probably add

ParseAnalytics.trackAppOpenedInBackground(intent);

for your onPushOpen implementation in the ParsePushBroadcastReceiver implementation.

: http://parseplatform.org/Parse-SDK-Android/api/com/parse/ParseAnalytics.html#trackAppOpenedInBackground(android.content.Intent)

+2

All Articles