januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
368 stars 424 forks source link

Does not work on ios react-native version 0.60.x #73

Open henry983 opened 5 years ago

henry983 commented 5 years ago

I hope you will support react native 0. 60. x soon. I am looking forward to the update 0. 0.6 from you or manual installation instructions on ios manual.

JuanCamilo0809 commented 5 years ago

I have the same problem

JuanCamilo0809 commented 4 years ago

I hope you will support react native 0. 60. x soon. I am looking forward to the update 0. 0.6 from you or manual installation instructions on ios manual.

Any solution?

edritech93 commented 4 years ago

same for me, any solution ?

JuanCamilo0809 commented 4 years ago

same for me, any solution ?

You have to add de pod file manually. https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/76

It´s working for me and i am using 0.61.2

januslo commented 4 years ago

Just merged, but not release yet.

发自我的iPhone

在 2020年2月13日,上午3:51,fabicsp notifications@github.com 写道:

 I have tried to install it via npm, and in that case also got the same error. When installed with: npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save It worked.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jeafgilbert commented 4 years ago

I'm also having problem running with ReactNative 0.6. I did fresh install project (without Expo), install this plugin, but BluetoothManager is always null. I have tried using const { BluetoothManager } = NativeModuels but no luck. I think I miss something on cocoapods procedure but don't know exactly how. Could you please provide the steps? (cc: @JuanCamilo0809)

afrakhan123 commented 4 years ago

this works in package.json : "react-native-bluetooth-escpos-printer": "https://github.com/januslo/react-native-bluetooth-escpos-printer.git",

jeafgilbert commented 4 years ago

@afrakhan123 Yup, I installed plugin via github with "npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save" instead and it's working, but I got this further error on 'Scan' tapped:

Screen Shot 2020-05-23 at 6 32 43 PM

Please advice.

jeafgilbert commented 4 years ago

@JuanCamilo0809 Hi, have u experienced this issue?

@afrakhan123 Yup, I installed plugin via github with "npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save" instead and it's working, but I got this further error on 'Scan' tapped:

Screen Shot 2020-05-23 at 6 32 43 PM

Please advice.

jeafgilbert commented 4 years ago

Never mind. In the end I reinstalled project with React Native v0.59.8. Great plugin though, thanks.

JuanCamilo0809 commented 4 years ago

@JuanCamilo0809 Hi, have u experienced this issue?

@afrakhan123 Yup, I installed plugin via github with "npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save" instead and it's working, but I got this further error on 'Scan' tapped:

Screen Shot 2020-05-23 at 6 32 43 PM

Please advice.

Yes, but it was because the bluetooth is off, try On and it´s ok.