OneSignalDevelopers/OneSignal-Corona-Sample

Android Notification Sounds

CareControlTom opened this issue · 1 comments

The REST API parameter .android_sound does not seem to be loading the sound file from the corona directory.
I have not included the ".wav" extension as specified in the documentation etc.
Any ideas on a fix or any way to get the wav files into the correct directory using the standard edition of Corona (res/raw)?

@CareControlTom Currently the plugin doesn't support custom sounds for Android due to how Corona bundles the sound files into the APK. Until support is added you must build your app as a Corona Enterprise app. Just adding the .wav file to the APK under res/raw isn't enough as their needs to also be a .class in the .dex file for it be indexed off of.