Hi everyone,
I’d like to enable notification badge display (the red dot with numbers on the app icon) for my Adalo app.
Is there an optimal method to achieve this?
For example, should I use OneSignal for this, or is there a simpler recommended approach within Adalo itself?
Any clear guidance or examples would be greatly appreciated.
Thanks in advance!
Hi, let me tell you what I’m implementing in some apps.
In the user database, I’m adding a numeric property: unread notifications.
On the home page, I create an action on the screen that updates the logged-in user’s unread notifications. I use a mathematical formula (all notifications where the recipient is a logged-in user, or if you’re managing by ID, notifications where the recipient is a logged-in user but read, which is true). This saves a number that can be 0 or greater than zero.
On the home page, I add a button (I design it with a round number of 20 or whatever you like). I put a button with the bell icon in the outline, and in additional state 1, I put a red button with the bell logo, and I add the number of unread notifications in the text. This button will be active when the logged-in user’s unread notifications are greater than zero.
This helps me greatly reduce components, functionality, and visibility on the page.
The design of the end button of yours, for example in some apps we use round 5, 10, 12 .. but I think it is an interesting way to do it without so many complications and resources