firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

[Bug] Cannot send array of Items with Firebase Analytics event

Open Kevin-Hamilton opened this issue 1 year ago • 4 comments

Description

This issue was called out here, 4 years ago: https://github.com/firebase/quickstart-unity/issues/713

There are several ecommerce events like "purchase", "view_cart", and "view_item_list" which expect to receive an array of items. Under the Unity SDK, sending these events does not appear to be possible.

Reproducing the issue

No response

Firebase Unity SDK Version

12.1.0

Unity editor version

2019.4.16f1

Installation Method

.unitypackage

Problematic Firebase Component(s)

Analytics

Other Firebase Component(s) in use

No response

Additional SDKs you are using

No response

Targeted Platform(s)

Apple Platforms

Unity editor platform

Windows

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output

No response

If using CocoaPods for Apple platforms, the project's Podfile.lock

No response

Kevin-Hamilton avatar Jul 03 '24 06:07 Kevin-Hamilton

Thanks for bringing this up to my attention, @Kevin-Hamilton. This looks like a long running bug, let me reach out to our engineers and see if we get some feedback.

However, to keep a single line of communication. I'll close this thread. Feel free to continue your report on the prior quickstart thread. I'll reply back on that thread as soon as I get updates to share. Thanks!

argzdev avatar Jul 04 '24 11:07 argzdev

I would say the quickstart thread was the wrong place to report this and perhaps why it did not get attention sooner, since it is an issue with the SDK. So it seems like closing that thread and keeping this one open makes more sense to me. But I will defer to your judgement, as I don't know how the developer resources are organized around these projects. Thanks for bringing it up with the engineers.

Kevin-Hamilton avatar Jul 05 '24 02:07 Kevin-Hamilton

Well said, @Kevin-Hamilton. I'll close the quickstart thread instead. We'll keep you posted, once we get updates.

argzdev avatar Jul 08 '24 18:07 argzdev

finally! do it please!

ilsnk avatar Jul 08 '24 19:07 ilsnk

Alright, it is finally in with the latest release, 12.4.0, https://github.com/firebase/firebase-unity-sdk/releases/tag/v12.4.0

For an example on how to use it, you can see https://github.com/firebase/firebase-unity-sdk/blob/446d14173a224464e6df865a2bcc86e5fa69a6b7/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs#L121

a-maurice avatar Oct 31 '24 20:10 a-maurice