Skip to content

Auto install and instrument sentry-okhttp instead of sentry-android-okhttp on v7+#724

Merged
stefanosiano merged 6 commits into
mainfrom
feat/remove-sentry-android-okhttp
Jun 21, 2024
Merged

Auto install and instrument sentry-okhttp instead of sentry-android-okhttp on v7+#724
stefanosiano merged 6 commits into
mainfrom
feat/remove-sentry-android-okhttp

Conversation

@stefanosiano

Copy link
Copy Markdown
Contributor

📜 Description

Added auto installation of sentry-okhttp only (without sentry-android-okhttp) when using sentry 7+
Auto instrumented sentry-okhttp directly instead of sentry-android-okhttp when using sentry 7+
When using older version, nothing changed

💡 Motivation and Context

Closes second step of #601
We want to remove the sentry-android-okhttp artifact and rely solely on sentry-okhttp

💚 How did you test it?

Unit tests

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

add sentry-okhttp module to autoInstall if Sentry v7+
changed OkHttp instrumentation to use sentry-okhttp instead of sentry-android-okhttp if Sentry v7+
fixed formatting
@github-actions

github-actions Bot commented Jun 20, 2024

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against c0af5ec

@stefanosiano
stefanosiano marked this pull request as ready for review June 20, 2024 15:29

@markushi markushi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice one!

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.

2 participants