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

android.location.Geocoder getFromLocation(double, double, int) was deprecated in API level 33 #109

Open
hongeSunCoder opened this issue Sep 29, 2022 · 2 comments
Labels
P2 Important issues not at the top of the work list. platform: android Issue is related to the Android platform.

Comments

@hongeSunCoder
Copy link

No description provided.

@mvanbeusekom
Copy link
Member

Providing some additional context:

The current version of the geocoding_android package makes use of the List<Address> getFromLocation(double, double, int) method on the following lines:

As per Androids documentation this method has been deprecated in Android SDK 33, and should be replaced by void getFromLocation(double, double, int, Geocoder.GeocodeListener).

Basically this means the method moved from a synchronous to an asynchronous signature, which requires a bigger update. We will address this in a larger overhaul, in the meantime it is save to ignore this warning as the deprecated method is still available.

@hansajith1998

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Important issues not at the top of the work list. platform: android Issue is related to the Android platform.
Projects
None yet
Development

No branches or pull requests

3 participants