Commit Graph

2 Commits

Author SHA1 Message Date
Rahul Sahani
99a896f04a 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.
2025-03-09 13:21:45 +05:30
Kingkor Roy Tirtho
b52bf0f448
feat(android): home widget support (#2148)
* feat: add android home widget support

* feat: style widget player and add intent and callbacks on action

* feat: responsive and working android home widget

* fix(android): models stripping causing it to not work for release apks

* chore: ios lockfile update

* feat: config for iOS widget

* cd: upgrade xcode

* cd: reduce xcode version

* feat: add a christmas background
2024-12-16 22:47:44 +06:00