this post was submitted on 13 Dec 2023
275 points (94.5% liked)

Technology

59390 readers
2543 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 11 months ago (10 children)

But why would a copy of the notification history exist outside of the phone itself? I can't think of a reason why notifications should be collected at all.

[–] [email protected] 7 points 11 months ago (4 children)

Imagine you have 20 apps that can send receive notifications from remote (messaging apps, offers, updates...). That would require each app to be active in the background and pulling updates. That's a massive battery drain.

Instead, the apps send the notifications to Apple/Google, and the OS checks for all of the apps. The apps don't need to be awake (the OS could show the notification or wake the app) and there's only one service checking for the ml notifications.

It's a massive oversimplifying and probably I made some mistakes, but that's my understanding. Hopefully somebody can correct me.

[–] [email protected] 4 points 11 months ago (3 children)

Apparently that's how it works.

I'd imagine a notification service on the phone that can receive or pull from all the various sources on behalf of the apps installed. That way the app servers don't need to hand the data to Apple/Google servers. It just seems like an extra step.

[–] [email protected] 1 points 11 months ago

Well, the problem is that every would need to have their own server with notifications waiting to be pulled (imagine your phone goes offline) and they need to be beefy enough to answer potentially thousands of requests per second. Almost impossible for small devs.

There's also additional battery need, as it's many calls and payloads, and if a server is slow it can affect all the other notifications. Plus more area of attack.

Not impossible, but I don't think it's the direction things will go.

load more comments (2 replies)
load more comments (2 replies)
load more comments (7 replies)