Пользовательский тон из локального хранилища в flutter_local_notifications
Я могу использовать собственный тон для
Есть ли способ это сделать? Если вы хотите увидеть код, дайте мне знать, я обновлю больше.
showNotification() async {
var android = AndroidNotificationDetails('id', 'channel ', 'description',
priority: Priority.high,
importance: Importance.max,
playSound: true,
sound: RawResourceAndroidNotificationSound('xperia'));
var iOS = IOSNotificationDetails(
sound: "xperia.mp3",
);
var platform = new NotificationDetails(
android: android,
iOS: iOS,
);
await _flutterLocalNotificationsPlugin.show(
0,
widget.serviceName,
'Service has been subscribed successfully!',
platform,
payload: 'xperia',
);
}