You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compressing a local video asset (PHAsset), a temporary file (not the compressed one) will remain in storage, increasing the application size.
It is not possible to clean an exported PHAsset on the consumer side due to a lack of tmp path support from compressVideo in react-native-compression. This results in two files being created: a compressed file and an exported file before compression.
Expected behavior
Tmp files should be removed after compression or compressVideo should privde url to manually remove this file
Platform
[] Android
iOS
React Native Version
0.73.2
React Native Compressor Version
1.8.24
Reproducible Steps And Demo
Compress PHAsset (something from camera roll)
Remove file that was returned from compressVideo method
Check app storage usage or list files in tmp directory
The text was updated successfully, but these errors were encountered:
Current behavior
After compressing a local video asset (PHAsset), a temporary file (not the compressed one) will remain in storage, increasing the application size.
It is not possible to clean an exported PHAsset on the consumer side due to a lack of tmp path support from compressVideo in react-native-compression. This results in two files being created: a compressed file and an exported file before compression.
Expected behavior
Tmp files should be removed after compression or
compressVideo
should privde url to manually remove this filePlatform
React Native Version
0.73.2
React Native Compressor Version
1.8.24
Reproducible Steps And Demo
compressVideo
methodThe text was updated successfully, but these errors were encountered: