Reputation: 43
I want to know if the user has not opened the app for a long time. How can I notify them with a push notification, without the back-end sending a message.
Upvotes: 1
Views: 114
Reputation: 16038
You can set an Alarm in the AlarmManager for your definition of a "long time".
When the Alarm is triggered, you can present a Notification.
Upvotes: 1