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 the android example setup. #1007

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

timbotimbo2
Copy link
Contributor

Description

This PR updates the android setup for the example project.
Flutter create was used with Flutter 3.24.5 to create a more modern gradle configuration.
This changes gradle from the deprecated declarative apply syntax to the newer 'Plugin DSL syntax'.

The old configuration caused quite a few errors and isn't compatible with Flutter 3.29.

Because of the syntax change, this gradle setup requires a minimum Flutter version of 3.16.
I managed to get this config running with Flutter 3.16.9 up to 3.29.0.

I've made some small additional changes, like commenting flutter.sdkVersion variables. This is to get this example to work across more (older) Flutter versions.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@timbotimbo timbotimbo merged commit 99188df into juicycleff:master Mar 2, 2025
1 check passed
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.

2 participants