You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
"react-native": "0.33.0",
"react-native-fetch-blob": "^0.9.6",
XcodeVersion 7.3.1
as title,
and I checked didRectiveChallenge function in RNFetchBlob.xcodeproj/RNFetchBlobNetwork.m
When I connect to HTTPS with using trusty:true , didRectiveChallenge will not be entered , so I get failed result.
But if I remove the if block ,
if ([options valueForKey:CONFIG_TRUSTY] != nil) { completionHandler(NSURLSessionAuthChallengePerformDefaultHandling, [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust]); }
it will connect successfully,
I find out the function does not work because of this code
NSURLSessionAuthChallengePerformDefaultHandling
I change this it can work
NSURLSessionAuthChallengeUseCredential
Can someone tell me why? Plz
The text was updated successfully, but these errors were encountered: