Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Expose Geocoder.isPresent method on Android #194

Closed
2 of 3 tasks
lukehutch opened this issue Jan 30, 2024 · 1 comment
Closed
2 of 3 tasks

[Feature request]: Expose Geocoder.isPresent method on Android #194

lukehutch opened this issue Jan 30, 2024 · 1 comment
Assignees
Labels
platform: android Issue is related to the Android platform.

Comments

@lukehutch
Copy link

Is there already an issue requesting this feature?

Please select affected platform(s)

  • Android
  • iOS

Use case

The Android Geocoder class may or may not have a working backend. From the docs:

The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform. Use the isPresent() method to determine whether a Geocoder implementation exists.

I assume that in particular, any Google experience device (or Android builds that include Google Play Services) has a Geocoder backend based on the Google Maps API, whereas Android builds that do not include Google Play Services do not have this backend (but this is just a guess).

Proposal

Can you please expose the Geocoder.isPresent() method in the Dart API?

Specific requirements or considerations

N/A

Additional information or context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: android Issue is related to the Android platform.
Projects
None yet
Development

No branches or pull requests

3 participants