🔗App-to-app integration
Last updated
Last updated
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.
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.
Development Environment
Production Environment
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:
The user logs in to the FibriCheck application
In the "Connected apps" screen, the user selects your application
The user is redirected to your application's login screen
After successful authentication, the user is redirected to FibriCheck
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.
This method requires help from the FibriCheck technical team to implement. Reach out to integrations@fibricheck.com to discuss your specific use case.
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.
See this link for more information.
When using this method, you have to be very careful that you match the measurements with the correct user.