I would like to enable/disable push notifications for the my app programmatically using a settings page in the app.
Is this possible / supported? If yes, appreciate any pointers on the API to use for this.
PS: I know that users can go into Settings from home screen to configure push notification for each app. But, this requirement is to implement the same inside the app.