Installation Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
In Android, the first step of the installation for OkayCam is to include the following dependencies in the project-level build.gradle file. The build.gradle file will need to make some changes as follow below:
Include the following dependencies in the app-level build.gradle file as shown below:
Note: Please make sure the SDK version tally with the provided license key.
After adding the code, sync the project with gradle files to make sure all of the dependencies are successfully installed.
Camera can be launched by invoking start method on OkayCamDoc with context,config and callback method as follow
config object is optional if you call from Kotlin (refer to Configuration for more info)
after the image is captured or the user cancel, the callback method will be called (refer result)
In iOS, OkayCam is available through the . The first step of the installation for OkayCam in iOS is to simply add the following line of code to your Podfiles as shown below:
For iOS versions, we are actively published to Cocoapods. User can keep track of the version using the . However, in the site, user will need to type in "OkayCam" in the search bar to view the latest version.
For React-Native versions, we are actively published to npm. User can keep track of the version using the .