Set up Smart ID Mobile App to start on same device
This article describes how to set up Smart ID Mobile App, or an app based on the Smart ID Mobile SDK, to start from another application on the same device.Â
Prerequisites
The app that is intended to start Smart ID Mobile App must have registered a url-scheme, as described in the article.
Add code to start app on idle screen
To open Smart ID Mobile App on the idle screen, waiting for requests:
For an authentication or signing message to show up in Smart ID Mobile App, an authentication or signing request first need to be sent to the Hermod Messaging Server or Smart ID Digital Access (Hybrid Access Gateway).Â
For more information on how to send authentication and signing requests to Hermod Messaging Server, see here.
Add the following code to start Smart ID Mobile App directly from another app on the same device:
<URL-Scheme>://start?<Parameter>=<Value>
For parameter options, see Personal protocol specification.
Example with a
title
and aredirect
tomy-redirect-URL://
:Example: start app with title and redirect
personal://start?title=My+title&redirect=my-redirect-URL%3A%2F%2F
Add code to start app for provisioning
To open Smart ID Mobile App for provisioning a new mobile virtual smart card for a user:
Add the following code to start Smart ID Mobile App directly from another app on the same device:
<URL-Scheme>://<Link to message>?<Parameter>=<Value>
For parameter options, see Personal protocol specification.
Example with a <
link to
message>
, atitle
and aredirect
tomy-redirect-URL://
:Example: start app for provisioning with title and redirect
Examples
Example: Link in html
Example: Link in JavaScript
Example: Link in Swift 3 for iOS 8-10
Personal protocol specification
General syntax
The general syntax to start Smart ID Mobile App is the following:Â
<URL-Scheme>
The available values for <URL-Scheme>
are described in this table:
<URL-Scheme> option | Description |
---|---|
personal | for the standard Smart ID Mobile App |
<my-app-name> | for apps based on the Smart ID Mobile SDK |
<Message>
The available values for <Message>
are described in this table:
<Message> option | Description |
---|---|
| Starts the app on the idle screen, to wait for requests. |
| Starts the app for provisioning, to handle the request in the package. The Example: <Link to message>Other message typesThe functionality to open a link to an authentication or signing request is not yet implemented. |
<Parameter>=<Value>
The available values for <Parameter>
and <Value>
are described in this table. Two parameters can be used, separated by '&'
:
<Parameter>=<Value> option | Description |
---|---|
title=<string> |
|
redirect=<my-redirect-URL> | Makes the app return to the
Example: |
Â
Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions