Closed jkuester closed 6 months ago
I have manually validating app functionality across different Android versions following this test plan:
make assemble
build/outputs/apk
adb install build/outputs/apk/unbranded/release/cht-android-SNAPSHOT-unbranded-x86_64-release.apk
adb install build/outputs/apk/medicmobilegamma/release/cht-android-SNAPSHOT-medicmobilegamma-x86_64-release.apk
geolocation
data is filled out in the report doc
jkuester_xml2sms
branch.)SEND_SMS
permission in the AndroidManifest.xml and assemble the appsettings.js
doc, Set a phone number in the settings
object for the name gateway_number
"settings":{"gateway_number":"*the_phone_num*" ... }
form:enketo_widgets
), set "xml2sms": true
Received sending report for message
to confirm BroadcastReceiver functionality
adb push README.md /storage/emulated/0/Download
(make sure to have image/audio/video/file (e.g. PDF))enketo_widgets
to select files and submit the form
Closes https://github.com/medic/cht-android/issues/332
Adds support for Android 14 while also uplifting the dependencies/plugins to take advantage of new tooling/linting targeted at the new Android versions.
The changes around the
RECEIVER_NOT_EXPORTED
flags are really the only implementation code changes that were required for Android 14 compatibility. However, to be able to use theContextCompat.registerReceiver
method for backwards compatibility, I needed to start uplifting some dependencies.Instead to trying to do things piecemeal, I just bumped everything. The biggest lift was updating to the
8.x
of the Android Gradle Plugin, but this is super valuable since it gives support for linting things that are specific to the newer versions of Android.I have tried to call out inline all the motivations for the various changes I have made.
https://github.com/medic/cht-docs/pull/1308