Opening an External App
By utilizing URL handlers that are available on a mobile device, it is possible to launch external apps.
In the following example, we open the App Store on iOS and display the JourneyApps application, using the
itms:// URL handler that is available on iOS.
In some cases, it may be necessary to tailor your links depending on which mobile OS the user is using (iOS or Android). For this purpose, the global
journey.platform property can be used, which will have a value of either "iOS" or "Android", or "Web" (for Chrome) depending on the OS.
To make our previous example work on both Android and iOS, we would use: