Skip to content

Conversation

@MarmoPL
Copy link
Member

@MarmoPL MarmoPL commented Jan 4, 2026

Comprehensive Android Auto Integration

Full-scale integration for Android Auto, providing users with a seamless streaming experience directly from their vehicle's head unit. The architecture is designed with extensibility in mind, laying the groundwork for a future Apple CarPlay implementation.

✨ Key Features

  • Seamless Streaming: A dedicated Android Auto interface for high-quality audio playback.
  • Background Resilience: Full support for playback even when the mobile application is closed or in the background.
  • Auto-Launch: Automatically resumes playback upon connection to the vehicle's display.
  • Dynamic Metadata: Real-time fetching of track information, displaying the currently playing song alongside the station name.
  • CarPlay Ready: Shared abstraction layers to facilitate a future port to CarPlay.

App UI & Integration

Real Life View Main Screen
Other Views
Recently Played Schedule View Player

Important

Integrates Android Auto with enhanced audio streaming using just_audio and audio_service, preparing for future CarPlay support.

  • Android Auto Integration:
    • Added Android Auto support in AndroidManifest.xml with automotive_app_desc.xml for media usage.
    • Introduced RadioAudioHandlerBridge in radio_audio_handler.dart for audio service management.
    • Updated main.dart to initialize AudioService with RadioAudioHandlerBridge.
  • Audio Management:
    • Replaced audioplayers with just_audio and audio_service for better integration.
    • Updated my_audio_player.dart to use just_audio streams for player state, duration, and position.
    • Added NowPlaying model in now_playing.dart for track metadata.
  • UI and Metadata:
    • RadioLuzView in radio_luz_view.dart preloads audio stream on load.
    • audio_player_streams.dart provides streams for player state and volume.
    • radio_player_controller.dart manages audio playback and volume control.
  • Miscellaneous:
    • Removed audioplayers plugin from pubspec.yaml and related generated files.
    • Updated pubspec.yaml to include just_audio, audio_service, and audio_session.

This description was created by Ellipsis for 18ea633. You can customize this summary. It will automatically update as commits are pushed.

@MarmoPL MarmoPL force-pushed the feat/android-auto branch from 5a4466e to 9ddec86 Compare January 4, 2026 19:26
@MarmoPL MarmoPL marked this pull request as ready for review January 4, 2026 20:35
Copy link
Member Author

@MarmoPL MarmoPL left a comment

Choose a reason for hiding this comment

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

quick replies, began working on requested changes

@MarmoPL MarmoPL self-assigned this Jan 18, 2026
Copy link
Member Author

@MarmoPL MarmoPL left a comment

Choose a reason for hiding this comment

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

done doing requested changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(radio-luz): endless loading state of the radio player on first entry

3 participants