Links

Installation

Prerequisites: minimum supported Android version is 23 (Marshmallow)
Firstly, you need to integrate our kevin. Mobile SDK which allows you to integrate Account Linking within your app. Instructions on how to do that can be found here:
Next, import our aar library file to your project. Tutorial on how to do this can be found in the Android Official docs. You can get the aar file by contacting our support team.
Initialise account linking and hce plugins in your Application file. Check our customisations section for a guide on how to customise SDK UI.
class MerchantApplication : Application() {
override fun onCreate() {
super.onCreate()
Kevin.setLocale(Locale("en"))
// setup your custom theme which extends Theme.Kevin.Base
Kevin.setTheme(R.style.Theme_Kevin_Base)
KevinAccountsPlugin.configure(
KevinAccountsConfiguration.builder()
.setCallbackUrl("https://your.callback.url")
.build()
)
KevinHce.setLocale(context, Locale("en"))
// setup your custom theme which extends Theme.Kevin.Pay.Base
// If theme is not provided, sdk will use default one.
KevinHce.setTheme(contexct, R.style.Theme_Kevin_Pay_Base)
KevinHcePlugin.configure(
context,
KevinHceConfiguration.builder()
.setMerchantTitle("YourMerchantName")
.setMerchantIconRes(R.mipmap.your_icon)
.setNotificationIconRes(R.drawable.your_notification_icon)
.setCallbackUrl("https://your.pos.callback.url")
.setIssuerId("your_merchant_issuer_id")
.build()
)
}
}
For POS payments to work properly you will need to request permission for posting notifications on devices running api 33 or higher
Notifications are needed due to limitations of some device manufacturers. Having notification permission allows us to inform user about relevant information about payment. If user doesn't allow posting notifications or disables our notification channels, payments might not work on certain devices. You can read here about notification permissions.