dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 131 forks source link

Google maps not loading route (iPhone) #227

Closed capc0 closed 5 years ago

capc0 commented 5 years ago

I'm submitting a ... (check one with "x"):

Bug report

Current behavior:

Launching google maps on iOS (iPhone) will result in a endless loading spinner. The gps coordinates are shown correctly but the location is never resolved. When changing to e.g. 'walking' and back to 'driving', the route gets loaded properly. Same code on iPad works fine.

Expected behavior:

Google maps should load the route instantly.

Steps to reproduce:

Make sure to have google maps closed. Launch via this plugin by latitude and longitude coordinates on iPhone (iOS 13)

Environment information

Runtime issue

dpa99c commented 5 years ago

This plugin has no control over the internal behaviour of the Google Maps app - it simply invokes and launches it via its custom URL scheme. Therefore there's nothing that could be done by this plugin to affect whether the spinner appears or the location resolves.

dpeacock commented 5 years ago

@capc0 I'm experiencing the same issue but agree with @dpa99c that this isn't a plug-in issue. I've posted an issue to the Google Maps issue tracker here: https://issuetracker.google.com/issues/144150442

capc0 commented 5 years ago

@dpeacock Btw my workaround was to explicity pass a starting position. Requested the current position first and then forwarded it to this plugin

dpeacock commented 5 years ago

@capc0 thanks, that's a decent workaround for now :)