-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase messaging frame #509
Conversation
There are a few more places to add firebase messaging (for example the readme), if you search everywhere for one of the existing modules to make sure you have added messaging to all of the required places. For the tests you can just add one test case asserting Firebase.messaging doesn't return null or throw an exception. |
@nbransby Okay, I did add the messaging to all the places I could find. I hope I did not miss any. As for the tests, I don't really understand what you mean. I dont have access to
This works on iOS somehow, but not on Android. Instrumented tests complain about
|
Hmm, |
Well the I could probably somehow try to leverage the default app instance, but i don't know if it's even worth it. |
This code should set the default instance as its only when you pass a name into initialize as the third arg it is not considered the default (unless that name is "[DEFAULT]" then its still the default instance |
Ah you are right. I added the test for iOS and Android (instrumented) then. I used |
Good stuff |
Just the general frame for firebase messaging library. See #467.
getInstance(app: FirebaseApp)
which would probably be needed to inject the testingFirebaseApp
, alsofirebase-functions
does not implement tests as wellTODO
, taking inspiration fromfirebase-crashlytics