opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://smartregister.org
Apache License 2.0
54 stars 41 forks source link

Deprecate FHIRCore CustomPhotoCapture widget #1955

Closed FikriMilano closed 1 year ago

FikriMilano commented 1 year ago

Describe the Issue Safely deprecate CustomPhotoCapture in favor of the SDK Attachment widget.

The Android FHIR SDK has added support for Attachment widget, it's features are:

The FHIR Core CustomPhotoCapture widget is essentially an attachment widget but it only support uploading image from camera. https://github.com/opensrp/fhircore/blob/main/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/questionnaire/CustomPhotoCaptureFactory.kt

FikriMilano commented 1 year ago

Also, make sure the data capture dependency are up to date and has the new Attachment widget

FikriMilano commented 1 year ago

cc @f-odhiambo

FikriMilano commented 1 year ago

Kindly also manually test all Questionnaires that uses the new widget and try to submit the response, including those from our clients. Make sure it all works.

I recommend to use a real device to test this.

@f-odhiambo can help collecting which Questionnaires to test

f-odhiambo commented 1 year ago

Closed via #2098