You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gabriel1lima, sadly it is not possible to start the service without having the notification on Android. Taken from the Android Developer Docs:
A foreground service is a service that the user is actively aware of and isn't a candidate for the system to kill when low on memory. A foreground service must provide a notification for the status bar, which is placed under the Ongoing heading. This means that the notification cannot be dismissed unless the service is either stopped or removed from the foreground.
Since RN Headless JS extends the Android native Service class and react-native-background-actions allows your background action to run also on the foreground, any action you create will be considered a foreground service.
Rapsssito
changed the title
Is it possible to start the service without having to show the notification?
Is it possible to start the service without a notification?
Mar 5, 2020
Rapsssito
changed the title
Is it possible to start the service without a notification?
Is it possible to start the service without displaying notification?
Mar 5, 2020
Rapsssito
changed the title
Is it possible to start the service without displaying notification?
Is it possible to start the service without displaying a notification?
Mar 5, 2020
No description provided.
The text was updated successfully, but these errors were encountered: