Skip to content

Android Auto breaking errors with rendering in latest React Native #200

Open
@blakecallens

Description

Describe the bug
After manually implementing PR #196, Android Auto is no longer crashing the app, but the ListTemplate's onItemSelect is not being triggered when an item is tapped. In addition, the following error is displayed on the phone: "Android Auto" has not been registered. (see screenshot below). This is regardless of the content of the list, including the example template. This may have to do with using React Native 74, which introduces a new version of the rendering engine.

To Reproduce
Steps to reproduce the behavior:

  1. Implement PR Aa fix crash template creation (#2) #196
  2. Add a ListTemplate to the app and build
  3. Open the Desktop Head Unit
  4. The ListTemplate will render and be scrollable, but will not receive selection
  5. A component registry error will display on the phone

Expected behavior
The ListTemplate should receive interaction and no errors should display on the phone.

Screenshots/Videos
Screenshot 2024-07-18 at 1 15 14 PM

CarPlay (please complete the following information):

  • Device: Desktop Head Unit
  • OS version: 14
  • RNCarPlay version: All versions >= 2.4.0

Android Auto (please complete the following information):

  • Device: Samsung Galaxy A15
  • Android Version: 14
  • RNCarPlay version: All versions >= 2.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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