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 29c30924..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 - provider: ^5.0.0 - 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_flutter: ^2.0.11 + geolocator: ^7.7.0 + permission_handler: ^8.2.5 + provider: ^6.0.1 + 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: