You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jonathan Naguin (JIRA)" <ji...@apache.org> on 2013/09/12 17:36:53 UTC

[jira] [Created] (CB-4798) Built in geolocation breaks the continuous background execution

Jonathan Naguin created CB-4798:
-----------------------------------

             Summary: Built in geolocation breaks the continuous background execution
                 Key: CB-4798
                 URL: https://issues.apache.org/jira/browse/CB-4798
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 3.0.0
            Reporter: Jonathan Naguin
            Assignee: Jesse MacFadyen


The current Geolocation implementation of Cordova is using the built-in on Internet Explorer 10.

This implementation breaks the possibility of run the application on background.

After running a simple code as:

{code:javascript} 
navigator.geolocation.getCurrentPosition(gps.onSuccess, gps.onError, {
     enableHighAccuracy: true,
     timeout: 3000
});
{code} 

And pushing the Home button, the app is deactivated instead of receiving the RunningInBackground event (reason: ApplicationAction).

I tried with a C# native implentation of Geolocation and solves the problem.

Related with: https://issues.apache.org/jira/browse/CB-4692


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira