You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2015/10/28 18:00:29 UTC
[jira] [Resolved] (CB-6401) org.apache.geolocation plugin fails
silently
[ https://issues.apache.org/jira/browse/CB-6401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-6401.
---------------------------------
Resolution: Fixed
Android now uses the browser implementation
> org.apache.geolocation plugin fails silently
> --------------------------------------------
>
> Key: CB-6401
> URL: https://issues.apache.org/jira/browse/CB-6401
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Geolocation
> Affects Versions: 3.4.0
> Reporter: Riku Raisanen
>
> geolocation fails silently on Android 4.4.2. After hours of debugging, I finally got it to work with the code on the dev branch for the plugin works (uses browsers geolocation instead of native one).
> With the master branch code, for whatever reason the res/xml/config.xml doesn't add the feature line:
> <feature name="Geolocation"><param name="android-package" value="org.apache.cordova.geolocation.GeoBroker" /></feature>
> and thus the geolocation silently fails. If I manually added the file and compiled an APK off of that, then geolocation worked again.
> Geolocation is a very central feature of phone apps, I can't understand how an issue like this would go unnoticed/unfixed for so long.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org