Reputation: 38705
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
Upvotes: 6
Views: 587
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