Skip to content

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

Open
@abhishekBansal25

Description

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions