We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue.
cordova -v
cordova platform ls
Notifications would play a custom sound and not the standard phone notification sound
Plays standard phone notification sound
Android soundFile: `file://assets/ding.mp3' also tried 'res://ding.mp3' also tried 'file:///android_asset/www/assets/ding.mp3'
iOS soundFile = "assets/ding.mp3",
singleObj = { channel: "channel1", id: 100 + m, text: String(reminders[n][0]), priority: 2, foreground: true, sound: soundFile, trigger: { every: { weekday: Number(reminders[n][1][n1]) + 1, // days 1-7 hour: Number(reminders[n][2][0]), minute: Number(reminders[n][2][1]) }, count: 1 } }
It's a great plugin, been using for years! Thanks! But having trouble with custom sounds.
Any help would be most appreciated!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue.
Your Environment
cordova -v
): 9.0.0 for both iOS and Androidcordova platform ls
): android 8.0.1 and iOS 4.2.1Expected Behavior
Notifications would play a custom sound and not the standard phone notification sound
Actual Behavior
Plays standard phone notification sound
Steps to Reproduce
Android
soundFile: `file://assets/ding.mp3'
also tried 'res://ding.mp3'
also tried 'file:///android_asset/www/assets/ding.mp3'
iOS
soundFile = "assets/ding.mp3",
It's a great plugin, been using for years! Thanks! But having trouble with custom sounds.
Any help would be most appreciated!
The text was updated successfully, but these errors were encountered: