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.