sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

POC - Use correct options on re-init

Open adinauer opened this issue 7 months ago • 2 comments

:scroll: Description

On multi init we now only do the bare minimum with the new options. Since the new options might not be used, defer init of certain things until we know whether the new options are actually being used (replaced on global scope).

We can build on top of this to control re-init behaviour once we've decided on which route we want to go there.

:bulb: Motivation and Context

:green_heart: How did you test it?

:pencil: Checklist

  • [ ] I reviewed the submitted code.
  • [ ] I added tests to verify the changes.
  • [ ] No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • [ ] I updated the docs if needed.
  • [ ] Review from the native team if needed.
  • [ ] No breaking change or entry added to the changelog.
  • [ ] No breaking change for hybrid SDKs or communicated to hybrid SDKs.

:crystal_ball: Next steps

adinauer avatar Jul 02 '24 12:07 adinauer