The Synch SMS verification I get is only 4 digits. How do I make it 6 digits?
Below is the code I am using. This code just seems to send 4 digits for verification whereas I would like it to be 6 digits.
var verification: Verification! // this is defined in the class
private func initiateVerification() {
verification = SMSVerification(applicationKey: SinchConstants.applicationKey, phoneNumber: phoneNumber)
verification.initiate { (success, error) in
dispatch_async(dispatch_get_main_queue(), {
if success {
self.handleSuccess()
} else {
if let error = error where error.code == -1001 {
self.handleSuccess()
} else {
self.handleError(error)
}
}
})
}
}
you cant control it in the dashboard, but I am happy to change it for you if you mail in your appkey and that you want to 6 digits to [email protected]