How would I make an app to send a notification if it’s closed? I’m making an app that reads the data from the web server and I need to send the notification to the user only if the app is closed and the value on the web server is changed.
I have been struggling with this for a while, and finally I had to use Firebase Cloud Messaging.