Is it possible to disable (not getting/Showing) the push notification via app. I know that, we can register or unregister for push notifications at any time, but in my application user can choose specific time-range in which he wants to get the notification.
For example: If user chooses time-range 5-6 PM
, then app should only show the notifications between 5-6 PM, and should not show/receive/reject notification if they sent out side of the time range time<5 and time>6
Is it possible?
Is there any workaround with silent-notifications
? Something like, I receive notification and can turn it into silent-notification by modifying payload via app, by using notificaiton-service-extention?
Please help!