OneSignal Custom Sounds


#1

Finally got OneSignal notifications working. Fine…

So I want my phone to “Ring” with a custom sound, but looks like like OneSignal won’t allow for Web Push API to do custom sounds?

Any one have some insight?


#2

The folks at www.FoxPush.com have verified that this CANNOT be done.

WebPush can’t be used this way, because a user might send a 100mb file in audio and cost a user money. So you can only use devices that are ON a mobile device.

So, therefor, you must use an SDK for a true mobile device support and changing the default audio. Not sure how this works with Cordova…

PS: Screw OneSignal, it’s so hard to get working. Long live FoxPush.


#3

And that’s what this package is all about, raix:push

https://atmospherejs.com/raix/push


#4

Here we are, solution found. Holy god this has been 4 days of research. I hope this helps some one in the future.

DO NOT USE ONESIGNAL.

$ meteor add raix:push
$ meteor add cordova:cordova-plugin-device@1.1.5
$ meteor add cordova:phonegap-plugin-push@1.5.2


#5

Full demo of a Meteor app is here: https://github.com/elvismercado/meteor-raix-push-demo


Suggest me meteor or node package for chrome notification that can work in desktop as well as mobile chrome
#6

Lastly, the newbie manual: https://github.com/raix/push/wiki/raix:push-Newbie-Manual


#7

Hi. I help work on OneSignal.

Web Push does not support custom sounds yet, but this is part of the specification and we expect Firefox and Chrome to add sound support soon.

You can learn more here: https://developer.mozilla.org/en-US/docs/Web/API/Notification/sound

That demo app is a native application, so you would want to use OneSignal’s mobile notification support, which does support custom sounds.

Sorry if you ran into any problems setting up OneSignal. Please try reaching out to us over our on-site support chat if you’d like to give it another try and someone on our team will help out asap.


#8

Hi Gdeglin,

The big problem is for new comers. I still am not able to subscribe to notifications on localhost:3000. The setup is one of the most complicated Meteor packages I’ve set up. Lots of people here on these forums in the last 3 weeks too.

Raix is certainly MUCH more complicated to setup, so I’m staying with OneSignal for now.

How can I use OneSignal, Meteor, and perhaps a Cordova plugin to get mobile notification sounds working (ring.mp3)

Thanks for reaching out here.


#9

In terms of high quality performance, you can count on zetpush it has lots to offer when it comes to push notifications, besides its cool feature, which you can check on their website, it can also give 20% average CTR and it supports all modern browsers including:
• Google Chrome on Windows, Mac OS X, and Linux.
• Firefox on Windows, Mac OS X, and Linux.
• Opera on Windows, Mac OS X, and Linux.
There are lots of competitions in the market right now, but i really do find ZetPush accurate when it comes to delivering results. So if web push notification is what you are looking for, you should consider Push Notifications for Web Browsers | ZetPush too