Slow geolocation and spinner workflow order

As part of a native app I need to set a state (variable). The value of the state is the current location.

Setting the location takes a few precious seconds. Aside from the progress bar at the top, I’m adding a spinner to entertain the user until the info loads…straightforward spinner fare.

The spinner is SVG and weighs 5k. I also tried a gif. Same result.

In my workflow, I show the popup (housing the spinning gif) before the current location is set.

image

The popup isn’t shown before the state is set.

Any thoughts, Bubble geniuses?

Thanks!

This topic was automatically closed after 70 days. New replies are no longer allowed.