I am using Geocoder to get address from latlng. But as my requests will be more such as 300 latlng for a minute. Google was returning "Service Not Available Exception".
I was suggested to use Geocoding Api "https://maps.googleapis.com/maps/api/geocode/json?latlng=&language=&key=API_KEY".
I have used this but I was getting "This IP, site or mobile application is not authorized to use this API key".
Api key is from Android App with package and SHA1 restrictions. I have searched all documentation and got to know that Android Api key with restrictions will not work for Webservice Api i.e, Geocoding APi
Later I have tried an approach replacing my API key with SERVER KEY. Everything is working fine. But here comes the issue.
SERVER KEY can be restricted only from websites or webservers or with ip address. But I am using this in Andorid App. So my key is not secured and can be misused.
I have checked all google platform site and all FAQ's https://developers.google.com/maps/api-key-best-practices#independent_apikey .I have not got any answer and got to know that Webservice Api's are only for Websites.
I don't want to use it using webserver and need only from android app. I need to secure my SERVER KEY from android app. Or is there any way that Android APi key will work.
Struck with this issue from one week.
Any Help..Thanks in advance