Repository navigation
iOS API
Ron Radtke edited this page Oct 6, 2026
·
4 revisions
This page describes the API before 1.0 (up to 0.25, under the RNFetchBlob names). For 1.0 see Home, the README and Migrating from 0.x.
0.10.0
Open a file in UIDocumentInteractionController, this is the default document viewer of iOS, supports several kinds of files. On Android, there's an similar method android.actionViewIntent.
This is a required field, the path to the document. The path should NOT contains any scheme prefix.
RNFetchBlob.ios.previewDocument(pathToLocalFile)0.10.0
Show options menu for interact with the file.
This is a required field, the path to the document. The path should NOT contains any scheme prefix.
RNFetchBlob.ios.openDocument(pathToLocalFile)