januslo / react-native-bluetooth-escpos-printer

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

Not working with react native 0.64.1 #159

Open marcoaras opened 3 years ago

marcoaras commented 3 years ago

After npm install then linkin, in iOS xCode error is below.

import <React/RCTBridgeModule.h> file not found

Then I add to RNBluetoothEscposPrinter Targets => Build Settings => Header Search Paths $(SRCROOT)/../../../ios/Pods/Headers/Public

import <React/RCTBridgeModule.h> is ok.

However there is another errors.

'cstdio' file not found 'cstdlib' file not found

marcoaras commented 3 years ago

Has anybody tried with last version of react native?

marcoaras commented 3 years ago

After some researches, I found this pull request https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/155

First time, I added master branch to my project with yarn then link it manually, It caused some Objective-C issues and error above.

After that I tried to add pull request version with yarn add januslo/react-native-bluetooth-escpos-printer#155/head then run pod install. It helped me to run my project successfully. However still I cannot connect TSC Alpha-3RB printer.

kkureli commented 2 years ago

hi, could u solve it?

marcoaras commented 2 years ago

Unfortunately no. Can not connect to the TSC printer.

asd123456789asdad commented 1 year ago

I have similiar issue, after npm instal and then I try to build my app, the build unsuccessfully

image