Closed cristiandaulisio closed 2 years ago
I receive this error after this code:
const filePicked = await openFilePicker({ multipleSelection: false, extensions: ['txt', 'pdf'], pickerMode: 2 })
Error: -[UIDocumentPickerViewController initWithDocumentTypes:inMode:] can only be called with mode Import or Open It work fine on Android, but not in IOS.
Error: -[UIDocumentPickerViewController initWithDocumentTypes:inMode:] can only be called with mode Import or Open
edit: pickermode 2 was the problem. Can't delete this issue.
I receive this error after this code:
Error: -[UIDocumentPickerViewController initWithDocumentTypes:inMode:] can only be called with mode Import or Open
It work fine on Android, but not in IOS.edit: pickermode 2 was the problem. Can't delete this issue.