Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4839] Android: KitchenSink: ReverseGeo test does not alert on failure, does not populate with results

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-05-01T20:55:29.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sn/a
ComponentsAndroid
Labelskitchensink
ReporterEric Merriman
AssigneeIngo Muschenetz
Created2011-07-29T14:39:13.000+0000
Updated2017-05-02T21:38:35.000+0000

Description

Description: In KitchenSink, on Phone>Geolocation, there is a "Reverse Geolocation" field. We had experienced some failures from the 3rd party providing this data, and during the investigation noted that while iOS devices would return "Reverse Geo Error" alerts at this time, the Android would not. I added some traces to the code, but it seems like the section that contains the Reverse Geo block, and starting at line 373 of geolocation.js is not getting called. Either way, there is no alert on failure. Steps to reproduce: 1) Launch Kitchensink 2) Navigate to Phone>Geolocation (note, this will fail if 15k+ queries are made that day) 3) Look at the reverse Geo section Result: No alert, no content in reverse geo field. Expected: Reverse geo completed, OR reverse geo failed alert

Comments

  1. Eric Merriman 2011-07-29

    Here is the output Chung is seeing when the geolocation test is run on a Nexus S: {"success":true, "places":[{"country":"USA","country_code":"US","address":"2065 Hamilton Ave, San Jose, CA 95125, USA","longitude":-121.922657,"latitude":37.294455,"city":"San Jose","zipcode":"95125","street":"2065 Hamilton Ave"}, {"country":"USA","country_code":"US","address":"First Congregational Church, San Jose, CA 95125, USA","longitude":-121.9224559,"latitude":37.2949426,"city":"San Jose","zipcode":"95125","street":"First Congregational Church"}, {"country":"USA","country_code":"US","address":"San Jose, CA 95125, USA","longitude":-121.8904136,"latitude":37.2909813,"city":"San Jose","zipcode":"95125"}]}
  2. Don Thorp 2011-07-29

    and it's not getting back to the device?
  3. Lee Morris 2017-05-01

    Resolving ticket as invalid as this version of Kitchen Sink is no longer supported.

JSON Source