I want to track screens manually. The documentation suggests the following solution:
But its seems i cant overwrite parameters which have a'firebase_' prefix. I get the following error:
E/FA (22878): Name starts with reserved prefix. Type, name: event param, firebase_screen
E/FA (22878): Name starts with reserved prefix. Type, name: event param, firebase_screen_class
How am i supposed to set these parameters?
CodePudding user response:
Since screen view is a predefined event, you can do
await FirebaseAnalytics.instance.logScreenView(
screenName: screenName,
screenClass: screenClass
);
This list of available events can be found here