Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call buildWithFragment in the automatic screen view collection. #421

Open
fbcbl opened this issue Jan 19, 2021 · 0 comments
Open

Call buildWithFragment in the automatic screen view collection. #421

fbcbl opened this issue Jan 19, 2021 · 0 comments
Labels
type:enhancement New features or improvements to existing features.

Comments

@fbcbl
Copy link

fbcbl commented Jan 19, 2021

Problem

I wanted to have automatic tracking of the screens information that the user goes through. This already happens for Activity correctly as long as I build my Tracker with screenviewEvents(true). From what I can see this is leveraged by the ActivityLifecycleHandler that does the call to ScreenView.buildWithActivity(activity).

I wished to have the same behavior but for fragments, without any work from the "developer". I noticed we have the buildWithFragment method, but that is never called anywhere in the source code.

It would be great if it was possible to listen to Fragment changes in the current Activity and track it.

@fbcbl fbcbl added the type:enhancement New features or improvements to existing features. label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

1 participant