Customize push notifications

#1

Hello guys,

I’m using Expo Push Notifications API and I wonder if I can customize the title and body of the notification from the client side, given that I do not have control over the backend that pushes these notifications.

any help appreciated.

#2

Hey @waziry,

You can customize these values in the JSON object you use as the payload for the notification by entering what string value you want under the title and body fields. If you’re asking if you can change the values once the push notification is received by the OS, that is not possible. How are you sending notifications at the moment that you have no control over the payload values?

Cheers,

Adam

1 Like
#3

I found out that Expo does not support background tasks, therefore I can’t customize the title and body values once I receive the notification.

Is there any workaround for this ?

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.