Target Android API 37 - #7259
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the project’s target SDK to Android API 37, aligning the app’s target level with the already configured compile SDK in libs.versions.toml.
Changes:
- Bump
androidSdk-targetfrom 36 to 37 in the shared Gradle versions catalog.
Test Results 330 files 334 suites 13m 41s ⏱️ Results for commit 270ec21. ♻️ This comment has been updated with latest results. |
|
Strict mode violation on API 37 |
#7211 suggests otherwise, are you sure? Did you test with the websocket service enabled by any chance instead of FCM? That would give the app a FGS so foregrounded which is more permissive, while most users will probably use FCM so background. |
I did indeed tested without fcm but based on your comment on the pr it is already impacting the app. |
At least partially for any app on Android 17. Apps targeting Android 17 get another restriction with the FGS needing WIU capabilities. Looks like the websocket FGS satisfies that at least. As the impact doesn't seem to change with or without the target SDK level, let's not discuss on this PR and move any further discussion about this to the issue. |
jpelgrom
left a comment
There was a problem hiding this comment.
Only other relevant behavior change should be local network permission but we've already had this impact us. I agree nothing else should break and I don't see issues either, so let's merge and see if we missed something this week.
Summary
I had some doubt that we were going to loose the control of the volume from the notification commands but it seems that it continue to works properly since our app meets the requirements. https://developer.android.com/about/versions/17/behavior-changes-17#bg-audio
All the rest seems to work ok, wake word that use C code is working and the rest is not impacting us (if I didn't miss anything).
Checklist
Select exactly one option that describes AI usage in this contribution: