Skip to content
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

Update Flutter, target android SDK 34 #160

Merged
merged 36 commits into from
Sep 20, 2024
Merged

Conversation

IanVS
Copy link
Contributor

@IanVS IanVS commented Sep 3, 2024

This updates flutter to 3.24.1, the latest stable version, and also updates our flutter dependencies to latest.

It targets the latest android sdk, 34, which is required if we want to publish a new version to the Google Play store.

I also needed to make a few adjustments to handle deprecations. The biggest change is that I needed to wrap the main widget in MaterialApp to avoid problems with AdaptiveSwitch in iOS.

IanVS added 27 commits August 28, 2024 13:28
Now that we've gotten to a new enough version of flutter that it doesn't break
Otherwise we get a build error
Some material elements, like AdaptiveSwitch, won't work in iOS without it.
@CLAassistant
Copy link

CLAassistant commented Sep 3, 2024

CLA assistant check
All committers have signed the CLA.

@IanVS IanVS requested a review from nbrownus September 3, 2024 15:57
jasikpark
jasikpark previously approved these changes Sep 19, 2024
Copy link
Contributor

@jasikpark jasikpark left a comment

Choose a reason for hiding this comment

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

I don't know enough to give a proper review, but nothing is obviously strange here 👍

Copy link
Member

@johnmaguire johnmaguire left a comment

Choose a reason for hiding this comment

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

Consider doing dart fmt separately and adding the hash to .git-blame-ignore-revs. We haven't done this for all of them, but they can be pretty major, as in this PR...

Looks like go get ran, so maybe run go mod tidy as well to clean up superfluous items in go.sum.

@johnmaguire
Copy link
Member

Mind running go mod tidy?

@IanVS
Copy link
Contributor Author

IanVS commented Sep 20, 2024

Mind running go mod tidy?

I assumed that's what happened when I ran flutter clean and the go.mod file was changed. I wonder if there's a way to extend it to avoid requiring a manual step...

@IanVS IanVS requested a review from johnmaguire September 20, 2024 18:17
@IanVS IanVS merged commit 64d45f6 into master Sep 20, 2024
2 checks passed
@IanVS IanVS deleted the update-flutter-android-34 branch September 20, 2024 18:19
@IanVS
Copy link
Contributor Author

IanVS commented Sep 20, 2024

Thanks for the review John. Let's hold off on a release / beta build for now, there's a bit more that I nearly have ready to push up.

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.

4 participants