mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-05 13:46:59 +00:00
16 lines
529 B
TypeScript
16 lines
529 B
TypeScript
import type { ConfigPlugin } from "@expo/config-plugins";
|
|
import { createRunOncePlugin } from "@expo/config-plugins";
|
|
import pkg from "../../package.json";
|
|
import { withMediaNotifications } from "./withMediaNotifications";
|
|
import { withPip } from "./withPip";
|
|
|
|
const withOmni: ConfigPlugin = (config) => {
|
|
let nextConfig = withPip(config);
|
|
nextConfig = withMediaNotifications(nextConfig);
|
|
return nextConfig;
|
|
};
|
|
|
|
export default createRunOncePlugin(withOmni, pkg.name, pkg.version);
|
|
|
|
export { withMediaNotifications, withPip };
|