vasani-arpit / cordova-plugin-local-notifications

added three things [1] notification sound loop. [2] lollipop and marshmallow headsup notification [3] wake up app on notification trigger
Apache License 2.0
8 stars 4 forks source link

custom sound doesnt work #6

Open iamAdamGoodman opened 5 months ago

iamAdamGoodman commented 5 months ago

cordova.plugins.notification.local.schedule( { id: 1, sound: 'file://beep.caf', title: 'Warning', text: 'Time is running out' })

the sound file is in root www folder but notification comes with the dafault ios and android sound. any help?

vasani-arpit commented 5 months ago

This plugin was build with older version of Cordova. Things might have been changed in Android and in Cordova by now. Currently I don't have a enough resources at my disposal to fix or update this plugin.

You can fork this and directly fiddle with native ( java or C ) files.