flutter_ringtone_player_plus 1.0.0
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.
RingtonePlayerplays the device's default alarm, notification and ringtone sounds, Flutter assets and audio files, with looping, a perceptual volume scale and aSoundUsagefor each sound.stateChangesreports when a sound starts, completes or is stopped, and failures throw aRingtoneExceptionwith aRingtoneErrorCode.- 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 eachSoundUsage, interruption handling, a choice of built-in sounds throughIosSystemSound, Swift Package Manager support and a privacy manifest. package:flutter_ringtone_player_plus/flutter_ringtone_player.dartprovides the API offlutter_ringtone_player, so migrating takes one import change.- Requires Dart 3.11 and Flutter 3.41 or newer.
