Changing the Current Geographic Position in Bubble for debugging

Follow me:

A challenge when you’re testing and debugging Bubble applications that rely on the Current Geographic Position is that unless you have a group of people testing, you ever only get to see the app actually fetch the location you’re currently at.

Moving around to re-fetch the current location can be good for getting some of that much needed exercise we all lack after two years of working from home – but let’s face it, it’s not a very efficient way to do testing.

Luckily, we’re working with data here, and it’s usually the case that we can manipulate it to find an easier way around it. So if you don’t feel like putting on your Nike’s, do the following instead:

Load the page and open up Chrome DevTools

Open up the Bubble page that you want to test in Chrome, and then press Command+Option+I (Mac) or Control+Shift+I (Windows) to open up Chrome Devtools.

Open the Chrome devtools Command Menu

The Chrome Command Menu

If you’re not used to working in devtools, you’re probably unfamiliar with this one: many of its beast features are hidden in the command menu. You can access this by clicking Command+Shift+P (Mac) or Control+Shift+P (Windows).

Search for and open the Sensors tab

How to open the Chrome sensors panel in devtools.

The Sensors tab let’s us access the information that’s being sent by the sensors on your device. The current geographic location is one of those. So type in the search word Sensor and click the one that says Show sensors.

Change the Current Geographic Position

Chaning the current geographic position in Chrome

In the Location section you’re free to select what location your browser is reporting to the page. Keep in mind that you need to reload for the page to notice the change. The Other… option let’s you add coordinates of your own choice if you want to try a specific location that’s not on the list.

Let us know in the comments if anything's unclear in the guide!

Support the site and keep it free ❤️

I love tech startups and the Bubble community, and have made it my mission to try and create content that’s valuable, easy to follow and entertaining.

Creating content next to full-time consulting work is time-consuming; if you’d like to support it and keep the site free for everyone, please consider buying me a coffee or becoming a supporting member.

Buy Me A Coffee

Follow me:
Book cover Amlie Solutions books

Learn Bubble the right way

Our professional Bubble books teach you how to plan, structure and build your applications right from the start.

5-star review stars

More Posts

Leave A Reply

Your email address will not be published.

*

Email icon

Useful articles and tips

Join the mailing list to get guides, opinions and articles on Bubble, no-code, automation and the tech industry.

We don't share your email address with anyone, and you can unsubscribe at any time.

You have successfully subscribed