react-native-nitro-screen-recorder
Version:
A library to capture screen recordings with react-native powered by NitroModules.
14 lines (13 loc) • 549 B
JavaScript
;
import path from 'path';
import { withDangerousMod } from '@expo/config-plugins';
import { updatePodfile } from '../support/updatePodfile';
import { ScreenRecorderLog } from '../support/ScreenRecorderLog';
export const withBroadcastExtensionPodfile = config => {
return withDangerousMod(config, ['ios', async mod => {
const iosRoot = path.join(mod.modRequest.projectRoot, 'ios');
await updatePodfile(iosRoot).catch(ScreenRecorderLog.error);
return mod;
}]);
};
//# sourceMappingURL=withBroadcastExtensionPodfile.js.map