this post was submitted on 11 Dec 2023
352 points (87.6% liked)

Technology

59235 readers
3184 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
 

In this video I discuss how a recent DOJ letter revealed that Apple and Google were sending peoples push notifications to foreign governments.

you are viewing a single comment's thread
view the rest of the comments
[–] CyanFen@lemmy.one 25 points 11 months ago (3 children)

Why in the hell do push notifications need to be generated on google/apple servers? I'm sure our phones are more than capable of processing the information from the app to the lock screen.

[–] fartsparkles@sh.itjust.works 27 points 11 months ago* (last edited 11 months ago)

The general design is a single system component wakes up the device when it’s sleeping (such as during screen off) and checks in with Apple/Google servers to see if there are any notifications.

Why?

Imagine if every app needed to wake up your device and make network requests to check for notifications etc. The more apps, the faster your battery drain as a queue of apps grows, constantly waking up your device to call home and check for notifications.

Hence Push Notification Services. Instead, developers send a notification to Apple/Google who then pool those notifications with notifications from other apps/developers. Then the single notification service on your device periodically wakes up the device and checks for notifications.

Additionally, push notification systems by OSs are designed with efficiency and minimal networks requests and bandwidth utilisation so an app can’t chew up user’s data quotas due to being poorly written.

TL;DR: It saves battery and network data, enabling users to use more apps.

[–] echo64@lemmy.world 16 points 11 months ago

App server > apple push server > app > lock screen.

For battery efficiency reasons it's better to use the apple push server that's hooked into ios rather than your own push server

[–] JohnEdwa@sopuli.xyz 7 points 11 months ago

It's the difference between polling notifications, where each app wakes up once a minute and goes to ask their respective servers if there are any new notifications, and push notifications which, as the name suggests, are pushed to your phone once they arrive so those apps can sleep.