Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25036] Cannot call class methods on instance of class

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsRTN, estimote, hyperloop, typeerror
ReporterMatt Carney
AssigneeUnknown
Created2017-07-28T19:19:53.000+0000
Updated2020-01-07T23:53:36.000+0000

Description

Note: This app uses Estimote BLE location beacons, so you will not be able to reproduce the issue without having one. Because of this, I put detailed comments in the code that explain exactly what is being printed to the console. I have also attached the relevant part of the console log showing the output when index.js is run. Link for Estimote documentation showing the classes/methods I am using. http://estimote.github.io/Android-SDK/JavaDocs/

Actual Result

TypeError: closestBeacon.getMajor() is not a function

Expected Result

Prints the result of closestBeacon.getMajor()

Attachments

FileDateSize
.log2017-07-28T19:20:39.000+00006900668
diagnostic636435691898413069.log2017-07-28T19:20:49.000+000017883
index.js2017-07-28T19:22:33.000+00003776
relevant console log.txt2017-07-28T20:31:33.000+00001387
sdk-1.0.3.aar2017-07-28T20:34:05.000+00001836345

Comments

No comments

JSON Source