# SDK Key and minimum requirements

### Using SDK Key

To use the SDK through license key, please make sure you receive your SDK license key from Passio.&#x20;

To obtain an SDK key, visit [https://www.passio.ai/nutrition-ai](https://www.passio.ai/nutrition-ai)

### Without using SDK Key

If you want a layer of security, where you can authenticate the license and fetch the token on your backend, you don't need the SDK key.

In that case, the SDK will communicate with your backend, and your backend will proxy the requests to Passio's servers, adding the access token to the header. This way, the license keys and tokens are never shared in the app code.

You need to provide following things when configuring the SDK:

* Proxy URL - Base url of the target proxy endpoint
* Proxy headers - Required headers to all of the requests

Responisilities of proxy backend:

* License authentication - the license will be authenticated on the proxy backend
* Token fetching - token will be fetched on the proxy backend and appended to every call

The configuration for the proxy URL will be covered in the "Configure the SDK" section.&#x20;

### Minimum requirements

These are the minimum requirements for every supported platform

{% tabs %}
{% tab title="iOS" %}
* The SDK will only run or compile on iOS 13 or newer.&#x20;
* Passio SDK can only be used on a device and will not run on a simulator
* The SDK requires access to iPhone's camera
* Weight/Volume estimation will run only on iPhones with Dual Wide Camera (not on DualCamera). It will not run on the models below.&#x20;
  * iPhone 11 Pro & Pro Max
  * iPhone 12 mini, Pro & Pro Max
  * iPhone 13 Pro & Pro Max
  * iPhone 14, Pro, Pro Max & Plus
{% endtab %}

{% tab title="Android" %}
* Built with Kotlin version 1.6.10
* Minimum Android SDK version is 26
* The SDK requires access to the device's camera
* The SDK is built upon CameraX, TensorFlow and Firebase's ML Vision so these dependencies will need to be added to the project manually
{% endtab %}

{% tab title="React Native" %}

{% endtab %}

{% tab title="Flutter" %}

{% endtab %}
{% endtabs %}
