HeligPfleigh / react-native-thermal-receipt-printer

A RN library for thermal printer
174 stars 102 forks source link

[Unhandled promise rejection: TypeError: null is not an object (evaluating 'RNBLEPrinter.init')] #9

Closed Jerry-devblog closed 4 years ago

Jerry-devblog commented 4 years ago

on expo app "@expo/vector-icons": "^10.0.0", "@react-native-community/masked-view": "0.1.10", "@react-navigation/bottom-tabs": "^5.6.1", "@react-navigation/native": "^5.6.1", "@react-navigation/stack": "^5.6.2", "expo": "~38.0.8", "expo-asset": "~8.1.7", "expo-constants": "~9.1.1", "expo-font": "~8.2.1", "expo-linking": "^1.0.1", "expo-splash-screen": "~0.3.1", "expo-status-bar": "^1.0.2", "expo-web-browser": "~8.3.1", "react": "~16.11.0", "react-dom": "~16.11.0", "react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz", "react-native-gesture-handler": "~1.6.0", "react-native-safe-area-context": "~3.0.7", "react-native-screens": "~2.9.0", "react-native-thermal-receipt-printer": "^1.0.8", "react-native-web": "~0.11.7"

``

HeligPfleigh commented 4 years ago

Sorry, currently this library doesn't support for expo. As mentioned in it document, if you want to use this, you must eject your existed expo project first then follow the instruction in README