- Changed gradle compile to implementation
- Upgrade ShortcutBadger to v1.1.22
- Added
appShortcutBadgerCustomgradle switch. - Upgrade ShortcutBadger to v1.1.21
- Added
isSupportedto check support at runtime (on Android).
- Added polyfill for Object.assign to fix issue on Android.
- Upgrade ShortcutBadger to v1.1.19
- BadgeImpl class can now be used from other Android plugins.
- Fix autoClear for desktop platforms.
- Support for download and circular indicator on OSX.
Based on https://github.com/hokein/DockProgressBar
- Fix threading warnings with iOS 11
- Fix package.json to work with latest cordova and npm
- Upgrade ShortcutBadger to v1.1.18
- Fixed issue with Android 4.x, see #95, #97
- Support for OSX platform
- Updated code to work properly with iOS@10
- Dropped supported for iOS@9
- Upgrade ShortcutBadger to v1.1.17
- Allow specifying ShortcutBadger version via gradle property
- Config settings like
autoClearare not persisted - Small enhancements and bug fixes
- Removed platform support for WP8
- Removed old namespace
plugin.notification.badge
- Upgrade ShortcutBadger to v1.1.11
- Support for ZUK
- Improved support for Samsung devices
- Upgrade ShortcutBadger to v1.1.8
- Support for Huawei
- Support for iOS 10
- New ID
cordova-plugin-badge - Upgraded ShortcutBadger to v1.1.4
- Use new app-event plugin
- Removed support for Amazon FireOS (ShortcutBadger doesnt support it)
- Support for app icon badges on selective Android platforms thanks to ShortcutBadger
- Sony
- Samsung
- LG
- HTC
- Xiaomi
- ASUS
- ADW, APEX, NOVA
- New platform support:
- Amazon FireOS
- Browser
- Windows
get,setandclearsupport callbacks.- Support for Glyphs on Windows platform.
- Added tests
- Upgrade cordova dependency from 3.0 to 3.6
- Fix incompatibility with local-notification plugin and PGB caused by the usage of hooks.
- New interfaces to increase or decrease the badge number.
- Fix incompatibility with local-notification plugin.
- Add instead of replace permissions on iOS.
- Refreshed layout of the example app.
- [change:] Renamed
promptForPermissiontoregisterPermission. Older one is still supported. - [enhancement:] Support iOS8 and older SDK versions from a single binary.
- [enhancement:]
registerPermissionreturns result of registration. - [enhancement:] No need anymore to call
registerPermissionexplicit before trying to set the badge number.
- [bugfix:]
hasPermissionandpromptForPermissionlet the app crash on iOS7 and older.
- [enhancement:] iOS 8 support
- [enhancement:] All methods are asynchron now and do not block the main thread anymore.
- [feature:] New method
hasPermissionto ask if the user has granted to display badge notifications. - [feature:] New method
promptForPermissionto promt the user to grant permission to display badge notifications. - [feature:] New method
configureto configure badge properties. - [feature:] The small icon on Android can be changed through
configure. - [change:] The namespace
plugin.notification.badgewill be removed with v0.6.1 - [change:]
setTitleis deprecated, please useconfigure({ title: 'title' }). - [change:]
clearOnTapis deprecated, please useconfigure({ autoClear: true }). - [bugfix:]
getBadgestill returned the number when autoClear: was set and the notification was already cleared by the system (Android). - [bugfix:]
cleanwas not working on Windows Phone.
-
Added new namespace
cordova.plugins.notification.badge
Note: The formerplugin.notification.badgenamespace is deprecated now and will be removed in the next major release. -
[bugfix:]
getreturned the old value even afterclearwas called on Android.
- [enhancement:] Badge can be cleared automatically through
setClearOnTap - [enhancement:] Badge can be retrieved through
get
- [enhancement:] Specify custom notification title on Android can be set through JS interface.
- [enhancement:] Setting launchMode to singleInstance isn't necessary anymore. App does not restart on click anymore.
- Added Android support
- Release under the Apache 2.0 license.
- Added WP8 support
- Note: The former
plugin.badgenamespace is not longer available.
- Added new namespace
plugin.notification.badge
Note: The formerplugin.badgenamespace is deprecated now and will be removed in the next major release.
- Added iOS support
Based on the Badge iOS plugin made by Joseph Stuhr