How could users disable notifications on my app?

Hi everyone!

I’m developing a ionic app with ionic push noitifications (https://apps.ionic.io).
When users register to noitifications, the $ionicPush.register function receives a property called “canShowAlert”, but true or false value does not change the behaviour (the notification is still being shown in the screen).

How could users in my app, change the app configuration to disable notifications on my app?

Thanks!