Skip to content

Support Google Places SDK Android 5.0.0 (Breaking changes Sept 2025) #129

@yelkamel

Description

@yelkamel

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

  1. Use flutter_google_places_sdk: ^0.4.2+1 in a Flutter app
  2. Call flutterGooglePlacesSdk.findAutocompletePredictions(query)
  3. Use AutocompletePrediction properties like placeId, primaryText, secondaryText
  4. Wait for Google's Android Places SDK 5.0.0 release in September 2025
  5. Plugin will break due to underlying native SDK changes

Expected Behavior

The plugin should be updated to:

  1. Support the new Android Places SDK 5.0.0 API structure
  2. Use the new equivalent methods and properties as recommended by Google
  3. Maintain backward compatibility where possible
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions