-
Notifications
You must be signed in to change notification settings - Fork 625
Propagate error for ListAll #713
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
Conversation
apply from: '../../gradle/googleServices.gradle' | ||
|
||
apply plugin: "com.google.gms.google-services" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to add this line for the Test App to start. I hope it doesn't beak CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this to call initializeApp because it does break CI.
d707311
to
bd2e76a
Compare
@fredzqm Let me know if you feel comfortable reviewing this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks fixing it so quickly!
@@ -104,6 +105,7 @@ protected void onCreate(Bundle savedInstanceState) { | |||
super.onCreate(savedInstanceState); | |||
setContentView(R.layout.activity_main); | |||
|
|||
FirebaseApp.initializeApp(getApplicationContext()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OOC, why this line weren't there before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lets us use the test app without the Google Services plugin, which we had to remove as it breaks the CI build.
Turns out that we didn't propagate backend errors for ListAll, instead the Task would just hang.
Fixes https://b.corp.google.com/issues/139533387