Notification of background job is not getting dismissed even after job completion
Opened this issue · 5 comments
Hi,
I noticed 2 issues with the latest version 2.2.0 where notificationText and notificationTitle are added:
- My app also shows another persistent notification from a different plugin. However, after upgrade to latest, this plugin's notification replaces the other one which is wrong.
- Even after background job is completed, the notification is not removed and even I am not able to swipe it to dismiss.
Thanks for the superb plugin. Let me know if anything else needed.
Thanks
Interesting, I haven't used it with another persistent notification lib. What I could see as a possible issue is both libs using the same notification channel 1
. It is defined here:
Could you check what your other lib is using? And try updating that line directly in node_modules and rebuilding to see if issue still occurs.
Hi,
Thanks for the feedback but I won't be able to check that as I am outside.
FYI, the other library is:
https://github.com/mauron85/react-native-background-geolocation
if that helps.
Thanks
Hey,
I have the same problem as the 2nd one:
Even after background job is completed, the notification is not removed and even I am not able to swipe it to dismiss.
This happens very rarely though and only one user reported this to us. However, we would prefer that it doesn't happen at all.
Is there a way to disable the notifications altogether or it's necessary for the Bg-Job to work?
Same
Hey,
I have the same problem as the 2nd one:Even after background job is completed, the notification is not removed and even I am not able to swipe it to dismiss.
This happens very rarely though and only one user reported this to us. However, we would prefer that it doesn't happen at all.
Is there a way to disable the notifications altogether or it's necessary for the Bg-Job to work?
Unfortunately foreground notifications are needed for Android to allow the jobs to run at all. I have never experienced this myself so I'd need a repro case when it happens to be able to debug.