Replies: 3 comments 8 replies
-
Did you add the following permissions as detailed in our docs: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/essentials/file-saver?tabs=android If so and it's still not working have you looked through the linked Android documentation page: https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE |
Beta Was this translation helpful? Give feedback.
-
I suggest you have a read of this article Upload file to Google. It's not straight forward as you'll need all kinds of authentication and authorisation, etc. You may also want to have a look at the Google Docs API Client Library for .NET. |
Beta Was this translation helpful? Give feedback.
-
public static class UriExtensions /// Convert to an absolute path (). /// It returns if the is not resolvable. /// public static string? ToPhysicalPathX(this Uri uri) { if (uri == null) { return null; }
} |
Beta Was this translation helpful? Give feedback.
-
I am using the FileSaver component to write small text files. This works fine one local folders but when I select a location in Drive I always get an error.
Error is:
Unable to resolve absolute path where the file was saved 'content://com.google.android.apps.docs.storage/document/acc%3D4%3Bdoc%3Dencoded%
In fact I selected a folder and the file is created locally but empty.
Do I need to set a permission or what is the problem here?
Thanks frank
Beta Was this translation helpful? Give feedback.
All reactions