uno: Webview2 not rendering in Android and iOS
Current behavior
Related to https://github.com/unoplatform/uno/issues/13605
Able to render WebView2 with a simple page see _simplePage in the sample, but unable to render _richTextPage.
Expected behavior
Render WebView2
How to reproduce it (as minimally and precisely as possible)
Sample: ForGab2.zip
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
5.0.0-dev.2779
Affected platforms
Android, iOS
IDE
Visual Studio 2022
IDE version
17.7.4
Relevant plugins
No response
Anything else we need to know?
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (19 by maintainers)
nvm, it seems like I was forgetting this await RichTextBoxWebView.EnsureCoreWebView2Async();
I am getting close. I can show a Test.html file with “Hello World” in it. I am seeing a blank page when showing the index.html that is suppose to show the RichTextBox. I will continue my investigation tomorrow
Thank you @MartinZikmund !
Android:
iOS:
cc: @darenm
looks like the css resolution of the toolbar font isn’t working