Learn how to build an in-app activity feed using OneSignalโs REST API, Event Streams, or on-device logic to track and display user notification history.
An activity feed lets users see the history of notifications theyโve received within your app.OneSignal focuses on delivering notifications but does not currently store the history of messages sent to each individual user. To build this functionality, youโll need to store notification data yourselfโeither on your backend server or directly on the userโs device.
Recommended ApproachRather than relying on background processing in your app, use the Create notification REST API to send each notification and also store a copy on your server. Then, when the app launches, it can check the server for updates.Once the data is stored, you can retrieve and display the userโs notification history at any time.