-
Notifications
You must be signed in to change notification settings - Fork 131
Description
We just started building a podcast player using this library, and everything seems to be working well in the CarPlay Simulator, but when testing on an actual CarPlay device, it appears that the app will load as a blank screen on the actual device, unless we first open the app on the phone, and then open the app in CarPlay.
Also, after we open the app on our phone and then open CarPlay, then CarPlay will work until we lock the mobile app screen. If we lock the mobile app screen, then the CarPlay screen goes blank.
Perhaps both of these issues are rooted in a requirement that CarPlay cannot use JavaScript unless we first open the app on the mobile device, and then keep the app in the foreground so the JavaScript can continue to run?
Most CarPlay apps do not seem to have these constraints, and can run without opening the app on the phone first. Are these known limitations of using react-native-carplay vs writing CarPlay support with 100% native Swift / Objective C? Or is there something I am missing about react-native-carplay that would allow CarPlay to work without having to first open the app on the phone, and also work while the phone screen is locked?