I am creating a newspaper application, and I would like to know how many people received push push vs , how many actually read it .
I was thinking about implementing the way in which when an application receives a notification , it wakes up and sends a request to the server saying " Hi, I _____, I received a notification about article ____ " and save it in the database. Then, if the user clicks on the notification and proceeds to reading the article, I send another request: " Hi, I ____, and I read the article _____ ", and also saved it in the database. Subsequently, with some requests I can understand the percentage of read / received.
I don’t understand whether it is even possible to wake up the application , even if it was not opened by the user after a while, and send a request to the server (for the background, it means that the application does not start or is in cache?)
I would like to achieve what they did with Whatsapp:
- I get a new message about Whatsapp
- I do not open the application
- I go to whatsapp web
- I am opening a conversation on the WhatsApp website
- The icon and phone notification disappear because I'm reading it somewhere else.
I think this feature is achieved using silent push notifications that simply update the application icon and clear the read notification.
android ios push-notification notifications apple-push-notifications
Matteo cardellini
source share