Skip to content

PointOfInterestTemplate - Not working #159

Open
@ElangoPrince

Description

Describe the bug
How to use PointOfInterestTemplate in react native. I have installed and used basic point-of-interest template, but app getting crash.
Configuration Details:
"react-native": "0.72.6",
"react-native-carplay": "^2.3.0",
"IOS-16",
carplay and map entitlements added.

Sample Code:

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

To Reproduce
"react-native run-ios"

CarPlay (please complete the following information):

  • Device: - CarPlay Simulator
  • OS version - iOS 16
  • RNCarPlay version - 2.3.0

@birkir can you please help me here. @DanielKuhn FYI.

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