Skip to content

Commit 3ade975

Browse files
authored
chore(android): Mention okhttp required min version (#4706)
1 parent 6ee4508 commit 3ade975

File tree

1 file changed

+6
-0
lines changed
  • src/platforms/android/configuration/integrations

1 file changed

+6
-0
lines changed

src/platforms/android/configuration/integrations/okhttp.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ The `sentry-android-okhttp` library provides [OkHttp](https://github.com/square/
1313

1414
On this page, we get you up and running with Sentry's OkHttp Integration, so that it will automatically add a breadcrumb and start a span out of the active span bound to the scope for each HTTP Request.
1515

16+
<Note>
17+
18+
The minimum supported version of `okhttp` is `3.13.0` due to its [incompatibilities](https://medium.com/square-corner-blog/okhttp-3-13-requires-android-5-818bb78d07ce) with Android versions below 5.0. However, you are free to adapt our [SentryOkHttpInterceptor](https://github.com/getsentry/sentry-java/blob/main/sentry-android-okhttp/src/main/java/io/sentry/android/okhttp/SentryOkHttpInterceptor.kt) if you're using an older `okhttp` version.
19+
20+
</Note>
21+
1622
## Install
1723

1824
Sentry captures data by adding an `OkHttp Interceptor`. To add the OkHttp integration, initialize the [Android SDK](/platforms/android/), then add the `sentry-android-okhttp` dependency. Using Gradle:

0 commit comments

Comments
 (0)