I am running into an issue configuring my Google Geocode and Maps APIs. I have read in the Google’s documentation that
Before moving your mobile app, website, or web server to production, it is recommended that you secure your API key by adding a restriction …
So if I set up the restriction to be HTTP referrers, and configure the referrer to be my domain, Maps in my Bubble app show correctly, and addresses, when used in fields, are correctly autocompleted. However, if I try to capture the current user’s location as follows:
I get the following error:
Error hitting Google Geocode API: API keys with referer restrictions cannot be used with this API.
Of course that if I remove the Key’s restrictions then all works as expected.
Can anyone shine some light into what am I doing wrong? Any help is much appreciated.
Thanks!