Google map not working

It works like a charm for us

Thank you guys for the quick response and fix

Hi all again

Our users have reported that they have to remove the app from the device and download again from Google Play in order to Google Maps gets the API key.

We have also checked that this behavior is happening overwriting the apk in our development devices

We are build with Version 2018.3387 (2018.9.28) on MacOS Mojave

Does this make any sense to you?

Kind regards

Hey. It should be fixed in next daily build (est 2018.3390)

Please, give it a try

Hi Rob,

I test with version 2018.3391 . Google Maps  problem is not solved. Can you check again?

Hey guys, 

Just want to make sure that the API key being used are from a project with enabled billing. An API key from a project with no billing account will surely return a degraded/darkened map.

ok. I will check it. Thanks.

Is settings the key name as “mapsKey” is mandatory ? or can it be any other name than that?

It has to be “mapsKey”, we won’t look for anything else.

Rob

After installing the latest build (Corona 2018.3407) and making some changes on Google API now it is working fine…-- Thanks, guys
 

I’ve done all that and have daily build 3433. I’m still seeing the “Development Purposes Only” message.

In my config.lua, I have:

application = {

    license =

    {

        google =

        {

            mapsKey = “MyAPIKeyHere”,

        },

    },

I might have the wrong api key, though. We have a corporate account and have to go through Google Cloud Platform, and there are a lot of choices, each with its own api key. The Corona documentation doesn’t specify which type of Google Maps API to get the api key for (or I’ve overlooked it). There are a lot of choices:

Maps Javascript API

Maps Embed API

Maps SDK for Android

Maps Static API

etc.

Can someone tell me which one to use? I’ve added the api key for the Maps Javascript API, but it’s still showing the error message.

Thanks in advance,

Dave

You can use Maps Javascript api if your purpose is to show a map

Yes, we’re just using the newMapView, and the Maps Javascript api key, but it’s still showing the development purposes only message. 

Okay, my mistake – as I mentioned, I’m using my company’s corporate cloud platform account, but apparently it’s not the right account, or something is messed up somewhere because it has no billing account connected to it. Doh! 

yes, You have to have a billing account