commit | d05ce7c0517d9df147895216a60c2697645cd951 | [log] [tgz] |
---|---|---|
author | Ruslan Bikkinin <v-rubikk@microsoft.com> | Mon Sep 03 11:27:11 2018 +0300 |
committer | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Mon Sep 03 10:27:11 2018 +0200 |
tree | 4811989ad2a1b0f0a4c953adbdb02f60342e4d0a | |
parent | 1667227ce3706cc0a27c065a300bce083c3799ee [diff] |
CB-14191 (android) Fix bug with module requiring (#10)
diff --git a/src/util.js b/src/util.js index 57cdef2..fdb92fa 100644 --- a/src/util.js +++ b/src/util.js
@@ -78,7 +78,7 @@ } try { - var Api = require(path.join(cordovaProjectRoot, 'platforms', platformName, 'cordova/api')); + var Api = require(path.join(cordovaProjectRoot, 'platforms', platformName, 'cordova/Api')); return new Api().locations.www; } catch (e) { // Fallback on hardcoded paths if platform api not found