Reputation: 21
I have a http call to an api, the first call is ok, during using the application there are https
calls under same domain. even though consequence https
calls are not happening within webview but all http
url under the same domain will redirect to https
in the webview.
Upvotes: 1
Views: 648
Reputation: 13926
You can work this out through the React Native built-in module.
You can use RCTNetworking
var RCTNetworking = require("RCTNetworking");
RCTNetworking.clearCookies();
Upvotes: 1