Closed amrmsaraya closed 10 months ago
@amrmsaraya Thank you for your feedback! Which platform are you using? Have you followed the steps in README.desktop.md? If you have, could you please provide the code on setting up the WebView? You can refer to BasicWebViewSample as a reference.
Thanks @KevinnZou for the fast response. actually i figured out the problem after using BasicWebViewSample as a reference like you said. The problem was that i was creating the WebViewState
before KCEF
is intialized even if i don't call the WebView
composable until it's initilaized. So all i needed to do is creating the WebViewState
after KCEF
has been initialized.
Sorry for the inconvenience.
For a compose desktop application i get this error in
state.errorsForCurrentRequest
using the code sample in the README.desktop.mdERR_ABORTED), WebViewError(code=-3, description=Failed to load url: https://github.com)
Thanks for your efforts for this great library