Android Google Maps Direction Api - Api key restriction not working -


enter image description here

when setting key restriction none google maps direction api, works fine.

but when set key restriction android apps , provide proper package name & sha-1 certificate - says request declined google api response.

any known solution this?

directions api web service. restrictions work api keys web services ip restrictions.

it supposed web services requests executed on backend servers. if need restrict api key, workaround create intermediate server. android application should send requests intermediate server, intermediate server should send requests google , pass responses app. in case can restrict api key ip address of intermediate server.

have @ document:

https://developers.google.com/maps/faq#using-google-maps-apis

hope clarifies doubt.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -