53
Views
9
Comments
Cannot add small icon to push notification (OneSignal)
Application Type
Mobile, Reactive

I am using OneSignal plugin and OneSignal Api to send the push notifications.

Everything works, but the notification always come with the default bell icon not with the default app logo. I have tried to add  "ic_launcher" in small icon property but nothing worked.

I have seen few solutions proposed on the forum, but they all are not compatible with the latest mabs version 9.0 or 9.1 and I can not degrade the app's mabs version.

can anyone please help me to solve this problem

Thanks in advance 

2024-12-02 12-15-17
Aravind EONE

Can we have some screenshots? @Anil Kumar 

2021-07-07 09-14-27
Anil Kumar

Image Caption

Screenshot 2023-07-07 at 12.38.07.png
2021-07-07 09-14-27
Anil Kumar

I am using the server action to send notification to the user, my problem is when I receive the notification on the mobile it doesn't come with the application icon.

you can see the small icon property in the second screenshot.

UserImage.jpg
Anjali Choudhary

Hi @Anil Kumar ,

Try to generate small icons with this link, 

http://romannurik.github.io/AndroidAssetStudio/icons-notification.html#source.type=clipart&source.clipart=ac_unit&source.space.trim=1&source.space.pad=0&name=ic_stat_onesignal_default

If you prefer to create your own icons, you must make your icons the preferred sizes and make the small ones in white with a transparent background. 

May be its works for you .

Thanks

2021-07-07 09-14-27
Anil Kumar

@Harshit Nag Please refer to below screenshot I am looking for the solution that how can I put the icon property to show my application icon on push notification.

it comes with the bell icon by default.

Screenshot 2023-07-07 at 12.36.51.png
2021-07-07 09-14-27
Anil Kumar

I have tried this steps but it didn't work probably because of the MABS version it works with 5.2 I think.

2018-12-09 19-13-19
Tiago Gomes

Hey @Anil Kumar,

Did you found any solution for this topic?

Thank you.

2021-07-07 09-14-27
Anil Kumar

Hey @Tiago Gomes,

Not really, the solution so far is by adding some json in the extensibility configuration of your mobile app.

and that only works if you have mabs version 5.0 or less this does not work in the latest mabs version.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.