DocumentPicker no callback on close

Hello,

I've noticed, that when I close DocumentPicker by swiping from top to bottom (without picking a file or pressing cancel), no callback gets called.

Currently I'm using didPickDocumentsAtURLs and documentPickerWasCancelled callbacks, neither of them get's called if DocumentPicker is closed by swiping.

This is a problem, because while DocumentPicker is open (and a bit after that, while the file would get processed), I show a loading popup, which get's closed in one of the callbacks. In this case, I cant' find a callback to use and close the loading popup.

Am I missing a callback, or is there some other issue?

DocumentPicker no callback on close
 
 
Q