Thang Pham
Thang Pham

Reputation: 38705

How to record push open from Parse Push notification

I am using Parse (parse 1.9.2) to send push notification to Android and IOS with React Native. However, even if I click on the notification and the app opened, Parse does not record this event. What do I have to do to record with Parse that this notification is opened. When I open Past Push on Parse dashboard, it always said that N/A Notifications Opens. Please help

enter image description here

Upvotes: 6

Views: 587

Answers (1)

Federico De Gioannini
Federico De Gioannini

Reputation: 927

You probably should add

ParseAnalytics.trackAppOpenedInBackground(intent);

to your onPushOpen implementation in your ParsePushBroadcastReceiver implementation.

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

Upvotes: 2

Related Questions