Page 1 of 1

How to Set Custom Icons for Push Notifications in Pushsafer?

Posted: 19. Sep 2024, 02:29
by shieldpresid
Hi everyone,
slice masters
I'm relatively new to Pushsafer and I’m trying to customize the notifications by setting custom icons. I’ve gone through the documentation but still can’t figure out the exact steps to upload or use a specific image as an icon for my notifications.

Can anyone guide me on how to set custom icons for push notifications? Is there a specific format or size requirement for the icons? Any tips or examples would be greatly appreciated!

Thanks in advance for your help!

Re: How to Set Custom Icons for Push Notifications in Pushsafer?

Posted: 19. Sep 2024, 21:56
by admin
With the parameter i you can select one of the predefined icons for your notification.

I you want to use your own icon, you have to use parameter p (images)
https://www.pushsafer.com/en/pushapi_ext#API-P

You also can use the icon generator and pass the generated base64 string with the parameter p
https://www.pushsafer.com/en/icon-image-creator

Re: How to Set Custom Icons for Push Notifications in Pushsafer?

Posted: 2. Oct 2024, 07:56
by admin
you can test it by api.
Send the base64 string with the parameter = p.

Best Regards
Kevin