import { ConfigPlugin, createRunOncePlugin } from "expo/config-plugins"; import { ConfigProps } from "./types"; import { withKarteAndroid } from "./withKarteAndroid"; import { withKarteiOS } from "./withKarteiOS"; const withKarte: ConfigPlugin = (config, props) => { config = withKarteiOS(config, props); config = withKarteAndroid(config, props); return config; }; const pkg = require("../package.json"); export default createRunOncePlugin(withKarte, pkg.name, pkg.version);