You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the expected behavior. Android file picker returns a Uri. It means that it is not directly convertible to java.io.File. Also, this Uri is only usable during the current user session. After the user closes his app, this Uri will be invalidated.
If you want more control over your file, you can copy it into the internal app storage. This time, it will be a java.io.File, and you'll have full access to it.
Here is my scenario.
Open File Picker -> Select File -> receive platform file -> call platform specific func on Android to check if file exists:
Path from platform file looks like this /data/user/0/my_package/files/1000015890.jpg.
The text was updated successfully, but these errors were encountered: