capacitor-community / capacitor-community/firebase-analytics

logEvent does not support array params

Open
#116 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
178
Forks
70
PR merge metrics
No merged PRs in 30d

Description

**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:

```js
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](https://user-images.githubusercontent.com/13472382/164707739-22e98211-198e-4391-b804-e345798bf372.png)

![Bildschirmfoto 2022-04-22 um 13 41 05](https://user-images.githubusercontent.com/13472382/164707806-b8b830c1-3220-410d-b339-57ba248e7676.png)

**Smartphone (please complete the following information):**
- Device: iphone 12 mini
- OS: 15.4
- Browser: safari
- Version ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.