Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

add auto session tracking flag #337

Closed
wants to merge 2 commits into from

Conversation

marandaneto
Copy link
Contributor

@marandaneto marandaneto commented Apr 1, 2020

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

add auto session tracking flag

💡 Motivation and Context

we have a single flag to control 2 behavior.
1 is to enable session tracking at all.
2 is to enable the automatic session tracking integration.

it is a use case where one wants to start and end a session manually and to not do it automatically, this flag allows that.

💚 How did you test it?

unit test

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing

🔮 Next steps

@@ -58,6 +58,9 @@
<!-- how to enable session tracking-->
<meta-data android:name="io.sentry.session-tracking.enable" android:value="true" />

<!-- how to enable auto session tracking integration-->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I follow what would be the use case for io.sentry.session-tracking.enable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other words: Doesn't the new field replace the old one?

@marandaneto
Copy link
Contributor Author

in favor of #338

@marandaneto marandaneto closed this Apr 2, 2020
@marandaneto marandaneto deleted the enha/auto-session-tracking-flag branch April 9, 2020 07:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants