Open kevinvangelder opened 5 years ago
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. 🙃
I don't think I did, sorry.
Attempting to run
StarPRNT.checkStatus
after connecting to a printer and then turning the printer off causesMaybe this line needs to be wrapped in a try/catch? https://github.com/infoxicator/react-native-star-prnt/blob/3a371b61765bd1c13cfa9226d627c96d5909bf95/ios/RNStarPrnt.m#L109