UNPKG

react-native-epson-escposprinter

Version:
27 lines (24 loc) 832 B
"use strict"; import { createRunOncePlugin, withXcodeProject } from "@expo/config-plugins"; // @ts-expect-error Output directory is lib/commonjs/ instead of src/ import { name, version } from "../../package.json"; const withPluginConfigs = config => { withXcodeProject(config, xCodeConfig => { const project = xCodeConfig.modResults; const target = project.getFirstTarget().uuid; // XCode frameworks required by the Epson ePOS SDK project.addFramework("CoreBluetooth.framework", { target }); project.addFramework("ExternalAccessory.framework", { target }); project.addFramework("libxml2.2.tbd", { target }); return xCodeConfig; }); return config; }; export default createRunOncePlugin(withPluginConfigs, name, version); //# sourceMappingURL=withPluginConfigs.js.map