[TIMOB-7442] Android: KS Geolocation test runtime error on devices (such as emulators) with no compass
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-01-27T14:14:17.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1, Release 1.8.2 |
| Components | Android, iOS |
| Labels | n/a |
| Reporter | Bill Dawson |
| Assignee | Bill Dawson |
| Created | 2012-01-26T18:00:54.000+0000 |
| Updated | 2015-02-02T20:46:21.000+0000 |
Description
If you run the KitchenSink "Phone -> Geolocation" test on the 2.3.3 emulator (and probably all other emulators) with *Rhino*, you will get a runtime error ("addListener only takes instances of Function...") because there is no compass on the emulator. This is a test error, not a platform problem.
Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/1287
Closing as fixed. Tested and verified on: Titanium Studio, build: 2.1.2.201208201549 Titanium SDK, build: 2.2.0.v20120824175712 Android Emulator 2.3.3