CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2017 |
Maintained by Sergey Popov.
To integrate VerifireKit into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
target 'TargetName' do
pod 'VerifireKit'
end
Then, run the following command:
$ pod install
self.verifire = [[VFVerifire alloc] initWithKey:<YOUR SDK KEY>];
[self.verifire verifyNumber:phoneNumberString method:VFVerifireMethodSMS completion:^(NSError * _Nullable error) {
if (! error)
{
// Number verification successfylly requested
}
}];
[self.verifire confirmWithCode:PINCode completion:^(NSString * _Nullable phoneNumber, NSString * _Nullable requestId, NSError * _Nullable error) {
if (! error)
{
// Phone number successfully verified
}
}];