Custom audio file in local notification not working


#1

I’ve my custom audio file named alarm.mp3 in www/assets/audio and I used this file in local notification as

localNotifications.schedule({sound: “file://assets/audio/alarm.mp3”, title:“test audio file”});

but my app closes with error when this notification is triggered. Can anyone tell me where to plca my custom audio file and how to use in notification.