Closed ZacharyHandshoe closed 2 years ago
@ZacharyHandshoe managed to reproduce. Looks like google places and firebase are using different versions of similiar libraries.
Google places now has an upgraded version that doesn't use that library which would solve the issue.
I will upgrade the android library in the next couple of days.
Note: if you're in a hurry you should be able to override the google places version manually in your project. Specifically this dependency:
implementation "com.google.android.libraries.places:places:$google_places_version"
The existing problematic version is 2.3.0 The version you'll want to override it with is 2.5.0
Released new versions that should solve the issue: https://pub.dev/packages/flutter_google_places_sdk/versions/0.3.1+1
@ZacharyHandshoe Please try them and let me know if it solves your issue.
Released new versions that should solve the issue: https://pub.dev/packages/flutter_google_places_sdk/versions/0.3.1+1
@ZacharyHandshoe Please try them and let me know if it solves your issue.
This solved it fully, you're amazing!
I've been looking for something exactly like this package. I've been using Firebase and Firestore authentication, and am looking now for an auto-suggesting address box. The issue is on build I've gotten the following error: Pubspec.yaml
Then this is what errors out on build:
I can get past this error temporarily by adding the following to my build.gradle file:
configurations { implementation.exclude module:'protobuf-lite' }
When I use the textbox I created, the following error throws after around 15 seconds, crashing the app:
I'm pretty sure it is due to some versioning issues.