Oh, I was originally confused about this because I had thought the push notifications were end-to-end encrypted, so they couldn't be cached in readable form by the push notification service, and only decrypted by the app on device upon receiving the notification. But it seems like after the notification was decrypted by the app and shown to the user using OS APIs, the notification text was was then stored by the OS in some kind of notification history DB locally on the device?
> I had thought the push notifications were end-to-end encrypted
Much of the metadata is plaintext, in both Apple and Google's Push Notification architecture.
Something of that sort.