Issue
I'm working on a mobile app using Flutter 1.17.5. I've setup 2 notifications using flutter_local_notifications and i need to get the data from the user when they click in a notification. I've been able to get the current user logged and the time the notification was selected, but i also need the time the notification was delivered to the user and whether it was opened or canceled. I was thinking maybe getting the notification by id and then working with it, but i have no idea how to do that at the moment, so any help is appreciated.
Solution
Your data need to be send to Firebase or anything else. So use Firebastore in the background. That way you'll know everything. https://medium.com/swlh/flutter-local-notifications-and-cloud-firestore-queries-in-the-background-44a077caa5c3
This worked for me. thanks to mario francois
Answered By - Yasmin Pierazo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.