From 50800ee870be4b52b7d4e978f67d76f6be768444 Mon Sep 17 00:00:00 2001 From: ferdicus <26439946+ferdicus@users.noreply.github.com> Date: Fri, 9 Jul 2021 14:44:30 +0200 Subject: [PATCH] build(android): add additional okhttp dependency --- CHANGELOG.md | 3 ++- android/rctmgl/build.gradle | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bb2d90da..ca91f7675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ Please add unreleased changes in the following style: PR Title ([#123](link to my pr)) ``` -Fix TypeScript type for Callout's textStyle prop ([#1450](https://github.com/react-native-mapbox-gl/maps/pull/1450)) +Fix TypeScript type for Callout's textStyle prop ([#1450](https://github.com/react-native-mapbox-gl/maps/pull/1450)) +Fix crash with missing okhttp dependency ([#1452](https://github.com/react-native-mapbox-gl/maps/pull/1452)) --- diff --git a/android/rctmgl/build.gradle b/android/rctmgl/build.gradle index 917b78c86..79bc3fc1a 100644 --- a/android/rctmgl/build.gradle +++ b/android/rctmgl/build.gradle @@ -63,6 +63,7 @@ dependencies { implementation "com.android.support:support-annotations:${safeExtGet('supportLibVersion', '28.0.0')}" implementation "com.android.support:appcompat-v7:${safeExtGet('supportLibVersion', '28.0.0')}" implementation "com.squareup.okhttp3:okhttp:${safeExtGet('okhttpVersion', '4.9.0')}" + implementation "com.squareup.okhttp3:okhttp-urlconnection:${safeExtGet('okhttpVersion', '4.9.0')}" // Mapbox plugins