window.requestFileSystem not working on Android 7


#1

window.requestFileSystem is not working on Android 7. It terminates with the following exception:

06-14 14:00:27.821 22241 24494 W System.err: java.io.IOException
06-14 14:00:27.821 22241 24494 W System.err: at org.apache.cordova.file.LocalFilesystem.getEntryForLocalURL(LocalFilesystem.java:144)
06-14 14:00:27.821 22241 24494 W System.err: at org.apache.cordova.file.FileUtils.requestAllFileSystems(FileUtils.java:868)
06-14 14:00:27.821 22241 24494 W System.err: at org.apache.cordova.file.FileUtils.access$100(FileUtils.java:52)
06-14 14:00:27.821 22241 24494 W System.err: at org.apache.cordova.file.FileUtils$11.run(FileUtils.java:351)
06-14 14:00:27.821 22241 24494 W System.err: at org.apache.cordova.file.FileUtils$25.run(FileUtils.java:551)
06-14 14:00:27.821 22241 24494 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
06-14 14:00:27.821 22241 24494 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
06-14 14:00:27.822 22241 24494 W System.err: at java.lang.Thread.run(Thread.java:761)


#2

What’s the exact JS API call you are making? What Android device? What OS version number?


#3

window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, fileSystemSuccess, error);

HTC10 met Android 7.0

but is also fails on other devices with Android 7 (except Samsung)