{ "id": "84760", "key": "TIMOB-7116", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-08T16:13:24.000+0000", "created": "2012-01-11T14:59:27.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15536", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "78716", "key": "TIMOB-4880", "fields": { "summary": "TiAPI: Replace calls to api.appcelerator.net/p/v1/geo with direct calls to Google API", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-04T00:23:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Ti.Geolocation has a good start, but is not complete.\r\n\r\nExtends Evented.\r\n\r\nMethods:\r\n* forwardGeocoder() - call to api.appcelerator.net/p/v1/geo using require()\r\n* getCurrentHeading() - use webkitCompassHeading: http://tinyurl.com/85a7rjo\r\n* getCurrentPosition()\r\n* reverseGeocoder() - call to api.appcelerator.net/p/v1/geo using require()\r\n\r\nProperties:\r\n* distanceFilter - iOS specific, but may be doable\r\n* headingFilter - iOS specific, but may be doable\r\n* preferredProvider - is this doable?\r\n\r\nConstants:\r\n* locationServicesEnabled - true if navigator.geolocation is not undefined\r\n\r\nRemove all AUTHORIZATION_* constants.\r\n\r\nUpdate API docs show correct support of methods/constants/properties.\r\n\r\nMight find some useful bits here: http://code.google.com/p/geo-location-javascript/source/browse/trunk/js/geo.js\r\n\r\n", "attachment": [ { "id": "26061", "filename": "app.js", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T15:26:01.000+0000", "size": 3338, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "MobileWeb: Complete Ti.Geolocation implementation", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "185107", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "forward and reverse geocoders will remains stubbed out but unimplemented until TIMOB-4880 is resolved.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-05T17:43:20.000+0000", "updated": "2012-03-05T17:43:20.000+0000" }, { "id": "185118", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-4880 will not be resolved as per the recent decision to go with mapquest. We should fix this ticket in the current form.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-05T20:22:47.000+0000", "updated": "2012-03-05T20:22:47.000+0000" }, { "id": "185251", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1573", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T15:24:29.000+0000", "updated": "2012-03-06T15:24:29.000+0000" }, { "id": "185254", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is my relevant nginx config. A proxy must be configured to access api.appcelerator.net.\r\n{code}\r\n\tserver {\r\n\t\tlisten 8031;\r\n\t\tindex index.html;\r\n\t\tautoindex on;\r\n root /Users/bhughes/Work/htdocs;\r\n\t\tproxy_intercept_errors on;\r\n\t\tlocation / {\r\n\t\t\tif ($request_method = 'OPTIONS') {\r\n\t\t\t\tadd_header Access-Control-Allow-Origin *;\r\n\t\t\t\tadd_header Access-Control-Allow-Methods \"GET, POST, OPTIONS\";\r\n\t\t\t\tadd_header Access-Control-Max-Age 1728000;\r\n\t\t\t\tadd_header Access-Control-Allow-Headers \"Origin,Content-Type,UserAgent\";\r\n\t\t\t\tadd_header Content-Type \"text/plain; charset=UTF-8\";\r\n\t\t\t\treturn 200;\r\n\t\t\t}\r\n\t\r\n\t\t\tif ($request_method = 'GET') {\r\n\t\t\t\tadd_header Access-Control-Allow-Origin *;\r\n\t\t\t\tadd_header Access-Control-Allow-Methods \"GET, POST, OPTIONS\";\r\n\t\t\t\tadd_header Access-Control-Max-Age 1728000;\r\n\t\t\t\tadd_header Access-Control-Allow-Headers \"Origin,Content-Type,UserAgent\";\r\n\t\t\t\tproxy_pass https://api.appcelerator.net;\r\n\t\t\t}\r\n\t\r\n\t\t\tif ($request_method = 'POST') {\r\n\t\t\t\tadd_header Access-Control-Allow-Origin *;\r\n\t\t\t\tadd_header Access-Control-Allow-Methods \"GET, POST, OPTIONS\";\r\n\t\t\t\tadd_header Access-Control-Max-Age 1728000;\r\n\t\t\t\tadd_header Access-Control-Allow-Headers \"Origin,Content-Type,UserAgent\";\r\n\t\t\t\tproxy_pass https://api.appcelerator.net;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n{code}", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T15:26:52.000+0000", "updated": "2012-03-06T15:28:34.000+0000" }, { "id": "409255", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to MobileWeb no longer being supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-04T00:23:00.000+0000", "updated": "2017-03-04T00:23:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }