@developeraspire/react-native-sunmi-barcode-scanner
Version:
a react native intergation of the sunmi barcode scanner
18 lines (17 loc) • 749 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package '@developeraspire/react-native-sunmi-barcode-scanner' 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 Go\n';
const SunmiBarcodeScanner = _reactNative.NativeModules.SunmiBarcodeScanner ? _reactNative.NativeModules.SunmiBarcodeScanner : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
var _default = exports.default = SunmiBarcodeScanner;
//# sourceMappingURL=index.js.map