Hello, I try to use WebView in my app. I follow th...
# compose-desktop
q
Hello, I try to use WebView in my app. I follow this example https://stackoverflow.com/questions/67959032/how-to-use-webview-in-jetpack-compose-for-desktop-app. It runs fine when I hit play on IDE, but when I package to msi and install, the webview doesn’t work. Did any one face the same issue?
2
m
Do you get an error message?
q
I don’t get any error message. Pls see the videos for reference. Another issue is the app is laggy. while running on IDE, when i click on a button to increase counter, its fine, but on the distributive build, I have to click multiple times
m
Hmm if there's no error (not even on the console) then it will require a deeper investigation, unless someone already knows the answer.
m
In the long run, the better alternative would be to get this https://github.com/JetBrains/compose-jb/tree/master/experimental/cef working again. A good browser component is important for many Compose desktop apps.
q
Thanks, looks like it’s outdated but i’l give it a try