Closed
Description
Question
It is unclear from the documentation what type of value to pass to soundName
parameter when creating a push with scheduleLocalNotification
. I have my file in assets/bubble.wav
so I have tried various permutations such as bubble,
bubble.wav
, assets/bubble.wav
, and assets/bubble
. Can anyone clarify? Does it need to be a file asset? Thank you!
const details = {
fireDate: sendTime,
alertTitle: title,
alertBody: message,
isSilent: false,
userInfo: data,
soundName: 'bubble',
// applicationIconBadgeNumber: 69,
};
logger.info(`sending local notification: ${JSON.stringify(details, ' ', ' ')}`);
PushNotificationIOS.scheduleLocalNotification(details);
Metadata
Metadata
Assignees
Labels
No labels