-
Notifications
You must be signed in to change notification settings - Fork 787
iOS API
Open a file in UIDocumentInteractionController, this is the default document viewer of iOS, supports several kinds of files.
This is a required field, the path to the document.
Optional field, a scheme like itms-books://
or so, throw error if the scheme is not supported. Notice that, if you're going to use extra scheme, you have to add an entry to LSApplicationQueriesSchemes
to info.plist
.
Show actions menu for interact with the file.
<img src="https://raw.githubusercontent.com/wkh237/react-native-fetch-blob/master/img/action-menu.png" width="300/>
This is a required field, the path to the document.
Optional field, a scheme like itms-books://
or so, throw error if the scheme is not supported. Notice that, if you're going to use extra scheme, you have to add an entry to LSApplicationQueriesSchemes
to info.plist
.