Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps URL scheme not working on iOS 9

The following URL scheme was working on previous version but doesn't work anymore on iOS 9:

comgooglemaps://?q=Google+Japan,+Minato,+Tokyo,+Japan&center=35.660888,139.73073&zoom=15&views=transit

Did something change on iOS 9 that prevent apps from opening other apps using URL schemes?

like image 430
NoK Avatar asked Sep 21 '15 02:09

NoK


People also ask

Why is Google Maps not working on iOS?

Turn on Location Services and Location Access for Maps. In the Settings app, tap Privacy, then tap Location Services. Make sure Location Services is turned on and Maps is set to While Using the App or Widgets. Set the date, time and time zone correctly on your device.

Why is my Google Maps link not working?

It's possible the location accuracy option is disabled, you're using an older version of the app, or you don't have proper access to the internet. The Google Maps app itself may have issues, too. Cache files and other app data can sometimes cause various issues with the app.

How do I get Google Maps to open links in the app iPhone?

Scroll down to the bottom of the menu and tap Settings. Tap Default apps. Under Navigate from your location, tap Google Maps, then under Navigate between locations, tap Google Maps again.

Do Google Maps links work on iPhone?

Stay organized with collections Save and categorize content based on your preferences. On devices running iOS 9 and later, you can use Universal Links to launch Google Maps when you have a Google Maps URL.


1 Answers

In iOS 9, Apple has made a change to the handling of URL schemes. Now you need to add "LSApplicationQueriesSchemes" key in plist and then add URLScheme you want to call.

<key>LSApplicationQueriesSchemes</key>
<array>
 <string>comgooglemaps</string>
</array> 
like image 194
Janu Gandhi Avatar answered Sep 22 '22 09:09

Janu Gandhi