Having a problem with the “location sensor” or “get current location” block actually working onMapReady. I have a map on my first screen that I want to show the current location of the user. Live testing in the Thunkable app is not working.
First off, what is the difference between the two? I have seen some posts to use the location sensor which I currently have in place but doesn’t work. I started with the "Location > get current location block but that didn’t yield anything either.
Here is my current state which I followed from a previous post and it does not update the location on the map? What am I doing wrong?
The Map and location blocks are not supported on the web, either through web preview or when you are building your app in the Design Editor. Please connect to the Thunkable Live app or download your app to see them active.
Hi @matt_conroy - yes, that is how I am testing it, via the Thunkable Live app. This weekend I was out of town testing my app and every time I opened it, the location marker on the map never reflected my new location…is always on my home location.
If it is not, I would ensure that you have location settings correct for the Thunkable Live app and that, if using a downloaded app, you have the Google API key entered correctly.
Well, I tested that MVP but couldn’t get it to change off the San Fran location to my Charlotte, NC location either on Map Ready or pressing the button.
I checked the Thunkable app settings on my phone and have Location set to Always with Background refresh ON.
Here is a screen shot of my Google Maps API settings which has most of the APIs/SDKs turned on. The single key that I get for Show Key i have in the 3 Google Map Settings fields in the Thunkable App Settings area.
So I have tried everything you have suggested and still no joy. Here is my current logic. I put in a label_HomeErrorInfo to show a value if success or failure to see if something is actually happening but that doesn’t even display anything.
This seems odd to me. I put my Google API key back into the settings and no change.
Hi @ioannis ! That App settings screen has more options than mine. Is that a difference between the Free and Builder/Advanced plans? I do not see Photos, BT, Microphone, Speech Reco, Notifications or Allow Tracking…