-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Manual tracking does not work when using Intents. #954
Comments
Anyone would be able to assist me on this? Is this a known firebase issue? |
@pkhivesara thanks for filing this, sorry about my very slow response. Could you show the piece of code that's not working as expected? Also could you try using this method to gather logs of what's being sent? |
@samtstern I will upload a sample repo in a bit |
@samtstern Please find the sample code: https://gitlab.com/pkhivesara/firebasetest Attached along are two screenshots, using fragment and activity approach both of which fail to register the Maybe I have misunderstood as to manual tracking is supposed to be used? |
This looks like it might be the same issue as #935 So are you saying this is the line that doesn't work? |
The |
The app appears to be calling We do automatic screen tracking based on activity lifecycles but not fragment lifecycles. So, regardless of whether So in the absence of any manual calls to In any case you'll probably get much better results just moving your calls to |
Step 1: Describe your environment
Step 2: Describe the problem:
While using the
setCurrentScreen
method to manually track user engagements, thescreen_name
is omitted when usingIntent
to move from oneactivity
to another.However, if a
FragmentTransaction
is executed, thescreen_name
tag is logged successfully.Observed Results:
screen_name
tag is not logged when using an Intent. However it works as expected when usingFragmentTransaction
.Expected Results:
setCurrentScreen
should log the screen_name as expected for both scenarios.The text was updated successfully, but these errors were encountered: