PFAnalytics does not track clicks

I configured my application to receive push notifications sent from Parse, after all the steps in the Parse documentation:

https://www.parse.com/docs/ios/guide#push-notifications

When working on mobile devices, the application receives every single push notification that I send to it from Parse, but the push opening is not monitored. This is what I see on the toolbar:

enter image description here

Given that PFAnalytics.trackAppOpenedWithLaunchOptions and PFAnalytics.trackAppOpenedWithRemoteNotificationPayload return their BFTasks , I added a completion block for them as follows:

In application:didReceiveRemoteNotification :

 PFAnalytics.trackAppOpenedWithRemoteNotificationPayload(userInfo).continueWithBlock({ (task) -> AnyObject! in assert(task.completed, "task should have completed") assert(!task.cancelled, "task should not have been cancelled") assert(!task.faulted, "task should not complete due to error or exception") return task }) 

In application:didFinishLaunchingWithOptions :

 PFAnalytics.trackAppOpenedWithLaunchOptions(launchOptions).continueWithBlock({ (task) -> AnyObject! in assert(task.completed, "task should have completed") assert(!task.cancelled, "task should not have been cancelled") assert(!task.faulted, "task should not complete due to error or exception") return task }) 

The continuation block calls, but none of the asserts work, so PFAnalytics supposedly successfully sends data to Parse Analytics.

Why does my push open and the opening speed is zero?

+6
source share
2 answers

Error registered and confirmed by Facebook: https://developers.facebook.com/bugs/119817525037600/

+2
source

I realized that a push discovery is monitored if you look for the โ€œPush Opensโ€ event in the โ€œAnalyticsโ€ section, but not a single information is listed in the Push single-user campaign, which makes A / B testing completely useless at the moment.

0
source

All Articles