Google Maps iOS continous spinner for navigation

Viewed 90

In the application user has possible to open Google maps with navigation to the stop. When user has enabled location permission in the system dialog, everything works correct - Google Maps is opened, load and show path between selected stop and current user location. The situation changes when user has disabled location permission. In this case Google maps opens but is unable to load path on the maps. It also show endless loading indicator in navigation steps place.

enter image description here

Recorded movie: https://drive.google.com/file/d/1MriakRfRhILNmdv_TvAXDhaz_uMrZag4/view?usp=sharing

Any ideas how to fix this issue, to force Google maps showing navigation path in case of disabled location permission in my app?

For opening google maps we use url:

comgooglemaps://?saddr=&center=56.66927193017708,12.864841503952087&directionsmode=walking&daddr=Halmstad+C+(T%C3%A5g)

I use Google Maps

pod 'GoogleMaps', '~> 4.1.0'

Example of this bug is in the project:

0 Answers
Related