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

Carplay: App don't show up & methods are not called #8020

Closed
Suplanus opened this issue Feb 29, 2020 · 9 comments
Closed

Carplay: App don't show up & methods are not called #8020

Suplanus opened this issue Feb 29, 2020 · 9 comments
Labels
iOS Issues affecting iOS support The issue is related to support
Milestone

Comments

@Suplanus
Copy link

I want to make a blog post with a demo application for CarPlay in Xamarin.
In the Demo app I have a Audio player (Xamarin.Forms).

Found no other examples or references for Xamarin. Thats the reason why I want to share this 🦄

Steps to Reproduce

Run the demo application.

Expected Behavior

  • App should be displayed in Carplay
  • Methods in AppDelegateDataSource & PlayableContentDelegate don't called

Actual Behavior

image

Example Project

You can run the application from this repo.

@chamons
Copy link
Contributor

chamons commented Mar 2, 2020

According to:

https://developer.apple.com/videos/play/wwdc2017/719/?time=185

If you think your audio, automaker, messaging or VoIP calling app has the potential to be supported by CarPlay tell us about it at the CarPlay developer portal. There you'll be able to request an entitlement to get your app running in CarPlay

So it sounds like you need to contact Apple for that entitlement.

@chamons chamons added the support The issue is related to support label Mar 2, 2020
@chamons chamons added this to the Future milestone Mar 2, 2020
@chamons chamons added the iOS Issues affecting iOS label Mar 2, 2020
@chamons
Copy link
Contributor

chamons commented Mar 2, 2020

If after getting that entitlement things do not work, please reopen with details.

@chamons chamons closed this as completed Mar 2, 2020
@Suplanus
Copy link
Author

Suplanus commented Mar 3, 2020

The entitlement is not needed for simulator.
But I also ask Apple and got the entitlement for my provisioning profile.

Don't think this is the problem.

@chamons
Copy link
Contributor

chamons commented Mar 4, 2020

Ok, with the entitlement from Apple you are still seeing this @Suplanus in simulator? If so we can rule that out and investigate.

@Suplanus
Copy link
Author

Suplanus commented Mar 5, 2020

Yes, the problem is there. With and without the entitlement from Apple.
As I said, in the simulator you don't need the Apple entitlement.

I can't reopen the issue. Could you please reopen it?

Thanks for your feedback 🦄

@Suplanus
Copy link
Author

Suplanus commented Mar 8, 2020

I added a working demo in swift.
Here you can see that no entitlement is needed for the simulator.

@chamons
Copy link
Contributor

chamons commented Mar 10, 2020

Interesting, reopening for consideration.

@chamons chamons reopened this Mar 10, 2020
@chamons
Copy link
Contributor

chamons commented Mar 10, 2020

While you have the correct entitlement in the file, you weren't actually including it in your build.

Fixed in Suplanus/Xamarin.Demo.Carplay#2

@chamons chamons closed this as completed Mar 10, 2020
@Suplanus
Copy link
Author

Oh my... 🤦‍♂️
Thanks a lot 💕

Good point to start. Will update with an hopefully blog post about Carplay & Xamarin here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Issues affecting iOS support The issue is related to support
Projects
None yet
Development

No branches or pull requests

2 participants