FCM should be defined by an interface #5978
Unanswered
dgaedcke
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have to wrap FCM in order to mock the static methods for TDD
But I assume static is required for message handling when instances have been garbage collected (e.g. backgrounded)
if would be ideal if FCM respected an interface. We could make our mock respect the same interface and then swapping out the wrapped class for the real FCM would be easier
Do I have this right??
Beta Was this translation helpful? Give feedback.
All reactions