-
Notifications
You must be signed in to change notification settings - Fork 626
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
The example code from the Webview documantation doesn’t work. It’s just blank (gray) after the APK is built on Android.
Code sample
main.py
import flet_webview as fwv
import flet as ft
def main(page: ft.Page):
page.add(
fwv.WebView(
url="https://flet.dev",
on_page_started=lambda _: print("Page started"),
on_page_ended=lambda _: print("Page ended"),
on_web_resource_error=lambda e: print("WebView error:", e.data),
expand=True,
)
)
ft.run(main)requirements.txt
flet==0.81.0
flet-webview==0.81.0To reproduce
flet build apk --android-permissions android.permission.INTERNET=trueExpected behavior
Webview showing
Screenshots / Videos
Operating System
Windows
Operating system details
Build on: Windows 11 arm64 and x64
Testet on: Android 16
Flet version
0.81.0
Regression
I'm not sure / I don't know
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working