Relative Content

Tag Archive for react-nativecookieswebviewgoogle-oauth

Can we set cookies for a WebView in React Native?

I am working on a React Native mobile application which uses a WebView component to load a website in the app. The mobile application implements Google Login and get the JWT token from google and passes it to the WebView with injectJavascript method of WebView. The WebView takes this token and makes the API call to oauth2.googleapis.com/tokeninfo?token=<TOKEN>.