-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated ImagePicker #159
Comments
Scheduling for 4.0.0 because some of the solutions will not work on Android 4.4. Does not block the release. |
Adding a bit more of context: Currently the users on cht-android app can't upload image, audio, video and file when entering information into Enketo forms. This work will fix these type of questions and increase the compatibility with the ODK standard. |
To add more info when testing this ticket:
|
Ready for AT in this PR Please see the current limitations in the previous comment, and send me any question you might have 🙂 This is one form we've been using to test, please include more cases as needed for testing. xml form
|
User: CHW Tested in different Android version, all the images were uploaded successfully. |
Ticket: #159 This commit: - Removes the old image picker library and implementation because it's deprecated. - Removes support for the deprecated library android.support.* (android.enableJetifier=true) and fixes style of buttons that were depending on Widget.AppCompat. - Adds new support for Webview's file picker. - Adds support for recording if selected instead of picking from the phone's file system
Thanks @tatilepizs for the detailed comment and great work testing in different Android versions! This work is merged into the main branch. |
Ticket: medic#159 This commit: - Removes the old image picker library and implementation because it's deprecated. - Removes support for the deprecated library android.support.* (android.enableJetifier=true) and fixes style of buttons that were depending on Widget.AppCompat. - Adds new support for Webview's file picker. - Adds support for recording if selected instead of picking from the phone's file system
The ImagePicker library we use is deprecated, and the most recent version crashes the app, so we should migrate to another solution.
The text was updated successfully, but these errors were encountered: