# Requirements

Xamarin development environment setup

# Installation

The wrapper is available via Nuget package located in the Nuget folder of the project. Make sure to add this folder to the list of sources for Nuget packages.

Package should be installed in all your projects.

For Visual Studio for **Windows**, run this command

```undefined
Install-Package Com.Incode.Onboarding
```

# Additional Setup for iOS

1. Verify LFS is installed and running [Git LFS Documentation](https://git-lfs.com/)
2. For Cordova:

```undefined
Run "pod install" under ios folder
```

3. For Capacitor/Ionic:

- Copy below lines in the podfile

Podfile

```text
    source 'https://github.com/CocoaPods/Specs.git'
    source 'git@github.com:Incode-Technologies-Example-Repos/IncdDistributionPodspecs.git'
    ```

- Run `pod install` under ios/app folder or `pod install --repo-update` under ios/app folder
- run `npx cap sync`

# Plugin installation

Install the Incode Cordova plugin in your app using the following command:

```undefined
cordova plugin add incode-cordova-plugin
OR
cordova plugin add https://github.com/Incode-Technologies-Example-Repos/incode-cordova-plugin.git
```

To enable the camera to capture ID and face, use the following command:

```undefined
cordova plugin add cordova-plugin-camera
```

To enable the use of GeoLocation if it is required, use the following command:

```undefined
cordova plugin add cordova-plugin-geolocation
```
