Skip to content

Commit 2234d68

Browse files
authored
Use deprecated dependency until legacy renderer is removed (#11185)
There is a crash due to play services removing the dependency for the legacy map renderer. This adds the necessary work around for users running into the crash. Fixes: flutter/flutter#183087 ## Pre-Review Checklist
1 parent 309a35a commit 2234d68

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

packages/google_maps_flutter/google_maps_flutter_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.19.5
2+
3+
* Fixes a crash when using the legacy map renderer by adding the `org.apache.http.legacy` library.
4+
15
## 2.19.4
26

37
* Updates build files from Groovy to Kotlin.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="io.flutter.plugins.googlemaps">
3+
<application>
4+
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
5+
</application>
36
</manifest>

packages/google_maps_flutter/google_maps_flutter_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter_android
22
description: Android implementation of the google_maps_flutter plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
5-
version: 2.19.4
5+
version: 2.19.5
66

77
environment:
88
sdk: ^3.9.0

0 commit comments

Comments
 (0)