WebView should use same cookies as fetch
问题 I have done a sign in to my app using the native fetch API. I now need to load an image, so am loading it in a <WebView> , however the webview is not using the cookies from the fetch API outside of the webview. Is it possible to tell webview to use those cookies? 回答1: You can post a message containing your cookies content to your Webview using postMessage(). You need to get the ref of the Webview then post the message to your webview. let webviewRef = null; const cookiesContent = 'My cookies