[Question] Analytics verbose logging doesn't work with -FIRAnalyticsVerboseLoggingEnabled on iOS
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.
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
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
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 Thanks for your answer. Yes, we deleted and reinstalled the app after adding the arguments and nothing changed.
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.
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.
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?
Any updates?
Hi guys, just checking in to see if there are any updates. Let me know, please.
Late to the party but I had the same issue and adding -FIRDebugEnabled solved it! Thanks :)
We have a problem with iOS 26.
Built with Unity 2022.
Logs appear when run on any version < iOS 26.