You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @joeyscarim unfortunately not without ejecting to a bare workflow at this time. I will flag this up as a feature request to support custom sounds, configuration would be similar to the icon support we recently added via #136
I'm a bit late, but I'll post here for anyone in the future:
You can use expo-notifications together with this plugin to make custom sounds work. Just follow the guide on how to configure your app.json file with expo-notifications plugin, then you can follow this guide from Onesignal itself, following IoS/Android standards, because the files will be "injected" (bundled) into your app (see here) through the expo-notifications plugin.
Hope it helps!
+1 for wanting to see this feature in the plugin. It would be great is there was just a pushSounds option in the confi options just like largeIcons and smallIcons, and that could just be an array of paths to .wav or other push sound files. The plugin would then handle the native code piece of adding those to the Xcodeproj or the Android Build without having to eject (or include the expo-notifications package)
Is there a way to add a sound effect when using the expo package?
i don’t see any mention of expo in https://documentation.onesignal.com/docs/customize-notification-sounds
The text was updated successfully, but these errors were encountered: