Instead of building your own flow, it’s highly recommended to fork an existing flow from the public sample codes found here
1
Initialize OneSDK
Replace
<YOUR GOOGLE MAPS API KEY> with your actual Google Maps API key for the address feature.2
Set Up Individual Profile
3
Configure Form Components
Basic Forms
Basic Forms
Personal Details Form
Personal Details Form
Document Form
Document Form
Review Form
Review Form
Result Handling Forms
Result Handling Forms
Event Handling
Retry Logic Implementation
The implementation includes a retry mechanism that allows users up to 2
attempts before showing the failure screen.
Best Practices
Error Handling
Always implement proper error handling and validation for each form step to
ensure data quality.
User Experience
Provide clear feedback and instructions in the user’s preferred language,
especially for country-specific forms.