music_player 0.1.2 copy "music_player: ^0.1.2" to clipboard
music_player: ^0.1.2 copied to clipboard

outdated

A flutter plugin to enable music playback with the native iOS and Android control centers.

Music Player #

Gitlab Status Pub Status

A music player flutter plugin that uses the native api to show the currently playing track with cover image and controls.

This plugin is still in development.

Warning: This plugin is written in Swift and Kotlin, so make sure your project is setup to compile these languages.

The required iOS version for this plugin is 10.* because some features to control the audio playback have only been introduced there. The required Android version is Android 5.0 Lollipop (API 21) or higher

Usage #

A simple usage example

For Android make sure to add <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> and <service android:enabled="true" android:name="live.exit.musicplayer.MusicPlayerService" /> to the AndroidManifest.xml of your Flutter app.

34
likes
0
pub points
62%
popularity

Publisher

unverified uploader

A flutter plugin to enable music playback with the native iOS and Android control centers.

Repository (GitLab)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, flutter, flutter_cache_manager, meta, path, path_provider

More

Packages that depend on music_player