Optionalokcollect: OkCollectOptional configuration for styling and behavior
A promise that resolves with the user and location data
Physical verification requires an agent to visit the user's location in person.
Prerequisites:
import * as OkHi from 'react-native-okhi';
const result = await OkHi.startPhysicalAddressVerification();
console.log('Verification requested for:', result.location.formattedAddress);
console.log('Location ID for tracking:', result.location.id);
import * as OkHi from 'react-native-okhi';
// With custom configuration
const result = await OkHi.startPhysicalAddressVerification({
style: { color: '#2196F3' },
});
Starts the physical address verification flow.