News for hackers. Stuff that matters.
Re:Apple fixes bug that cops used to extract deleted chat me... by wpm on Wednesday April 22, 2026 @09:21PM (#47871322)
This is correct, but my understanding of it is that the push notification (which is not the same thing as the actual "Notification" that is shown on the screen) basically contains a "hey $DEVICE, go talk to $APP_NOTO server they got something for you".

APNS just taps on the device's metaphorical shoulder and hands them a courtesy phone "call for you sir"

Re:Apple fixes bug that cops used to extract deleted chat me... by sitharus on Thursday April 23, 2026 @01:48AM (#47872607)
That’s not how it works. Not on iOS anyway.

For a standard notification the content of that notification is sent through the push notification servers. This includes the title, text, icon, grouping, and sound presets to use. The majority of user-visible notifications are sent this way - the app on the device does not run.

That allows the OS to display your notification without ever running the app, which saves limited resources on the phone. Originally this was the only option, a push notification couldn’t start your app.

These days an app can also register a notification extension which is a standalone program that can modify the incoming notification. It has 30 seconds to do whatever it needs to, though you need to be careful with RAM use or the OS will kill the process and present the notification unaltered. Generally you’d put something generic in the push as a fallback.

There’s also background notifications. These let the app run for 30 seconds and the app can post a local notification during this time, but they’re not guaranteed to be delivered. The OS can decide the system doesn’t have the resources and defer or drop them, or terminate the app before it’s finished if the ram is needed elsewhere.

There are some other special cases depending on what your app does.

Re:Apple fixes bug that cops used to extract deleted chat me... by MetalSnake on Thursday April 23, 2026 @04:25AM (#47873414)
More details are documented in the ntfy docs: https://docs.ntfy.sh/config/#ios-instant-notifications
Re:Apple fixes bug that cops used to extract deleted chat me... by forgotaccount3 on Thursday April 23, 2026 @08:51AM (#47875143)
> the app on the device does not run.

That explains an oddity I was experiencing.

Work uses Webex. I had work webex installed on my phone. My password changed on my account in the office, if i try to open Webex on my phone I would be prompted to re-authenticate which I would never do because it required 2FA and the token generator is on my laptop which I generally wouldn't have with me when using my phone.

However, despite not being able to open the app as my account, I was still getting full messages in the push notification for anyone who had messaged me recently while the app was functioning. Anyone new would pop up as 'Message From X'.

Re:Apple fixes bug that cops used to extract deleted chat me... by bestnameever on Saturday April 25, 2026 @11:43PM (#47907122)
Isn't some of this information encrypted, if the app developer chooses?
Re:Apple fixes bug that cops used to extract deleted chat me... by sitharus on Tuesday April 28, 2026 @07:23PM (#47942213)
The notification contents are sent over secure channels but are not end-to-end encrypted.

You can add additional data to the payload and have a helper app decrypt on the device when a notification is received.