Corona Generated APK

Is it possible to get a file into the /res/raw subdirectory created in the APK file as generated by the Corona process?

Thanks.

(my push notification provider OneSignal seems to expect the wav sound file to live in this directory)

This can only be done via Corona Enterprise.

Otherwise, it’s the job of the plugin developer to support loading files via the APK’s “assets” directory instead… which is what Corona’s “ResourceDirectory” maps to.  For example, Corona’s local/push notification system does support using an audio file from the “assets” directory.  Our sample app “System/GooglePushNotifications” that is included with the Corona Simulator demonstrates this.

I suggest that you contact OneSignal to see if they actually do support this, and if not, then ask them nicely to reach out to us and we can show them how.

   http://documentation.onesignal.com/v2.0/docs/corona-sdk-overview

Thanks. I will talk to them, perhaps i got it wrong somehow.

they confirm it is a problem their side and will fix.

This can only be done via Corona Enterprise.

Otherwise, it’s the job of the plugin developer to support loading files via the APK’s “assets” directory instead… which is what Corona’s “ResourceDirectory” maps to.  For example, Corona’s local/push notification system does support using an audio file from the “assets” directory.  Our sample app “System/GooglePushNotifications” that is included with the Corona Simulator demonstrates this.

I suggest that you contact OneSignal to see if they actually do support this, and if not, then ask them nicely to reach out to us and we can show them how.

   http://documentation.onesignal.com/v2.0/docs/corona-sdk-overview

Thanks. I will talk to them, perhaps i got it wrong somehow.

they confirm it is a problem their side and will fix.