Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background service is not running anymore when app minimized #202

Open
juntiapps opened this issue Dec 6, 2023 · 4 comments
Open

background service is not running anymore when app minimized #202

juntiapps opened this issue Dec 6, 2023 · 4 comments

Comments

@juntiapps
Copy link

background task is not running anymore when app minimized. it still running in emulator. but not running in real device.
RN 0.72, device poco x3

@onderbakirtas
Copy link

Bump message for issue, affects me as well.

React Native 0.72, Samsung Galaxy S23

@Sahilcf
Copy link

Sahilcf commented Jan 1, 2024

Same here
React native 0.72, Redme Note 10 pro

@alan-nugraha
Copy link

alan-nugraha commented Jan 7, 2024

same issue, on android 12

@apapalillo
Copy link

Hi, I've spent hours debugging why the service didn't start after upgrading React Native.

In the end, I've figured out that I needed to add an exclusion in the proguard file:

# React Native Background Actions
-keep public class com.asterinet.react.bgactions.** {*;}

Hope this works for you too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants