-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
Apple CarPlay / Android Auto support? #26801
Comments
for watchOs and AppleTv unfortunately it requires the compilation with bitcode which is missing!!! I am also awaiting the arrival of this future |
@zacksleo |
From what I've seen, you need to add some code to the android manifest to get your app registered as Android auto compatible with music or messages. What you can do is try to make a sample app that simply sends messages and add the corresponding Info to your manifest and see if it registers. If so, a plugin can be made and bam, instant support. I'm still researching how to make the UIs |
@ThinkDigitalRepair Did you get anywhere with this? |
No, I switched to other things :/ |
any update? how to add support for Apple CarPlay? |
From my experience with CarPlay, it requires the implementation of specific CarPlay framework classes. The app needs to have custom entitlements and it also require the app to be approved by Apple but this is not complicated to manage and has no relation with flutter itself. Note that only certain apps are eligible for CP. IMO, the complexity comes from the fact that CarPlay interfaces have very strict HMI guidelines and apple has enforced this in the API design. CarPlay uses a different Window to present the interface so, although it is possible this requires a deep discussion. |
any updates ?? Does anyone maybe have a sample app that works for Android Auto/ Apple Carplay |
@khalithartmann Most of the CarPlay support requires custom classes from CarPlayKit. Furthermore, the touch areas / ui design has very specific guidelines enforced by each class. IT would be easier to develop this natively. |
¿alguna novedad? |
am leading a project in January for large organisation that needs CarPlay and Android Auto support (alongside the new mobile app for ios/Droid). My thinking is this rules Flutter out however I came across this post and thought...hmm maybe? Or is this too much too soon for Flutter? |
any news? |
So cool we can do Windows, MacOS, and even Linux now: if only we could do Android Auto? Is that planned or should we give up? |
This feature would be awesome |
Hi, news? |
bump |
Any news? |
Is there any activity in this? We would be also interested. |
Is there any possibility or news to add Android Auto | Apple CarPlay support to a Flutter App? |
Hi @JaffaKetchup I really appreciate your support and message. If you need to know the proper answer, I'm interested in Android Auto with Flutter. It is now on my To-Do list to research the documentations. However, in Android, I don't truly think I know anything more than Apple CarPlay and Swift. I'll do my best. The best tip that I can give is to follow the instructions in the Official Android Auto Document and understand the Flutter Engine how it works. 💙 Please continue to support the Thanks! |
Flutter Devs, any news? Good or bad is ok. |
A non-status status update in the interests of transparency (though in this case there's nothing to see through the transparency, heh): As far as I know, nobody working on Flutter is doing anything with respect to Apple CarPlay or Android Auto. For Apple CarPlay, there is a package called flutter_carplay by Oğuzhan Atalay that gives a Flutter API for controlling the CarPlay API, as discussed above in this issue. It's not clear that anything beyond that really makes sense for CarPlay, because Apple's API is template based and so Flutter (with its rendering engine, widgets framework, platform neutrality, etc) doesn't really provide any direct value. The plugin looks pretty good from what I can tell, though I haven't tried it myself. For Android Auto, our understanding is that the API situation is similar: there are some templates that you can fill in using Android APIs. To our knowledge nobody has yet created a plugin to expose those APIs to Dart code, but we are not aware of any reason why that would not be possible. (For extra bonus points, one could imagine a package that tries to intelligently fill both CarPlay and Android Auto templates from the same source data, but that may be hard if the templates are too different from each other, I don't know.) Currently, it does not seem that we (the core Flutter team) can provide substantially more value here than anyone else could in writing plugins like Oğuzhan's, so we do not intend to work on this. We would encourage people to work with Oğuzhan and/or create new plugins for these features. Should the situation change (e.g. if CarPlay or Android Auto supported a way for us to directly send pixels to the car dashboard, allowing the power of Flutter's widgets to be useful here), we would reconsider this feature. |
thank you for some light on this question @Hixie ! |
Thank you for the information and mention, @Hixie! Hello everyone, I'd also like to mention that we've created the Flutter Auto Technologies GitHub Organization: Automotive Technologies made with Google's Flutter. Join our Discord Community: https://discord.gg/Xz6WVezFfh About Flutter Android Auto OS SupportFlutter Android Auto OS is currently in private development. We are integrating car sensors such as speed sensors, gear sensors, fuel sensors, and so on using android automotive. We have roadmaps for Android Auto and Apple CarPlay. If you want to contribute and support, please join our Discord server so that we can give you access. Flutter Widgets are now on Apple CarPlay Screen!
💙 Please continue to support the Flutter Apple CarPlay by giving like and star so that it can deserve the Flutter Favorite Award and be used more in our cars. Thanks! In pub.dev: https://pub.dev/packages/flutter_carplay |
Wow that's pretty impressive (painting the widgets using the map thing), any idea what Apple's reaction is if you try to submit an app that does that? |
It will most definitely be rejected unless it is indeed a "maps" app. I hope Apple will be more permissive about custom CarPlay apps in the future. Same goes for Android Auto... Glad you liked it. Next step is to take what we have in the POC project and add it as Map template in flutter_carplay. I will be looking into that soon. |
Any update on the road map for these envs? |
@giuseppebrb You'll want to use https://github.com/oguzhnatly/flutter_carplay. I don't think Flutter will ever officially implement this, at least not for a long time. They have a Discord channel where they are discussing Android support, but that's not available yet. |
Does anyone maybe have a sample app that works for Apple Carplay in stor |
Any update for Android Auto @oguzhnatly ? help from anyone would be appreciated from the depth of my heart ❤️ |
@anonghostteamz that's awesome can you please share the code for android and flutter please? |
Can you share some sample Project? |
Any update on CarPlay and Android Auto |
For Android Auto and Car Play, as-is they run as their own process. There are a couple of ways of dealing with this:
If you want official support from Apple or Google you need a contract in place. I should add I work for Toyota and am a product line architect on the head unit side, so I know a little bit about this. Building a Flutter app that is Android Auto compliant is not my focus. |
Any one have idea about how I can control my flutter app music with android auto or CarPlay? |
After 4 years, is there anything new? |
This is a great feature and hope it will be available soon |
Is there any implementation guideline or example project that uses native code to add CarPlay and Android Auto support in a Flutter project? |
i dont know why this is not implemented yet . i can help in native ios but in android i don't have experience any news or any person can help |
The 'flutter_carplay: ^1.0.3' library for CarPlay is 2 years old now and when adding it it is conflicting with the other libraries I have and giving (Resolving dependencies) error; any idea how to update it manually? or is there a better option now? |
Check forks of this library. |
Status update: #26801 (comment)
As I understand, at least with Apple CarPlay, the apps are run strictly on the phone, so it isn't a case of Apple Watch nor tvOS which require bitcode.
I'm not sure about Android Auto as I don't own any Android device.
Is there any way to run Flutter app in car? Is it on a roadmap?
The text was updated successfully, but these errors were encountered: