flutter_ringtone_player
flutter_ringtone_player copied to clipboard
Support custom ringtone as URI
Currently custom ringtone must be in assets and on Android it is converted to URI. It would be nice if direct URI is also supported.
Example use case:
Android app uses Notification Channel. This allows user to change notification ringtone in system settings.
It is possible to retrieve the URI of the notification sound with flutter_local_notifications plugin. Example URI: content://media/external_primary/audio/media/1399?title=Rock%20Concert&canonical=1
It would be nice if we could play the ringtone as well.