open_file icon indicating copy to clipboard operation
open_file copied to clipboard

Android 13 tries to open file internally, resulting error

Open JCChamo opened this issue 1 year ago • 1 comments

When I try to open a local file await OpenFile.open(path), the phone tries to open the file internally from the Flutter app, so to speak. And it results in an error with message "Unable to perform request".

If I install an additional app for this type of file (PDF Viewer), when I try to open the file, it prompts the app selector "open with" tab. Then, there is no problem to select the app and open it. The problem is when an user doesn't have a third party app, thus not being able to open the file.

Screenshot_20220914-114219

The shortaround would be forcing the device to open the file with an external app (Google Drive PDF Reader for example).

JCChamo avatar Sep 14 '22 09:09 JCChamo

the same here

vinhbui1 avatar May 29 '23 09:05 vinhbui1