Bundle custom audio files to play custom notification chime sounds for push alerts and in-app triggers.
Bundle custom notification audio chimes for mobile push notifications. Nativine bundles custom .caf (iOS) and .wav / .mp3 (Android) audio files into your app bundle, overriding default OS chimes with branded notification sounds.
Branded notification sounds increase brand recognition and user retention. Nativine's Custom Notification Sounds plugin embeds audio resources directly into native iOS and Android resource bundles:
chime_order.wav vs chime_alert.wav).To trigger a bundled native sound file programmatically in JavaScript, call nativine.customSounds.playSound():
nativine.customSounds.playSound({
soundName: 'custom_chime.wav',
volume: 1.0
});
| Parameter | Type | Description |
|---|---|---|
soundName | string | Required. Filename of audio resource bundled in native build (e.g. chime.wav). |
volume | number | Optional. Playback volume between 0.0 and 1.0 (default: 1.0). |
In your push payload JSON, specify "sound": "custom_chime.wav" to trigger the bundled sound on the target device.
Apple requires Linear PCM or IMA4 audio packaged in a .caf, .aiff, or .wav container under 30 seconds.