react-native-esc-pos-xprinter
Version:
This is an android xprinter driver.
22 lines (18 loc) • 718 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'react-native-esc-pos-xprinter' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
ios: "- You have run 'pod install'\n",
default: ''
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo managed workflow\n';
const RNXprinter = _reactNative.NativeModules.RNXprinter ? _reactNative.NativeModules.RNXprinter : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
var _default = RNXprinter;
exports.default = _default;
//# sourceMappingURL=index.js.map