← All projects

flutter_system_ringtones

by @imedboumalek

Active 10

Flutter plugin to list and preview system ringtones, alarms and notification sounds on Android and iOS

About this project

fluttersystemringtones A Flutter plugin to list and preview system ringtones, alarms and notification sounds on Android and iOS. Getting Started Import the package Get a list of available sounds Each Ringtone has an id, a human-readable title and a platform-specific uri (see below). Previewing sounds play throws a PlatformException (code INVALIDARGUMENT or PLAYERROR) if the sound cannot be resolved or played. Notes: Only one sound plays at a time; there is no completion callback yet, so track "what did I start" in your own state (see the example app). Android: playback uses the ringtone audio stream — if the device's ringer volume is muted the preview is silent. iOS: the plugin sets the shared AVAudioSession category to .playback so previews are audible even when the silent switch is on. This may pause or duck other audio playing in your app. Understanding the uri field Android uri is a content:// media URI (e.g. content://media/internal/audio/media/42) as provided by RingtoneManager. You can use it with: This plugin's play/stop for previews. RingtoneManager.getRingtone(context, uri) or MediaPlayer/ExoPlayer in native code. Dart audio packages that accept content URIs.

From the project README on GitHub

Stars
10
Forks
8
License
MIT
Last push
11 Jul 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/flutter-system-ringtones.svg)](https://www.madeinalgeria.dev/projects/flutter-system-ringtones)

Related projects