Android Google Maps Direction Api - Api key restriction not working -
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
Post a Comment