Integrate with Enhance - Native Android
Initial Setup
Include the provided .jar library into your project. To do that in the Android Studio, copy the library into the libs
folder, right click on the file and use the Add as a library
option. You can also verify if the dependencies section of the build.gradle
file was updated correctly. This is how it may look like for example:
dependencies { ... implementation files('libs/Enhance-Connector.jar') }
If this doesn't work, you should try to clean the project before you re-build it.
At the top of any source file where you want to use Enhance, you must include the library by adding the following imports:
import co.enhance.Enhance; import co.enhance.Enhance.*;