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

feat: add carplay and android auto support #209

Merged
merged 28 commits into from
Nov 29, 2024
Merged

Conversation

illuminati1911
Copy link
Contributor

@illuminati1911 illuminati1911 commented Nov 7, 2024

Adds support for Apple CarPlay and Android Auto.

  • Added BaseAutoSceneDelegate for iOS and AndroidAutoBaseScreen for Android on a plugin level to manage setting up the base functionality for each platform.

  • Added example of setting up each platform in the example app. iOS app has a new separate target for CarPlay support RunnerCarPlay.

  • Added a GoogleMapsAutoViewController to manage communication between the Flutter code and the map instance.

  • Added a generic event channel so that user actions can be sent from native code to Flutter app. e.g. user presses a button in CarPlay window and this event is sent to the Flutter code.

  • Added documentation for each platform

  • Tests pass

  • Appropriate changes to documentation are included in the PR

@illuminati1911 illuminati1911 changed the title [WIP] feat: add carplay and android auto support WIP feat: add carplay and android auto support WIP Nov 7, 2024
@illuminati1911 illuminati1911 changed the title feat: add carplay and android auto support WIP feat: add carplay and android auto support Nov 12, 2024
ANDROIDAUTO.md Outdated Show resolved Hide resolved
ANDROIDAUTO.md Show resolved Hide resolved
example/lib/pages/navigation.dart Outdated Show resolved Hide resolved
example/lib/pages/navigation.dart Outdated Show resolved Hide resolved
ios/Classes/BaseCarSceneDelegate.swift Outdated Show resolved Hide resolved
ios/Classes/GoogleMapsNavigationView.swift Show resolved Hide resolved
lib/src/google_navigation_flutter_platform_interface.dart Outdated Show resolved Hide resolved
@illuminati1911 illuminati1911 force-pushed the feat/navigation-for-auto branch from 3192956 to 8add516 Compare November 14, 2024 04:37
@jokerttu jokerttu marked this pull request as ready for review November 20, 2024 10:07
jokerttu

This comment was marked as resolved.

@jokerttu jokerttu force-pushed the feat/navigation-for-auto branch from dee226b to 2616474 Compare November 28, 2024 19:18
Copy link
Contributor

@jokerttu jokerttu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jokerttu jokerttu force-pushed the feat/navigation-for-auto branch from 063c032 to c372c6c Compare November 29, 2024 10:49
@jokerttu jokerttu merged commit 1b6c72e into main Nov 29, 2024
11 checks passed
@jokerttu jokerttu deleted the feat/navigation-for-auto branch November 29, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants