react-native-compressor
react-native-compressor copied to clipboard
refactor: replace GuardedResultAsyncTask with AsyncTask
Summary
GuardedResultAsyncTask was removed in React Native 0.78, which caused compatibility issues. This change replaces GuardedResultAsyncTask with AsyncTask to ensure compatibility with the latest version.
Changelog
[Android] [Refactor] - Replace GuardedResultAsyncTask with AsyncTask for React Native 0.78 compatibility
Test Plan
- Verified that the code compiles successfully with React Native 0.78.
- Tested affected functionality to confirm no regressions.
- Ensured no runtime errors related to async task execution.
Related Issue
Fixes https://github.com/numandev1/react-native-compressor/issues/336