Closed dhcnet closed 7 years ago
What icon name are you using for the notification when you create it? You need to pass the same name as the resource you've created.
I did not understand your answer. The name I use for the icon is "ic_stat_lideranca.png". Where do I get the name of the resource? Do I have anything in the build.xml or build.config file? In build.config the project.name is "CustomResources". In my project I only use ANE "com.distriqt.PushNotifications". Is ANE "com.distriqt.Notifications" needed too?
No you don't need Notifications as well. You simply need to specify the name of the resource to use as the icon in your push notification payload:
https://github.com/distriqt/ANE-PushNotifications/wiki/m.GCM-Payload
The name of the icon should be the name of the resource, generally this is the name of the icon without the extension, eg: ic_stat_lideranca
Thanks for the fast support! 👍
No problems! :) Let us know if you run into any other issues.
In Android 6.0 and 6.0.1 the notification icon is appearing all white. First I generated the icons as taught on the page. Then I generated the icons directly in Android Studio and even so when I receive the push notifications the icon continues to appear all white. I followed all the steps and managed the ANE correctly. I did the whole process on a MacOSX computer.