Skip to content
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

logEvent does not support array params #116

Open
nhh opened this issue Apr 22, 2022 · 2 comments
Open

logEvent does not support array params #116

nhh opened this issue Apr 22, 2022 · 2 comments

Comments

@nhh
Copy link

nhh commented Apr 22, 2022

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:

  1. Use logEvent with params:
await FirebaseAnalytics.logEvent({
  name: "testEvent",
  params: {
    products: ["array", "array2"]
  }
})

Expected behavior
Array params should be visible in firebase

Screenshots

Bildschirmfoto 2022-04-22 um 13 39 52

Bildschirmfoto 2022-04-22 um 13 41 05

Smartphone (please complete the following information):

  • Device: iphone 12 mini
  • OS: 15.4
  • Browser: safari
  • Version ?
@nhh
Copy link
Author

nhh commented Apr 22, 2022

EDIT: It seems that only certain events like purchase support array params.

These will be listed as the following:

Bildschirmfoto 2022-04-22 um 14 19 43

@mukul-myhq
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants