Skip to content

[feat] Modify the content of a push notification before displaying it #112

@IT-ess

Description

@IT-ess

Hi !

I have a use case with Push notifications where I would like to be able to determine the body of a notification displayed to the user from the payload sent by the push notification service.
More precisely, my app works with encrypted messages, so the contents of the messages aren't sent directly in the payload of the Push Notification, and you should fetch / decrypt the message from an event_id received in the payload, and then display the notification.

Would it be possible to add a kind of optional closure (in rust ?) that could be called by your plugin each time a push notification is received to modify the content of the displayed notification ? Or do you know how would you implement that at least ?

Thanks !

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions