The readme says that, for iOS, you can get a custom sound by placing the sound file in App_Resources/iOS. I have done so, but have not been able to have the custom sound play.
I note there is an older issue about this question here. I am reposting as the last response on that question was a while ago and the question was described there a little differently.
My guess is that the issue is how to reference the sound, which is not specified in the readme. I have tried various combos without success, including this:
App_Resources/iOS: put in file greatSound.mp3
component:
LocalNotifications.schedule([{
id: 1,
title: 'You've Been Notified!',
sound: 'greatSound.mp3'
}])
This does not work. It just suppresses the default sound.
The readme says that, for iOS, you can get a custom sound by placing the sound file in App_Resources/iOS. I have done so, but have not been able to have the custom sound play.
I note there is an older issue about this question here. I am reposting as the last response on that question was a while ago and the question was described there a little differently.
My guess is that the issue is how to reference the sound, which is not specified in the readme. I have tried various combos without success, including this:
App_Resources/iOS: put in file greatSound.mp3
component:
This does not work. It just suppresses the default sound.
What is the right way to do this?