how firebase capture event automatically in mobile application? for example when we open a new screen in mobile app, in firebase screen_view event will get trigger. so i want to know how firebase achieve this. is there any code available for this.
If automatic screen tracking is enabled, Google Analytics for Firebase can use activity lifecycle events to detect when a new activity is displayed. This triggers a screen_view event.