Comment by smashed
2 years ago
When you're transforming the push notification, can you make an https request?
Send a meaningless random ID, then do a get request to your API to get the actual content, then present it to the user.
Only a meaningless ID will transit through google/apple servers.
Honest question. I'm sure many thought about it before.
You can do quite a few things - it’s not a widely written about area of development (relatively speaking) but you have a surprising amount of stuff at your fingertips.
I built a finance app a few years ago that would take market data via a push notification, and then the transform extension would render it to a chart image and attach the image to the notification to avoid generating them server side.
> You can do quite a few things - it’s not a widely written about area of development (relatively speaking) but you have a surprising amount of stuff at your fingertips.
I would pay to commission a blog post on the topic if you’re willing to write it.
I unfortunately don't have time to do that, but I believe the Guardian did a similar trick some years ago for election result updates. Try googling around for that, it's very interesting reading.