mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
wip: Add expo plugin
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { createRunOncePlugin } from '@expo/config-plugins';
|
||||
import type { ConfigPlugin } 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 { withPip, withMediaNotifications };
|
||||
Reference in New Issue
Block a user