native_audio_controller

Last updated:

0 purchases

native_audio_controller Image
native_audio_controller Images
Add to Cart

Description:

native audio controller

native_audio_controller #
A Flutter plugin to handle pause/play for running music in background from another app
Supported Platforms #

Android: Fully supported
iOS: Under development (not yet implemented)

Usage #
import 'package:native_audio_controller/native_audio_controller.dart';

final _nativeAudioControllerPlugin = NativeAudioController();

// Pause a background music from other app
_nativeAudioControllerPlugin.pauseAudio();

// Resume the music
_nativeAudioControllerPlugin.resumeAudio();
copied to clipboard
Setup, permissions #
Android #
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
copied to clipboard
Usage and Contribution #

Feel free to use the Android functionality.
Contributions are welcome, especially for implementing the iOS part.
Check the GitHub repository for updates and contribute to the development.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.