0

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)
                }
            }
        })
    }
}
Losiowaty
  • 7,911
  • 2
  • 32
  • 47
oyalhi
  • 3,834
  • 4
  • 40
  • 45
  • Have you seen this done anywhere? I've looked at their docs and there is nothing there indicating that you can choose between 4 or 6 digit code. https://www.sinch.com/docs/verification/ios/#smsverification – Losiowaty Aug 09 '16 at 10:06
  • I see it on their internet site, please look at the picture. That is why I am thinking they have this feature. https://www.sinch.com/products/verification/sms-verification/ – oyalhi Aug 09 '16 at 10:26

1 Answers1

0

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 support@sinch.com

cjensen
  • 2,703
  • 1
  • 16
  • 15