[iOS] Config option: requestCachePolicy #249
Description
I'm trying to auth my user to SharePoint. It is working fine in Android but I'm facing a problem in iOS.
One of the requests for auth uses several redirects which set cookies. The first time I sign in, all the redirects are followed but the second time, I'm going straight to the last redirect and then some cookies are not set. I can confirm this by cleaning the iOS simulator (xcrun simctl erase all
) and it is working fine again the first time only.
I found this link exposing the requestCachePolicy
parameter (also this one describing a bit more). I tried to set defaultConfigObject.requestCachePolicy = NSURLRequestReloadIgnoringLocalCacheData
in RNFetchBlobNetwork.m:250 but it does not seem to work. As I have never used Objective-C I may be missing something.
Thank you for your help and time.