-
Notifications
You must be signed in to change notification settings - Fork 446
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
Testing Flet app on iOS : dialog asking for permissions #1612
Comments
My guess is that app URL built by Python Flet app is not accessible from your phone and iPad. While Flet does its best to determine computer external IP the algorithm could be non-ideal. Take the app URL it shows in console above QR code and try opening it in the browser on your phone/iPad? |
Safari Browser can’t open the URL. |
Make sure both computer and phone are connected to the same wi-fi network. |
It is |
What OS is on your computer? |
Windows 10 |
By default, for iOS apps Flet server is listening on port |
Original URL generated by the command FLET run —ios is |
Here are the conclusions of my latest research: My VPN is causing some issues: You said that FLET uses a dedicated port 8551. |
Thanks for your efforts to further investigate this issue. Yes, when running with Re: IP detection - currently Flet uses the following code to determine IP: import socket
hostname = socket.gethostname()
ip_addr = socket.gethostbyname(hostname) wondering what it gives to you when VPN is on/off? Any ideas how to improve that with VPN enabled? |
@Michel7GitHub Could you try using |
Using |
One last thing about your installation guide. The procedure mentions
|
yep, those instructions were for macOS/Linux. I will add Windows instructions as well. |
Thank you for your time and devotion to this fantastic project. Have a nice continuity |
I am new with Flet. I installed the new IOS Flet application on my iPad (V16.5.1) and my cell phone (V16.5.1c). I am developing my Flet apps on Windows 10. I have followed the "Testing Flet app on iOS" procedure and I have a problem at the step after reading the QR code. Nothing is running. My IPad, nor my IPhone does not display the Popup "dialog asking for permissions to access your local network". However, I have another application on my iPad which communicates very well with my computer.
I tried to find a setting on my IPhone/IPad to grant access but couldn't find anything.
Do you have an idea that could help me?
The text was updated successfully, but these errors were encountered: