RN clears the cookie cache of WebView

Use WebView in RN to load Meituan’s coupon page, and Meituan caches the login information in the WebView’s cookie, which causes the display of the previous user’s information when switching accounts and opening the Meituan link again, so it needs to be cleared cookie

var RCTNetworking = require("RCTNetworking");
RCTNetworking.clearCookies(() => {
    
    });

Guess you like

Origin blog.csdn.net/gg_ios/article/details/104927354