flutter_ringtone_player icon indicating copy to clipboard operation
flutter_ringtone_player copied to clipboard

Support custom ringtone as URI

Open timukasr opened this issue 2 years ago • 0 comments

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.

timukasr avatar Aug 08 '22 18:08 timukasr