Storing Current Device Location Issue

I watched the video Setup The Splash Screen and Grab Location ( (about 3:48 in the video) to get guidance on the splash home screen and wanted to also capture the users device location and store it upon login so I don’t have to keep hitting the API for current location in other areas of the app.

However, when I follow the same steps in the video I’m getting the message “Action cannot be completed.” I tried opening a new browser, on my mobile phone through previewer, opening in private mode, an existing user, a new user and I can’t see to get it to store. I can confirm i’m getting the location request popup in the browser and on my phone and click allow. Any suggestions?

current device location

There must have been a little bug. I ended up creating a new location field and used that in the logic and it worked.

1 Like