Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7442] Android: KS Geolocation test runtime error on devices (such as emulators) with no compass

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-01-27T14:14:17.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-02, Release 2.0.0, Release 1.8.1, Release 1.8.2
ComponentsAndroid, iOS
Labelsn/a
ReporterBill Dawson
AssigneeBill Dawson
Created2012-01-26T18:00:54.000+0000
Updated2015-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.

Comments

  1. Bill Dawson 2012-01-26

    Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/1287
  2. Tamila Smolich 2012-08-28

    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

JSON Source