-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix/15322 upgrade WordPress-Android to android 11 api level 30 #15331
Fix/15322 upgrade WordPress-Android to android 11 api level 30 #15331
Conversation
Upgrade to android 11 (API level 30) Tweak for stories related changes
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
buildToolVersion = '29.0.2' | ||
|
||
minSdkVersion = 24 | ||
targetSdkVersion = 29 | ||
targetSdkVersion = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion (💡): Since the buildToolVersion
is not needed and actually not used anymore, we can remove that as well. Afterwards, with some reordering this might look like:
minSdkVersion = 24
compileSdkVersion = 30
targetSdkVersion = 30
PS: This is the same comment copy-pasted from stories-android
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- done, 🙏
👋 question, apparently bumping the
Back to the work at hand, I wonder if scoped Storage is taken into account, it doesn't seem a trivial thing to do 🤔 . While this is in the works, and just as a preventive measure to add to the |
👋 @mzorz !
I 💯 agree with that. As I understand, atm @ravishanker is doing all the prep work to understand what is what. As soon as this work is done and given the fact that this will not be completed during this hack week timeframe, which is expected, I suggest this whole endeavour gets to be accompanying by a |
Awesome, thank you for giving me the context I needed @ParaskP7 ! 🙌 😄 |
I've created a project and linked to all this PRs. I'm not sure if this is what you had in mind @ParaskP7. Thanks |
Sounds like plan. Thank you 🙌
Is there anything to be done for Gutenberg? I've not touched Gutenberg at all so far. |
removed buildToolVersion put versions in min, compile and target Sdk order
Pinging @hypest here 👋 who would be best to take a look into this? Context: SDK 30 bump on WPAndroid (paqN3M-n4-p2), and Android 11 migration. |
👋 @ravishanker !
Thanks for creating the project, this will definitely help us with tracking the Android 11 upgrade todos and progress! ❤️ In addition to that, I was having in mind a |
Thanks for the ping @mzorz and for the question @ravishanker ! It'd be cool if the folks currently working on this migration continue to hammer on it including having a look at the Android bits related to gutenberg-mobile and the we can definitely offer assistance. In other words, this is not yet prioritized high for the gb-mobile teams to devote people on but, happy to re-evaluate! In the meantime, feel free to ping me or @mchowning for navigating the gb-mobile of things! |
👋 @ravishanker , I wonder, to make it easier to develop other deps and testing, what do you think about updating the "pointers" in this PR to point to the API 30 branches on those other deps? Like, is there any particular reason this PR doesn't bump the stories-android git submodule to point to its PR? That will help the build succeed without much manual work on everyone's side. Thanks! Update, I went ahead and did the submodule bump in the test PR I created for the gb-mobile API 30 work. |
👋 @ravishanker, the gutenberg-mobile side of things is ready at this stage. But, we won't merge the Gutenberg side PR before all the API 30 work is ready to merge, to avoid possibly introducing issues in Gutenberg. Let's coordinate the merges so, please give me a ping when everything else is ready too. We'll then merge the Gutenberg PR, the gutenberg-mobile PR and my WPAndroid PR too, what we usually call a "merge domino", typical when working in the gutenberg-mobile project. Let me know if that doesn't make much sense, thanks! |
Updated with develop-# after merging login-flow PR
with develop-# after merging related FluxC branch
…android-api-30 Gutenberg mobile Android target API 30
Update with develop-# after merging Gutenberg and gutenberg-mobile upgrade PRs
fix detekt issue
You can test the changes on this Pull Request by downloading the APKs: |
Update with stories-android version
fix :WordPress:lintWordpressVanillaRelease issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @ravishanker !
I smoke tested the app and after merging the Stories library PR I updated the ext.storiesVersion
value in build.gradle to latest commit in develop here: 523d865
IMPORTANT Please note I haven't tested the Login framework changes that seem to be part of this PR introduced in 4fe9cf9, I'm approving this as part of what I have tested only (Stories) 👍
Fixes #15322
Please see paqN3M-mr-p2 for details on mandatory requirement to upgrade to Android 11 by November 2021. Also this paqN3M-n4-p2, for details on planned approach to upgrade
NOTE: The following PRs need to be merged first before this can be merged. Build will fail as well till then. Most of the changes are in stories lib.
To test:
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txt
if necessary.