Getnet DocsGetnet Docs

Android AAR Library Integration

Integrate the Integrated POS into your application using the Android AAR library.

Installation

  1. Place the provided .aar file into your Android project’s app/libs/ directory.
  2. Add a dependency block referencing the libs directory in your app/build.gradle file:
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.aar'])
}
  1. Sync your project with the updated Gradle files.

Next steps

Once the AAR library synchronizes and installs, initialize the connector and begin the communication flow. Use USB or Network for a local terminal, or the cloud for a remote terminal:

val connectorInstance: POSIntegrado = POSIntegrado.createCloud()

Refer to the standard connection models for detailed connector instantiation patterns.