Skip to content

feat(file-system-plugin): add open in file manager button in details panel - #312

Open
ManojSankolSR wants to merge 1 commit into
callstackincubator:mainfrom
ManojSankolSR:main
Open

feat(file-system-plugin): add open in file manager button in details panel#312
ManojSankolSR wants to merge 1 commit into
callstackincubator:mainfrom
ManojSankolSR:main

Conversation

@ManojSankolSR

Copy link
Copy Markdown
  • 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.

@github-actions

Copy link
Copy Markdown

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.

@V3RON

V3RON commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

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?

@ManojSankolSR

Copy link
Copy Markdown
Author

@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.

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.

3 participants