spotube
spotube copied to clipboard
Add cool features to iOS app
Add features to display current playing track information and support media controls on iOS.
-
HomePlayerWidget.swift
- Add track title, artist name, and album art display in the HomePlayerWidget.
- Update SimpleEntry struct to include trackTitle, artistName, and albumArt properties.
- Modify placeholder, getSnapshot, and getTimeline methods to include new properties.
- Update HomePlayerWidgetEntryView to display new track information.
-
Info.plist
- Add support for media controls on the lock screen and control center.
- Add integration with Siri for voice commands to control playback.
-
main.dart
- Register the HomePlayerWidget for iOS by adding glanceProvider listener.
-
glance.dart
- Add code to update the HomePlayerWidget with the current track information, including track title, artist name, and album art.
Would love to see this in new version. Fix the conflicts and you'll get my approve.
Conflicts resolved and merged. Ready for review.
Thanks. I'm Happy that you liked the UI improvements.