- The requirements your Android apps must meet with regard to specifications, allowed permissions, restrictions, and (if applicable) WebView versions.
- How you can test your Android apps.
App specifications
Make sure that your app meets the following specifications with regard to APK file size, operating system and SDK version, app version, and native code.-
APK file size:
To distribute the app to your terminals, we need to have the app’s Android Package (APK). The maximum file size of the APK is:- 200 MB for the live environment.
- 700 MB for the test environment.
-
Operating system and SDK version:
The app must run on a specific Android version, and the AndroidManifest.xml that is included in the APK must have aminSdkVersionfield. This field specifies the minimum API level required for your app to run, and allows us to verify that your app is supported on the payment terminal.
For example, AMS1 running on Android 10 will supportminSdkVersion29 or earlier, but notminSdkVersion30 and later.
The required Android version and minimum SDK version depend on the terminal model and region, as indicated in the following table.Work in progress. Currently not all models are available in all regions.
You can check terminal availability for your region in your live Customer Area. -
Native code :
Apps that use native code (NDK) must include libraries that match the payment terminal’s CPU architecture.- ARM32 (ARMv7) payment terminals support apps using
armeabi-v7aorarmeabiABIs. - ARM64 payment terminals support apps using
arm64-v8aABI.
- ARM32 (ARMv7) payment terminals support apps using
Allowed permissions
To keep the payment terminals as secure as possible, we allow only a carefully chosen set of app permissions. These permissions may differ from those on other Android devices that the app is deployed to.These are the allowed app permissions:
If your app includes a permission that is not on the preceding list, the app will be marked as invalid when you upload it.
Restrictions
Android payment terminals come with certain limitations that you need to take into account:- Launcher apps with the CATEGORY_HOME intent are not allowed.
- In the AndroidManifest.xml, the testOnly flag is not allowed.
- Creating your own accessibility service is not allowed.
- There is no debug mode on the terminal.
- The terminals do not have a browser installed.
- The terminals do not have Google Play services installed.
- Downgrading the version of an app you installed is not allowed. You can either upgrade the version of your app or uninstall it.
- Apps must not request the
android.permission.BIND_DEVICE_ADMINpermission.
WebView versions
If you build your app as a webapp running with WebView, make sure the app is compatible with the following WebView versions that our terminals support. To check your terminal’s Android version, refer to the Android terminal model overview. To check what WebView version is currently running on your terminal, go to Settings > Device info.
To request a specific WebView version, contact our Support Team.
Debug and test
For security reasons, we cannot enable USB debugging via Android Debug Bridge (adb) on our payment terminals. Therefore, it is not possible to debug your application directly on the terminal.- To debug your Android app, install the app on a regular (non-payment) Android device that supports USB debugging, and debug the app using adb.
- Upload the app to us, install the app on a test terminal, and carry out integration tests by sending Terminal API requests to the terminal through local or cloud communications. If a bug occurs, you can ask our Support Team to check the logs from the terminal.
- For final integration testing, repeat the previous step using your live Customer Area and a live terminal.