Primary mentor | Suarabh |
---|---|
Backup mentor |
Rohit Sharma | |
Assigned to |
Abstract
The goal of the Android client is to provide an alternative to access a hospital's OpenMRS instance by just using the provider's Android devices. See the full Android client guide for more info.
...
- An upgrade to the Architecture Model of the app. As Android apps grow in size, it's important to define an architecture that allows the app to scale, increases the app's robustness, and makes the app easier to test. The present architecture model of the app is MVP. However, as Android now recommends using MVVP(Model View ViewModel)model as It can be integrated with the latest Architecture components. This indeed will reduce so much of the boilerplate code and will help newcomers to understand and contribute more to the Android client.
- Dependency Injections : Classes in the app depend on other classes in order to function properly. Android now recommends following dependency injection patterns and using the Hilt library in Android apps. This will help to automatically inject required classes' objects in the constructors. This indeed will again reduce the boilerplate code and makes the code more understandable and manageable.
- Testing: The status quo or the present test coverage status of the app is very low. There is a stack of classes which have had never been tested. Testing is an integral part of the app development process. More tests should be added to increase the test coverage of the project.
- Replace the remaining Java code with Kotlin. Both Java and Kotlin can be used to build performant, useful applications, but Google's libraries, tooling, documentation, and learning resources continue to embrace a Kotlin-first approach; making it the better language for Android today.
Objectives :
- Upgrade MVP model to MVVP
- Use Dependency Injections
- Increase Test Coverage
- Migrate Java classes to Kotlin
- Integrate more components of the web app to the client (to be discussed further)
...
- https://github.com/openmrs/openmrs-contrib-android-client/releases/tag/v3.0.0 - Release page for the 3.0.0 version.
- GSoC 2021 : OpenMRS Android Client Project 3.0.x - Previous year's GSoC page for this project
- https://github.com/openmrs/openmrs-contrib-android-client - main repo
- https://openmrs.github.io/openmrs-android-client-user-guide/introduction.html - User guide
- https://talk.openmrs.org/t/gsoc-2018-openmrs-android-client-3-x-project/18035?source_topic_id=19471