There is also an option to send push type 101 and provide a badge number semi-colon and a message e.g. use a message body such as this: “3;This message is shown to the user with number 3 badge”. Obviously, this feature will only work for iOS so don’t send these push types to other platforms…
In addition to that we have added an option to change the badge number, this is useful if you want the badge to represent the unread count within your application. To do this we added two methods to display: isBadgingSupported() & setBadgeNumber.
Notice that even if isBadgingSupported will return true, it will not work unless you activate push support!
To truly utilize this you might need to disable the clearing of the badges on startup which you can do with the build argument ios.enableBadgeClear=false
On a separate note we also added the ability to scale images based on aspect ratio
to the ImageIO class with a new method saveAndKeepAspect which should provide more memory efficient scaling. This is important for Android which manages image memory quite poorly.
Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended…. If that is the case please let us know via the comments section below.