-
Notifications
You must be signed in to change notification settings - Fork 425
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
Fatal Exception: android.app.RemoteServiceException #1956
Comments
See CHANGELOG and update to latest version. |
Thanks for the quick response, |
No. Your dependencies are managed in your own app's package.json.
This is a well-known issue reported by all Android developers (not just react native). More recent versions of the plug-in have added code to help alleviate this issue. I do not see this at all in the published version of the demo app. |
I see crash reports for the updated version of the plugin too. |
I told you to update an hour ago. It's impossible to receive crashes with the updated version in that time. |
We have released a new version last week. it has updated version of the plugin. |
You must have an issue in your code then. Implement AndroidStrict mode to discover where your app is spending too much time on the Main Thread. https://developer.android.com/reference/android/os/StrictMode Also search issues here for "Context.startForegroundService() did not then call Service.startForeground()" |
I tried the Strict Mode but couldn't reproduce it. |
You are to use StrictMode to discover clues where your code is consuming too much time on the UI thread, particularly when your app is launching. |
This issue is stale because it has been open for 30 days with no activity. |
@christocracy when i look at the crashlytic logs, it shows error is encountered on OS version 11 or below, maybe is there a fix on native side after that version ? |
This issue is stale because it has been open for 30 days with no activity. |
Your Environment
react-native -v
): .0.71.4Expected Behavior
There should be no crash.
Actual Behavior
Hi, there are numerous crash logs on Firebase Crashlytics about the startForegroundService error.
I could not reproduce it even with the Strict Mode.
Steps to Reproduce
Context
Trying to fix the crash.
Debug logs
Logs
The text was updated successfully, but these errors were encountered: