Skip to content

feat: implementation of readable streams on Android, and FilePicker #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 12, 2024

Conversation

grabbou
Copy link
Collaborator

@grabbou grabbou commented Nov 12, 2024

Adds InputStream, FileSystem and Intent to access data (still missing a few features, but it works).

@grabbou grabbou changed the title wip(feat): implementation of readable streams on Android, and FilePicker feat: implementation of readable streams on Android, and FilePicker Nov 12, 2024
?: throw RuntimeException("Cannot access file: $path")

return Metadata(
name = document.name ?: "",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] Maybe we should fallback to a name extracted from the uri instead of ""? WDYT?

@grabbou grabbou merged commit 246b5e1 into feat/android-streams-xplat Nov 12, 2024
grabbou added a commit that referenced this pull request Nov 12, 2024
)

* chore: initial android impl. for streams

* chore: tweaks

* remove try/catch

* update code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants