Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Analytics verbose logging doesn't work with -FIRAnalyticsVerboseLoggingEnabled on iOS #1069

Open
BogdanBobkov opened this issue Jul 17, 2024 · 6 comments
Assignees
Labels

Comments

@BogdanBobkov
Copy link

What is your question?

Hi,

we want to enable verbose logging to view consent logs, but we don't see them on iOS devices. We follow the instructions described in the article, but nothing changes. Should this argument work with the Unity SDK?
When we try to run this on Android, there are no problems.

image

Firebase Unity SDK Version

12.1.0

Unity editor version

2021.3.37f1

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

Analytics

Other Firebase Component(s) in use

Analytics, Crashlytics, Messaging

Additional SDKs you are using

Facebook, Applovin MAX, AppMetrica, IronSource AdQuality, Usercentrics, Adjust, Amazon

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

@google-oss-bot
Copy link

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

@argzdev
Copy link

argzdev commented Jul 22, 2024

Hey @BogdanBobkov, thanks for reaching out. It looks like what you've configured is correct. I've tested with our Firebase Analytics Quickstart For Unity for version 12.1.0, and it seems to log the events correctly. Have you deleted and reinstalled the app after adding the arguments?

@argzdev argzdev added the needs-info Need information for the developer label Jul 22, 2024
@Artemiy42
Copy link

@argzdev Thanks for your answer.
Yes, we deleted and reinstalled the app after adding the arguments and nothing changed.

@argzdev
Copy link

argzdev commented Jul 23, 2024

Hey @Artemiy42, thanks for confirming. I see the problem now. It should be -FIRDebugEnabled, and not -FIRAnalyticsDebugEnabled. This should work after you add this as a parameter.

Screenshot 2024-07-24 at 12 17 08 AM

Let me know if this works.

I think there's a problem with our iOS docs, it seems that after further testing, the -FIRAnalyticsDebugEnabled doesn't affect the logs. And only the -FIRDebugEnabled argument supplied show the logs. Let me bring this up to our engineers. It could be a mistake in the public documentations.

Quick update: It looks like this is working for native iOS, but isn't working for Unity built apps for iOS.

@Artemiy42
Copy link

Hi, thank you for your reply.
We are using -FIRDebugEnabled to view events in the Firabase console, but there are still no logs.
When approximately can you fix it so we can update?

@BogdanBobkov
Copy link
Author

Any updates?

@google-oss-bot google-oss-bot added needs-attention Need Googler's attention and removed needs-info Need information for the developer labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants