51
Views
3
Comments
Best way to design a notification system in a mobile app.
Application Type
Mobile

I am creating a mobile app, which will have a notifications page, where all the notifications(pertaining to hat user) will be shown to the user. And there can be 3 ways a notification can be sent. 

1. User specific notification- Like, an auto notification wishing a user happy birthday

2. Send to all notification- A notification that will be sent to every user, like for example-  a global notification.

3. Send notification to select- Only a select few users will be sent a notification

How can I design an entity/local storage system to store all these notifications? So that a user can see only the notifications received by him.

Thanks in advanced

2021-01-19 14-07-32
Tom Zhao

Hi Amol

Sorry, I didn't understand your question.

Why are you need to store all these notifications?  

Kind Regards,

UserImage.jpg
Amol Rane

There is a notifications page, where the user should be able to view 10 most recent notifications(in app) intended to be sent to him.

2024-10-25 09-14-42
Christopher Bautista

Hi Amol,

Good evening!

My perspective is that you will still need an entity on the server side and a light weight version for the local storage. I'm not getting the whole picture of your requirements but please allow me to share the below topics which I think will be useful for your design.

https://success.outsystems.com/Documentation/Best_Practices/Development/OutSystems_Mobile_Best_Practices#Design_a_Lightweight_Local_Storage

https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Offline/Offline_Data_Sync_Patterns

https://success.outsystems.com/Documentation/How-to_Guides/Integrations/How_to_Use_Push_Notifications_with_OneSignal

Hope this helps,

Kind regards,

Chris

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