Skip to content

WIP: Push notification refactor and splash screen upgrade

Martin Santangelo requested to merge feat/notifee into release/4.25.0

Ticket(s) / Related Merge Requests

#4191

Summary of Changes

WIP because it will need some backend changes

This MR replaces the react-native-notifications package with Notifee and rnfirebase/messaging

The splash screen package was also updated due to an issue with the rnfirebase/messaging background message handling

  • Centralize push notification messaging on FCM for both platforms
  • Use Notifee to display rich notifications (Images, grouping, possibility to add actions, etc)
  • Add a battery saver checker on Android and prompt the user to disable it for the app (In order to get rich notification with the app closed)

Testing Considerations

To be defined

Regression Scope

In addition to push notifications the app initialization may be affected

Platform Affected (web, mobile, etc)

iOS & Android

Developer Testing Completed

  • Tested it on both platforms by using a test firebase project

Screenshots

(Any extra UI screens that can be shared)

Merge request reports