Skip to content

feat(filesystem-plugin): support adapters and new expo-file-system API#208

Merged
V3RON merged 3 commits intomainfrom
feat/file-system-adapters
Mar 31, 2026
Merged

feat(filesystem-plugin): support adapters and new expo-file-system API#208
V3RON merged 3 commits intomainfrom
feat/file-system-adapters

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Mar 25, 2026

Description

Adds a filesystem adapter API to the File System plugin, so apps can bring their own filesystem implementation while keeping the existing expoFileSystem and rnfs hook options working.

The built-in Expo adapter now supports both the modern expo-file-system API and expo-file-system/legacy, avoiding deprecated runtime paths in newer Expo versions.

Related Issue

N/A

Context

This keeps the plugin's user-facing behavior the same while moving provider differences behind a normalized adapter layer. Reviewers should mainly check that adapter resolution stays backward compatible and that Expo modern/legacy detection prefers the safe runtime path.

Testing

  • Ran pnpm --filter @rozenite/file-system-plugin test
  • Ran pnpm --filter @rozenite/file-system-plugin typecheck
  • Ran pnpm --filter @rozenite/file-system-plugin lint

@V3RON V3RON merged commit 0e00086 into main Mar 31, 2026
4 checks passed
@V3RON V3RON deleted the feat/file-system-adapters branch March 31, 2026 15:56
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.

1 participant