You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the bug
I'm compiling the apk to use google login with the provider
if name == "main":
ft.app(target=main, port=8550,view=ft. WEB_BROWSER,assets_dir="assets")
When I place the port and the view I compile the apk and it doesn't work if I use page.launch_url to call a URL when compiling the URL doesn't call me but when using flet run or flet run --android it does work
Code sample
Code
API_URL="http://localhost:8000/auth/o/google-oauth2"REDIRECT_URI="http://localhost:8550/oauth_callback"defredirect_to_google_login(e):
try:
# Llamada al backend para obtener la URL de autenticaciónresponse=requests.get(f"{API_URL}/?redirect_uri={REDIRECT_URI}")
response.raise_for_status()
authorization_url=response.json().get("authorization_url")
ifauthorization_url:
# Abrir la URL en el navegador predeterminadopage.launch_url(authorization_url)
else:
print("Error: No se pudo obtener la URL de autorización.")
exceptrequests.RequestExceptionaserr:
print(f"Error al obtener la URL: {err}")
To reproduce
White screen using the Google provider and using the page.launch_url the URL does not run
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
Versión 15.1.1 (24B91)
Flet version
0.25.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered:
Duplicate Check
Describe the bug
I'm compiling the apk to use google login with the provider
if name == "main":
ft.app(target=main, port=8550,view=ft. WEB_BROWSER,assets_dir="assets")
When I place the port and the view I compile the apk and it doesn't work if I use page.launch_url to call a URL when compiling the URL doesn't call me but when using flet run or flet run --android it does work
Code sample
Code
To reproduce
White screen using the Google provider and using the page.launch_url the URL does not run
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
Versión 15.1.1 (24B91)
Flet version
0.25.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered: