Question

Launch Mobile Application

I have a request that requires the end user to receive an email when a case is created. In this email there is a link that is supposed to launch the mobile application on the users device. We only support iOS. The link should only launch the application to the login screen. How am I to accomplish this?

Comments

Keep up to date on this post and subscribe to comments

July 11, 2019 - 9:21am

Still looking for a solution for this.

Pega
July 11, 2019 - 9:40am
Response to HaydenC0

This is not a Pega issue, but rather an iOS issue.  A quick Google search led me to the following:

https://kitefaster.com/2016/07/13/how-to-open-ios-app-with-custom-url/

https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app

This should put you on the proper path.  Hope this helps!

Pega
July 11, 2019 - 9:41am

Pega
July 11, 2019 - 10:18am
Response to bogap

I could be wrong, but I don't think snap start works with the Hybrid Client.  I believe the OP is requesting a way to launch the hybrid client to the login screen.  From the documentation you referred to, I see:

When you develop a custom mobile app in the Pega 7 Platform, you can also use the SnapStart activity, pyMobileSnapStart, outside of the Pega Mobile SDK...

I believe SnapStart will open a mobile browser, not the mobile application.

Does anyone else have more information on this?  @HALLJ, could you weight in?

July 11, 2019 - 10:52am

Snap start wont open the mobile app. Just uses the devices browser.

July 12, 2019 - 3:58am

Pega Infinity Mobile Client based apps register a custom scheme of app's bundleId by default. Let's consider Pega Mobile Preview application from app stores as an example. The app's bundleId is 'com.pega.mobile.preview'. That means any url starting from 'com.pega.mobile.preview://...' will be open in this app as long as it's installed on mobile device. Try adding such a link to test web page or email and click on it.