react-native-bluetooth-escpos-printer icon indicating copy to clipboard operation
react-native-bluetooth-escpos-printer copied to clipboard

Cannot set property 'DIRECTION' of undefined

Open hasithaWalpola opened this issue 4 years ago • 7 comments

I got this error when I import this library. Type Error: Cannot set property 'DIRECTION' of undefined

hasithaWalpola avatar Sep 22 '20 10:09 hasithaWalpola

Hi i have the same error but now i resolve the problem is i used expo and expo metro bundler is not compatible with native modules its hard to test but you need create a Release Apk with android studio of your project and testing

yayidg22 avatar Oct 21 '20 14:10 yayidg22

remove and install again

lntoan avatar Nov 23 '20 07:11 lntoan

i have the same issue

mixermat99 avatar Jun 11 '21 13:06 mixermat99

i am facing the same error on IOS

usman1579 avatar Sep 16 '21 06:09 usman1579

i have the same issue

mohamedsalehamin avatar Oct 06 '21 11:10 mohamedsalehamin

I'm facing the same issue in ios

sahil-ows avatar Oct 16 '22 15:10 sahil-ows

same issue for me, using react native cli "react-native": "0.66.3", "react-native-bluetooth-escpos-printer": "^0.0.5". android is working fine, it's just the ios.

sami-sy avatar Oct 18 '22 14:10 sami-sy