Closed sqlninja closed 4 years ago
The code to get the file size: (int) new File (path).length ()
@liukefu2050 I'm not following your code snippet. That looks a bit swifty, unless I'm missing something, I'd need a js snippet.
Can you provide more information and do you set the compression parameters?
Does this library have the same issue as react-native-image-picker where it can't return the file size for videos?