blackberry-webworks/BB10-WebWorks-Framework — pull request #229 by bryanhiggins (2012-10-25 20:54:15+00:00)
Title: remove hack to manually check config for geolocation permission

https://github.com/blackberry/BB10-WebWorks-Framework/issues/247

We should be suppressing the platform permissions prompt, but not manually checking the config file.

I've tested this and the actual geolocation request fails with "Location Services Offline" if the permission is not defined in config.xml. It returns coordinates when the permission is set.

Note: I still had to use the old "read_location" property rather than "access_location_services", but there should be no further changes required on our end once the platform is updated.