-
Notifications
You must be signed in to change notification settings - Fork 9
Unable to get this plugin to work on NativeScript 2.4 #8
Description
We're planing a huge project with NativeScript and the estimote beacons, but it seems that the plugin doesn't work with the latest NativeScript version.
CONSOLE LOG file:///app/main-page.js:65:16: Start ranging now ***** Fatal JavaScript exception - application has been terminated. ***** Native stack trace: 1 0x100817764 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*) 2 0x1010a12cc ffi_closure_SYSV_inner 3 0x1010a41b4 .Ldo_closure 4 0x1001a42b0 __61-[ESTBeaconManager locationManager:didRangeBeacons:inRegion:]_block_invoke 5 0x18bfaa1fc <redacted> 6 0x18bfaa1bc <redacted> 7 0x18bfaed68 _dispatch_main_queue_callback_4CF 8 0x18d0ce810 <redacted> 9 0x18d0cc3fc <redacted> 10 0x18cffa2b8 CFRunLoopRunSpecific 11 0x18eaae198 GSEventRunModal 12 0x1930417fc <redacted> 13 0x19303c534 UIApplicationMain 14 0x1010a4044 ffi_call_SYSV 15 0x1010a0e0c ffi_call_int 16 0x1010a0924 ffi_call 17 0x1007d94fc NativeScript::FFICall::call(JSC::ExecState*) 18 0x100e0b888 JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) 19 0x100e13f08 llint_entry 20 0x100e13f18 llint_entry 21 0x100e0d7f8 vmEntryToJavaScript 22 0x100dad294 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) 23 0x100d8a230 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 24 0x100ee9e64 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 25 0x1007e9ce4 NativeScript::GlobalObject::moduleLoaderEvaluate(JSC::JSGlobalObject*, JSC::Ex ecState*, JSC::JSModuleLoader*, JSC::JSValue, JSC::JSValue, JSC::JSValue) 26 0x100f760c0 JSC::JSModuleLoader::evaluate(JSC::ExecState*, JSC::JSValue, JSC::JSValue, JSC::JSValue) 27 0x100e148e4 llint_entry 28 0x100e13f18 llint_entry 29 0x100e13f18 llint_entry 30 0x100e13f18 llint_entry 31 0x100e0d7f8 vmEntryToJavaScrip t JavaScript stack trace: 1 beaconManagerDidRangeBeaconsInRegion@file:///app/tns_modules/nativescript-estimote-sdk/estimote.js:53:23 2 UIApplicationMain@[native code] 3 start@file:///app/tns_modules/application/application.js:251:30 4 anonymou : this._callback is not a function. (In 'this._callback(beacons)', 'this._callback' is undefined) s@file:///app/app.js:10:18 5 evaluate@[native code] 6 moduleEvaluation@[native code] 7 @[native code] 8 promiseReactionJob@[native code] JavaScript error: file:///app/tns_modules/nativescript-estimote-sdk/estimote.js:53:23: JS ERROR TypeError