Page MenuHomePhabricator

Stop subclassing RNFirebaseMessagingService as its functionality is not used anymore
ClosedPublic

Authored by marcin on Jan 16 2023, 6:04 AM.
Tags
None
Referenced Files
F3486727: D6275.diff
Wed, Dec 18, 5:46 AM
Unknown Object (File)
Sat, Dec 14, 3:51 AM
Unknown Object (File)
Sat, Dec 14, 3:51 AM
Unknown Object (File)
Sat, Dec 14, 3:51 AM
Unknown Object (File)
Sat, Dec 14, 3:51 AM
Unknown Object (File)
Sat, Dec 14, 3:51 AM
Unknown Object (File)
Sat, Dec 14, 3:50 AM
Unknown Object (File)
Sat, Dec 14, 3:40 AM
Subscribers

Details

Summary

This differential removes RNFirebaseMessagingService from native Android codebase as its functionality is not used anymore. FirebaseMessagingService is now subclassed.

Test Plan

Build the app. All tests plans of differentials int ths stack under this one.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Are we still using io.invertase.firebase.messaging anywhere?

native/android/app/src/main/java/app/comm/android/notifications/CommNotificationsHandler.java
26–50 ↗(On Diff #20975)

We have to update (or delete) this comment

This revision is now accepted and ready to land.Jan 18 2023, 9:53 AM
native/android/app/src/main/java/app/comm/android/notifications/CommNotificationsHandler.java
26–50 ↗(On Diff #20975)

This comment provides an explanation why we cannot subclass FirebaseMessagingService directly yet. Now that we implemented direct subclassing we probably should just delete it, so I will proceed this way.

Remove comment explaining why this class subclasses RNFirebaseMessagingService, since it no longer subclasses RNFirebaseMessagingService