Turn On/Off Device Push Notification

  1. Summary of my problem
  • What I am trying to get is a switch that changes the permission of the app notification in settings
  • I expect to get redirected to settings to turn it on/off, or having a switch that toggles the state