Are sounds implemented yet?
See original GitHub issueHI,
anything I am missing to get sounds to work?
here’s my init:
Push.init({
bagde: true,
sound: true,
alert: true
});
BTW, they seem to work fine on iOS if I am using one with push simulators.
Issue Analytics
- State:
- Created 9 years ago
- Comments:57 (12 by maintainers)
Top Results From Across the Web
Is implementing the sounds into the project part of a sound ... - Reddit
Depends on the job, but I'd say being able to implement your sounds is very valuable. Programming knowledge and experience with fmod and...
Read more >Arousing the Sound: A Field Study on the Emotional Impact on ...
The studies above have suggested that listeners do not react emotionally just to acoustic waves but also to sound sources and sound events,...
Read more >How software got so noisy, and why it's probably going to stay ...
Sound designers listen extensively to sounds before deploying them in products, but they can still be jarring to some people.
Read more >Sound Advice: A Quick Guide to Designing UX Sounds - Toptal
Sound Advice: A Quick Guide to Designing UX Sounds ... Sound can be easily overlooked in UX design, but it's an essential element...
Read more >Sound Design: Everything You Need To Know - NFI
During this initial step, sound designers may record sounds, use sounds from a sound library, or create original sounds. 2. Mixing, Editing, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The cordova-build-override folder might help http://guide.meteor.com/mobile.html#advanced-build
I can confirm that this solution worked for me on Android.
@raix can you add this into the docs and update the example app?
Possible solution for iOS (NOT TESTED): I assume for iOS you can use similar workflow but place the sound file in public folder and refer the file with full path of cordova build:
@mvgalle Great! Thanks for sharing, this works. If anyone is still having issues with this problem, here’s a summary of what worked for me, from start to finish, using a custom modification of
raix:push
[1]
:Create
myalert.mp3
andmyalert.wav
. Loadmyalert.wav
into this package viapackage.js
:Next, we need to add
myalert.mp3
into a special folder to work with android. see @mvgalle’s postYour
config.push.json
should look like this:Your calls to
Push.send
should look like this:[1]
To create a custom modification ofraix:push
, usegit clone
to pipe the source code ofraix:push
intoyourproject/packages/push
. Then modify thename
inpackage.js
toyourname:push
. I did this because I needed to modify some source code ofraix:push
. If you don’t need to modify the source, then you can just putmyalert.wav
intoyourproject/public
, andmeteor
should load it into thewww/application/...
directory during the build.