I am trying to set a custom icon for the Android Push Notification.
I read from this post, that I need to overwrite the Corona default notification icon by _ " __ set up your Android project with the same “drawable” directories under your “res” directory. Add each “IconNotification*.png” icon to their respective drawable directory by resolution and version. You also *must* rename these PNG files to “corona_statusbar_icon_default.png” _."
My project already had a those res/drawables folders but the files are getting overwritten by Corona’s default ones due to the copyCoronaResources gradle tasks that does the following:
task copyCoronaResources(type: Copy, description: 'include resources from Corona Enterprise') { from fileTree(dir: "$coronaEnterpriseAndroidLibDir/res", include: '\*\*/\*') into "$projectDir/src/main/res" dependsOn 'compileLua' doFirst { println '== copyCoronaResources ==' } }
What am I missing? How should I set my custom Android Push/Status bar icons?