[firebase_analytics]: logPurchase crashes when any of the values inside parameters is null #12790
Closed
1 task done
Labels
blocked: customer-response
Waiting for customer response, e.g. more information was requested.
Needs Attention
This issue needs maintainer attention.
platform: all
Issues / PRs which are for all platforms.
plugin: analytics
resolution: duplicate
This issue or pull request already exists
type: bug
Something isn't working
Is there an existing issue for this?
Which plugins are affected?
Analytics
Which platforms are affected?
Android, iOS, macOS, Web, Windows
Description
Firebase Analytics version: 10.10.4
logPurchase
accepts aparameters
input with the signatureMap<String, Object?>?
, so a call like this should work:However, this code crashes due to an internal call to a method named
_assertParameterTypesAreCorrect
:where the
assert
does not allowvalue
to benull
, creating the crash.Reproducing the issue
Call
logPurchase
withparameters
having a null value.Firebase Core version
2.31.0
Flutter Version
3.19.6
Relevant Log Output
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: