Mobile deep linking AppStudio

424
1
02-01-2021 06:12 AM
FelixLehmann
New Contributor

Hi,

Is there a way to implement mobile deep linking for an app in Appstudio? I need a similar function for my app as "mailto://", only that this link then opens my app and the information is available in the app. For example, if the link myapp://api-key is clicked in a mail, my app should open and the api-key should be available.

With the new function to link with other apps, I think the information in the link is not available. https://doc.arcgis.com/en/appstudio/extend-apps/integratewithotherapps.htm

Tags (1)
0 Kudos
1 Reply
ErwinSoekianto
Esri Regular Contributor

@FelixLehmann 

 

We apologize that it is not clear in that documentation link about where to put the deep link for your custom app. 

You can put in Settings>Advanced>Environment>URL Scheme, once it is set (and the app is re-uploaded, and do Cloud Make and installed), your app will open when called using that URL Scheme. 

And then in your app, you can add the onOpenURL signal to handle the parameter that is passed, https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-app/#openUrl-signal 

 

Thank you,

Erwin