How to debug analytics locally #6497
Replies: 4 comments 2 replies
-
https://search.brave.com/search?q=firebase+analytics+debug+mode https://firebase.google.com/docs/analytics/debugview https://firebase.google.com/docs/analytics/debugview#ios+ Expo may be hiding all the complexity of a native mobile app, so I'm not sure how you go about this in an Expo managed project, but you'll need to find your .xcworkspace folder and edit the current build scheme to add that build flag then rebuild. You may find it's easier debug this on android, where you do it with an adb command directly on the emulator |
Beta Was this translation helpful? Give feedback.
-
Added a feature request for an Expo config plugin on Canny: https://invertase.canny.io/react-native-firebase/p/expo-plugin-for-analyticsdebugview-configuration |
Beta Was this translation helpful? Give feedback.
-
Update: Using |
Beta Was this translation helpful? Give feedback.
-
@mikehardy It seems that supporting debug mode in an Expo app has become even more important as Expo's adoption has grown. React Native's getting started guide now states: "If you’re building a new app with React Native, we recommend using a Framework." While you can use React Native without a framework, most developers benefit from using one like Expo, which offers features such as file-based routing, high-quality universal libraries, and the ability to write plugins that modify native code without managing native files. You can check it out here: React Native Environment Setup. |
Beta Was this translation helpful? Give feedback.
-
I have a managed Expo project that has
react-native-firebase/analytics
. I want to check if the events are logged correctly locally because these logs take time to show up on google/firebase analytics console.I'm mainly developing on an iOS simulator. Is there any resource I can refer to figure out how to debug analytics events locally?
Beta Was this translation helpful? Give feedback.
All reactions