Skip to content

Commit

Permalink
Release 4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-brooking committed May 27, 2020
1 parent 333c206 commit 0eae16b
Show file tree
Hide file tree
Showing 47 changed files with 2,174 additions and 601 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@

## Version

Current version: 3.0
Current version: 4.2.3

## Overview

This SDK allows your Android-based Point-of-Sale (POS) system to communicate with a [Clover® payment device](https://www.clover.com/pos-hardware/) and process payments. Learn more about [Clover Integrations](https://www.clover.com/integrations).

The Android project includes a connector and an example POS. To work with the project effectively, you will need:
- [Gradle](https://gradle.org) (suggested version 3.4).
- [Gradle](https://gradle.org) (suggested version 4.10.3).
- An [Android SDK](http://developer.android.com/sdk/index.html) (17+).
- An IDE, such as [Android Studio](http://developer.android.com/tools/studio/index.html).
- To experience transactions end-to-end from the merchant and customer perspectives, we also recommend ordering a [Clover DevKit](http://cloverdevkit.com/collections/devkits/products/clover-mini-dev-kit).

## Getting connected
1. Download the USB Pay Display app from the Clover App Market onto your Clover DevKit. You can also use the [Secure Network Pay Display app](https://docs.clover.com/build/secure-network-pay-display/) for a local network connection with the Clover DevKit. The remaining steps assume that you are using the USB Pay Display app.
1. Download the USB Pay Display app from the Clover App Market onto your Clover DevKit. You can also use the [Secure Network Pay Display app](https://docs.clover.com/clover-platform/docs/pay-display-apps#section--secure-network-pay-display-) for a local network connection with the Clover DevKit. The remaining steps assume that you are using the USB Pay Display app.
2. Open the USB Pay Display app.
3. Run the Clover Connector Android Example POS app on your Android POS device or emulator.
4. The Example POS screen and device connection status should appear. If the connection was successful, the device status should be "connected." If the device remains disconnected, verify that:
1) You are connecting the correct cable to the correct connection point on the Clover device. (On the Clover Mini, this is the USB port with the Clover logo.) You will need to use the USB cable that came with the device.
1) You are connecting the correct cable to the correct connection point on the Clover device. (On the Clover Mini, this is the USB port with the Clover logo.) You will need to use a USB A-to-USB B cable (see [ADB over USB](https://docs.clover.com/clover-platform/docs/setting-up-your-devkit#section--adb-over-usb-) for more information).
2) Your Android device supports “host” mode, which is also referred to as OTG mode. This functionality is required to communicate with the Clover Mini, which will operate in “accessory” mode.

## Additional resources

* [Release Notes](https://github.com/clover/remote-pay-android/releases)
* [Secure Network Pay Display](https://docs.clover.com/build/secure-network-pay-display/)
* [Tutorial for the Android SDK](https://docs.clover.com/build/getting-started-with-cloverconnector/?sdk=android)
* [API Documentation](https://clover.github.io/remote-pay-android/3.0.0/docs/)
* [Secure Network Pay Display](https://docs.clover.com/clover-platform/docs/pay-display-apps#section--secure-network-pay-display-)
* [Tutorial for the Android SDK](https://docs.clover.com/clover-platform/docs/android)
* [API Documentation](https://clover.github.io/remote-pay-android/4.2.3/docs/)
* [Clover Developer Community](https://community.clover.com/index.html)
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ buildscript {
jcenter()
}

def mavenPlugin = "com.github.dcendents:android-maven-gradle-plugin:2.0"
def mavenPlugin = "com.github.dcendents:android-maven-gradle-plugin:2.1"
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath mavenPlugin
classpath 'com.android.tools.build:gradle:3.2.1'
classpath mavenPlugin
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.5.4'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.10.0'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.10.0'
}
}

Expand Down
11 changes: 5 additions & 6 deletions remote-pay-android-connector/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'com.clover.sdk'
version = '2.0.1'
version = '3.0.0'

apply plugin: 'com.android.library'
//apply plugin: 'android-maven'
Expand All @@ -10,12 +10,11 @@ android {
lintOptions {
abortOnError false
}
compileSdkVersion 21
buildToolsVersion "25.0.2"
compileSdkVersion 28

defaultConfig {
minSdkVersion 17
targetSdkVersion 21
targetSdkVersion 17
}

packagingOptions {
Expand All @@ -26,8 +25,8 @@ android {
defaultTasks 'install'

dependencies {
compile 'com.clover:clover-remote-interface:238.1'
compile 'com.clover.sdk:clover-android-sdk:210.1'
compile 'com.clover:clover-remote-interface:276.4'
compile 'com.clover.sdk:clover-android-sdk:248.4'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.neovisionaries:nv-websocket-client:1.31'
testCompile 'junit:junit:4.12'
Expand Down
Loading

0 comments on commit 0eae16b

Please sign in to comment.