Repository navigation
Conversation
A port of Auxio's widget: the current track's cover, title and artist, with play/pause, previous, next, repeat and shuffle, in eight layouts chosen by the widget's size. Buttons are sent to JS, which drives the player; the widget shows an empty state once the app's process is gone. New local module expo-now-playing-widget (Android only). The provider, layouts and drawables are adapted from Auxio (GPL-3.0-or-later, same as Substreamer) and keep its copyright notice; the icons are Material icons (Apache-2.0).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an Android home-screen widget showing what's playing, with playback controls. It's a port of Auxio's widget and comes in several sizes, as asked for in #92.
Changes
modules/expo-now-playing-widget(Android only; iOS gets a no-op).src/services/nowPlayingWidgetService.ts. It pushes the player state to the widget and runs the widget's button presses. It only fetches covers while a widget is placed.playerBootstrap,package.json, the Jest coverage list and the module list inAGENTS.md.Licensing
Testing
npx tsc --noEmitpassesnpx jest --no-coveragepassesAlso passing:
validate-intl,validate-translations,madge --circularandvalidate:modules.Screenshots
Related Issues
Closes #92