Android SDK Upgrade Document
Android SDK Upgrade Documentation
This document comprises steps to follow to upgrade the SDK to a newer version.
Current SDK Version : 8.0.3-RELEASE
Step 1: Change the version of the Nuclei SDK version inside the build.gradle
file. Sync the gradle and build the application. All the dependencies' version would have to change to the version that is being upgraded to.
For instance,
Current SDK version:
implementation "com.nuclei.sdk:provider-bank:4.0.0-RELEASE"
Upgrading to 8.0.\3-RELEASE
implementation "com.nuclei.sdk:provider-bank:8.0.3-RELEASE"
-
Do not remove provider-bank dependency. This is a core dependency.
-
If the bank is using any native category, that particular category's dependency must exist in the gradle, if not, the category will not function. Category type, i.e. native, or web has to be configured at Nuclei's end as well to function as expected. Partner has to inform Nuclei in advance before the bank moves to environments.
Step 2: If the bank is using integrating any new category and the bank is using their own grid, the bank can launch using the open
Methods.
MyApplication.getNucleiSDK().openRecharge(); //to open Recharge category
MyApplication.getNucleiSDK().openCabs(); //to open Cabs category
MyApplication.getNucleiSDK().openFlights(); //to open Flights category
MyApplication.getNucleiSDK().openHotels(); //to open Hotels category
MyApplication.getNucleiSDK().openBus(); //to open Bus category
MyApplication.getNucleiSDK().openCreditScore(); //to open Bus category
MyApplication.getNucleiSDK().openGiftCard(); // to open GiftCard category
MyApplication.getNucleiSDK().openEvents(); // to open Events category
MyApplication.getNucleiSDK().openCarRental() // to open Car Rental Category