Local file system browsing
Categories
(Firefox for Android :: General, enhancement)
Tracking
()
People
(Reporter: csadilek, Unassigned)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/1327.
Why/User Benefit/User Problem
I want to be able to view HTML documents and other supported files on my phone's local storage (including removable SD cards and such-like) in the browser, like I can with Firefox today.
What / Requirements
Unfortunately Google plans to make this rather difficult, and if we want to provide this feature on Android Q onwards we'd likely need
- content://-URI support in GeckoView
- Either hoping that these objections succeed, so that real file system access remains possible if the user grants it at least to specific directories, or else GeckoView also needs the ability for accessing files and browsing directories through the Storage Access Framework (which e.g. isn't really written with native code in mind as far as I've heard).
- Pestering Google about the fundamental unsuitability of working with content://-URIs received from other apps when the content in question isn't a single, atomic file, for which HTML documents are a perfect example.
Acceptance Criteria (how do I know when I’m done?)
- I can browse through the local file system and open supported files.
- Other apps can launch Intents for files on the local storage that the browser supports and those files are then successfully loaded (in the case of HTML documents that means including all subresources like images, style sheets, etc. and with working local relative links).
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Updated•3 years ago
|
Comment 1•1 year ago
|
||
Lack of this feature makes it impossible to use webapps compiled to single HTML files. Given how powerful WASM is, this could be a powerful way to distribute cross-platform, performant apps. Obviously Google wants to cut down on that, because they push people to use Google Play. But eventually Mozilla will stand up to this practice, right?
If there's fear of Google taking down Firefox from Google Play if it implements such a feature, it would be cool to maybe have a compile flag that can toggle this on/off
Description
•