How to build a live location map on bubble?

Hi, can anyone assist if we’re able to build similar map feature like the image below on bubble?

I’m hoping that:

  1. Someone will chime in if I’m wrong about my suggestion, and
  2. I’m not helping in building a stalking app that will be used for evil.

But…

You would likely have to have your users have your Bubble app running all the time.

In your app, you can have something trigger every few moments (minutes, hours, etc.) that would update the User’s location with the the current location.

Your map would then be comprised of a list of your users, with their User row’s location used in the map.

There are likely a few problems with this. Of course, the biggest is that the user needs the app running all the time on their device. Another is that I know that if a page isn’t active (as in, the user has the page open on their device, not just the browser) the page’s every-few-moment’s trigger doesn’t get triggered.

Ok let me provide context: we’re building something similar to Foursquare (I hope everyone remembers this OG app)

If this is a on a mobile device and could be in someone’s pocket, you will need an app wrapper that supports background geolocation.

So far the only one I have found is Build Natively

Just regular viewing in the phone web browser won’t cut it because it will pause while the phone is locked.

1 Like