mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-30 09:08:40 +08:00
Improved Geolocation API
This commit is contained in:
@@ -140,7 +140,7 @@ function setupXHR() {
|
||||
|
||||
function setupGeolocation() {
|
||||
GLOBAL.navigator = GLOBAL.navigator || {};
|
||||
GLOBAL.navigator.geolocation = require('GeoLocation');
|
||||
GLOBAL.navigator.geolocation = require('Geolocation');
|
||||
}
|
||||
|
||||
setupDocumentShim();
|
||||
|
||||
Reference in New Issue
Block a user