Onesignal and storage

I want to store a particular data after I get a particular notification using tinydb but I am unable to do so.
And even after the app is closed and it gets a notification it should store it.

Hey @Akash_Kinha I am new to app development could you please tell me how to do that. I am not able to reply so I am editing this message.

@system your reply system isn’t working!

Instead of doing this

Use Server side programming and save the notification data in database in a seperate column linked to user and be 100% sure that data is inserted well

the another case you are using notificaion and tinydb is not a reliable and working way