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

Add cool features to iOS app #2443

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Rahul-Sahani04
Copy link

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.

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.
Add enhanced media controls and social sharing features.

* **Enhanced Media Controls:**
  - Add volume control slider to `PlayerControls` widget in `lib/modules/player/player_controls.dart`.
  - Implement keyboard shortcuts for media controls (play/pause, next/previous track, volume up/down) in `PlayerControls` widget.
  - Add "lyrics" button to `PlayerView` widget in `lib/modules/player/player.dart`.

* **Social Sharing Features:**
  - Add feature to share the currently playing track on social media platforms in `lib/components/track_tile/track_options.dart`.
  - Add share button to `TrackPresentationTopSection` widget in `lib/components/track_presentation/presentation_top.dart`.

* **Settings:**
  - Add dark mode toggle in the settings page in `lib/pages/settings/settings.dart`.

* **CI Configuration:**
  - Add `.ci.yaml` file for continuous integration configuration.
Enhance media controls and add social sharing features
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