google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
479 stars 258 forks source link

Research on switching from retrofit to hapi android client #384

Open jingtang10 opened 3 years ago

jingtang10 commented 3 years ago

This R&D project will aim to evaluate the current communication with FHIR server approach (using retrofit) with the HAPI-FHIR-Android client.

This would involve developing a new version of the reference app to use the hapi-fhir client and then running a series of comparisons between the two.

Outcome will be a determination of which approach we should adopt.

s-ayush2903 commented 3 years ago

Okay, so we plan to remove our dependency from retrofit and bring it on hapi. So should we put the poc for impl here after proper research?

deepankarb commented 3 years ago

Here's the android client webpage: https://hapifhir.io/hapi-fhir/docs/android/client.html.

An objective comparison - pros and cons of each - would be helpful.

E.g.

Retrofit hapi-fhir-android
Commonly used android lib hence easy to develop Smaller community
Size cost xx mb Size cost yy mb
Baseline x% faster/slower per request than baseline
Minimal overhead for supporting FHIR Resources Works natiely with FHIR Resources
More... ...
jingtang10 commented 2 years ago

@deepankarb