Get loaction permission error

Question:


Repl link:

code snippet

Welcome to the forums.

This means the browser can’t use the device’s location. This can be fixed by turning on “Location” in Settings, and changing the app’s permissions.

1 Like

From memory this may not work in an iframe, does it work if you open the webview in your browser?

Yeah it works in browser but it doesn’t work in replit app

1 Like

It works on browser but doesn’t work on replit app how can i give permission of location to replit app

Like Matt said,

I don’t think there’s a fix for this though.

2 Likes