37
Views
2
Comments
[OneSignal Plugin] How to assign logo to OneSignal Push Notification Icon
onesignal-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hi there,

I know previous versions of MABS you could assign your app logo to the push notification with "icon" or "ic_launcher" in the Small Icon parameter. But this is now not the case.

How can I assign a custom logo to the "Small icon" parameter?

2025-09-25 14-38-22
Lokesh Kumar Yadav

Use a white, transparent PNG icon named (e.g., ic_stat_notify) placed in resources/android/icon/drawable/, and set Small Icon to ic_stat_notify. Avoid full-color logos—Android only supports monochrome icons for notifications. 

2025-08-20 12-58-03
ADITI CHATURVEDI
AI Generated
  • The icon should be a small, high-contrast icon (preferably a transparent PNG, sized around 24x24 px or 48x48 px).
  • Avoid using complex logos for small icons. Instead, use simple icons or brand symbols.
  • In OutSystems, upload the custom icon to the Resources section of your Mobile app.
  • Go to Manage Dependencies in Resources - Add Resource, and upload your icon (for exm, ic_notification.png).
  • In Service Studio, go to Push Notifications under the Mobile App settings.
  • In the "Small Icon" field, you will need to reference the name of the icon you uploaded. Typically, the format will be:
  • For Android: Resources/Android/drawable/ic_notification
  • Ensure you don't include the file extension (e.g., .png), just the resource name.
  • Once the icon is configured, rebuild your app using MABS.
  • Test push notifications on a real Android or iOS device to ensure that the custom icon shows up as expected.
This answer was AI-generated. Please read it carefully and use the forums for clarifications
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.