Installation Guide

OkayCam Plus is a new module aimed at enhancing selfie verification processes by combating deepfake and injection attacks.

React Native OkayCam Plus

Requirements

Android

  • Min Sdk Version >= 26

iOS

  • iOS 15+

  • Swift 5


Getting Started

$ yarn add react-native-okaycamplus

Android

  1. Navigate to the android Folder

  2. Add following snippet in the root build.gradle file:

allprojects {
    repositories {
        maven {
            url "https://innov8tif-okaycam.firebaseapp.com"
            content {
                includeGroup "com.innov8tif.iad"
            }
        }
    }
}
  1. Sync gradle

iOS

  1. Navigate to the ios folder

  2. Add the following code to Podfile

  1. Run command pod install

  2. Add camera permission

Android Issue

Duplicate class org.hamcrest.xxx

If you encounter the errors above, you may exclude junit module.

iOS Issue

Undefined symbol: _swift_FORCE_LOAD$_swiftUniformTypeIdentifiers

Undefined symbol: _swift_FORCE_LOAD$_swiftCoreMIDI

If you encounter the errors above, you may create a new swift file called Void.swift without adding bridging header.

License

Apply licenses for Android and iOS SDKs

Last updated