Prerequisite

Blocto iOS SDK supports two flows depending on whether the Blocto app is installed or not.

Blocto app installed

Based on development environment, you need to download the corresponding Blocto app for testing:

Blocto app not installed

SDK would open browser using Web SDK in your dApp to use the Blocto service.

Blocto iOS SDK uses Universal Linksarrow-up-right to bring back information from Blocto wallet app to yours. If you do not set Universal Links in Developer Dashboard (productionarrow-up-right, stagingarrow-up-right) or any situation that can't open your app correctly, we will use Custom URL Schemearrow-up-right instead.

Please make sure to implement BOTH Apple Universal Linksarrow-up-right and Custom URL Schemearrow-up-right for better user experience.

circle-info

For custom URL Scheme please register scheme using prefix blocto with app id from Developer Dashboard e.g. blocto64776cec-5953-4a58-8025-772f55a3917b or blocto-staging64776cec-5953-4a58-8025-772f55a3917b

Custom URL Scheme example
circle-exclamation
Universal Links example applinks:04b2-61-216-44-25.ngrok.io?mode=developer

Last updated

Was this helpful?