Skip to content

fix android build issue#135

Open
ahmedfayed29 wants to merge 6 commits intomatanshukry:masterfrom
ahmedfayed29:android_build_issue
Open

fix android build issue#135
ahmedfayed29 wants to merge 6 commits intomatanshukry:masterfrom
ahmedfayed29:android_build_issue

Conversation

@ahmedfayed29
Copy link
Copy Markdown

issue in build for android as for using useNewApi
and also for using old dependancies

@lecaro
Copy link
Copy Markdown

lecaro commented Jan 7, 2026

If this solution is correct, could you please approve this PR?

@ahmedfayed29
Copy link
Copy Markdown
Author

yes this is correct solution
need to be approved by @matanshukry

@stact
Copy link
Copy Markdown

stact commented Jan 11, 2026

yes this is correct solution need to be approved by @matanshukry

Because no versions of flutter_google_places_sdk_ios match >0.2.2 <0.3.0 and
  flutter_google_places_sdk_ios 0.2.2 depends on
  flutter_google_places_sdk_platform_interface ^0.3.4,
  flutter_google_places_sdk_ios ^0.2.2 requires
  flutter_google_places_sdk_platform_interface ^0.3.4.
And because every version of flutter_google_places_sdk from git depends on
  flutter_google_places_sdk_ios ^0.2.2, every version of
  flutter_google_places_sdk from git requires
  flutter_google_places_sdk_platform_interface ^0.3.4.
So, because x depends on flutter_google_places_sdk from git
  which depends on flutter_google_places_sdk_platform_interface ^0.4.0, version
  solving failed.

@lecaro
Copy link
Copy Markdown

lecaro commented Jan 12, 2026

I got lost here... is it a solution or not?

yes this is correct solution need to be approved by @matanshukry

Because no versions of flutter_google_places_sdk_ios match >0.2.2 <0.3.0 and
  flutter_google_places_sdk_ios 0.2.2 depends on
  flutter_google_places_sdk_platform_interface ^0.3.4,
  flutter_google_places_sdk_ios ^0.2.2 requires
  flutter_google_places_sdk_platform_interface ^0.3.4.
And because every version of flutter_google_places_sdk from git depends on
  flutter_google_places_sdk_ios ^0.2.2, every version of
  flutter_google_places_sdk from git requires
  flutter_google_places_sdk_platform_interface ^0.3.4.
So, because x depends on flutter_google_places_sdk from git
  which depends on flutter_google_places_sdk_platform_interface ^0.4.0, version
  solving failed.

@ahmedfayed29
Copy link
Copy Markdown
Author

add this in your pubspec ymail in ypur project
dependency_overrides:
flutter_google_places_sdk_platform_interface: ^0.4.0

@MirzaCickusic
Copy link
Copy Markdown

@matanshukry pls review this one

@KamiloChinome
Copy link
Copy Markdown

Hi @ahmedfayed29, @lecaro and @matanshukry,

I’ve been following this PR and the discussions in #105 and #128. It's clear that there is community consensus on these fixes, but we are all stuck waiting for an approval.

@matanshukry, we understand you might be busy, but with the Google Places SDK CocoaPods deprecation (Q2 2026) and the mandatory move to the Places API (New), this package is at a critical crossroads.

I am willing to contribute the full iOS migration to Swift/SPM using Pigeon, which would solve the pending issues with locale and the new API requirements. However, I’m hesitant to start such a massive refactor if PRs like this one (#135) are not being reviewed or merged.

Can we get an update on the project's status? If you need help, I’m sure many of us here would be happy to step up as co-maintainers to keep this plugin alive and compliant with Google's 2026 standards. Otherwise, we might be forced to consolidate these efforts into a community fork to avoid project stagnation."

@KamiloChinome
Copy link
Copy Markdown

KamiloChinome commented Feb 23, 2026

@ahmedfayed29 , @lecaro

Since this repository appears to be inactive and the Google Places API (Legacy) deprecation is approaching, I’ve created a maintained fork to merge pending PRs and add critical updates needed for modern Flutter projects.

My primary goal is to keep the community unblocked. If the original author returns, I would be more than happy to merge all these improvements back into this repository. In the meantime, I have published the updated package as google_places_sdk_plus:

🚀 Key Improvements in this Fork:

  • High Compatibility: The migration is designed to be seamless. Although it includes many new features, the core API remains the same, so you won't struggle with breaking changes when switching packages.
  • Places API (New) Support: Expanded models and updated native Android/iOS implementations for full parity with the latest Google SDKs.
  • iOS SPM Migration: Added native Swift Package Manager (SPM) support to future-proof against the upcoming CocoaPods deprecation.
  • Missing Features Exposed: Fully implemented and exposed searchByText and searchNearby across Android, iOS, Web, and Desktop platforms.
  • Critical Bug Fixes: Fixed the Android build issue (useNewApi), resolved Web parsing bugs (empty arrays/null reviews), and updated all platform implementations.

I will be actively maintaining this version and I'm happy to help with any issues or PRs. Feel free to give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants