tr3v3r / react-native-esc-pos-printer

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
MIT License
137 stars 64 forks source link

new NativeEventEmitter() requires a non null argumen #107

Open AlbertJohanson opened 1 year ago

AlbertJohanson commented 1 year ago

Im getting the next error: 344276980_572246221557537_2596505567166089110_n

does anyone had a solution i follow the steps but i dont find the ansewer to resolve this bug

tr3v3r commented 1 year ago

@AlbertJohanson Can I ask you to give me a bit more details?

AlbertJohanson commented 1 year ago

@tr3v3r Sure! when i call the module in a component for my app and i call any of the method in the API throws me that error.

tr3v3r commented 1 year ago

@AlbertJohanson By details I mean RN and lib version. bare or expo projects . Android or iOS and etc.

Hyperman012 commented 1 year ago

I see this error in Android - RN version 71, lib version 2.5.1

mahendra-t-guardhat commented 11 months ago

+1

YasinAkimura commented 8 months ago

I'm facing the same issue on Android SDK version 33, RN version 0.72.6, lib version 2.6.0. Mostly I could ignore the warning but I'm facing issues like wrong return types and printer not being able to print on release after a few minutes screen off.