Can I use costom sound in LocalNotification?

I wanna use costom sound in localnotification.

const localnotification = {
    title: 'Notification',
    body: 'Notification',
    android: {
    sound: true
},
    ios: {
        sound: true // can I use custom sound? exmaple "./sound/audio.mp3" require("./sound/audio/audio.mp3")
    }
}
Notifications.scheduleLocalNotificationAsync(
        localnotification,
        schedulingOptions
)

Hey @yutten,

This isn’t possible with the Expo Notifications API. You would have to detach and use a third-party library that enables you to provide custom sounds.

Cheers,

Adam

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.