Skip to content

Could not enqueue microtask because they are disabled in this runtime, js engine: hermes #237

@arbuzaicer

Description

@arbuzaicer

Describe the bug
Can't run library on android auto with new architecture enabled and hermes enabled.
The issue I got I can investigate from adb logcat *:S ReactNativeJS:V
RnCarply loading is disaply (infinite loader)
Errors logs

08-07 21:13:35.807 20110 21285 E ReactNativeJS: Error: Exception in HostFunction: Could not enqueue microtask because they are disabled in this runtime, js engine: hermes

08-07 21:13:35.813 20110 21285 I ReactNativeJS: 'Failed to print error: ', 'Exception in HostFunction: Could not enqueue microtask because they are disabled in this runtime'

To Reproduce
Steps to reproduce the behavior:

  1. Instal latest React native cli app (at least 0.78.0)
  2. Build the app
  3. Open DHU device
  4. Click RN app icon

Expected behavior
I see the pane template

CarPlay (please complete the following information):

  • Device: real samsung device A16
  • RNCarPlay version ^2.4.1-beta.0

Android Auto (please complete the following information):

  • Device: latest DHU installed from android studio

**Important
The library works and show pane template if I disable new arch support and hermes in gradle.properties
newArchEnabled=false
hermesEnabled=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions