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:
Template code found on your side implemented in React Native (ejected Expo) project
Code execution started (yarn start)
Using an iPhone 15, iOS 17 simulator, selecting external display = CarPlay from the I/O menu
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
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
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:
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
CarPlay (please complete the following information):
Android Auto (please complete the following information):
Additional context I'm running VScode on macOS Sonoma 14