Custom Actions
Trigger native code from Critical Moments
To create an action which calls into native code, use a link
action type with a deeplink into your app.
An example link to your "edit profile experience could be: you-app-scheme:profile/photo?mode=edit
. It has the the following components:
App scheme
you-app-scheme:
: the app scheme you setup and define for your appThe path
profile/photo
: a specific screen or action in your app you are linking toA query string
?mode=edit
: Any serialized data you want to pass through and handle in your code.
To implement you can use iOS deeplinks, or universal links.
To not set useEmbeddedBrowser
for deeplinks. This option is only supported for http/https links.
Example Custom Action Config
Last updated