capacitor-community / firebase-analytics

Enable Firebase Analytics for Capacitor Apps
MIT License
159 stars 63 forks source link

Expose setUserProperties to set multiple user properties at once #167

Open dlee opened 10 months ago

dlee commented 10 months ago

Is your feature request related to a problem? Please describe. There's currently no way to set user properties at once.

Describe the solution you'd like I'd like a FirebaseAnalytics.setUserProperties({ [name]: [value], ... }) method exposed.

Describe alternatives you've considered The only alternative is to iterate through all the properties and set them one at a time using FirebaseAnalytics.setUserProperty. However, this seems inefficient given that the underlying library seems to support setUserProperties.