Skip to content

Conversation

@rtibbles
Copy link
Member

@rtibbles rtibbles commented Aug 27, 2025

Summary

Updates target SDK to 35

References

Fixes #235

Reviewer guidance

Smoke test asset, does it work?

Of particular interest is making sure that this works on older Android devices (I tried to retain compatibility back to Android 6).

For any code reviewers, please be aware that Claude was largely responsible for the final commit to deal with the layout on edge to edge compliant Android versions (15+). I cross checked that the solutions were broadly similar to the documentation and linked blog posts on the Android developers site - but mostly, I was satisfied that it just worked when I tested it.

@pcenov
Copy link
Member

pcenov commented Sep 8, 2025

Hi @rtibbles the app is not working on both my Android 7.1.1 and Android 8 phones, and also in an Android Studio emulator running Android 7 (the lowest version I could install):

2025-09-08_14-49-24.mp4

Here are the logcat logs from the emulator as there are no logs in the org.learningequality.Kolibri folder on the devices:

logcat.txt

The app is working correctly on my Android 10 phone and in an Android Studio emulator running Android 16.

@rtibbles
Copy link
Member Author

rtibbles commented Sep 8, 2025

Yes, it seems like testing on Android 6 is nigh on impossible now, so I should probably increase the minimum version to 7.

@pcenov
Copy link
Member

pcenov commented Sep 11, 2025

Hi @rtibbles - I confirm that now the app is working correctly on both my Android 7 and 16 emulated devices as well as on my other physical devices.

Copy link
Member

@marcellamaki marcellamaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have read through the changes and cross referenced them with documentation about dependences as well as the FrameLayout. Although I do not feel especially confident in "this is the best way to build this" it does seem more or less aligned with what i'm seeing in the documentation.

one small nitpick change (non-blocking) for the documentation reference link (even though I was able to find the relevant page without much trouble just by going to the home page and searching 🤷‍♀️ )

buildConfig = true
}
androidResources {
noCompress 'tflite'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any sense of why the syntax changes, and why the androidResources is the exception with no =? Although I guess scrolling up to look at sourceSets that also didn't change and the android thing is that it's been renamed (and moved to '')

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I just did what Android Studio told me to.

@rtibbles rtibbles merged commit b776c30 into develop Sep 11, 2025
5 checks passed
@rtibbles rtibbles deleted the android_35 branch September 11, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade target SDK to minimum 35

4 participants