London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
10.7 C
New York
Monday, November 25, 2024

android – Entry Token Not Retained in WebView When Opening through Deep Hyperlink in React Native #3621


Bug description:
I’m encountering a difficulty with WebView in my React Native app. When the applying is launched utilizing a deep hyperlink, the WebView doesn’t retain the entry token, inflicting the consumer to be logged out. Nonetheless, when logging in straight utilizing credentials inside the app, every part works as anticipated.

Setup:

Dependencies:

“@react-native-cookies/cookies”: “6.0.11”
“react-native-webview”: “13.10.5”
What I’ve Tried:

Passing cookies utilizing CookieManager.
Verifying that the entry token is about appropriately when logging in straight.
Anticipated Habits:
The WebView ought to retain the entry token and preserve the session when launched through a deep hyperlink.

Precise Habits:
The WebView doesn’t acknowledge the entry token, leading to an automated logout.

Further Context:
Any insights or recommendations on guaranteeing cookies persist in WebView when utilizing deep hyperlinks can be significantly appreciated.

<WebView 
  ref={(ref) => { this.webviewRef = ref; }}
  key={this.state.key}
  onLoad={() => this.hideLoader()}
  supply={{ uri: this.state.supply }}
  androidHardwareAccelerationDisabled={true}
  androidLayerType="software program"
  sharedCookiesEnabled={true}
  thirdPartyCookiesEnabled={true}
  useSharedProcessPool={true}
  incognito={false}
  domStorageEnabled={true}
  cacheEnabled={false}
  useWebKit={true}
  model={{ opacity: 0.99 }}
  clearHistory={true}
  javaScriptEnabled
  onNavigationStateChange={this._onNavigationStateChange.bind(this)}
  onMessage={this.onMessage.bind(this)}
/>

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com