1. Order Developer pack/kit


With test terminals, you can complete end-to-end testing of Business Applications in a safe sandbox environment using external services. In a test terminal, you can simulate payment actions without making real, actual payments. Although payments are accepted locally in the device, use of a test card is recommended. NFC, magnetic stripe and EMV cards can be used, as well as mobile wallets.
In the Developer Kit, you will receive the Smart Device of your choosing in a dedicated test environment for you to test your app. With the device, you also will receive a myPOS Business account in the same test environment, in which you can watch your app's financial behavior.

2. Activating your device


Log into the myPOS business account provided in the kit.
Go to Devices → Activate your device.
Fill in the form and complete the activation.

You are now set to install and test your app. 

 

3. App installation on test device


There are two ways to install your app on a test device:

1. In the first scenario, you send your APK file to a myPOS representative and it is uploaded in a test AppMarket environment. Then you can download and install the app on your test device the same way you would on production environment - from the AppMarket App.

2. In the second scenario, you can install the application on your device when it is connected with a computer over USB.

This can be done via Android Studio – Android Debug Bridge (ADB) following the steps below:
i. Connect myPOS Smart to your PC with the provided micro USB cable.
ii. Disconnect other Smart devices from your PC.
iii. Shutdown all android emulators if you have such.
iv. Download the Android Debug Bridge (ADB) folder from here.
v. Unzip the folder to your local drive.
vi. Copy and paste .dll files to your Windows directory.
vii. Start Command Prompt.
viii. Go to the adb.exe folder path.
ix. Start adb.exe.
x. Put following command e.x.: adb install -r -d D:\Projects\Android\myPosOS\app\Terminal-%type%.apk.
xi. Replace example path with the path to your Android package (.apk).
xii. Start command by pressing enter.
xiii. When the command finishes your Android package (.apk) should be installed on the myPOS Smart Device. 
xiv. You need to press the home button to see the installed app on the screen.

4. Debugging/fixes


Even though the Gradle build toolkit is automatic and detects a lot of errors in your code before you can build a package, it sometimes can still miss some bugs and they can remain in your app. When you submit your app to be reviewed for upload, a myPOS representative might find some bugs and contact you about their resolve with information on how to proceed and with probable solutions for debugging.