Codename One PR #5607 Lets Apps Expose Documents to iOS Files and Android Picker

Codename One, an open-source framework for building cross-platform apps from a single Java or Kotlin codebase, has introduced a Document Provider feature via pull request #5607. The update allows developers to publish a curated, read-only document tree that appears as a recognizable location in the iOS Files app and Android storage picker. Developers define the folder and file structure programmatically, meaning internal data like database records or server-fetched content can be presented as browsable files without mirroring on-device storage. On iOS, the feature runs through a File Provider extension in a separate process using a shared App Group container, while on Android it operates within the app process — both consuming the same published model. The location is strictly read-only, and the entire tree can be withdrawn at any time by calling DocumentProvider.clear().
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in