Rapsssito / react-native-background-actions

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

Stopping after 5 min in background, (React Native) Android #197

Closed zahoormohammed closed 2 months ago

zahoormohammed commented 11 months ago

i am using latest version of this library i.e 3.0.1. when the app is open it is working perfectly, when i am closing the app in background it is working just 5mins then notification is not showing and background task is not working after 5mins. please help me to fix this issue, My android is Android 13,and mobile is Iqoo z6 5h

SurajMohanty02 commented 9 months ago

Same thing happened in my case also . I'm using 3.0.0 version of this library . My android version 13 and device name One Plus Nord 2T. It worked for 30 mins and after that it stopped, Please help me .

niftytushar commented 9 months ago

Facing the same issue

kurdev2020 commented 7 months ago

Facing the same issue , it worked for a few days

Rapsssito commented 2 months ago

This is common, as the OS has absolute control over the background processes of the device. See https://github.com/Rapsssito/react-native-background-actions/issues/22#issuecomment-628737527