ioslocationwhatsappurl-scheme

iOS: Adding my app to list of applications, when a shared location is opened in Whatsapp


When Whatsapp receives a location and the user taps on it, a menu is opened, where the user can choose from several apps to open the location. We would like to have our app included in the list as well.

enter image description here

We added geo: url-scheme to our plist.info, but this doesn't work here. Any idea, what url-scheme or deep-link whatsapp is using here, which we need to register our app for?


Solution

  • There is no special or magic URL scheme that you can register for your app to make it appear in WhatsApp. WhatsApp has a list of URL schemes that it checks for common/popular navigation apps.

    You can register any url scheme you like in your app, the trick would be getting WhatsApp to add it to their app.

    This screenshot shows the queried url schemes from WhatsApp's info.plist:

    enter image description here

    You can see that it includes Google Maps and Here maps.