Search code examples
iosgoogle-mapsios9google-maps-sdk-iosurl-scheme

How do I open google maps app via my app in iOS 9?


In iOS 8 and earlier, I was able to launch the google maps app (if installed on the user's device) by using the URL SCHEME 'comgooglemaps'

However, with iOS 9, I know the URL Schemes need to be validated in the info.plist file. But where do I add this information?

I haven't found any documentation on google maps sdk for iOS.

Also, I am using the latest available google maps sdk i.e. 1.10.3


Solution

  • Add LSApplicationQueriesSchemes as an array into your plist and then add any scheme url you need into as a string.