Skip to content

Commit 1631dd4

Browse files
authored
docs(analytics, android): how to see events in DebugView
1 parent f7ec3d1 commit 1631dd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/analytics/usage/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ Automatic screenview reporting can be turned off/on through `google_analytics_au
198198

199199
# Seeing Events in Firebase Console's DebugView
200200

201+
## iOS
202+
201203
When running on iOS in debug, events won't be logged by default. If you want to see events in DebugView in the Firebase Console when running debug builds, you'll need to [first set a flag](https://firebase.google.com/docs/analytics/debugview#ios+) when launching in debug. This flag used to be variously called `-FIRAnalyticsDebugEnabled` and `-FIRDebugEnabled`, but please check the previous link.
202204

203205
To always set the flag when running debug builds of your app, you can [edit your scheme in Xcode](https://stackoverflow.com/questions/5025256/how-do-you-specify-command-line-arguments-in-xcode-4) to always include the flag.
206+
207+
## Android
208+
209+
When running on Android in debug, events won't be logged by default. If you want to see events in DebugView in the Firebase Console when running debug builds, you'll need to run the following command on the terminal `adb shell setprop debug.firebase.analytics.app <package-name>` - where `<package-name>` should be replaced with your app's package name.

0 commit comments

Comments
 (0)