Flutter
In this section, you will find how to implement the webview in Flutter for using the Unico IDPay product.
For the use case using Flutter, it is recommended to use inappwebview
.
After creating the transaction and obtaining the transaction link, the following implementation is recommended:
In your common flow (which includes IDPay), you will open the
inappwebview
with the link generated via the API;You can customize this opening as needed for your application;
You will monitor if the URL changes (to the
redirectUrl
) and then close theinappwebview;
To open an inappwebview
and control URL changes, you can do it as follows:
To obtain camera permission, you can do it as follows:
To obtain camera permission, you can do it as follows:
The following permissions are required for proper functioning, such as:
Camera
Geolocation
For more information, we recommend reading the following articles and documentation:
To access the official documentation, click here.
Still need help?
Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.
Last updated