firebase-analytics
firebase-analytics copied to clipboard
logEvent does not support array params
Describe the bug The documentation states that we can use array params, firebase throws an error indicating we cant.
To Reproduce Steps to reproduce the behavior:
- Use logEvent with params:
await FirebaseAnalytics.logEvent({
name: "testEvent",
params: {
products: ["array", "array2"]
}
})
Expected behavior Array params should be visible in firebase
Screenshots


Smartphone (please complete the following information):
- Device: iphone 12 mini
- OS: 15.4
- Browser: safari
- Version ?
EDIT: It seems that only certain events like purchase support array params.
These will be listed as the following:

Hi Team, facing the same issue, any updates on this?