Rapsssito / react-native-background-actions

React Native background service library for running background tasks forever in Android & iOS.
MIT License
817 stars 116 forks source link

How to Hide this nofiication By default #212

Closed muralikrishnakandala closed 4 months ago

muralikrishnakandala commented 9 months ago

Bg NOTIFICATION

@Rapsssito Can you please help me out on this, How to hide this notification.

rsroffrove commented 9 months ago

Can we hide this notification by any chance? It doesn't appear on IOS but for Android there is no option to hide it.

Hidayat112 commented 9 months ago

Did you find anything related to it ?

MAhnaf commented 8 months ago

Any Updates here ?

KaiValar commented 7 months ago

By as i know, the persistent notification is required as long as the job is running by Android itself, so i don't think we can hide it :( If anyone success hiding will be a hero.

nida-khan08 commented 5 months ago

I have a hack to hide this notification. You can update notification just after starting background service like this-

BackgroundService.updateNotification({taskTitle:'',taskDesc:''})

It will hide the notification and service will still be running in background.

Rapsssito commented 4 months ago

Sadly it is not possible to start the service without having the notification on Android. See #16