diff --git a/entry/src/main/ets/pages/WebPage.ets b/entry/src/main/ets/pages/WebPage.ets index 29cbf393dccf312434e64fc6448effc0a5ffd651..fe0baaaf3348a4868e18cd7ea5c382621521733b 100644 --- a/entry/src/main/ets/pages/WebPage.ets +++ b/entry/src/main/ets/pages/WebPage.ets @@ -30,6 +30,7 @@ class Data { function webBuilder(data: Data) { Column() { Web({ src: data.url, controller: data.controller }) + .geolocationAccess(false) .onControllerAttached(() => { try { // Set the whitelist to allow access to only the trust web page.