RNBackgroundActionsTask.onStartCommand
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by tracing RNBackgroundActionsTask.onStartCommand and the foreground service startup path for Android 13 and 14. The report identifies a ForegroundServiceStartNotAllowedException when the service starts in the background, but gives no reproduction steps or expected behavior; determine the triggering conditions and an appropriate fix before making changes.
Written by the indexing model from the issue text.
Description
Fatal Exception: java.lang.RuntimeException
Unable to start service com.asterinet.react.bgactions.RNBackgroundActionsTask@cedd488 with Intent { cmp=com.myapp/com.asterinet.react.bgactions.RNBackgroundActionsTask (has extras) }: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.myapp/com.asterinet.react.bgactions.RNBackgroundActionsTask.
I am getting this error on Firebase Crashlytics for some time.
Using the latest version of react-native-background-actions 4.0.1.
All the crashes are occurring in background mode of the devices on android 13 and android 14.
Anyone can help in this ?
- Dominant language
- Java
- Stars
- 941
- Forks
- 145
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Rapsssito/react-native-background-actions
-
iOS CocoaPods build fails: Package.swift included in sources causes No such module 'PackageDescription'Possibly taken @dattm97 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 18/100
Rapsssito/react-native-background-actions#255 · 4 comments ·
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 20/100
Rapsssito/react-native-background-actions#249 · 16 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Rapsssito/react-native-background-actions#246 · 5 comments · 2 reactions ·
All issues in Rapsssito/react-native-background-actions
Similar issues
-
bug verbose GC
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
IBM/javacore-analyser#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
liberation-data/fornax4j#302 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
grimmory-tools/grimmory#3297 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SmartPack/PackageManager#186 ·
-
Area: Java feature request needs triage OS: Windows
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
actions/runner-images#15457 ·
Maintainers usually reply within 3 days