How to enable//disable push notification for my app?

i’m using one signal for my app as push notification … and want to make user can enable and disable push notification using switch toggle

So ? Are we supposed to guess what you really want ? You can do it from the back easily

sorry i’m new in ionic … can explane what do you mean from back ?