Custom icons for LocalNotification
When using a local notification, I want to be able to use custom icons. So the icons can reflect the content of the message. Like in the Gmail App on Android, When I receive a notification for a new mail, the avatar of the sender is used as Icon.
Custom icons are now available as part of the push and local notification ANEs
http://airnativeextensions.com/extension/com.distriqt.Notifications
http://airnativeextensions.com/extension/com.distriqt.PushNotifications
We will be making a custom resources script available soon but in the meantime contact us with your icons and we’ll create the packaged resources for your application.
-
Just as an update to this, we have been trying to get Adobe to help out with Android resources so we can easily integrate this feature. Currently the only way we can do it is to package icons with an ANE.
There is one option we have on the newer versions of Android to manipulate the large icon, however the small status icon has to be an Android resource so we currently are still waiting for Adobe to help out.
-
We have planned to do this, but as it's only available on Android at the moment we've been delaying it. We'll make sure it gets into development soon.