Welcome to CashfreeSDK repository. This repo hosts both the Android Library of CashfreeSDK as well as a Sample App to get you started.
The Detailed documentation is available here.
The CashfreeSDK is bundled as a AAR. More information at https://developer.android.com/studio/projects/android-library.html
Here are steps to import the CashfreeSDK into your Android App with Android Studio version 2.2:
- Get the cashfreeSDK.aar file by cloning this repository.
- Go to File -> New -> New Module..
- Select Import .JAR/.AAR Package
- In the next dialog box navigate to cashfreeSDK.aar
- Once you click Finish cashfreeSDK module will be imported, however, you need to add it as a dependency to your project before it can be used
- To add dependency on CashfreeSDK go to File -> Project Structure.
- In the dialog box on the left find your app module and select it.
- Select dependencies and click the green + symbol near the top-right and select Module Dependency
- Finally select "cashfreeSDK" and click OK. You should be good to go.