node-CarPlay icon indicating copy to clipboard operation
node-CarPlay copied to clipboard

Multitouch Issue in own App since latest release

Open LRYMND opened this issue 10 months ago • 0 comments

I have a react web app that uses node-carplay for Apple Carplay.

Before multitouch was released everyhing worked fine. I wanted to upgrade to the latest version now but I can't interact with Carplay anymore. I'm no web-developer so it's a little bit harder for me to trace down the issue, also since everything is packed up now a bit differently.

When running the web-app example it works, not in my own app though. I changed the location of some files a bit, updated the imports but besides that I'm using 1:1 the same codebase. I loose the trace after the useCarplayTouch.ts file. In there it's calling sendTouchEvent which should send the touchEvent to the node-carplay module which then sends it to the dongle.

I can see that sendTouchEvent is being called. When I console.log in the sendable.js from the node_modules folder, I can see a log in the web-app example. In my app I don't see the log at the same spot. I'm not sure what could cause this. A wrong tsconfig or vite.config file?

I made sure to meticulously copy over every change from the latest release. Stream and everything works fine, I just can't click or "touch" anything when carplay has launched.

If I can add filecontents or any other information please let me know.

LRYMND avatar Apr 23 '24 13:04 LRYMND