jamesisaac / react-native-background-task

Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.
MIT License
1.1k stars 111 forks source link

Background task works but always opens the app even when i am using other apps #52

Open ayobami303 opened 6 years ago

ayobami303 commented 6 years ago

I have everything all set up and working. but the app opens up when the task starts in the background which means if i am using another app i would be interrupted by the background task and the app opens up.

is there a way to start the task without the app opening up and interrupting whatever app i may be using at the time.

Thanks

davidsawyer commented 5 years ago

What OS is this happening on?

ayobami303 commented 5 years ago

it behaves that way on Android

thibmaek commented 5 years ago

Seeing the same issue over here on 2 Android 7 devices (Moto G5, Galaxy S6) @ayobami303 is your issue also occurring on Android 7?

ayobami303 commented 5 years ago

@thibmaek yes it is

ayobami303 commented 5 years ago

Any solution to resolving this ??

thibmaek commented 5 years ago

We ditched this library and went for Android’s native implementation which was very easy to do and works reliable. @ayobami303