Closed cabonitavince closed 2 years ago
Hi @cabonitavince, Thanks for reporting this issue. We'd be glad to assist.
Calling Pushy.toggleNotifications(false)
should definitely prevent new notifications from coming through on Android devices. Are you experiencing the issue on an Android or iOS device? Please be advised that this method is currently only supported on Android.
The best way to understand what is happening behind the scenes is to inspect the Android device logcat, specifically, the Pushy SDK logs. If you could please follow these instructions to export the device logcat from one of the affected devices after calling Pushy.toggleNotifications(false)
, that would be greatly appreciated:
Install "adb" by following the instructions in this guide
Enable Developer Options in the device settings
Connect the device to your computer via a USB cable
If the "Trust this computer" dialog appears on the device, press "Yes"
Open a terminal prompt on your computer
Run adb logcat -d *:S Pushy > logcat.txt
Attach logcat.txt to this issue, or send it to us privately via e-mail at support@pushy.me
Thanks for your assistance in helping us investigate and resolve this issue!
Closing the issue due to lack of response, feel free to reply if you still need help with this.
Pushy.toggleNotifications(false); Pushy.toggleFCM(false);
No logs displayed too. Pushy version: ^2.0.5