Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26133] TiAPI: hasCompass should be a method, not a property

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2018-06-21T07:48:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS, Windows
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2018-06-18T04:43:07.000+0000
Updated2018-08-02T22:20:09.000+0000

Description

The "hasCompass" property should be deprecated and moved to the "hasCompass()" method like we do with every other "hasXXX" API, like "hasLocationPermissions()", "hasCameraPermissions()", etc.

Comments

  1. Hans Knöchel 2018-06-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/10121
  2. Hans Knöchel 2018-06-21

    Resolving as Won't Fix, since Android is not able to deprecate it. It's no issue and does not seem to bug anyone, so we keep it for now.
  3. Eric Merriman 2018-08-02

    Closing old "Won't fix" tickets. If you disagree, please reopen.

JSON Source