Skip to content
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

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

Open
claus-lysholm opened this issue Nov 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@claus-lysholm
Copy link

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

@claus-lysholm claus-lysholm added the bug Something isn't working label Nov 8, 2023
@claus-lysholm
Copy link
Author

Apart from that, really appreciating your effort in getting this project going!!

@shubhadeep-foodhub
Copy link

You can check this -> #150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants