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

Reproduce Lifecyce issue #649

Closed
wants to merge 3 commits into from

Conversation

Sloy
Copy link
Contributor

@Sloy Sloy commented Apr 1, 2020

This PR reproduces an issue with lifecycle detection when initializing the Segment SDK lazily (i.e. in an Activity instead of the Application object).

To summarize, the first Application Opened event is never triggered. After that, every time a new Activity is opened we see Segment sends an Application Backgrounded and an Application Opened event.

We opened a support ticket with more details: https://segment.zendesk.com/hc/requests/376494

DO NOT MERGE

@prayansh
Copy link
Contributor

prayansh commented Jun 8, 2020

@Sloy thanks for the PR, really helpful in tackling the issue.

@Sloy
Copy link
Contributor Author

Sloy commented Jun 8, 2020

I'm glad it helped :)
And thank you for the actual fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants