Software Archive
Read-only legacy content
17061 Discussions

sounds and icons for push notifications

Phil_P___Pete_
New Contributor I
198 Views

Where/how do we add sounds and icons for push notifications?

Also, is there one sound format that works across ios and android?

Thanks,

Pete

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
198 Views

Phil -- your question is best taken to StackOverflow (search the Cordova threads) and the push notification documentation. For example, see this doc page from the phonegap-push-plugin API docs > https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md < The Intel XDK creates Cordova apps, thus solutions you find related to Cordova will apply to the XDK (other than you do not have a CLI locally installed, so some instructions do not apply).

0 Kudos
PaulF_IntelCorp
Employee
198 Views

Regarding locations of sounds, I would expect those to simply be located within your project and you reference them directly via the APIs, but I haven't played with that plugin so cannot say with certainty.

Regarding which sound formats are universal, I believe WAV format is the most universal, with MP3 probably in second place.

Regarding the icons, those are going to be image resources that are added to the final package, similar to how they are added for the desktop, etc. You might have to use the intelxdk.config.additions.xml file to add them (this is a proxy for the standard Cordova CLI config.xml file).

0 Kudos
Reply