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

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

Riku Raisanen created CB-6401:
---------------------------------

             Summary: 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, 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)