flutter_system_ringtones 1.1.1
flutter_system_ringtones: ^1.1.1 copied to clipboard
A Flutter plugin to list and preview system ringtones, alarms and notification sounds on Android and iOS.
1.1.1 #
- Package metadata: added pub.dev topics; homepage and issue tracker now point at the GitHub repository.
1.1.0 #
- Changed: the plugin now has zero runtime dependencies —
equatableandplugin_platform_interfacewere removed. Ringtoneimplements==/hashCodedirectly; equality semantics are unchanged (all three fields).FlutterSystemRingtonesPlatformis now a plain abstract class with a settableinstance. If you implemented it in tests, drop theMockPlatformInterfaceMixinmixin — justimplementsthe class.
1.0.0 #
- Added:
play(Ringtone)andstop()for previewing sounds natively (AndroidRingtoneManager, iOSAVAudioPlayer).playauto-stops the previously playing sound. - Added: iOS support is no longer work-in-progress — sounds are enumerated from
/System/Library/Audio/UISounds/(including.wavfiles) and the plugin supports both Swift Package Manager and CocoaPods. - Fixed: Android no longer crashes when a sound list is empty; ringtone URIs are now built with the documented
RingtoneManager.getRingtoneUriAPI. - Changed: Android sound lists load lazily on first request, off the main thread (previously loaded eagerly at engine startup).
- Fixed: iOS podspec metadata and platform version; removed the dead Objective-C shim and debug logging.
- Fixed: sound listing on the iOS simulator (system sounds are resolved via
SIMULATOR_ROOT; previously all lists were empty on simulators). - Changed: minimum Flutter version is now 3.24.0 (Dart SDK ^3.4.0).
- Docs: new README sections on previewing sounds and on what the
urifield means per platform.
0.0.6 #
- Added Equatable and copyWith
0.0.5 #
- reverted "Updated
RingtonetoSystemSound"
0.0.4 #
- update
fromMaptofromJson - update
toMaptotoJson - Added encoding/decoding for fromJson/toJson methods.
- Updated
RingtonetoSystemSound
0.0.3 #
- Methods now return an empty array if no results are found.
- Plugin methods are now static access only.
- Methods have a more descriptive name.
0.0.2 #
updated README.md
0.0.1 #
-get available systems sounds on Android