Skip to content

Instantly share code, notes, and snippets.

@Akash-Ramjyothi
Last active July 14, 2022 08:41
Show Gist options
  • Save Akash-Ramjyothi/303cd21da2d6ec10b9ee88c2cc3f4a15 to your computer and use it in GitHub Desktop.
Save Akash-Ramjyothi/303cd21da2d6ec10b9ee88c2cc3f4a15 to your computer and use it in GitHub Desktop.
Contributions made for the Open-Source project of HyperVerge

Contributions made to HyperVerge

HyperVerge Organization (GitHub): https://github.com/hyperverge

HyperVerge Aadhaar Offline Android SDK

πŸ“œ Description:

HyperVerge Aadhaar Offline Android SDK helps FinTech companies to onboard customers by using the Aadhaar XML provided by UIDAI. The onboarding process is completly paperless and the SDK takes care of downloading the Aadhaar XML document from UIDAI and verifying the authencity of the customer.

Contributions Link:

Pull Requests Made:

1) Added String Value for the API to be used

πŸ“œ Description:

Added a String Value which stores the API url and is used instead of hardcoding it. Also can be used at multiple places also since it is declared at the begining.

2) Added String Resource for uploadToolbarTitle() method

πŸ“œ Description:

Added a sring resource to be used inside the uploadToolbarTitle() method instead of using hardcoded texts. The string resource can be used throughout te project whenever necessary. This makes the entire project more Generic and flexible.

3) Updated Android Gradle plugin

πŸ“œ Description:

Updated the Android Gradle plugin from version 3.6.1 to its latest version 4.2.0 to reduce the Gradle Sync errors faced.

4) Added Google Playstore Rate This App Dialog Prompt

πŸ“œ Description:

Added a feature to automatically show a prompt to rate this app and to navigate to Google Playstore and also configured the prompt specifically for the release-app. Currently, the Prompt shows when the app has been installed for a week AND has been launched atleast 2 times. If the user clicks "Remind me Later", the prompt will show up again only after 3 days. The above configurations can be changed at anytime as Documented.

5) Updated Libraries and Dependencies

πŸ“œ Description:

Updated the existing outdated dependencies to their latest stable versions to add support for new features and usage.

Issues Raised/ Fixed:

1) Add String Value for the API to be used

πŸ“œ Description:

Currently in the MainActivity.java, the API is being used as a hardcoded value. If it were first declared as a String value and then used, it would be better.

2) Add String Resource for uploadToolbarTitle() method

πŸ“œ Description:

Currently, the method uploadToolbarTitle() uses a hardcoded value to upload the Title. The ideal way for such scenarios is to declare a string resource and then use it inside the method. This would make the Activity more Generic.

3) Update Android Gradle plugin

πŸ“œ Description:

Currently, the project uses the Android Gradle plugin version 3.6.1 which is an outdated version. If the latest version was updated, this will reduce the Gradle Sync errors faced.

4) Add Rate this App Dialog Prompt

πŸ“œ Description:

If there was a feature to automatically prompt to directly navigate to the Playstore would be better for users to give feedback and rate this app. Unless the users absolutely love or absolutely hate the app, they're not likely to go out of their way to rate the app on the Play Store. In scenarios like these it is critical to nudge users into rating the android app.

5) Update Libraries and Dependencies

πŸ“œ Description:

Currently, there are a few dependencies in the project which have been outdated and no loger supported for their respective versions. If these dependencies were updated to their latest versions, this adds support for new features.

πŸ‘¦ Contributed By:

Akash Ramjyothi

               ☎️ PH:+91 8939928002.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment