Can someone please explain why iOS can't sync badges?!

Discussion in 'iOS 10' started by yalag, Apr 6, 2017.

  1. yalag macrumors 65816

    Joined:
    Nov 18, 2007
    #1
    We are 10 years in, and we still can't sync badges across devices. Why?

    Every day I must play the game of whack-a-mole and click on each app that has a badge on it for each device I have. I have an iphone, ipad pro and ipad mini. If there are just 5 apps with badges, I have to launch 15 things a day just to clear them. Please help!

    Why can't icloud just clear it for me? Can someone shed some light on what's going on?
     
  2. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #2
    Are you talking about the push notification number?

    This is because of how APNS works. (Apple push notification service). This way it only pushes an update when it receives one. If it's constantly scanning for updates, then it would significantly reduce battery life.
     
  3. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #3
    Yes the badges. The push number.

    It doesn't have to constantly scan for update. Just whenever the badge gets cleared from one device, send an update to the other two!! In fact, they even said this was a feature in iOS5. Badge syncing!!
     
  4. Mlrollin91, Apr 6, 2017
    Last edited: Apr 6, 2017

    Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #4
    That's keeping an open signal and would have to be scanning. How else would it know it's been cleared from another device unless the one device pushes out a signal and the other has an open channel looking for it.

    I'm pretty sure the badge syncing you are referring too is iMessage only. There is a lengthy support article about APNS that describes what I'm saying.

    Here is one support article: https://support.apple.com/en-ca/HT203545
    Having issues trying to find the other one that gives more detail. I know this is mainly referencing mail, but its the same principle outlined in the other article if I can find it.


    "If you read one of your iCloud email messages in the Mail application on your computer, that email will still appear in your unread mail count on your iPhone, iPad, or iPod touch until you open Mail on that device. Once you open Mail on the iOS device, the message status will be updated."

    This applies to anything that uses APNS.
    --- Post Merged, Apr 6, 2017 ---
    According to some other forums the only way to bypass the channel "closing" is to have the developer implement badge syncing via background app refresh. Then it needs to be turned on on both devices.
     
  5. zorinlynx macrumors 601

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #5
    Badges are a mess in general. I've learned to just turn off badges for apps that misbehave with them; 99% of the time they are games that I turn off notifications for anyway. I don't need needy games on my device. ;)
     
  6. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #6
    Huh? It's keep an open signal ANYWAY because that's how APNS works. So in reality, when you clear the badge, icloud should send a push message to all other devices to CLEAR. This is no different than sending these devices with a push to update the count anyway (from count 1 to 2 for example)
     
  7. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #7
    No. It doesn't keep an open signal. A signal is set to the device only when an update is made on the APNS. It's never a truly 100% open channel.

    The device itself never pushes the update to APNS. APNS sends the signal to the device. Therefore APNS can't relay the signal to other devices.
     
  8. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #8
    It doesn't make sense, the OS should send the signal to the rest of the devices using the SAME APNS methods to update the count.

    It's not the app, I'm not talking about DEVELOPERS here. I'm talking APPLE. APPPLE already has the technology to do this at ease. They refuse to do it. WHY?
     
  9. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #9
    Because it doesn't work as you suggest. The device never sends a signal to APNS, APNS sends to the device. Therefore, it cannot send the update of the badge count to APNS and then APNS relay it to other devices. Its because its not a fully open channel. I'm telling you the way around this is if developers implement it via background app refresh. What you are asking is only made possible with iMessage. No other app or service does this, not even mail as I had posted above the support article for.

    There are 3rd party mail apps where this works because they implemented through background app refresh and it keeps an constant open signal, but these apps use a decent amount of battery life compared to the stock mail app.
     
  10. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #10
    Do you not understand that Apple owns iOS and iCloud and APNS? I don't even understand what is it that you don't get?

    I'm a app developer but here let me write it in laymen terms

    1) User opens the app
    2) App is told to reset badget count
    3) ***** NEW ACTION***** Send to APNS an updated badge count (This command already exists, because you could always update badge count with APNS)
    4) Other devices receives the updated count and execute code to update
     
  11. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #11

    I couldn't care less if you are a developer and you definitely don't need to put it in 'layman' terms because I understand fine. You are the one that aren't understanding. Apple does NOT open the APNS channel to send signals from the device to other devices. If background app refresh is ENABLED for this action, the opening of the app on device one will send a relay signal to the app on device 2. Again its pretty obvious Apple does not offer this as mail, their own app, does not support what you are asking.
     
  12. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #12
    Apple OWNS APNS. Whadafuq? Seriously. I don't get it. THIS IS THEIR CODE.
     
  13. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #13
    I'm done with this because you clearly are not understanding. Just because they OWN it, doesn't mean they open it up to how YOU would like it to be. Apple chooses NOT to do what you are want. End of story. It doesn't matter who owns it, all that matters is it doesn't function they way you would like it to by DESIGN. Again look at mail. Have a good day.
     
  14. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #14
    That's exactly my original question, WHY won't THEY DO THIS?? Not, why doesn't it work with TODAY'S DESIGN. That would be an idiotic question. Because if the current design did it, it WOULD HAVE WORKED ALREADY.

    There's no need to talk about how it doesn't work right now. I just want to know why they HAVEN'T CHANGED IT TO WORK. When the change is trivial.
     
  15. Mlrollin91 macrumors G4

    Mlrollin91

    Joined:
    Nov 20, 2008
    Location:
    Ventura County
    #15
    I shall refer you to my first post as I have already addressed this. Battery life. I have also given an example of how this is an actual problem because if you use a 3rd party mail app that leaves the channel open, it uses more battery life. Its really that simple. All I have been doing is trying to help you answer your question (which I did).
     
  16. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #16
    It would have 0 impact on battery life, because it would be the same APNS payload one would receives from normal push. This would simply be a new type of APNS command that is intended to update badge without user prompt.
     
  17. Sital macrumors 68000

    Sital

    Joined:
    May 31, 2012
    Location:
    New England
    #17
    Regarding battery life, I've been using a 3rd party email app for a few months now precisely because I wanted my badge count to sync, but I haven't noticed a difference in my battery life. Not to say that there isn't an effect (especially if you started using multiple 3rd party apps that leave the channel open) , it just isn't an issue for me.
     
  18. yalag thread starter macrumors 65816

    Joined:
    Nov 18, 2007
    #18
    Of course it doesn't have an battery life impact. The way APNS works is that there is only one persisted network connection ever for all apps (first or third party) so the fact that the app is told to update it's badge is not going to create additional connections. You can argue the battery consumed just to receive the updated count but that's such a trivial amount unless you are updating it extremely frequently in a day.
     
  19. cswifx Suspended

    cswifx

    Joined:
    Dec 15, 2016
    #19
    Badge syncing is hardly a feature many people use or notice, so it's counterintuitive to include such a feature. Besides, it's the apps' developers' responsibility to manage their own notifications.

    Correct me if I'm wrong.
     
  20. tarsins macrumors 6502

    tarsins

    Joined:
    Sep 15, 2009
    Location:
    Wales
    #20
    Why don't you ask them then?
     
  21. btbam91 macrumors regular

    Joined:
    Nov 23, 2015
  22. stooovie macrumors 6502a

    Joined:
    Nov 21, 2010
    #22
    It already was a feature in early betas of iOS 5 and it did work but they pulled it. It's very annoying. I've got four Apple devices and I have to clear the same notifications on each of them. Doesn't make sense when calls can be relayed, Mac music playback volume decrease when nearby iPhone is on call and stuff like that already works.
     

Share This Page