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 carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
Android
iOS
Linux
macOS
Web
Windows
Steps to reproduce
Prepare/find available server with web-socket support
Open the example app on Android (the issue persist only on Android)
The websocket channel will be connected automatically
Everything will work as expected
Click "Enable geolocator"
Pings (and actual data) from websockets will throttle more and more until completelly muted
Expected results
I expect ping messages each 3 seconds from websocket channel.
[FE][socket] data: {"type":"welcome"}
[FE][socket] data: {"type":"ping","message":1733363850}
[FE][timer] second passed 1
[FE][timer] second passed 2
[FE][timer] second passed 3
[FE][socket] data: {"type":"ping","message":1733363853}
[FE][timer] second passed 4
[FE][timer] second passed 5
[FE][timer] second passed 6
[FE][socket] data: {"type":"ping","message":1733363853}
...
Actual results
As soon as I enable Geolocator (or Google Maps) with accuracy set to "best," it breaks the connection more and more until it is finally completely muted.
[FE][socket] data: {"type":"welcome"}
[FE][timer] second passed 1
[FE][socket] data: {"type":"ping","message":1733363850}
[FE][timer] second passed 2
[FE][timer] second passed 3
[FE][timer] second passed 4
[FE][socket] data: {"type":"ping","message":1733363853}
[FE][timer] second passed 5
[FE][timer] second passed 6
[FE][timer] second passed 7
[FE][socket] data: {"type":"ping","message":1733363856}
[FE][timer] second passed 8
[FE][timer] second passed 9
[FE][timer] second passed 10
[FE][socket] data: {"type":"ping","message":1733363859}
[FE][timer] second passed 11
[FE][timer] second passed 12
[FE][timer] second passed 13
[FE][socket] data: {"type":"ping","message":1733363862}
[FE][timer] second passed 14
[FE][timer] second passed 15
[FE][timer] second passed 16
[FE][socket] data: {"type":"ping","message":1733363865}
[FE][timer] second passed 17
[FE][timer] second passed 18
[FE][timer] second passed 19
[FE][socket] data: {"type":"ping","message":1733363868}
[FE][timer] second passed 20
[FE][timer] second passed 21
[FE][timer] second passed 22
[FE][socket] data: {"type":"ping","message":1733363871}
[FE][timer] second passed 23
E/FlutterGeolocator( 9327): Geolocator position updates started
[FE][timer] second passed 24
[FE][timer] second passed 25
[FE][socket] data: {"type":"ping","message":1733363874}
[FE][timer] second passed 26
[FE][timer] second passed 27
[FE][timer] second passed 28
[FE][geolocator] data: Latitude: 43.658825, Longitude: -79.72306
[FE][socket] data: {"type":"ping","message":1733363877}
[FE][timer] second passed 29
[FE][timer] second passed 30
[FE][timer] second passed 31
[FE][timer] second passed 32
[FE][timer] second passed 33
[FE][geolocator] data: Latitude: 43.658821, Longitude: -79.7230634
[FE][socket] data: {"type":"ping","message":1733363880}
[FE][timer] second passed 34
[FE][timer] second passed 35
[FE][timer] second passed 36
[FE][timer] second passed 37
[FE][socket] data: {"type":"ping","message":1733363883}
[FE][socket] data: {"type":"ping","message":1733363886}
[FE][timer] second passed 38
[FE][geolocator] data: Latitude: 43.6588209, Longitude: -79.7230634
[FE][timer] second passed 39
[FE][timer] second passed 40
[FE][timer] second passed 41
[FE][timer] second passed 42
[FE][timer] second passed 43
[FE][geolocator] data: Latitude: 43.6588209, Longitude: -79.7230634
[FE][timer] second passed 44
[FE][timer] second passed 45
[FE][timer] second passed 46
[FE][timer] second passed 47
[FE][timer] second passed 48
[FE][geolocator] data: Latitude: 43.6588209, Longitude: -79.7230634
[FE][timer] second passed 49
[FE][timer] second passed 50
[FE][timer] second passed 51
[FE][timer] second passed 52
[FE][timer] second passed 53
[FE][geolocator] data: Latitude: 43.6588209, Longitude: -79.7230634
[FE][timer] second passed 54
[FE][timer] second passed 55
[FE][timer] second passed 56
[FE][timer] second passed 57
flutter doctorDoctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-arm64, locale en-CA)[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)[✓] Xcode - develop for iOS and macOS (Xcode 16.1)[✓] Chrome - develop for the web[✓] Android Studio (version 2024.2)[✓] VS Code (version 1.95.3)[✓] Connected device (5 available) ! Error: Browsing on the local area network for Alex’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27)[✓] Network resources• No issues found!
The text was updated successfully, but these errors were encountered:
It may not be related to the Geolocator itself because I'm seeing the same results with Google Maps when I enable "show my position on the map". But if someone can explain to me why it's happening or can somehow help me to resolve this issue, it would be great!
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Expected results
I expect ping messages each 3 seconds from websocket channel.
Actual results
As soon as I enable Geolocator (or Google Maps) with accuracy set to "best," it breaks the connection more and more until it is finally completely muted.
Code sample
Code sample
Screenshots or video
Screenshots or video demonstration
Not needed
Version
All versions
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: