feat(file-system-plugin): add open in file manager button in details panel - #312
feat(file-system-plugin): add open in file manager button in details panel#312ManojSankolSR wants to merge 1 commit into
Conversation
ManojSankolSR
commented
Jun 26, 2026
- Added a host-side POST /open-in-file-manager endpoint to the middleware server to open local folders on macOS, Windows, and Linux.
- Updated the DevTools details panel to display an "Open in File Manager" button next to "Export" for both selected files and directories.
- Kept directory selection active when navigating inside to allow host reveals.
- Implemented a graceful WebSocket-based simulator/device fallback when running on physical/non-local environments.
|
This pull request has been marked as stale because it has been inactive for 30 days. Please update this pull request or it will be automatically closed in 14 days. |
|
Hey! I looked through the PR and the functionality looks great. One question: how is this expected to work on Android, where emulator files live inside the AVD image and aren’t directly accessible from the host, unlike iOS Simulator files? |
|
@V3RON the Android implementation handles this entirely on the device side. Instead of pinging the middleware to open the host's file manager, the plugin uses React Native's Linking.openURL() with an ACTION_VIEW intent (using either a content:// or file:// URI). So when you click the button for an Android app, it actually launches the native file manager (or whatever default app is set) inside the emulator or physical device itself I understand that opening it on the device isn't exactly the expected approach, but due to the current limitations, this was the most feasible implementation. |