[ Proof ]
react-native-file-viewer
native-seam only — the real upstream open() (Platform.OS branch, currentId counter, RNFileViewerDidOpen/DidDismiss listener bookkeeping, normalize() helper) runs from the bundle. sootsim registers the RNFileViewer TurboModule; open() reads the app file from its tenant store (expo-file-system, or react-native-fs and blob-util) and sends the bytes to the browser host, which shows pdf, raster image, plain text, audio and video files in a window cut off from the page and emits DidOpen when the window opens and DidDismiss when it closes.85%
API coverageWorking (10)
real upstream open() running from the bundlePromise resolution via RNFileViewerDidOpenonDismiss via RNFileViewerDidDismiss fired when the viewer window closespdfraster imageplain textaudio and video files from the expo-file-system and react-native-fs/blob-util stores shown in the browser's own viewerfile:// normalization with decodeURI in upstreama missing filea type the host will not show or a blocked window rejects open() with an error
Missing
native QuickLook preview UI presentation, html, svg, xml and office documents (the host refuses types that can run script or that a browser would only download), a missing file presenting its metadata, Android content provider / MIME intent resolution, displayName / showAppsSuggestions / showOpenWithDialog (ignored), files outside the app stores, the desktop native browser window, and a host that blocks pop-up windows outside a user gesture