Releases: leandrosimoes/react-native-android-notification-listener
Releases · leandrosimoes/react-native-android-notification-listener
Release v5.0.1
Fixes
- Closes #47
Release 5.0.0
Release 4.1.0
Fixes
- New RN version compiling exceptions
- Closes #42
Changes
- Example project RN dependency updated to 0.68.1
Breaking changes
- RN peer dependency updated to 0.68.1
- Gradle version must be greater than or equal 7.0.0
Release 4.0.2
- Fix Gradle 7.0 breaking changes
Fixed missing README on npm
- Fixed missing README on npm
- Linting improvements
- Now example project also is written in typescript
Updated RN Versio to 0.65.1
- Updated RN Versio to 0.65.1
- Also updated example project RN's version
- Improved project folders structure
- Now the example project has a prepare.js file used to set up the project for testing. Just follow this instructions
Removed deprecated extra keys for small icon and added support for large Icon
- The extra key
EXTRA_SMALL_ICON
is deprecated and because of that was unable to build the project so this key was removed. - Added support for large icon
- This feature closes #21
Thanks to @arunahuja94 for the PR!
Fixed `groupedMessages` being always empty
Fixes
- Fixed
groupedMessages
being passed always empty to the notification listener
Thanks to @arunahuja94 for the help, again.
Add `time`, `icon` and `image` to notification payload
Changes
- Add
time
,icon
, andimage
properties to the notification payload- NOTE 1: The
image
may not work for some apps such as Telegram and WhatsApp - NOTE 2: The
icon
andimage
is passed as base64 string
- NOTE 1: The
More properties and JSON string notification
Changes
Add more properties to the notification payload. You can see all of them in the documentation here.
Breaking Changes
Now the notification received by the handler function was changed to a JSON string payload so before using you must do JSON.parse
. You can see more in the documentation here.
Thanks
Thanks to @arunahuja94 for the help in this release.