-
Notifications
You must be signed in to change notification settings - Fork 117
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
Override ResponseJson::MarkFailed to set application_data_. #738
Conversation
✅ Integration test succeeded!Requested by @jonsimantov on commit b7ca2e2 |
FWIW I don't think that this is the right fix. I think the right fix is to override |
What should MarkFailed put in application_data_, just an empty flatbuffer? (like it does with the verify failed?) Hmm I think that makes sense now that I write it - let's give it a shot. |
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. Just needs a release notes entry.
@@ -666,7 +672,7 @@ code. | |||
([#429](https://github.com/firebase/firebase-cpp-sdk/pull/429)). | |||
- AdMob (iOS): Temporarily pinned AdMob dependency to a special version of the | |||
Google-Mobile-Ads-SDK Cocoapod, "7.69.0-cppsdk", to maintain compatibility | |||
with version 8.x of the Firebase iOS SDK. | |||
with version 8.x of the Firebase iOS SDK. |
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.
Untabified the file.
Description
Setting application_data_ to an empty flatbuffer will prevent application_data_ from being nullptr. This was causing an issue in #737 when AuthResponse::error_code and AuthResponse::error_message were accessing a null application_data_ if the response failed.
Testing
Integration tests to be run.
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.