flutter_ringtone_player_plus 1.0.0 copy "flutter_ringtone_player_plus: ^1.0.0" to clipboard
flutter_ringtone_player_plus: ^1.0.0 copied to clipboard

Play system ringtones, alarms, notification sounds and custom audio on Android and iOS, with looping, volume and playback state.

1.0.0 #

First release: a maintained rewrite of flutter_ringtone_player.

  • RingtonePlayer plays the device's default alarm, notification and ringtone sounds, Flutter assets and audio files, with looping, a perceptual volume scale and a SoundUsage for each sound.
  • stateChanges reports when a sound starts, completes or is stopped, and failures throw a RingtoneException with a RingtoneErrorCode.
  • Android: built on MediaPlayer, with looping and volume from API 24 and audio focus while a sound plays.
  • iOS: built on AVAudioPlayer, with an audio session for each SoundUsage, interruption handling, a choice of built-in sounds through IosSystemSound, Swift Package Manager support and a privacy manifest.
  • package:flutter_ringtone_player_plus/flutter_ringtone_player.dart provides the API of flutter_ringtone_player, so migrating takes one import change.
  • Requires Dart 3.11 and Flutter 3.41 or newer.
10
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

verified publishertogrulagayev.com

Weekly Downloads

Play system ringtones, alarms, notification sounds and custom audio on Android and iOS, with looping, volume and playback state.

Repository (GitHub)
View/report issues

Topics

#ringtone #alarm #notification #audio #sound

License

MIT (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on flutter_ringtone_player_plus

Packages that implement flutter_ringtone_player_plus