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

[iOS] Config option: requestCachePolicy #249

Closed
@Meshz

Description

@Meshz

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions