Ionic: Local Notification Sound, Custom Sound and File Placement
- POST
I’m creating an Ionic 2 and Ionic Native code sample for using Local Notifications and thought I’d take a moment to write up a post about notification sounds.
Lets take a look at the typical code to create a Local Notification in Ionic 1:
In the object being passed to the schedule method you see a sound property. This property is set to the default sound represented by 'res://platform_default' which, of course, is the sound that the user has selected as their notification sound.