react-native-background-timer icon indicating copy to clipboard operation
react-native-background-timer copied to clipboard

Not working on Andriod with RN v0.48.1

Open RailtonMatthew opened this issue 7 years ago • 5 comments

I've just upgraded to the following and the timer no longer works in background. It was working fine before the upgrade.

react-native-cli: 2.0.1 react-native: 0.48.1

RailtonMatthew avatar Sep 14 '17 21:09 RailtonMatthew

I've recompiled in release mode and it is now working. Could be an intermittent bug or only in debug. Will provide more feedback as I test.

RailtonMatthew avatar Sep 14 '17 23:09 RailtonMatthew

Done some testing at the weekend. The background timer stops working if I call react-native-push-notification or react-native-tts in the background function.

I spoke too soon. Yesterday app was running fine in background, timer was writing to console every 10 seconds. Today, it doesn't run at all in background ever if the libraries mentioned above are not used. Very frustrating... my app is useless without being able to run in background.

RailtonMatthew avatar Sep 18 '17 19:09 RailtonMatthew

Further testing shows that it doesn't consistently work even with a new project and only this module.

No updates on this module since the beginning of August so I guess it's dead!

RailtonMatthew avatar Sep 26 '17 20:09 RailtonMatthew

Doesn't work for me as well.

kckunal2612 avatar Nov 20 '17 08:11 kckunal2612

Same for me. Does not work. Using RN 0.51.0.

kodar-anders avatar Dec 13 '17 10:12 kodar-anders