Gijs Stokman
Gijs Stokman

Reputation: 173

FirebaseAnalytics is missing several parameter constants

I would like to pass along an array of bundles to FirebaseAnalytics as described here but FirebaseAnalytics.Param does not contain an ITEMS value. In fact, it only seems to contain a subset of the values it should contain as shown here: available item param constants

I have firebaseanalytics version 17.4.4 and I tried to fill in the Param.ITEMS constant value myself ("items" according to the docs) but DebugView shows a firebase error (20 - Event array parameter name is invalid). All other events and parameters seem to work just fine according to DebugView and I found nobody with similar problems. Does anyone have any ideas as to why I only see a subset of the parameters?

Upvotes: 1

Views: 653

Answers (1)

Jake Lee
Jake Lee

Reputation: 7979

Make sure you perform a Gradle sync, as FirebaseAnalytics.Param.ITEMS is definitely available in v17.4.4.

Here it is in my project, note the version number in the bottom right: firebase 17.4.4 param items

If you're still having trouble, mouseover one of the options in your dropdown and it should show you the version being used.

Upvotes: 1

Related Questions