Attestr Framework / SDK For IOS Applications
attestr-ios-sdk can be installed using Cocoapods. Add the following line to your pod file
pod 'attestr-flowx', '~> 0.8.1'
- Import attestr_flowx
import attestr_flowx
- Make your view controller conform to AttestrFlowxEventProtocol and add your implementation to its methods
extension ViewController: AttestrFlowxEventProtocol {
func onFlowxSuccess(_ data: [String : AnyObject]) {
// your implementation here
}
func onFlowxSkip(_ data: [String : AnyObject]) {
// your implementation here
}
func onFlowxError(_ data: [String : AnyObject]) {
// your implementation here
}
}
- Create an instance of AttestrFlowx by calling the initialize method
let p = AttestrFlowx().initialize(cl: client key, hs: handshake key, self)
Check this for help on generation of handhshake key
- Call the launch method
p?.launch(lc: language code, retry: retry boolean, qr: query parameters dict)
Made for iPhone and iPad. iOS 11.0+ Swift 4.0+ Xcode 11+
For older versions, check CHANGELOG
attestr-ios-sdk is distributed under MIT license. Read more in the LICENSE file.
Write to us at [email protected]