Skip to content
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

Map goes black when internet connection is lost #61

Open
elazarza opened this issue Dec 8, 2024 · 1 comment
Open

Map goes black when internet connection is lost #61

elazarza opened this issue Dec 8, 2024 · 1 comment
Labels

Comments

@elazarza
Copy link

elazarza commented Dec 8, 2024

Bug Report

Plugin(s)

@capacitor/google-maps@6.0.0

Capacitor Version

Latest Dependencies:

  @capacitor/cli: 6.2.0
  @capacitor/core: 6.2.0
  @capacitor/android: 6.2.0
  @capacitor/ios: 6.2.0

Installed Dependencies:

  @capacitor/android: 6.2.0
  @capacitor/cli: 6.2.0
  @capacitor/core: 6.2.0
  @capacitor/ios: 6.2.0

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}

@ionitron-bot ionitron-bot bot added the triage label Dec 8, 2024
@elazarza
Copy link
Author

elazarza commented Dec 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant