Replies: 1 comment 1 reply
-
It seems to be a bug with JSImport definitions. Avalonia/src/Browser/Avalonia.Browser/Interop/StorageHelper.cs Lines 59 to 69 in 5b1385d Should be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm developing an Avalonia application that runs in the browser using WebAssembly, and I've encountered an issue with the
StorageProvider
API.When I try to move a file using the
IStorageItem.MoveAsync()
method, I receive the following JavaScript runtime error in the browser console:This happens when I call the method from my
BrowserStorageItemService
, like so:I'm also getting same errors for moving and deleting items.
Could you please clarify the expected behavior for file system manipulation operations (like moving, creating, and deleting files/folders) via
StorageProvider
in a WebAssembly environment? Are these operations intended to be fully supported, or are there known limitations due to browser security restrictions?Any guidance on the recommended approach for handling such operations in the browser would be greatly appreciated.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions