PayTabs SDK makes the integration with the PayTabs payment gateway very easy by providing a ready-made payment screen that handles the card entry, and billing & shipping information and completes the missing details.
In this article, we will walk you through how to upgrade this SDK as clarified below:
For the version number, please use the latest version according to our latest update on our repository
A native android code means that it's developed using Android framework classes like Activity, Fragment, and View where only the Android SDK applications need an emulator or device to run. To upgrade the PayTabs SDK that has been built in your android project using Native Android, specify it in your dependencies file with the new SDK version you wanted to upgrade to:
implementation 'com.paytabs:payment-sdk:X.X.X'
Then after that, you will receive a notification message asking you if you want to synchronize the dependencies file as you just modified it. Kindly approve the "Sync Now" option as shown below:
It worth mentioning that at this point you will be considered that you already applied the "Additional Steps" mentioned in the "Step 1.2.1 - Setup and Activate the integration method" installation step in case you are using Kotlin Coroutine or enabling the Proguard in your native Android project to avoid any depency issues.
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Native Android SDK Integration Manual" solution article. ⇦ And to get familiar with the rest of the steps regarding the current step "Step 1 - Setup and activate the integration method" click here.
⇨ Or you can navigate to the next step in the process "Step 2 - Configure the integration method" kindly click here.