react-native-compressor
react-native-compressor copied to clipboard
Move uuidv4 to helper to avoid circular dependency with React Compiler
Summary
When React Compiler is enabled, there is a circular dependency issue causing uuidv4 to be undefined during background uploads. This PR resolves it by moving the uuidv4 utility out of index.ts and into a separate helpers.ts file, avoiding the import loop.
Changelog
[Fix] [Bug] - Avoid circular dependency by isolating uuidv4 export in helper module