How to add info from FCM notification if app is killed

Hello,

I’m trying to save some info from Firebase cloud messaging notification when the app is killied, it looks it doesnt save the info into a db, how to fix it? Thank you

Regards

I’m not sure I understand your question, but if you’re asking how to run some function right before an app is killed, the answer is “you can’t”. A pause handler is the best you can do.

1 Like