Skip to content

Feat/mobile widget - #18

Merged
fadyphil merged 3 commits into
mainfrom
feat/mobile-widget
Mar 17, 2026
Merged

Feat/mobile widget#18
fadyphil merged 3 commits into
mainfrom
feat/mobile-widget

Conversation

@fadyphil

Copy link
Copy Markdown
Owner

No description provided.

Adds a native Android Home Screen Widget with real-time state synchronization.

- Implements native MusicPlayerWidget extending HomeWidgetProvider.
- Integrates WidgetSyncService for Flutter-to-native state bridging.
- Enhances AudioHandler with library cold-start playback capability.
- Adds native RemoteViews layout matching the app's dark theme.
- Handles playback controls (play/pause, next, previous) via native MediaKey dispatch and HomeWidget interactivity.
- Updates native Android widget to use explicit MediaButton intents for instant wake-up.
- Removes redundant null checks in AudioHandler as reported by flutter analyze.
- Updates unit tests for MusicPlayerHandler to include required GetLocalSongsUseCase dependency.
Adds technical overview and updates the README with new feature details and screenshots. Includes comprehensive guide to the widget architecture and cold-start mechanism.
@fadyphil
fadyphil merged commit 9af8ddf into main Mar 17, 2026
1 check failed
@fadyphil
fadyphil deleted the feat/mobile-widget branch March 17, 2026 22:58
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.

1 participant