cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasser Elsayed (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10055) Cordova implementation for Geolocation plugin has wrong type for watchId
Date Tue, 24 Nov 2015 19:25:11 GMT

    [ https://issues.apache.org/jira/browse/CB-10055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025148#comment-15025148
] 

Yasser Elsayed commented on CB-10055:
-------------------------------------

Like the issue says, please take a look at: http://dev.w3.org/geo/api/spec-source.html#geolocation.
The specs say the types should be numbers not strings.

> Cordova implementation for Geolocation plugin has wrong type for watchId
> ------------------------------------------------------------------------
>
>                 Key: CB-10055
>                 URL: https://issues.apache.org/jira/browse/CB-10055
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaCommon, CordovaLib
>            Reporter: Yasser Elsayed
>
> See the definition of the Cordova interface of the Geolocation plugin here:
> http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#geolocation.watchPosition
> The watchId variables in watchPosition() and clearWatch() are declared as numbers, but
that does not match the HTML5 specs for the GeoLocation on w3, which state it's a string.
See: http://dev.w3.org/geo/api/spec-source.html#geolocation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message