Embedded App in browser not able to use Location Services

Hi everyone,

I have an app embedded on my website, everything works fine, but the location services.
I get this alert:

Unable to get current location. Please enable Location service on your device and then restart the app.

I dont understand why.
I have appsheet enabled to use location services in my browser.

Actually, If I run the app directly on a browser (not embedded), with the image button in the editor, location services do work just fine.

Its just when its embedded that it doesn´t.

Any ideas on what could be the issue here?

Thanks!!

2 Likes

Thanks Steve, I did as the article suggests before, and it still wont work.

Not sure why its not working in Chrome, I just checked and AppSheet.com as well as the domain where the app is embedded they both have location permits enabled.
image

Whats strange is that Safari allows it, so this might be something with Chrome.
Will update if I find out what it is.

1 Like

It sounds like a limitation of capability of I frame.

Even if you set to allow the browser to activate the position location capturing feasibility, it should be allowed and passed to the site where you are hosting the appsheet as embeded, meaning the permission is only given to the site you are on (somethinglike@noappsheet.com), but it is not extended to domain@appsheet.com

2 Likes