sinch-verification

Sinch Verification Swift 3

浪子不回头ぞ 提交于 2019-12-12 03:06:34
问题 I have been converting my code to swift 3. I have an issue with since verification: This is the code I have: verification.initiate { (success:Bool, error:Error?) -> Void in //handle outcome if (success){ print("successfully requested phone verification") //segue to next screen self.performSegue(withIdentifier: "xxx", sender: nil) } else { let alert = UIAlertController(title: "Alert", message: error?.localizedDescription, preferredStyle: .alert) alert.addAction(UIAlertAction(title: "Ok", style

Sinch Sms Verification 2.0.3 SDK Swift 3

走远了吗. 提交于 2019-12-11 07:58:59
问题 Hi Im using Sinch sms verification to sign up users in my app but after updating my code to swift 3 (and sinch sdk currently 2.0.3), Im getting the following error Use of unresolved identifier 'SINPhoneNumberUtil' Use of unresolved identifier 'SINPhoneNumberFormat' Use of undeclared type 'SINPhoneNumber' That the code who was working with previous SDK and Swift 2 if (result.success){ let phoneUtil = SINPhoneNumberUtil() do { let defaultRegion = DeviceRegion.currentCountryCode() let phoneNum:

What is the Session period for SINCH Pin Verification?

安稳与你 提交于 2019-12-08 08:24:28
问题 We are developing an android and iOS app which requires number verification. I am doing it using SINCH Verification SDK. For my app, number verification is being done from Server side using REST API call using SINCH REST API . We are not sure what is the default time period (Session Time Period) for SINCH Pin verification . And how can i change it if i wish to change it? Can anyone help me finding out default SINCH Pin Verificaiton Seesion time? Thanks in advance. 来源: https://stackoverflow

SINCH :: PhoneNumberUtils issue for Indonesia number

ぐ巨炮叔叔 提交于 2019-12-02 14:41:26
问题 I am using PhoneNumberUtils supplied by SINCH (sinch-android-verification-1.4.0) but is gives different outcome for Indonesia number. It says that supplied number is not a possible number with below method in Android Verifiation SDK PhoneNumberUtils.isPossibleNumber("895369074498", "ID") But it says it is possible number in iOS Verification SDK. Can anyone help? Thanks in advance 回答1: It depends on the Android system version. The reason is, we are using the native libphonenumber on the phone,