Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 429cc68

Browse files
committed
refs #51397 Added parameters to UIDocumentInteractionController
1 parent 075dade commit 429cc68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ function previewDocument(path:string, scheme:string) {
3030
* @param {string} scheme URI scheme that needs to support, optional
3131
* @return {Promise}
3232
*/
33-
function openDocument(path:string, scheme:string) {
33+
function openDocument(path:string, fontFamily:string, fontSize: number, hexString: string, scheme:string) {
3434
if(Platform.OS === 'ios')
35-
return RNFetchBlob.openDocument('file://' + path, scheme)
35+
return RNFetchBlob.openDocument('file://' + path, fontFamily, fontSize, hexString, scheme)
3636
else
3737
return Promise.reject('RNFetchBlob.previewDocument only supports IOS.')
3838
}

0 commit comments

Comments
 (0)