Is there a way to disable Pushy, in Capacitor, using Ionic Toggle? There are no function in the pushy documentation: https://pushy.me/docs/additional-platforms/capacitor
The goal is to have a toggle switch for enabling/disabling Pushy.
Something similar this?
async pushyToggle() {
if (isPush == true) {
await enablePushy();
}
else if () {
await disablePushy();
}
}
I think I might be doing it all wrong. Need help. Thanks!