Apache Cordova
  1. Apache Cordova
  2. CB-359

Update geolocation plugin to adhere to W3C specification

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: CordovaJS
    • Labels:
      None

      Description

      Need to check that our geo implementations follow the W3C Geolocation Spec.

      Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

      First, add tests to mobile-spec and to cordova-js (done).

      Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

      After that is done, we need to test across all of the cordova platforms.

      Finally, once over the documentation.

        Issue Links

          Activity

          Filip Maj created issue -
          Filip Maj made changes -
          Field Original Value New Value
          Component/s Android [ 12316401 ]
          Component/s Bada [ 12316405 ]
          Component/s BlackBerry [ 12316402 ]
          Component/s CordovaJS [ 12317202 ]
          Component/s iOS [ 12316400 ]
          Component/s Qt [ 12317403 ]
          Component/s webOS [ 12317201 ]
          Component/s WP7 [ 12316404 ]
          Filip Maj made changes -
          Assignee Filip Maj [ filmaj ]
          Filip Maj made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Filip Maj made changes -
          Description Need to check that we are returning the right error codes and exhibiting correct behaviour as per the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          First, add tests to mobile-spec and to cordova-js.

          After that is done, we need to test across all of the cordova platforms.
          Component/s iOS [ 12316400 ]
          Component/s Android [ 12316401 ]
          Component/s BlackBerry [ 12316402 ]
          Component/s WP7 [ 12316404 ]
          Component/s Bada [ 12316405 ]
          Component/s webOS [ 12317201 ]
          Component/s Qt [ 12317403 ]
          Filip Maj made changes -
          Summary Add mobile spec tests for checking geolocation error return values Add mobile spec and cordova-js tests for Geolocation module
          Description Need to check that we are returning the right error codes and exhibiting correct behaviour as per the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          First, add tests to mobile-spec and to cordova-js.

          After that is done, we need to test across all of the cordova platforms.
          Need to check that our geo implementations follow the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

          First, add tests to mobile-spec and to cordova-js.

          Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

          After that is done, we need to test across all of the cordova platforms.
          Filip Maj made changes -
          Description Need to check that our geo implementations follow the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

          First, add tests to mobile-spec and to cordova-js.

          Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

          After that is done, we need to test across all of the cordova platforms.
          Need to check that our geo implementations follow the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

          First, add tests to mobile-spec and to cordova-js.

          Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

          After that is done, we need to test across all of the cordova platforms.

          Finally, once over the documentation.
          Filip Maj made changes -
          Fix Version/s 1.7.0 [ 12319549 ]
          Fix Version/s 1.6.0 [ 12319548 ]
          Filip Maj made changes -
          Component/s mobile-spec [ 12317700 ]
          Filip Maj made changes -
          Component/s Android [ 12316401 ]
          Component/s iOS [ 12316400 ]
          Component/s webOS [ 12317201 ]
          Component/s CordovaJS [ 12317202 ]
          Filip Maj made changes -
          Description Need to check that our geo implementations follow the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

          First, add tests to mobile-spec and to cordova-js.

          Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

          After that is done, we need to test across all of the cordova platforms.

          Finally, once over the documentation.
          Need to check that our geo implementations follow the [W3C Geolocation Spec|http://dev.w3.org/geo/api/spec-source.html#api_description].

          Looks like the old/stock implementation (unused impl. on Android and current one on iOS) are just plain wrong.

          First, add tests to mobile-spec and to cordova-js (done).

          Then, implement new requirements imposed on native from cordova-js in the various native platforms. iOS most important here as is the main platform that utilizes our implementation.

          After that is done, we need to test across all of the cordova platforms.

          Finally, once over the documentation.
          Component/s Bada [ 12316405 ]
          Component/s Docs [ 12316407 ]
          Component/s WP7 [ 12316404 ]
          Component/s iOS [ 12316400 ]
          Component/s Android [ 12316401 ]
          Filip Maj made changes -
          Summary Add mobile spec and cordova-js tests for Geolocation module Update geolocation plugin to adhere to W3C specification
          Shazron Abdullah made changes -
          Link This issue blocks CB-509 [ CB-509 ]
          Filip Maj made changes -
          Fix Version/s 1.8.0 [ 12319550 ]
          Fix Version/s 1.7.0 [ 12319549 ]
          Shazron Abdullah made changes -
          Link This issue blocks CB-509 [ CB-509 ]
          Shazron Abdullah made changes -
          Link This issue blocks CB-64 [ CB-64 ]
          Shazron Abdullah made changes -
          Link This issue blocks CB-55 [ CB-55 ]
          Shazron Abdullah made changes -
          Link This issue blocks CB-95 [ CB-95 ]
          Filip Maj made changes -
          Component/s CordovaJS [ 12317202 ]
          Component/s WP7 [ 12316404 ]
          Component/s Bada [ 12316405 ]
          Component/s Docs [ 12316407 ]
          Component/s webOS [ 12317201 ]
          Filip Maj made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue blocks CB-64 [ CB-64 ]
          Gavin made changes -
          Link This issue is depended upon by CB-64 [ CB-64 ]
          Gavin made changes -
          Link This issue blocks CB-55 [ CB-55 ]
          Gavin made changes -
          Link This issue is depended upon by CB-55 [ CB-55 ]
          Gavin made changes -
          Link This issue blocks CB-95 [ CB-95 ]
          Gavin made changes -
          Link This issue is depended upon by CB-95 [ CB-95 ]

            People

            • Assignee:
              Filip Maj
              Reporter:
              Filip Maj
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development