EddyVerbruggen / EddyVerbruggen/nativescript-star-printer

NativeScript 7+ support not working

Open
#32 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
32
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Getting the following error on ns core 8.0.3 when searching for printers:

```
(file:///data/data/no.okam.store/files/app/vendor.js:84383:43)
at StarPrinter.searchPrinters(file:///data/data/no.okam.store/files/app/vendor.js:84382:16)
at loadPrinters(file:///data/data/no.okam.store/files/app/bundle.js:6878:24)
at invokeWithErrorHandling(file:///data/data/no.okam.store/files/app/vendor.js:90827:26)
at invoker(file:///data/data/no.okam.store/files/app/vendor.js:91484:14)
at _executeCallback(file:///data/data/no.okam.store/files/app/vendor.js:45898:27)
at TapAndDoubleTapGestureListenerImpl._handleSingleTap(file:///data/data/no.okam.store/files/app/vendor.js:45641:17)
at TapAndDoubleTapGestureListenerImpl.onSingleTapUp(file:///data/data/no.okam.store/files/app/vendor.js:45610:14)
at androidOnTouchEvent(file:///data/data/no.okam.store/files/app/vendor.js:45832:41)
at (file:///data/data/no.okam.store/files/app/vendor.js:39308:25)
at handleGestureTouch(file:///data/data/no.okam.store/files/app/vendor.js:39307:18)
at TouchListenerImpl.onTouch(file:///data/data/no.okam.store/files/app/vendor.js:39038:15)
```

This worked before updating from ns 6.5. I have `"nativescript-star-printer": "^4.0.0` installed

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce printer searching with NativeScript 7+ or 8.0.3 and the reported nativescript-star-printer 4.0.0 setup. Start at the StarPrinter.searchPrinters call shown in the stack trace, compare behavior with NativeScript 6.5, and determine the compatibility failure. Done means printer discovery works on the newer NativeScript version without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.