I haven’t solved this problem yet. Right now, the push notifications sent to clients are just something like: “You received a private message.”

I do have a potential solution in mind: the push notification could include the eventid. Then, once the client receives the notification, it could activate for a short period of time to fetch the event, decrypt it, and display the actual content to the user.

However, I haven’t implemented this approach yet — it still needs to be tested and verified.

Reply to this note

Please Login to reply.

Discussion

I did this in Planetary.social and it worked most of the time. Both Android and iOS have “silent” notifications that give you some background execution time.