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

Firebase Tizen Web app support

Open sureshsu opened this issue 3 years ago • 2 comments

Uploading sample-firebase-app.zip…

Tizen webapp with Firebase analytics - Events are not received in the console.

[REQUIRED] Describe your environment

  • Operating System version: Tizen 6.0
  • Browser version: Tizen Web app running in Tizen 6.0
  • Firebase SDK version: 9.9.3
  • Firebase Product: Analytics

[REQUIRED] Describe the problem

Environment: Samsung Smart TVs Firebase JS SDK when bundled with our Web app, analytics works properly in Tizen browser and other browsers (Chrome, etc). However when the same app is packaged as Tizen Web app and loaded in Samsung Smart TV, firebase analytics events are not received on the firebase console.

Steps to reproduce:

Package firebase web app with analytics as Tizen web app Install it in Tizen Smart TVs and run the app

Relevant Code:

Attached sample web app. This needs to be packaged as sample Tizen web app.

sureshsu avatar Aug 23 '22 11:08 sureshsu

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Aug 23 '22 11:08 google-oss-bot

It may be difficult to reproduce your Tizen setup on our end so can I ask you to make a similar test app that does not use Firebase but makes direct gtag() calls to the same measurementId and see if they have the same issue? (You'll have to check the backend data by looking at the Google Analytics dashboard and not the Firebase Console because if you don't use Firebase, it won't attach the Firebase installations ID and it may not show up in the Firebase Console.) https://developers.google.com/analytics/devguides/collection/gtagjs#:~:text=The%20Google%20tag%20(gtag.,a%20site%20for%20Google%20Analytics.

I'm asking because Firebase Analytics for Web is pretty much just a wrapper around gtag.js, and if gtag by itself doesn't work, there's no code we can change in the Firebase SDK to make it do so (and you'd have to contact the gtag team for support). But if gtag by itself does work, that means the issue lies with us.

hsubox76 avatar Aug 24 '22 17:08 hsubox76

Limitation of Google Analytics to support for Tizen web app: https://issuetracker.google.com/issues/231344514?pli=1 https://issuetracker.google.com/issues/174954288?pli=1

sureshsu avatar Dec 15 '22 10:12 sureshsu

Hi @sureshsu,

It looks like the Google Analytics team is tracking this issue in the links that you've provided. If this is the case then I think more information is to be found in those links that in this ticket, and we'll probably close this one as a duplicate. If not then please let us know.

Thanks!

DellaBitta avatar May 28 '23 17:05 DellaBitta

Hey @sureshsu. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Jun 02 '23 01:06 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@sureshsu if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jun 08 '23 01:06 google-oss-bot