Provide details of the change, and generalize the change in the PR title above.
Add some null checks in the Android Task completion callbacks that finish Futures. Based on the callstack from https://github.com/firebase/firebase-unity-sdk/issues/1030, my guess is while there is a pending Android task, Messaging is getting cleaned up, and then when the Android task completes it does the callback, but the Future has been deleted.
Testing
Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.
Type of Change
Place an x the applicable box:
[x] Bug fix. Add the issue # below if applicable.
[ ] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.
Notes
Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.
Description
Add some null checks in the Android Task completion callbacks that finish Futures. Based on the callstack from https://github.com/firebase/firebase-unity-sdk/issues/1030, my guess is while there is a pending Android task, Messaging is getting cleaned up, and then when the Android task completes it does the callback, but the Future has been deleted.
Testing
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.