Closed levi956 closed 1 year ago
You should use the mime type of the file. Ex: OpenFile.open(file.path, type: 'application/pdf');
Or don't provide the type
, the lib will automatically get the mime type based on the file's suffix.
Worked, thanks.
I called the method
OpenFile.open(file.path, type: 'pdf');
on an Android Emulator and nothing shows up or happens, but it seems like it's executing. Do I need to set any permission in the Android Manifest file or the emulator doesn't have a means to open the file hence nothing?