Update target and compile sdk version to v29#12947
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
05f0634 to
ce5459c
Compare
|
You can test the changes on this Pull Request by downloading the APK here. |
Generated by 🚫 dangerJS |
The lint error looks legitimate to me:
I left a comment on the gutenberg PR about this. |
| .takeUnless { it == -1 } | ||
| ?.let { T::class.java.enumConstants[it] } ?: default | ||
| ?.let { | ||
| @Suppress("UNNECESSARY_SAFE_CALL") |
There was a problem hiding this comment.
Is this @Suppress needed?
There was a problem hiding this comment.
Interestingly Android Studio doesn't seem to give me any warning if I remove the @Suppress line like you did in the screenshot. 🤔
Certainly makes sense to include the @Suppress since you're seeing the warning though. 👍
There was a problem hiding this comment.
Tested a number of different flows and everything looks good to me.
The mentioned PR has been closed (not merged). A fix is included in wordpress-mobile/gutenberg-mobile#2662. We'll need to wait until this new PR gets merged. |
|
@mchowning I've updated the gutenberg-mobile submodule and merged develop into this branch. I've smoke tested the editor + some other parts of the app and all seems to work as expected. Can I just merge the PR when CI finishes or do you want to check the changes before the merge? Thank you so much for all your help!!!!! 🙇 🙇 🙇 |

This PR updates compile and target sdk version to v29. I checked official android docs, but I haven't found any breaking change which would affect our app - privacy changes and behavior changes.
Not ready for merge - related prs in gutenberg repos need to be merged first and the ref needs to be updated
I think the lint is still failing since the changes in gutenberg repo are in a fork - when I targeted the submodule to the fork locally the lint passed without issues.
To test:
Test the app - anything you can think of. Ideally spent at least 10 minutes testing various flows.
PR submission checklist:
RELEASE-NOTES.txtif necessary.