Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ref: Improve envelope API for Hybrid SDKs #1020

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

philipphofmann
Copy link
Member

📜 Description

Add captureEnvelope and storeEnvelope to SentrySDK.m, so hybrid SDKs
have a nicer API to interact. The hybrid SDKs can create a category to make
these two methods accessible. We use this pattern for the test initializers
already. Make SentryClient.storeEnvelope private.

💡 Motivation and Context

getsentry/develop#248 (comment)

💚 How did you test it?

Units tests.

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the CHANGELOG if needed
  • I updated the docs if needed
  • Review from the native team if needed
  • No breaking changes

🔮 Next steps

Add captureEnvelope and storeEnvelope to SentrySDK.m, so hybrid SDKs
have a nicer API to interact. The hybrid SDKs can create a category to make
these two methods accessible. We use this pattern for the test initializers
already. Make SentryClient.storeEnvelope private.
@philipphofmann philipphofmann requested a review from a team March 25, 2021 14:28
@philipphofmann philipphofmann added this to the 7.0.0 milestone Mar 25, 2021
@philipphofmann philipphofmann merged commit 9a87d95 into master Mar 25, 2021
@philipphofmann philipphofmann deleted the ref/envelope-hybrid-sdks branch March 25, 2021 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants