What is the proper way to implement push notifications when you log out? I am still getting push notifications so trying to figure out what to do? Remove the tokens from the db? Tell the app to stop receiving pushes? I thought I had that figured out and await PushNotifications.removeAllListeners();
didn’t seem to work. What is everyone else doing?
And since I’m on that note, I am using Ionic/Vue and putting my logic for push notifications in App.vue
. Is that the right place? Should it be in main.ts
?
1 post - 1 participant