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
Hi,
I am using your plugin on chrome in android tablet but when I run the code it does not create the file. This is my code:
window.webkitRequestFileSystem(PERSISTENT, 1024 * 1024, function(fs) { console.log('Opened ' + fs.name);
fs.root.getFile('NewFile.txt', {create: true}, function(fileEntry) { fileEntry.createWriter(function(fileWriter) { fileWriter.onwritestart = function() { console.log('WRITE START');
}; fileWriter.onwriteend = function() { console.log('WRITE END'); }; var blob = new Blob(['1234567890'], {type: 'text/plain'}); fileWriter.write(blob); }, onError);
}, onError); }, onError);
function onError(e) { console.log('Error', e); }
No errors are reported and to me is an indication nothing is wrong but still it does not do anything.
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am using your plugin on chrome in android tablet but when I run the code it does not create the file.
This is my code:
window.webkitRequestFileSystem(PERSISTENT, 1024 * 1024, function(fs) {
console.log('Opened ' + fs.name);
fs.root.getFile('NewFile.txt', {create: true}, function(fileEntry) {
fileEntry.createWriter(function(fileWriter) {
fileWriter.onwritestart = function() {
console.log('WRITE START');
}, onError);
}, onError);
function onError(e) {
console.log('Error', e);
}
No errors are reported and to me is an indication nothing is wrong but still it does not do anything.
Thank you.
The text was updated successfully, but these errors were encountered: