googlecodelabs / background-location-updates-android-o

Sample for background location changes in Android "O"
Other
81 stars 57 forks source link

FusedLocation Api is Deprecated #10

Open Mayank-Bhatnagar opened 5 years ago

Mayank-Bhatnagar commented 5 years ago

Hi Team,

First of all I would like to appreciate the team efforts been made for developing this code lab.

After reading the Android Official Documentation what I found is the codelab is using FusedLocationApi to get location updates which is now deprecated and been replaced by FusedLocationProviderClient. I have a sample ready using the new API's supporting the version from 4.x to 9.x.

Well I'll appreciate if the new API changes can be replicated in this codelab, so it'll be really good for the ones exploring out Location Api to be updated. Having said that if you suggest I can quickly fork out the branch and make the necessary changes.

Thanks

Mayank-Bhatnagar commented 5 years ago

Hi,

I have made the changes for replacing the deprecated FusedLocationApi with FusedLocationProviderClient to get location updates. I have already raised a PR with the above mentioned changes. Kindly review it once and in case if you find anything that needs to be addressed kindly leave a comment on it. Will then make the changes.

Thanks, Mayank