You need to sign in to do that
Don't have an account?
Angello Camacho Drago
Geolocation has been disabled in this document by feature policy Salesforce1
I have a Visualforce page enabled for Lightning, which has one button that gets the geolocation in coordinates and shows the location in a Google map embedded in the page.
This was working until last Friday, but now I get this error:
Geolocation has been disabled in this document by feature policy
When I call the method navigator.geolocation.getCurrentPosition in the browser, it worked fine. I also checked the permissions in the mobile.
Is this feature no longer supported? If not, is there any workaround?
This was working until last Friday, but now I get this error:
Geolocation has been disabled in this document by feature policy
When I call the method navigator.geolocation.getCurrentPosition in the browser, it worked fine. I also checked the permissions in the mobile.
Is this feature no longer supported? If not, is there any workaround?
May I know if you're still having issues? This looks related to the Known Issue below which was supposedly recently fixed:
- https://success.salesforce.com/issues_view?title=geolocation-and-camera-access-from-visualforce-no-longer-works-after-updating-chrome-to-v64&Id=a1p3A0000018Bjo
Please let us know if this helps.Kindly mark this as solved if it's resolved.
Thanks,
Nagendra