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
when on map, if pulling down iphone's menu and turning off internet, then going back to app, map goes blank, xcode logs state no internet connection.
after navigating out of the map screen and coming back in (all while still offline) map shows correctly.
Expected Behavior
map keeps showing even if connection is lost.
Code Reproduction
just create a regular map and following the instructions above.
Please some attention on that matter its a pretty critical bug and my production is pretty buggy because of it
if any more information is needed i'll gladly provide it.
elazarza
changed the title
Map goes black when internet connection is lost
Map goes blank when internet connection is lost
Jan 5, 2025
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
Plugin(s)
@capacitor/google-maps@6.0.0
Capacitor Version
Platform(s)
IOS, not checked on android.
Current Behavior
when on map, if pulling down iphone's menu and turning off internet, then going back to app, map goes blank, xcode logs state no internet connection.
after navigating out of the map screen and coming back in (all while still offline) map shows correctly.
Expected Behavior
map keeps showing even if connection is lost.
Code Reproduction
just create a regular map and following the instructions above.
Additional Context
xcode dump
Task <64CC9902-8C66-4211-9554-543FD16F0925>.<8> finished with error [18,446,744,073,709,550,611] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingError=0x3034ca5b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x301f3d740 [0x1f8b67460]>{length = 28, capacity = 28, bytes = 0x1c1e01bb000000002a0014504028080b ... 0000200400000000}, _kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <64CC9902-8C66-4211-9554-543FD16F0925>.<8>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <64CC9902-8C66-4211-9554-543FD16F0925>.<8>"
), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://www.google.com/maps/vt/proto?bpb=Cg0KCAgKEK0CGIEDygEAEgYIABi_hD0aVhIFaGUtSUwaAi0tKNICYgIIL2ISCEQSDgoDc2V0EgdSb2FkbWFwYgIIFGIWCCMSEgoJbXVsdGl6b29tEgVmYWxzZWIPCCUSCwoJc21hcnRtYXBzoAEAIAEyJggMEAIwADgBgAIBuAIB2AIB6AIBkAMB4AMB0AQB4AEGyAIBsAMBogEGGAEwAXgBugEezsVT0cVTut2oAumOtBbriLgWj6q4Fr_ExiLX8vYsKgUtAACAPw, NSErrorFailingURLKey=https://www.google.com/maps/vt/proto?bpb=Cg0KCAgKEK0CGIEDygEAEgYIABi_hD0aVhIFaGUtSUwaAi0tKNICYgIIL2ISCEQSDgoDc2V0EgdSb2FkbWFwYgIIFGIWCCMSEgoJbXVsdGl6b29tEgVmYWxzZWIPCCUSCwoJc21hcnRtYXBzoAEAIAEyJggMEAIwADgBgAIBuAIB2AIB6AIBkAMB4AMB0AQB4AEGyAIBsAMBogEGGAEwAXgBugEezsVT0cVTut2oAumOtBbriLgWj6q4Fr_ExiLX8vYsKgUtAACAPw, _kCFStreamErrorDomainKey=1}
The text was updated successfully, but these errors were encountered: