Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications: Duplicate Notifications on 6.7 #6213

Closed
frosty opened this issue Nov 21, 2016 · 3 comments
Closed

Notifications: Duplicate Notifications on 6.7 #6213

frosty opened this issue Nov 21, 2016 · 3 comments
Assignees
Milestone

Comments

@frosty
Copy link
Contributor

frosty commented Nov 21, 2016

#Whilst using the latest 6.7 release over the weekend, I noticed that my Notifications section included a number of duplicated notifications: two notifications (one mention, one '10 likes') had repeated 3x each:

img_4947

I viewed one of the mention comments at the bottom, and the app then marked two of them as being read:

img_4948

I was using my iPhone 7, which is on the latest version of iOS.

cc @jleandroperez

@rachelmcr
Copy link
Member

I also saw duplicate notifications over the weekend in the latest 6.7 beta. I confirmed that the duplicate only appeared in the iOS app; the Android app and web only showed a single notification.

Duplicate in the iOS app:

2016-11-20 16 07 22

Single notification on the web:

2016-11-20 16 07 15

The app logs also showed only one push notification:

2016/11/20 13:31:58:794  Reachability - Internet - WiFi: N  WWAN: Y
2016/11/20 13:31:58:810  <WordPressAppDelegate: 0x1702a2520> application:didReceiveRemoteNotification:fetchCompletionHandler:
2016/11/20 13:31:58:852  Received push notification:
Payload: {
    aps =     {
        alert = "November 20: Your best day for likes on [redacted]";
        badge = 1;
        "content-available" = 1;
        sound = "n.caf";
    };
    blog = 112950019;
    "blog_id" = 112950019;
    "note_id" = 2704373327;
    type = c;
}
2016/11/20 13:31:58:853  Current Application state: 2
2016/11/20 13:31:58:922  Running Notifications Background Fetch...
2016/11/20 13:31:58:954  <WordPressAppDelegate: 0x1702a2520> application:didReceiveRemoteNotification:fetchCompletionHandler:
2016/11/20 13:31:58:955  Received push notification:
Payload: {
    aps =     {
        alert = "[redacted] and 10 others liked your post [redacted]";
        badge = 2;
        "content-available" = 1;
        sound = "n.caf";
    };
    blog = 112950019;
    "blog_id" = 112950019;
    "note_id" = 2703557571;
    type = c;
}
2016/11/20 13:31:58:955  Current Application state: 2
2016/11/20 13:31:58:972  Running Notifications Background Fetch...
2016/11/20 13:32:03:663  Finished Notifications Background Fetch!
2016/11/20 13:32:04:643  Finished Notifications Background Fetch!

@jleandroperez
Copy link
Contributor

Thanks @rachelmcr, those logs were extremely helpful!!!

Will have this fixed ASAP!

@jleandroperez
Copy link
Contributor

Updating the tag to 6.8 since this is happening with a build cut off from Develop!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants