282 questions
-5
votes
0
answers
44
views
flet displays wrong view after pop?
im having issues in flet 0.80.5 with my back button or view_pop.
async def view_pop(e):
page.views.pop()
top_view = page.views\[-1\]
await page.push_route(top_view.route)
my on route ...
0
votes
0
answers
130
views
Get filepath using Flet in python
I am using Flet 0.80.4 with Python 3.11.
The user should be able to upload a file via a button. I want to process this file with Polars or Pandas. I found some examples of how to handle file uploads, ...
0
votes
0
answers
101
views
Android app - Flet/Flutter Google OAuth Flow
I'm receiving an authorisation error when visiting the google OAuth client URL from my flet built android app from my phone. The oob method worked fine (urn:ietf:wg:oauth:2.0:oob) but ideally I'd like ...
0
votes
0
answers
67
views
libpyjini.so not found - White screen on smartphone
I'm trying to generate an APK build, and I'm getting the following error:
#Resumo do Erro:
nativeloader: Load libpyjni.so using class loader ns clns-4 (...) dlopen failed: library "libpyjni.so&...
-1
votes
1
answer
207
views
Flet error while building Windows application [closed]
Every time I try to use the command "flet build windows" in the same folder where my main.py source code is, I get the error shown in the screenshot.
I've already downloaded Visual Studio ...
1
vote
0
answers
141
views
The Android APK is not built from the Python Flet project
I wrote a simple app that retrieves, displays, and modifies data from a JSON file. The app uses BS4, requests, and Flet=0.29.3 (I'm not upgrading to a higher version, as this is the most optimal for ...
3
votes
0
answers
200
views
Built Flet android app is blank inside, but in testing it works fine
I am making my first app with Flet in python. The problem that I get, is when I build the app as an apk, it is just blank inside. No error, no crash. The weirdest thing is, that the app works ...
0
votes
0
answers
62
views
How to update user status in MySQL after app purchase confirmation via Google Play?
I have an app built with Flet (Python) hosted on Railway alongside MySQL, and built with a Flutter webView for Google Play.
I want to update the "account_type" column in the MySQL database, ...
0
votes
1
answer
119
views
How to center the content in a Flet page
I'm trying to create an Android app with a navigation bar. When I navigate I clear the content's page and add a new content. The default content occupies all the size, but when I navigate to another ...
1
vote
0
answers
122
views
flet_ads only displaying: Unknown control: banner_ad
I'm new to flet. I couldn't make ads work in a project. All attempts so far show up like the screen shot attached.
I followed this tutorial (https://youtu.be/CgScZlh_xRs?si=icHZf_k0o_JMMqlq), and when ...
0
votes
0
answers
156
views
How can I fix this error in my python3/flet script?
I'm working on this Python3/flet0.28.3 project, on Macos M1:
main.py:
from flet import *
from flet_route import Routing,path
from pages.LOGIN import Login
from pages.HOME import Home
from pages.EDITOR ...
2
votes
1
answer
102
views
Flet app for Supabase account management: unable to reset password for already registered email
I developed a simple authentication UI (login, registration, and password reset) for a Flet app using Supabase as the backend for user management. The app entry point is the main function which sets ...
0
votes
1
answer
76
views
on_login function not getting executed in flet auth
I am trying to create a login using discord oauth in flet.but the on_login function is not getting executed
my imports:
import os
import flet
from flet import ElevatedButton, Page
from flet.auth ...
0
votes
0
answers
28
views
AuthorizationService error for basic login in flet
Using the new Flet 0.7a version.
Using the default auth example from their docs
def main(page: ft.Page):
provider = GoogleOAuthProvider(
client_id=GOOGLE_CLIENT_ID,
client_secret=...
0
votes
1
answer
87
views
Python-Flet_Routing: pass variables between Views(pages)
I have a Python script, Flet multipages based using flet_routing module. I would like to know if is there a way, when changing page using 'page.go('/new_page'), to pass variables from first page to ...