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

feat(android): expose APIs to start/stop SDK #1533

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

abhaysood
Copy link
Contributor

@abhaysood abhaysood commented Nov 22, 2024

Summary

  • ✨ Introduces a new APIs Measure.start and Measure.stop to start and stop collection.
  • ✨ Introduces a new config:autoStart, defaults to true. If set to false, does not start tracking until Measure.start is called.
  • ⛔ Breaking change to rename sessionSamplingRate tosamplingRateForErrorFreeSessions.
  • 📚 Update docs

Related issue

Closes #1532

@abhaysood abhaysood added feature new features android android related labels Nov 22, 2024
@abhaysood abhaysood self-assigned this Nov 22, 2024
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
measure-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 8:11am

@abhaysood abhaysood removed the request for review from anupcowkur November 27, 2024 07:53
@abhaysood abhaysood requested a review from detj November 27, 2024 07:53
@abhaysood abhaysood changed the title feat(android): expose APIs to control event tracking level feat(android): expose APIs to start/stop SDK Nov 27, 2024
* Introduces new APIs to start and stop the SDK.
* Certain features only work when SDK is started.
* Launch metrics are always collected.
* Implements register/unregister for all collectors.
* Refactor lifecycle state management from event collectors
* Update docs

closes #1532
@abhaysood abhaysood merged commit 980cb79 into main Nov 27, 2024
9 checks passed
@abhaysood abhaysood deleted the manual-start-stop branch November 27, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android android related feature new features
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat(android): expose APIs to start/stop SDK
2 participants