Google Maps URL scheme not working on iOS 9

NoK picture NoK · Sep 21, 2015 · Viewed 12.3k times · Source

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?

Answer

Janu Gandhi picture Janu Gandhi · Sep 25, 2015

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>