-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Task started but not running on Android (OK on iOS) #239
Comments
can you please the steps for ios. My android is running but not ios. |
It's not starting for me at all in Android, any solutions yet? |
Switching I'm not sure if this needs to be documented or if it already exists somewhere I could not find? |
@adriendomoison I am facing the same issue it's working fine on iOS with newArchEnabled but in android it fails, Is there any fix to work with newArchEnabled? |
AFAIK, you need to wait for RN 0.76.1 (coming in a few days) for the library to work on New Arch. |
@tohel17 what about the fix in 0.75.x version? |
I am on 0.75.4 still same issues. Looks like you have to wait for 0.76.1 |
To add some more info, a good amount of other packages do not work yet with 0.76.x and it could take several extra weeks for maintainers to deliver the required updates. Depending on how many dependencies you have in your current project and how much you are using the newArch already, it could be easier to just stay on 0.75.x and disable newArch. The decision will highly depends on your circumstances ✌️ |
It works fine with latest version of RN 0.76.3 with new architecture enabled. |
Can we expect it to start working with any RN 0.75.x release? |
@ravindraguptacapgemini Since the issue was on RN side either you have to update to 0.76.1 or use old architecture on 0.75.x version. |
I don't see newer react native version under releases |
Hi, I'm running into an issue on Android only. The app shows no signs of errors on the JS side. The background notification shows and remains displayed indefinitely in the notification bar, but nothing happens, the task function is never called.
Android Studio does give me an error when the background service is started however.
Logcat
I did set up the
AndroidManifest.xml
according to the documentation (adding permissions and service)The app is running on
react-native@0.75.3
andreact-native-background-actions@4.0.1
build.gradle
MainApplication.kt
Any insights would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: