We have a really cool idea for how we want notifications to work. We have tested it using One Signal and an IOS device and it works great, however the bad news is that when we try it with Android it does not work.
The functionality is that when a notification is raised the cloud engine we are using selects a specific sound and icon to reflect the notification. In our example we are actually use voice wav files - so the device is actually speaking the notification when it arrives! How cool is that?
As I said this works great on IOS, but on Android it does not. We lodged a query with One Signal and they cam back with: -
“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.”
What is the chances of the Corona team getting this one in the mix? It would really help with how we plan for notifications to work for our app…
