Is the raw folder automatically considered by NativeScript when packaging the app?
I could not find any reference to this. So what I'm trying to do is to store a .mp3 file in that folder and use it then as a custom notification sound.
The problem is: How can I then reference that file? What should I write as a path? Here's the concerned code:
// how should my path be like here?
const sound = android.net.Uri.fromFile(new java.io.File('path????'));
const notification = notificationBuilder
.setSmallIcon(ad.resources.getDrawableId('icon'))
.setContentTitle('Some test notification')
.setContentText('Done with native builder')
.setPriority(2)
.setSound()
.setVibrate([0, 550, 200, 500])
.setLights(200, 500, 1000)
.build();
Thanks in advance to anyone willing to help ❤️❤️