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.

To obtain an SDK key, visit 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.

Minimum requirements

These are the minimum requirements for every supported platform

  • The SDK will only run or compile on iOS 13 or newer.

  • 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.

    • iPhone 11 Pro & Pro Max

    • iPhone 12 mini, Pro & Pro Max

    • iPhone 13 Pro & Pro Max

    • iPhone 14, Pro, Pro Max & Plus

Last updated