Integration
Installation
To use the myPOS Glass SDK in your Android project, add it to your Gradle build configuration as follows:
Step 1: Add the Maven Repository
In your project-level build.gradle file, ensure that mavenCentral() is listed under repositories:
allprojects {
repositories {
mavenCentral()
}
}
This allows Gradle to locate and download the myPOS Glass SDK from Maven Central.
Step 2: Add the SDK Dependency
In your module-level build.gradle file (usually under app/), add the SDK dependency:
implementation 'com.mypos:glasssdk:1.0.5'
Note: Make sure to use the latest SDK version. The version 1.0.5 is shown as an example—check for updates or contact us at integrations@mypos.com for the most current release.