HomePhabricator
Diffusion Comm f271afbe4e6e

[native] [30/40] RN 0.70: Patch react-native-firebase to avoid Android…

Description

[native] [30/40] RN 0.70: Patch react-native-firebase to avoid Android NativeEventEmitter warning

Summary:
Without this change a warning is printed. The methods don't need to be filled in, they just need to be defined. Here's an example of react-native-orientation-locker fixing the same issue.

The right long-term solution is to migrate all of our Android notifs logic to be using our own modules, but in order to unblock the React Native update I'm just patching this now.

Depends on D5924

Test Plan:

  1. Confirm Android NativeEventEmitter warning is no longer printed
  2. Tested along with whole stack: test plan (includes testing notifs on Android)

Reviewers: marcin, tomek, bartek

Subscribers: atul

Differential Revision: https://phab.comm.dev/D5925