Recommended upgrade. This release improves reliability and hardens how notification events are handled:
Android:
- Background action buttons and inline replies now pass the original push data to JS. Data added to the notification intent by other apps is ignored. Apps using
"inline": trueactions should upgrade. - Action-button callbacks must match an action declared in the push payload. Otherwise the event is delivered to the
notificationevent.
Android and iOS:
actionCallbackcan no longer beregistrationorerror. Otherwise the event is delivered to thenotificationevent.- Fixed some crashes caused by unexpected or malformed payloads.
- Certain data is no longer written to device logs.
Fixes:
- fix: prevent actionCallback from triggering reserved events (#389) [aea1ff2]
- fix(android): background action button handler regression (#396) [4d6554d]
- fix(android): find matching action callbacks from declared actions (#391) [0a0cd07]
- fix(android|ios): handle unexpected notification payloads more gracefully (#392) [c030218]
- fix(browser): skip subscription upload when pushServiceURL is not set (#390) [da20dec]
Chores:
- chore: add .npmrc file (#398) [7ab05c5]
- chore: various cleanup (#395) [e31d9d0]
- chore: various dev related updates (#393) [5e80a20]
- chore: update dependencies (#381) [9db06c4]
- chore: update workflows & config files (#380) [3fca8c6]
- chore: bump devDependencies (#365) [f075ed4]
- chore(android|ios): reduce verbose logging (#386) [6fa117a]
- chore(browser): remove legacy gcm (#388) [34b5139]
- chore(ci): updated workflows (#397) [f918a36]
- chore(deps-dev): bump js-yaml from 4.3.0 to 4.3.2 (#379) [ec6df61]
- chore(deps-dev): bump @babel/plugin-transform-modules-systemjs (#373) [e1ed848]
- chore(deps-dev): bump brace-expansion from 1.1.12 to 1.1.18 (#378) [bb948cb]
- chore(deps-dev): bump js-yaml from 4.1.1 to 4.3.0 (#374) [58a5c3c]
- chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#368) [fb2739e]
- chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#364) [6dfd136]
- chore(deps): bump the gh-actions-patch-minor group with 3 updates (#394) [634f909]
- chore(deps): bump picomatch (#369) [9da3aad]
- chore(deps): bump minimatch (#367) [d9a04d7]
Refactors: