Package : dojah_kyc_sdk_swift Example Application: https://github.com/dojah-inc/sdk-swiftπ Get Started with Swift SDK - Dojah KYC Widget
Installation
Using SPM addhttps://github.com/dojah-inc/sdk-swift.git
as a dependency and set the Dependency Rule
to the main
branch.
Add the following keys to your Info.plist file:
-
NSCameraUsageDescription
- describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor. -
NSMicrophoneUsageDescription
- describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor. -
NSLocationWhenInUseUsageDescription
- describe why your app needs access to the location, if you intend to verify address/location. This is called Privacy - Location Usage Description in the visual editor.
Usage
SDK Parameters
WidgetID
- aREQUIRED
parameter. You get this ID when you sign up on the Dojah platformReference ID
- anOPTIONAL
parameter that allows you to initialize the SDK for an ongoing verification.Email Address
- anOPTIONAL
parameter that allows you to initialize the SDK for an ongoing verification.navController
- aREQUIRED
parameter. An instance ofUINavigationController
from which the SDK is presented.
Contributing
- KYC WIDGET Repository
- Fork it!
- Create your feature branch:
git checkout -b feature/feature-name
- Commit your changes:
git commit -am 'Some commit message'
- Push to the branch:
git push origin feature/feature-name
- Submit a pull request ππ