cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riku Raisanen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-6401) org.apache.geolocation plugin fails silently
Date Fri, 04 Apr 2014 06:36:17 GMT
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)

Mime
View raw message