Comment on page
Next to integrating the FibriCheck technology into your application, it's also possible to implement an app-to-app integration. In this scenario, your users will use the FibriCheck application to perform measurements.
An app-to-app integration has two components:
- The ability to redirect the user from your application to the FibriCheck mobile application
- The ability to access and visualize the measurement results in your application
To redirect the user from your application to FibriCheck, we provide deep links. Deep links can be used in another app, on the web, in an email, or sms. When users click on the link or button, they are redirected to the FibriCheck app. Using this method, integrating FibriCheck in your application only requires adding a button in your app that contains the deep link.
If the user has not installed the FibriCheck app yet, the link will be a deferred deep link. The user is then first redirected to the App or Play Store to download the app. After the app is installed, the user will be redirected to the deep link as if the app was already installed.
Different deep links are available that allow you to redirect the user to different parts of the FibriCheck application. The following functionalities are currently supported:
Note that all query parameters for the deep links must be URL encoded.
This deeplink allows you to pre-fill information in the FibriCheck app to register a new user
If some query parameter values are not provided, the user will be able to provide them in the registration form within the FibriCheck application.
For example if you provide the query parameter
fc_data_ssn_number, the associated value will be stored as
custom_fieldsproperty of the user's profile.
The query parameters from the "activate a prescription" deeplink (
fc_hash) can be added here as well. Then the user will be able to directly perform measurements after registering.
The user has to click on the deep link to be redirected to the FibriCheck app.
The deep link functionality does not work when the link is copied in the address bar of a web browser.
If you're testing your integration, you'll be using the development environment, which has a different base URL.
When a user performs a measurement in the FibriCheck application, the measurements, analysis, and diagnosis are performed and stored in the FibriCheck cloud.
There are two ways to get the measurement data into your application.
Connected apps are applications that FibriCheck integrates with. For connected apps, FibriCheck will push the measurements and reports into the connected app.
To support this, your application needs to provide an API that FibriCheck can access using an OAuth2.0 authorization flow.
The user will have to take the following steps to connect your application:
- 1.The user logs in to the FibriCheck application
- 2.In the "Connected apps" screen, the user selects your application
- 3.The user is redirected to your application's login screen
- 4.After successful authentication, the user is redirected to FibriCheck
- 5.FibriCheck receives access tokens that are used to push the measurement data into your application
Because the user signs in, there is a hard link between the user's account in your application and the user's FibriCheck account, thereby making sure that measurements are linked to the correct account.
The FibriCheck cloud offers a REST API and associated Cloud SDK to fetch measurements. You can use this API to fetch the measurements into your system.
When using this method, you have to be very careful that you match the measurements with the correct user.