You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Bavari (JIRA)" <ji...@apache.org> on 2014/04/08 22:02:15 UTC

[jira] [Commented] (CB-6401) org.apache.geolocation plugin fails silently

    [ https://issues.apache.org/jira/browse/CB-6401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963363#comment-13963363 ] 

Josh Bavari commented on CB-6401:
---------------------------------

Riku, what other plugins are you using?

Would you mind showing those as well?

> 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.2#6252)