From 1404e4ae9e5cd338ec89e19a0192080581ba9cd9 Mon Sep 17 00:00:00 2001 From: Wonday Date: Sat, 23 Mar 2019 20:36:39 +0800 Subject: [PATCH] Trusting certificates for api http redirection --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 48483a5a..dae8058f 100644 --- a/index.js +++ b/index.js @@ -248,6 +248,7 @@ export default class Pdf extends Component { this.lastRNBFTask = RNFetchBlob.config({ // response data will be saved to this path if it has access right. path: tempCacheFile, + trusty: true, }) .fetch( source.method ? source.method : 'GET',