Please provide the following:
- SDK Version:~48.0.18
- DocumentPicker version: ~11.2.2
I am creating a react native app where DocumentPicker works fine if I pick a file, cancel out of the file explorer without picking a file but if I exit out of the app itself with the file explorer open I am getting the
Different document picking in progress. Await other document picking first. error. How to deal with this problem? Could not find anything in the docs or on github or anywhere else really. I tried storing the promise and resolving it when the AppState changes but that didn’t help. Tried adding my code in a
try...catch block but it didn’t not help. Any help is appreciated.