I'm making a mobile application with Google Maps and seem to have an error with my API key. I have my API enabled and the appropriate API key, but I'm getting this error:
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address XX.XXX.XXX.XX, with empty referer"
I have read on this site that I need a 'Server Key' - but I can't seem to generate one. So I figure the issue is where/how I've referenced the key.
I have it in my Manifest, in the google_maps_api.xml, as well as in the activity I'm using it in.
If, and this is a tentative if as I've scoured through the Google console but if, I need a server key can someone please guide me how to do so? It seems to have been replaced/removed by Google and I'm at a loss.
Or if I'm referring to the key incorrectly either programmatically or logically could you please highlight my daft error?
Cheers in advance folks!