Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2025-07-01 Thread 'Ashley Gullen' via blink-dev
Thanks for the update. A bit of a wait but sounds like we'll get there in the end. On Mon, 30 Jun 2025 at 20:04, Torne (Richard Coles) wrote: > On Mon, 30 Jun 2025 at 11:42, 'Ashley Gullen' via blink-dev < > blink-dev@chromium.org> wrote: > >> Hi folks, apologies for raising an old thread, but

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2025-06-30 Thread Torne (Richard Coles)
On Mon, 30 Jun 2025 at 11:42, 'Ashley Gullen' via blink-dev < blink-dev@chromium.org> wrote: > Hi folks, apologies for raising an old thread, but it's not currently > clear what the status of File System Access is for Android WebView. Have > the necessary changes for WebChromeClient#onShowFileChoo

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2025-06-30 Thread 'Ashley Gullen' via blink-dev
Hi folks, apologies for raising an old thread, but it's not currently clear what the status of File System Access is for Android WebView. Have the necessary changes for WebChromeClient#onShowFileChooser() shipped? We're asking Cordova to support this on Android. They already have an onShowFileChoos

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2025-01-21 Thread 'Ashley Gullen' via blink-dev
I was happy to see this ship in the latest M132 release, but I ran in to another bug, so just as a heads up I'm linking it here: https://issues.chromium.org/issues/391283117 Ashley On Fri, 15 Nov 2024 at 00:43, Joel Hockey wrote: > From my testing, chromeos sets a default extension, but linux d

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-11-14 Thread Joel Hockey
>From my testing, chromeos sets a default extension, but linux doesn't. Android doesn't support default extensions, but it does support setting the default filename. I have created crbug.com/379140421 to set that via showSaveFilePicker optional suggestedName field. On Thu, Nov 14, 2024 at 7:18 P

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-11-14 Thread 'Ashley Gullen' via blink-dev
Just re-tried this and it's working a lot better in the latest Canary! Thanks for the fixes. One more issue I noticed though is that save prompts don't appear to add a default file extension. Using our PWA (https://editor.construct.net), create a new empty project and try saving it with Menu > Pro

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-11-12 Thread Mike Taylor
Thank you Joel for your work to enable this on Andoid and Webview, and thanks to you and others for ensuring we ship quality features everywhere. :) On 11/12/24 6:54 PM, Joel Hockey wrote: The FileSystemAccess API is enabled for android and webview in M132 and expecting to release to stable in

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-11-12 Thread Joel Hockey
The FileSystemAccess API is enabled for android and webview in M132 and expecting to release to stable in Jan, 2025. Thanks to Ashley and others who have already tested, we have been able to fix some missing pieces that were tricky for android. Please do let me know if there are other issues or b

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-11-01 Thread 'Joel Hockey' via blink-dev
Ashley, I've got some fixes coming for the getFileHandle() call. I've been able to test with your app and it is working. I'm hoping to land them next week, but part of my change touches a lot of internal APIs, so review make take some time. Jeffrey, I think I've got the interop and compat bet

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-30 Thread Jeffrey Yasskin
It seems like the "Interoperability and Compatibility" section for this Intent is misleading: shipping a piece of an API can cause compatibility problems if developers were feature-detecting the API as a whole, and then a function is missing or doesn't work *after* they've already committed to the

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-30 Thread 'Ashley Gullen' via blink-dev
Yes, we use dirHandle.getFileHandle(name, { create: true }). We use that to create new files in the chosen folder. That is fundamental to how our PWA saves data in folders (and I'd have thought fundamental to the use of a directory picker). On Wed, 30 Oct 2024 at 08:40, Joel Hockey wrote: > I've

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-30 Thread Joel Hockey
I've got fixes for mime-types and save-as. Ashley, I tried out the app and saw how it fails for "save as project folder". I haven't looked at the JS code you have, but I'm guessing that the problem is that the android implementation of FileSystemHandle is missing some features such as dirHandle.g

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-29 Thread 'Ashley Gullen' via blink-dev
Thanks for filing the issues! Re 'save as folder': yes, it's just showDirectoryPicker({ mode: "readwrite" }). We just describe that as "save as" in our own UI (as it basically means "choose the location with a dialog"). My main point is that things that work on desktop Chrome aren't currently work

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-29 Thread 'Thomas Steiner' via blink-dev
> > Re 'save as folder': yes, it's just showDirectoryPicker({ mode: > "readwrite" }). We just describe that as "save as" in our own UI (as it > basically means "choose the location with a dialog"). My main point is that > things that work on desktop Chrome aren't currently working on Android. > Go

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-29 Thread Peter Beverloo
On Tue, Oct 29, 2024 at 7:27 AM Joel Hockey wrote: > Thanks Tom and Ashley, I've created: > > crbug.com/376097107 - Android FileSystemAccess mime filters are being > ignored > crbug.com/376097630 - Android FileSystemAccess opening folder with many > files causes chrome to become unresponsive > cr

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-29 Thread 'Thomas Steiner' via blink-dev
On Tue, Oct 29, 2024 at 8:27 AM Joel Hockey wrote: > Thanks Tom and Ashley, I've created: > > crbug.com/376097107 - Android FileSystemAccess mime filters are being > ignored > crbug.com/376097630 - Android FileSystemAccess opening folder with many > files causes chrome to become unresponsive > cr

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-29 Thread Joel Hockey
Thanks Tom and Ashley, I've created: crbug.com/376097107 - Android FileSystemAccess mime filters are being ignored crbug.com/376097630 - Android FileSystemAccess opening folder with many files causes chrome to become unresponsive crbug.com/376097108 - Android FileSystemAccess save-as does not allo

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-28 Thread Peter Beverloo
Hi Joel, could you summarise how this has ended up working on WebView, as there's neither permissions nor UI there? Will apps using WebView have to adopt anything? Thanks, Peter On Mon, Oct 28, 2024 at 12:50 PM 'Ashley Gullen' via blink-dev < blink-dev@chromium.org> wrote: > I'd be very happy t

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-28 Thread 'Ashley Gullen' via blink-dev
I'd be very happy to see the File System Access API ship on Android! However from my testing it doesn't look ready yet. Using our PWA Construct ( https://editor.construct.net) in Canary 132, create a new empty project and try saving it with Menu > Project > Save as, and: - Choosing 'Save as sin

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-28 Thread 'Thomas Steiner' via blink-dev
Wow, that's fantastic news! I tried the feature on 132.0.6803.0 on Android VanillaIceCream with this demo that uses the main window, a same origin iframe, and a cross origin iframe (the last one should not work). - Opening a single f

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-10-25 Thread Joel Hockey
The FileSystemAccessLocal feature has just been enabled for android in M132. On Thu, Sep 5, 2024 at 7:30 PM Thomas Steiner wrote: > Very excited for this feature to come, it's a frequently requested gap so > far—frequently enough to link to the FSA for Android bug from our > developer-facing doc

Re: [blink-dev] Intent to Ship: File System Access on Android and WebView

2024-09-05 Thread 'Thomas Steiner' via blink-dev
Very excited for this feature to come, it's a frequently requested gap so far—frequently enough to link to the FSA for Android bug from our developer-facing documentation