Unity Firebase Analytics for Amazon devices

476 views
Skip to first unread message

Ashley Sutton

unread,
May 5, 2021, 10:16:14 AM5/5/21
to Firebase Google Group
Hi, 

I just need someone to confirm that Firebase Analytics for Unity can support Amazon devices. And if so, how do I do this? 

All I get is an "InstanceId" error

Thanks

Sam Stern

unread,
May 5, 2021, 10:19:26 AM5/5/21
to Firebase Google Group
Hi Ashley,

Google Play services is required, but not recommended, for using Analytics:

InstanceId is a deprecated system so it sounds like you need to update to the latest Analytics SDK version and try again.

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f2a944b8-54fb-4326-a59e-59977a04847bn%40googlegroups.com.

Ashley Sutton

unread,
May 5, 2021, 10:28:16 AM5/5/21
to Firebase Google Group
Hi,

I have the latest Unity SDK as this is the one I got from Google's documentation,

I read that the InstanceId error happens regardless but shouldn't stop the app from sending events.

However in my case it doesn't send events at all when on an Amazon device.

- Ash

Patrick Martin

unread,
May 5, 2021, 11:52:42 AM5/5/21
to Firebase Google Group
So the Unity SDK is odd. In addition to Sam's link, the Unity SDK does some extra checking to simplify some of the developer flow (since it's really hard to call into Java code from C# -- you have to get super familiar with the JNI).

So the 7.2.0 Unity SDK is built off of the 7.3.0 C++ SDK. The 7.2.0 C++ SDK never got a Unity release. Numbers I echo below will be confusing without this disambiguation.

The 7.2.0 C++ SDK partially lifted the artificial dependency (the convenience layer) for Auth, Database, Functions, and Storage (see the patchset here -- this is public). Some SDKs are missing, including Remote Config and Analytics.
This means that some features will work on a Fire device in the 7.2.0 Unity SDK, but not Analytics (it's not in the changelog, that's an unfortunate side effect for how the notes are generated). But if you are monitoring release notes, remember that the current mapping of Unity->C++ is one minor version behind. So a patch in C++ 7.3.1 will appear in Unity 7.2.1 (likely to persist until 8.0.0).

I don't have an ETA on if/when the additional missing SDKs will get patched in (even internally).

On Wed, May 5, 2021 at 8:28 AM 'Ashley Sutton' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Hi,

I have the latest Unity SDK as this is the one I got from Google's documentation,

I read that the InstanceId error happens regardless but shouldn't stop the app from sending events.

However in my case it doesn't send events at all when on an Amazon device.

- Ash

On Wednesday, 5 May 2021 at 15:19:26 UTC+1 sams...@google.com wrote:
Hi Ashley,

Google Play services is required, but not recommended, for using Analytics:

InstanceId is a deprecated system so it sounds like you need to update to the latest Analytics SDK version and try again.

- Sam

On Wed, May 5, 2021 at 3:16 PM 'Ashley Sutton' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Hi, 

I just need someone to confirm that Firebase Analytics for Unity can support Amazon devices. And if so, how do I do this? 

All I get is an "InstanceId" error

Thanks

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f2a944b8-54fb-4326-a59e-59977a04847bn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.


--

Patrick Martin | Developer Relations Engineer | martin...@google.com | 720-388-6112

Ashley Sutton

unread,
May 6, 2021, 5:06:49 AM5/6/21
to Firebase Google Group
Hey Martin,

Are you sure this is 100%? I have seen events apparently being sent in the logcat of an Amazon fire tablet device. However I am not seeing them in the DebugView on Firebase console nor am I seeing it on the "Realtime" part of the console. I have done all the setup for enabling debug mode. It works perfectly on Android devices.

Patrick Martin

unread,
May 6, 2021, 4:32:37 PM5/6/21
to Firebase Google Group
You might want to ask the question about Android behaviour in the main group. I don't exactly know how Google Analytics behaves without play services or if there's any specific information about debugging.

The games folks haven't done anything explicitly to support it, so it would be interesting to know if it does work. To their knowledge it shouldn't yet.

Reply all
Reply to author
Forward
0 new messages