From df7bf773f42c5103a97991a9f55c2d55bf00e3df Mon Sep 17 00:00:00 2001 From: Maher <34738373+maherjaafar@users.noreply.github.com> Date: Mon, 18 Oct 2021 14:51:23 +0100 Subject: [PATCH 1/2] Upgrade provider --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 29c30924..8cd182db 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: google_maps_flutter: ^2.0.1 geolocator: ^7.0.1 permission_handler: ^6.0.1+1 - provider: ^5.0.0 + provider: ^6.0.1 google_maps_webservice: ^0.0.20-nullsafety.2 google_api_headers: ^1.0.0 tuple: ^2.0.0-nullsafety.0 From ee0f87a686a00ed29bd1d89c8285571aaef6309a Mon Sep 17 00:00:00 2001 From: Maher <34738373+maherjaafar@users.noreply.github.com> Date: Mon, 18 Oct 2021 14:58:20 +0100 Subject: [PATCH 2/2] Upgrade all the dependencies Increase compileSdkVersion and targetSdkVersion to 31 Increase minSdkVersion to 21 --- example/android/app/build.gradle | 6 +++--- pubspec.yaml | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index b45e5200..2c492641 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 28 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,8 +39,8 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.google_map_place_picker.example" - minSdkVersion 16 - targetSdkVersion 28 + minSdkVersion 21 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/pubspec.yaml b/pubspec.yaml index 8cd182db..27990bc6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -10,14 +10,14 @@ dependencies: flutter: sdk: flutter - google_maps_flutter: ^2.0.1 - geolocator: ^7.0.1 - permission_handler: ^6.0.1+1 + google_maps_flutter: ^2.0.11 + geolocator: ^7.7.0 + permission_handler: ^8.2.5 provider: ^6.0.1 - google_maps_webservice: ^0.0.20-nullsafety.2 - google_api_headers: ^1.0.0 - tuple: ^2.0.0-nullsafety.0 - http: ^0.13.0 + google_maps_webservice: ^0.0.20-nullsafety.5 + google_api_headers: ^1.1.1 + tuple: ^2.0.0 + http: ^0.13.4 dev_dependencies: flutter_test: