Tests this iOS bug fix in FCM sample app, while also testing local push notifications in the app.
This PR:
displays local push notifications, which we use for QA testing local push
adds a push event handler for local push in AppDelegate.
After this PR, the FCM sample app will have 3 push event handlers: CIO SDK, rnfirebase, and the host iOS app (AppDelegate). This environment allows us to test the iOS bug that is caused when there are at least 2 push event handlers installed in an app.
Testing:
Local push QA regression tests.
Non-CIO FCM push QA regression tests (send a FCM push from Firebase console instead of Fly).
For all QA tests, we expect that both rnfirebase and the host app are able to handle the push events.
Part of: https://linear.app/customerio/issue/MBL-383/[bug]-customer-unable-to-handle-push-notification-event-on-ios-with
Tests this iOS bug fix in FCM sample app, while also testing local push notifications in the app.
This PR:
AppDelegate
.After this PR, the FCM sample app will have 3 push event handlers: CIO SDK, rnfirebase, and the host iOS app (AppDelegate). This environment allows us to test the iOS bug that is caused when there are at least 2 push event handlers installed in an app.
Testing: