Installation
If you are using Expo for your project, keep in mind that you need to use a development build to use native modules like @caf.io/react-native-face-liveness
. This is because the managed Expo workflow doesn't include support for custom native libraries outside of the standard Expo SDK. For more information on how to create a development build with Expo, check out the official Expo documentation.
Android
If you're utilizing Expo for your project, be sure to include these lines to your android/build.gradle
.
Java 8 Compatibility
If Java 8 is not enabled, add support to your android/app/build.gradle
:
iOS
In the Podfile in the iOS folder, add this following sources:
After editing your Podfile, save it and install the SDK along with its dependencies by running the following command:
Last updated