WKWebView
For iOS usage scenario, using the WKWebView is one of the recommended ways.
After creating the transaction and getting the transaction link, the following implementation is recommended:
In your common flow (which IDPay is inserted) you will open the WKWebView with the link generated through the API;
Customize this opening in any way that is ideal for your application;
Monitor if the URL has changed (to redirectUrl) and then close the WKWebView;
The following code shows how to open a WKWebView:
The following code shows how to control when to close the WKWebView:
Follows an example of how it should look in the APP:
The following permissions are required to function correctly:
Camera;
Geolocation.
To know more about the WKWebView, the following articles and documentation are recommended:
Access the official documentation at WKWebView.
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