Webview with useWebKit={true} session ends cookies are not passed to the Webview. #23255
Labels
Bug
Component: WebView
Related to the WebView component.
Resolution: Locked
This issue was locked by the bot.
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 108.45 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.4.0 - ~/.nvm/versions/node/v11.4.0/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v11.4.0/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
API Levels: 28
Build Tools: 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5199772
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.3 => 0.58.3
npmGlobalPackages:
react-native-cli: 2.0.1
Description
soon after Webview loads Session get expired.
WebView works fine without useWebKit={true}. but here my e.nativeEvent.data is JsonObject. hence output will be "Object object" as it accepts only string.
with useWebKit={true} I am able get my data, but gets session expired issue
Reproducible Demo
class TestLibrary extends Component{
constructor(props){
super(props);
this.state={
clicked:this.props.clicked,
DEFAULT_URL:'https://www.facebook.com',
componentLoading:true,
appLoading: false,
};
}
export default TestLibrary;
The text was updated successfully, but these errors were encountered: