| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-02-14T23:29:00.000+0000 |
| Affected Version/s | Release 1.8.0.1, Release 1.8.1 |
| Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
| Components | iOS |
| Labels | module_geolocation, parity, qe-ios012312, qe-testadded |
| Reporter | Dustin Hyde |
| Assignee | Stephen Tramer |
| Created | 2012-01-24T14:41:56.000+0000 |
| Updated | 2012-03-03T23:12:09.000+0000 |
When Ti.Geolocation getCurrentPosition or getCurrentHeading are called without a callback (i.e., Ti.Geolocation.getCurrentHeading()), app crashes. Logs Attached.
On Android, there is only a runtime error and no crash.
Steps to Reproduce:
1. Run code, testing both functions:
// Ti.Geolocation.getCurrentPosition();
Ti.Geolocation.getCurrentHeading();
Expected Result:
Runtime Error.
Actual Result:
Crash.
Closing as Fixed. SDK: 1.9.0.v20120203163134 Studio: 1.0.8.201201262211 OS: Lion Devices Tested: iPhone Simulator 5.0, iPad 4.3, iPhone 5.0.1