I am trying to use the Google Places API in my application. To do this, I need to generate a server key.
I used my device IP address to create the server key. My application only works on my device. If I use some other device, I get an error message:
{
"error_message" : "This IP, site or mobile application is not authorized to use this API key.",
"predictions" : [],
"status" : "REQUEST_DENIED"
}
Could you help me in this regard. How to generate a server key that works for all devices.
source
share