-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badge property and Map Control not working on Android #4362
Comments
Can you share your requirements file? |
@ndonkoHenri this is my requirements.txt |
Was able to reproduce the issue with the latest pre-release: import flet as ft
def main(page: ft.Page):
page.appbar = ft.AppBar(
title=ft.Text("Badge Playground"),
center_title=True,
bgcolor=ft.colors.LIGHT_BLUE_300,
)
page.add(
ft.OutlinedButton(text="This is a Button", badge=ft.Badge(text="New")),
)
ft.app(main) ActualExpected |
@ndonkoHenri |
Hello Siva-Rajan-R, I have the same problem with map on Android. Have you found a solution ? I have no requirements.txt , do you think I need to add websockets==14.0 or requests==2.32.3 or other ... Thanks, |
You don't need to add the websockets==14.0 or requests==2.32.3 or other It was an bug on packaging the flet team will resolve it as soon as possible. We need to wait for it🙂 and also don't forgot to add flet build apk --include-packages flet_map while building an apk , in future. |
Hello Siva-Rajan-R, Thanks for the advices, I am not familiar with specific Android setting. JC |
Please retry with the new flet v0.25.0. |
Hello ndonkoHenri, I have updated the new version (with $ pip install flet) But unfortunatly nothing works ! Maybe I didn't update flet correctly... Thanks, |
Hello, After removing the map.MapConfiguration( ... ) line, I put the initial_center= and initial_zoom= outside and that works on the desktop computer (linux). The building process is OK : Successfully built your .apk for Android! .... But on my Android phone, there is many error : Traceback (most recent call last): With the previous flet version (0.25.0.dev3750) that was Ok, no error ... but no map ... Thanks for your help, JC |
Should be fixed now. Please re-build the app. |
Hello, I have updated flet with :$ pip install flet --force-reinstall and re-built the App :$ flet build apk --include-packages flet_map but the same error appears : Traceback (most recent call last): |
Duplicate Check
Describe the bug
badge,
After updation of flet==0.25.dev3717 the badge property is added to every controls and i tried it .it works fine on Windows but,It was not working on Android
Map,
The map Control works fine on both windows and android before updating flet==0.25.0.dev3717.but after update its only work on Windows not on Android
Code sample
Code
To reproduce
1.Fix the badge property to work on Android
2.Fix the Map to work on Android
Expected behavior
Badge and map wants to work on Android properly
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
windows 11
Flet version
0.25.0.dev3717
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
It works on flet==0.24.1
The text was updated successfully, but these errors were encountered: