-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Needs Attentionplatform: androidplugin: analyticsGoogle Analytics for FirebaseGoogle Analytics for Firebasetype: bugNew bug reportNew bug report
Description
Issue
When switching to modular api for logging screens
await logEvent(analytics, 'screen_view', {
firebase_screen: currentRouteName,
firebase_screen_class: currentRouteName
});
I see UIViewController or MainActivity on the Analytics Dashboard. It was working fine with showing my screen names instead using the below:
await logScreenView(analytics, {
screen_name: currentRouteName,
screen_class: currentRouteName
});
Project Files
Javascript
Click To Expand
package.json
:
"@react-native-firebase/analytics": "^22.4.0",
"@react-native-firebase/app": "^22.4.0",
"@react-native-firebase/crashlytics": "^22.4.0",
"@react-native-firebase/firestore": "^22.4.0",
"@react-native-firebase/remote-config": "^22.4.0",
firebase.json
for react-native-firebase v6:
{
"react-native": {
"analytics_auto_collection_enabled": true,
"google_analytics_automatic_screen_reporting_enabled": false,
"crashlytics_debug_enabled": true,
"crashlytics_disable_auto_disabler": true,
"crashlytics_auto_collection_enabled": true,
"crashlytics_is_error_generation_on_js_crash_enabled": true,
"crashlytics_javascript_exception_handler_chaining_enabled": false
}
}
Any advise?
iOS
Click To Expand
ios/Podfile
:
- I'm not using Pods
- I'm using Pods and my Podfile looks like:
OscarBarrett
Metadata
Metadata
Assignees
Labels
Needs Attentionplatform: androidplugin: analyticsGoogle Analytics for FirebaseGoogle Analytics for Firebasetype: bugNew bug reportNew bug report