Launching Nuclei SDK Categories
Launching Nuclei SDK Categories
Note
Before proceeding with this implementation, please confirm that the seamless login integration has been completed. If that step is pending, you may refer to the relevant documentation.
There are multiple ways user can launch Nuclei categories.
- By adding option in Bank UI for Nuclei Grid
MyApplication.getNucleiSDK().startNucleiFlow();
- By adding individual options in Bank UI for Nuclei categories in the form of clickable icons or buttons. For example an icon for Recharge, Flights, Bus, Hotels etc which can be opened with below method calls.
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().openGiftCards(); //to open Giftcards category
- By fetching the Nuclei grid items through SDK and displaying it to the user in a custom way.
Observable<List<SDKGridItem>> gridItems = SampleApplication.getNucleiSDK().getGridItems(0.0,0.0);
// Get the grid items from observable and use below method to open category
SampleApplication.getNucleiSDK().openDeeplink(sdkGridItem.deepLink);