Open PhamMinhKha opened 5 years ago
PR to add a podspec
https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/76/files
Add the the podspec file and the small change, cd ios
pod install
cd ..
react-native run-ios
https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/76/files
Add the the podspec file and the small change,
cd ios
pod install
cd ..
react-native run-ios
May I know how to add this and where? @bradrisse
During installation you need to use "npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save"
hey there can anyone help me with where to add this podspec file?
Try following these steps:
rm -rf node_modules
rm -rf package-lock.json
npm install
npm remove react-native-bluetooth-escpos-printer
npm install https://github.com/januslo/react-native-bluetooth-escpos-printer.git --save
cd ios
rm -rf Podfile.lock
rm -rf Pods
pod install
Android work perfect but ios get error
[!] use_native_modules! skipped the react-native dependency 'react-native-bluetooth-escpos-printer'. No podspec file was found.
Package.json { "name": "SuaChuaPro", "version": "0.0.1", "private": true, "scripts": { "start": "react-native start", "test": "jest", "lint": "eslint .", "ios": "react-native run-ios --simulator=\"iPhone 6\"", "android": "react-native run-android" }, "dependencies": { "@react-native-community/async-storage": "^1.6.1", "@react-native-firebase/app": "^0.3.0", "@react-native-firebase/firestore": "^0.3.0", "@react-native-firebase/storage": "^0.3.0", "native-base": "^2.13.5", "random-string": "^0.2.0", "react": "^16.9.0", "react-native": "^0.61.0-rc.2", "react-native-bluetooth-escpos-printer": "^0.0.5", "react-native-gesture-handler": "^1.4.1", "react-native-image-picker": "^1.1.0", "react-native-loading-spinner-overlay": "^1.0.1", "react-native-reanimated": "^1.3.0-alpha", "react-native-screens": "^2.0.0-alpha.1", "react-navigation": "^3.12.1", "react-redux": "^7.1.1", "redux": "^4.0.4", "redux-saga": "^1.0.5", "validate.js": "^0.13.1" }, "devDependencies": { "@babel/core": "^7.5.5", "@react-native-community/eslint-config": "^0.0.5", "babel-jest": "^25.0.0", "eslint": "^6.3.0", "jest": "^25.0.0", "jetifier": "^1.6.4", "metro-react-native-babel-preset": "^0.56.0", "react-test-renderer": "^16.9.0", "redux-devtools-extension": "^2.13.8" }, "jest": { "preset": "react-native" } }