Skip to main content

Posts

Showing posts from October, 2018

Integrate the FaceID or TouchID Authentication in iOS Apps - Swift

FaceID or TouchID Authentication Dear Folks, today I am going to explain the proper way to integrate the Face ID or Touch ID in iOS App. Face ID and Touch ID are secure, familiar authentication methods that people trust. Follow below steps: Step 1: Add NSFaceIDUsageDescription Key in info.plist file <key>NSFaceIDUsageDescription</key> <string>This app requires Face ID permission to authenticate using Face recognition.</string> Step 2: Create a swift file with any name but it would be better to related to its functionality, Like BioMetrixFile.swift Step 3: In BioMetrixFile write below codes and follow instructions. But before proceeding further import LocalAuthentication class in BioMetrixFile. Now, create typealias for success or failure blocks to well manage Authentication Success or Failure. public typealias AuthenticationSuccess = (() -> ()) public typealias AuthenticationFailure = ((AuthenticationError) -> ()) Now written all s...

CCAvenue Payment Gateway Integration in Swift 3 - iOS

CCAvenue Payment Gateway Integration First check this link " https://www.ccavenue.com/inapp_payments.jsp " for integration, what CCAvenue provides. Kindly follow the below steps for implementing the Payment Gateway on your Mobile Application by Non Seamless Method : 1.  Kindly make sure that your Public/Outgoing IP has been waitlisted on CCAvenue's end. 2.  Place GetRSA and ccavResponseHandler files on your server. 3.  In your App, mention the path of GetRSA file kept on your server 4.  Call GetRSA from your app which is kept on your server for fetching the RSA public key. 5.  Using the fetched public key merchant will encrypt parameters(amount,currency). To encrypt the RSA key, do following steps (From Step1 to Step8). Step1:  You have to download CCAvenue SDK from CCAvenue website and to download you must have to login using merchant account credential. Integration link : https://mars.ccavenue.com/downloads/Integration_kits.zi...