We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesystem
Capacitor v5.7.5
[warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. 💊 Capacitor Doctor 💊 Latest Dependencies: @capacitor/cli: 6.2.0 @capacitor/core: 6.2.0 @capacitor/android: 6.2.0 @capacitor/ios: 6.2.0 Installed Dependencies: @capacitor/cli: 5.6.0 @capacitor/core: 5.7.5 @capacitor/android: 5.7.5 @capacitor/ios: 5.7.0 [success] iOS looking great! 👌 [success] Android looking great! 👌
Android
App Crash happening when rmdir function is called on a directory that does not exist or a dir that has no files (sometimes)
Need to check if listFiles is returning null or an empty array
code snippet from FileSystemPlugin.java
if (fileObject.isDirectory() && fileObject.listFiles().length != 0 && !recursive) { call.reject("Directory is not empty"); return; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Plugin(s)
Filesystem
Capacitor Version
Capacitor v5.7.5
Platform(s)
Android
Current Behavior
App Crash happening when rmdir function is called on a directory that does not exist or a dir that has no files (sometimes)
Expected Behavior
Need to check if listFiles is returning null or an empty array
Other Technical Details
code snippet from FileSystemPlugin.java
if (fileObject.isDirectory() && fileObject.listFiles().length != 0 && !recursive) {
call.reject("Directory is not empty");
return;
}
The text was updated successfully, but these errors were encountered: