Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Exception 'Native GetParsedStatusEx failed' when Printer Turned Off #24

Open
kevinvangelder opened this issue Jan 8, 2019 · 2 comments

Comments

@kevinvangelder
Copy link

Attempting to run StarPRNT.checkStatus after connecting to a printer and then turning the printer off causes

Exception 'Native GetParsedStatusEx failed' was thrown while invoking checkStatus on target RNStarPrnt with params(...)

Maybe this line needs to be wrapped in a try/catch?

[port getParsedStatus:&status :2];

@AkshatGiri
Copy link

AkshatGiri commented Aug 6, 2019

I have the same issue. @kevinvangelder did you find a fix that could be implemented on javascript side? I don't think I can use the checkStatus method if there is a possibility of crash.

Help is appreciated. 🙃

@kevinvangelder
Copy link
Author

I don't think I did, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants