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

PointOfInterestTemplate - Not working #159

Open
ElangoPrince opened this issue Nov 24, 2023 · 4 comments
Open

PointOfInterestTemplate - Not working #159

ElangoPrince opened this issue Nov 24, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ElangoPrince
Copy link

ElangoPrince commented Nov 24, 2023

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.

@ElangoPrince ElangoPrince added the bug Something isn't working label Nov 24, 2023
@birkir
Copy link
Owner

birkir commented Dec 1, 2023

maps entitlement does not have access to POI, refer to the entitlement matrix

@ElangoPrince
Copy link
Author

@birkir I have added Fueling Entitlement. Can I use now? ( com.apple.developer.carplay-fueling )
Screenshot 2023-12-04 at 10 33 13 AM

@saikiranm33
Copy link

@ElangoPrince Are u able to run the POI ?

@ElangoPrince
Copy link
Author

@saikiranm33 Nope. Map's entitlement also required to implement POI (Not enough com.apple.developer.carplay-fueling) entitlement. Any how we need both entitlement to implement this feature.

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

3 participants