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 uninstall as clarified below:


For the version number, please use the latest version according to our latest update on our repository



How to uninstall the SDK?

 

To uninstall the PayTabs SDK that has been built in your android project using Native Android, remove the line you already specified from your dependencies file:

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:



Additional Steps

 

If you were already using Kotlin Coroutine or enabling the Proguard in your Android project, and performed the "Additional Steps" mentioned in the "Step 1.2.1 - Setup and Activate the integration method" installation step. Only in this case, you will need to perform these additional steps to undo the installation steps completely as clarified below:


  • Kotlin Coroutine


    Remove the following lines from your application's Gradle file, which have been added in the installation/integration process before to avoid the "Duplicated class" dependency conflict issue with the coroutine API:
    configurations.all {
          resolutionStrategy {
              exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
          }
      }




  • Proguard


    Remove the following lines from your application's Proguaed rules file, which have been added in the installation/integration process before:


    -keep public class com.payment.paymentsdk.**{*}



⌂ 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.