Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4798

Built in geolocation breaks the continuous background execution

    XMLWordPrintableJSON

Details

    Description

      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:

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

      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

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              jonathannaguin Jonathan Naguin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: