-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Google has announced that starting September 2025, Places SDK for Android version 5.0.0 will introduce breaking changes that deprecate several classes, methods, and enums currently used by this Flutter plugin. Apps using this
plugin will be affected when upgrading to the new Android SDK version.
According to Google's deprecation notice, the following will be removed in Android Places SDK 5.0.0:
- findAutocompletePredictions() method signature changes
- AutocompletePrediction class field changes
- Various Place.Type and TypeFilter enums
- Multiple setter/getter methods in Place.Builder and Place classes
Steps To Reproduce
- Use flutter_google_places_sdk: ^0.4.2+1 in a Flutter app
- Call flutterGooglePlacesSdk.findAutocompletePredictions(query)
- Use AutocompletePrediction properties like placeId, primaryText, secondaryText
- Wait for Google's Android Places SDK 5.0.0 release in September 2025
- Plugin will break due to underlying native SDK changes
Expected Behavior
The plugin should be updated to:
- Support the new Android Places SDK 5.0.0 API structure
- Use the new equivalent methods and properties as recommended by Google
- Maintain backward compatibility where possible
- Provide migration guidance for breaking changes
Specifically, the plugin should adapt to use:
- New string-based place types instead of enums
- Updated method signatures for autocomplete predictions
- New field names as per Google's migration guide
Screenshots
N/A - This is a compatibility issue, not a visual bug.
Additional Context
Urgency: High - Apps will break when Android Places SDK 5.0.0 is released in September 2025.
Google's Migration Requirements:
- Replace deprecated enums with equivalent string constants
- Update method calls to use new signatures
- Adapt to new field names in response objects
Affected Apps: Any Flutter app using this plugin for Places autocomplete functionality will be impacted.
Timeline: Plugin needs to be updated and released before September 2025 to give developers time to migrate their apps.
Reference: Google's official deprecation notice and migration guide for Places SDK for Android.
Would it be possible to get an estimated timeline for when this plugin will be updated to support Android Places SDK 5.0.0? Many developers will need sufficient time to test and deploy updated versions of their apps.