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

POI PoinOfInterest Template not working. app crash didChangeMapRegion is not a supported event type for RNCarPlay. #204

Open
abhishekBansal25 opened this issue Jul 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abhishekBansal25
Copy link

abhishekBansal25 commented Jul 28, 2024

PoinOfInterest Template is not working. getting error on simulator although able to see the template on carPlay simulator
error: didChangeMapRegion is not a supported event type for RNCarPlay.

App.js

  useEffect(() => {
    const template = new PointOfInterestTemplate({
      title: 'Example',
      items: [
        {
          id: 'test',
          location: { latitude: 64.011, longitude: -21.66 },
          title: 'Testing',
          subtitle: 'foobar',
        },
      ],
    });

    CarPlay.setRootTemplate(template);
  }, []);

Screenshots/Videos
image

CarPlay (please complete the following information):

  • Device: [ Simulator]
  • OS version [iOS 17.4]
  • RNCarPlay version [^2.4.1-beta.0]
@abhishekBansal25 abhishekBansal25 added the bug Something isn't working label Jul 28, 2024
@abhishekBansal25 abhishekBansal25 changed the title POI PoinOfInterest Template not working. app crash POI PoinOfInterest Template not working. app crash didChangeMapRegion is not a supported event type for RNCarPlay. Jul 28, 2024
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

1 participant