-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: react-native-cli: 2.0.1 react-native: 0.48.1node -v
: v7.5.0npm -v
: 5.3.0
- Target Platform: Android
- Development Operating System: macOS
- Build tools:
Steps to Reproduce
- Received a push notification
- Starting a Service that extends HeadlessJsTaskService.java
- App throws exception
com.facebook.react.bridge.AssertionException: Expected to run on UI thread!
Expected Behavior
I expect no UI thread requirement for a background service (same as Android native SDK)
Actual Behavior
App throws an exception
eladmoshe, haimyyy, ycarmel and niklasvh
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.