Open
Description
Hi,
when i use chooseEntry it return a ChooseEntryResult object but the fileEntries value of this object is always null.
chrome.ChooseEntryOptions chooseEntryOptions =
new chrome.ChooseEntryOptions(type: chrome.ChooseEntryType.OPEN_FILE);
chrome.ChooseEntryResult chooseEntryResult =
await chrome.fileSystem.chooseEntry(chooseEntryOptions);
FileEntry fileEntry;
print(chooseEntryResult.entry.isFile);
print(chooseEntryResult.entry.name);
Metadata meta = await chooseEntryResult.entry.getMetadata();
print(meta.size);
print(chooseEntryResult.fileEntries); // this line print null
if (chooseEntryResult.fileEntries.length == 0) return;
else {
fileEntry = chooseEntryResult.fileEntries[0];
}
If you have an idea, thanks.
Metadata
Metadata
Assignees
Labels
No labels