Optionalokcollect: OkCollectOptional configuration for styling and behavior
A promise that resolves with the user and location data
This combines both verification methods for maximum confidence.
Prerequisites:
import * as OkHi from 'react-native-okhi';
const result = await OkHi.startDigitalAndPhysicalAddressVerification();
console.log('Physical + Digital Verification started for:', result.location.id);
import * as OkHi from 'react-native-okhi';
// With full customization
const result = await OkHi.startDigitalAndPhysicalAddressVerification({
style: {
color: '#4CAF50',
logo: 'https://example.com/logo.png',
},
configuration: {
streetView: true,
},
});
Starts both digital and physical address verification flows.