Skip to content

Opening external simulator device CarPlay never triggers an event by the registerOnConnect  #155

Open
@claus-lysholm

Description

Describe the bug
From my iPhone 15, iOS 17 simulator, opening external simulator device CarPlay never triggers an event by the registerOnConnect

To Reproduce
Steps to reproduce the behavior:

  1. Template code found on your side implemented in React Native (ejected Expo) project
  2. Code execution started (yarn start)
  3. Using an iPhone 15, iOS 17 simulator, selecting external display = CarPlay from the I/O menu
  4. CarPlay.registerOnConnect is executed program start but events is never fired on opening/closing the separate CarPlay simulator

Expected behavior
From your example code, I would expect the carPlayConnected to be set to true. That never happens since onConnect never fires.
function onConnect() {
setCarPlayConnected(true);
}

Screenshots/Videos
image

CarPlay (please complete the following information):

  • Device: iPhone 15 Simulator
  • OS version: iOS 17
  • RNCarPlay version [e.g. 2.4.0]

Android Auto (please complete the following information):

  • Device: [e.g. Pixel 8 / emulator]
  • Android Version: [e.g. iOS8.1]
  • RNCarPlay version 2.3.0 (have tried with diff versions (including the latest 2.4.0-beta.2 which fail all together).

Additional context
I'm running VScode on macOS Sonoma 14

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