Problem
The current name (notificationContent) makes it seem like the function is responsible for providing the notification content, which is not true.
Solution
Calling it updateNotificationContent instead would signal that the point of the function is to give the app an opportunity to modify the notification content, should it want to.
We should include this change in the next major release of the package.
Additional context
No response
Code of Conduct
Problem
The current name (
notificationContent) makes it seem like the function is responsible for providing the notification content, which is not true.Solution
Calling it
updateNotificationContentinstead would signal that the point of the function is to give the app an opportunity to modify the notification content, should it want to.We should include this change in the next major release of the package.
Additional context
No response
Code of Conduct