Comments (18)
@sefatamak I'm just going to chime in here and kindly remind you this is an open-source project for which there is no payment in play. To pressure others to work quickly because of a business consideration on your part is unfair. If it is that important, a typical model in this case would be to offer to sponsor development.
from react-native-esc-pos.
I still wait for this. When can you do it ?
from react-native-esc-pos.
@leesiongchan Looks like there is a regression regarding a58c650:
> Task :@leesiongchan_react-native-esc-pos:compileDebugJavaWithJavac FAILED
/home/bradj/www/fishadmin/node_modules/@leesiongchan/react-native-esc-pos/android/src/main/java/leesiongchan/reactnativeescpos/EscPosModule.java:211: error: exception IOException is never thrown in body of corresponding try statement
} catch (IOException e) {
^
/home/bradj/www/fishadmin/node_modules/@leesiongchan/react-native-esc-pos/android/src/main/java/leesiongchan/reactnativeescpos/EscPosModule.java:225: error: exception IOException is never thrown in body of corresponding try statement
} catch (IOException e) {
^
Note: /home/bradj/www/fishadmin/node_modules/@leesiongchan/react-native-esc-pos/android/src/main/java/leesiongchan/reactnativeescpos/EscPosModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
I'm not a java developer myself but after a bit of investigating this seems actually to be related to some missing throws
declarations on the constructors for PrinterService
. See PR below for an update that at least gets this building.
from react-native-esc-pos.
@sefatamakkk did you catch the error? Probably connection issue?
from react-native-esc-pos.
@sefatamak Glad to hear that!
from react-native-esc-pos.
Thank you for reporting, I think the library is still unable to handle error correctly, let me relook into the implementation and fix them accordingly in the next few days.
from react-native-esc-pos.
Thank you for answer. I'll wait for this
from react-native-esc-pos.
How about this coming weekend. I will fix it.
from react-native-esc-pos.
@sefatamak I have just pushed a new version, you should now be able to catch it using .catch
or try catch block
, I do not have a printer with me now I hope I didn't break anything, please do let me know if it is working. Thanks!
from react-native-esc-pos.
@leesiongchan Thank you! I will try it
from react-native-esc-pos.
It freezes again. It doesn't work. Can you help me ?
from react-native-esc-pos.
I put try catch block but it doesn't work. It freezes. You can try it without printer. You can put connect code inside try catch block without printer and app will freezes. I need this when user's printer broke or close.
from react-native-esc-pos.
Do you look this issue? I need this quickly. Please help me
from react-native-esc-pos.
@sefatamak I will try to look into the issue over the weekend.
from react-native-esc-pos.
Ok @leesiongchan please look quickly. My customers wait me for this.
from react-native-esc-pos.
No its wrong, my app is free. I mean that my users wait me for this. You misunderstand. I just trust this project and team. That's it.
from react-native-esc-pos.
@leesiongchan you can close this issue. I tried again and it works. I think problem is my bundle. I changed version but it didn't change at the begining. Now its ok. App doesn't freezes. Thank you for help 😊
from react-native-esc-pos.
@leesiongchan It still freezing app on connect, the render is applied only after connect success or fail. If I call a print with first instruction "show loader" and then connect, it's waiting for connect to success or fail to really render.
from react-native-esc-pos.
Related Issues (20)
- Add Feature Print layout
- Duplicate classes - mostly org.junit... in module escposjava-1.0-SNAPSHOT.jar HOT 1
- French character problem HOT 2
- how to loop inside design HOT 2
- Broken QR Code HOT 2
- arabic laguage problem get ???? any help please HOT 1
- Usb Thermal Printers HOT 1
- Print Array HOT 1
- Color of image after print only black and white HOT 2
- Needs extra space at the bottom
- Kick drawer! HOT 4
- Chinese character support? HOT 4
- [Feature Request] Status of Cash Drawer/Status monitoring
- UI screen freeze
- UI screen freeze HOT 1
- 0.63 error
- An example of Scan( ) Bluetooth
- Ampersand character at the beginning of the line
- Error with 'expo' HOT 3
- How can I implement ScanDevices()? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-esc-pos.