mobile-native-barcode-generator
Version:
Library to generate barcodes and qr codes natively using Kotlin and Swift, integrated with react native.
18 lines (17 loc) • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'mobile-native-barcode-generator' 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 MobileNativeBarcodeGenerator = _reactNative.NativeModules.MobileNativeBarcodeGenerator ? _reactNative.NativeModules.MobileNativeBarcodeGenerator : new Proxy({}, {
get() {
throw new Error(LINKING_ERROR);
}
});
var _default = exports.default = MobileNativeBarcodeGenerator;
//# sourceMappingURL=MobileNativeBarcodeGenerator.js.map