> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-sdk/react-native/standalone-modules/cafsmartauth/expo-modules.md).

# Using Expo Modules

{% hint style="info" %}
This repository provides a Expo Modules for our native SDKs, for more informations refer the [Expo Modules](https://docs.expo.dev/modules/overview/). The dependencies currently in use are as follows:

See the current version for [Android](/caf-sdk/android/standalone-modules/cafsmartauth/current-version.md). See the current version for [iOS](/caf-sdk/ios/standalone-modules/cafsmartauth/current-version.md).

* Android: `io.caf.sdk:smart-auth:1.2.3`
* iOS: `CafSmartAuth', '1.2.0`

For more details and example code, refer to our [CafSmartAuth Expo Modules Repository](https://github.com/combateafraude/tree/main/caf-smart-auth-react-native-expo).
{% endhint %}

The CafSmartAuth SDK provides configurable policies, allowing you to integrate live facial verification, SMS and e-mail into your Android applications, offering a seamless and secure way to authenticate users.

## Terms & Policies

When using our SDKs, please make sure that you agree with our [Privacy Policy](https://en.caf.io/politicas/politicas-de-privacidade) and our [Terms and Conditions of Use](https://en.caf.io/politicas/termos-e-condicoes-de-uso).

## SDK Dependencies

CafSmartAuth leverages the following external SDKs:

### Android

| SDK                         | Version |
| --------------------------- | ------- |
| `Caf FaceLiveness`          | 4.1.1   |
| `iProov Biometrics Android` | 9.1.2   |
| `Fingerprint Pro Android`   | 2.7.0   |

* [iProov Biometrics Android](https://github.com/iProov/android): Enables the integration of live facial verification technology.
* [Fingerprint Pro Android](https://github.com/fingerprintjs/fingerprintjs-pro-android): Provides fingerprint authentication capabilities to enhance security features in your app.
* [Rudderstack](https://www.rudderstack.com/docs/): Provides user metrics to deliver trustworthy real-time data.

**Important:** If you plan to publish your app on the *Google Play Store*, you must complete a data safety form. Since we integrate with the *FingerPrintJS SDK*, you'll need to provide the following information:

| Question in Google Play Console's data safety form                  | Response                                    |
| ------------------------------------------------------------------- | ------------------------------------------- |
| Does your app collect or share any of the required user data types? | Yes.                                        |
| What type of data is collected?                                     | Device or other identifiers.                |
| Is this data collected, shared, or both?                            | Collected.                                  |
| Is this data processed ephemerally?                                 | Yes.                                        |
| Why is this user data collected?                                    | Fraud Prevention, Security, and Compliance. |

### iOS

| SDK                     | Version |
| ----------------------- | ------- |
| `FaceLiveness`          | 6.3.2   |
| `iProov Biometrics iOS` | 12.2.1  |
| `Fingerprint Pro iOS`   | 2.6.0   |
| `CafSolutions`          | 1.0.1   |

* [Faceliveness](https://github.com/combateafraude/Faceliveness): Enables the integration of live facial verification technology for secure user authentication.
* [iProov Biometrics iOS](https://github.com/iProov/ios): Dependency of Faceliveness SDK for facial verification
* [Fingerprint Pro iOS](https://github.com/fingerprintjs/fingerprintjs-pro-ios): Provides fingerprint authentication capabilities to enhance security in your app.
* [Rudderstack](https://www.rudderstack.com/docs/): Provides user metrics to deliver trustworthy real-time data.
* [CafSolutions](https://github.com/combateafraude/CafSolutions): Package of common solutions for the Caf\`s Framework

**Important:** If you plan to publish your app on the *Apple App Store*, you must include the SDK data usage in your App Store privacy disclosures. Since we integrate with the *FingerprintJS SDK*, here’s the information you need to provide:

| Privacy Disclosure in Apple App Store | Response                                   |
| ------------------------------------- | ------------------------------------------ |
| Data collected                        | Device or other identifiers                |
| Purpose                               | Fraud Prevention, Security, and Compliance |
| Usage type                            | Collected but not shared                   |
| Processing                            | Processed ephemerally                      |

### Runtime Permissions

#### Android

| Permission             | Reason                                                                                    | Required |
| ---------------------- | ----------------------------------------------------------------------------------------- | :------: |
| `CAMERA`               | Capturing the selfie in live facial verification policies.                                |     ✅    |
| `INTERNET`             | Internet connection is needed in order to the authentication workflow work.               |     ✅    |
| `ACCESS_FINE_LOCATION` | Provides precise location data, required for location-based services in the verification. |     ✅    |

#### iOS

| Permission                                         | Reason                                                     | Required |
| -------------------------------------------------- | ---------------------------------------------------------- | :------: |
| `Privacy - Camera Usage Description`               | Capturing the selfie in live facial verification policies. |     ✅    |
| `Privacy - Location When In Use Usage Description` | Capturing the selfie in live facial verification policies. |     ✅    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.caf.io/caf-sdk/react-native/standalone-modules/cafsmartauth/expo-modules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
