Skip to content

[google_api_availability]: Raise minimum SDK to Dart 3.12 and Flutter 3.44 - #75

Open
rickdijk wants to merge 5 commits into
mainfrom
rick/fpl-59-sdk-3-12-google_api_availability
Open

rickdijk wants to merge 5 commits into
mainfrom
rick/fpl-59-sdk-3-12-google_api_availability

Conversation

@rickdijk

@rickdijk rickdijk commented Nov 30, 2026 •

Copy link
Copy Markdown

Raises the minimum SDK of google_api_availability to Dart ^3.12.0 and Flutter >=3.44.0, matching the Flutter team's own packages. Part of the Baseflow-wide SDK floor raise (stable channel only).

Changes

  • pubspec.yaml and example/pubspec.yaml: environment to sdk: ^3.12.0 and flutter: ">=3.44.0". Dependency constraints are unchanged.
  • Bumps the version from 5.1.0 to 5.2.0, with a CHANGELOG entry.
  • Second commit: dart format . output. A language version past 3.7 switches the formatter to the tall style, so the diff is large but has no code changes.

Merge order
0. #76 (example app and AGP fixes for Flutter 3.50). This branch is rebased on it, so its commits show here until #76 merges.

  1. google_api_availability_platform_interface
  2. google_api_availability_android
  3. google_api_availability

No linked issue; this is maintenance.

Linear: FPL-59

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

Verification (local, in google_api_availability)

  • Flutter 3.44.9 / Dart 3.12.2: flutter pub get, flutter analyze (no issues), flutter test (12 passed); the example also analyzes clean.
  • Flutter 3.47.4 stable: flutter pub get, flutter analyze (no issues), flutter test (12 passed); the example also analyzes clean.
  • Flutter 3.44.9 after flutter pub downgrade: flutter analyze (no issues), then flutter pub upgrade back.
  • dart format --set-exit-if-changed . is clean on both 3.44.9 and 3.47.4.
    CI on Flutter 3.50.1
    CI analyzes and builds on the latest stable, now Flutter 3.50.1. Two things broke there, on main as well: the example's package:flutter/material.dart import is deprecated, and the Android Gradle Plugin 9.1.0 is below Flutter's new minimum, 9.1.1. Fix example apps for Flutter 3.50 (material_ui, AGP 9.1.1) #76 fixes both, and this branch is rebased on it.

🤖 Generated with Claude Code

Flutter 3.50 deprecates package:flutter/material.dart in favour of
package:material_ui, which makes flutter analyze fail in CI.
material_ui 1.0.0 to 1.3.0 support Flutter 3.44, so ^1.0.0 works with
the new SDK floor.

Linear: FPL-59

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rickdijk and others added 4 commits November 30, 2026 16:56
Flutter 3.50 requires AGP 9.1.1 or later, so flutter build apk failed
in CI with 9.1.0.

Linear: FPL-59

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps the plugin's build classpath in line with the example apps.

Linear: FPL-59

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bumps google_api_availability to 5.2.0.

Linear: FPL-59

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Linear: FPL-59

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rickdijk
rickdijk force-pushed the rick/fpl-59-sdk-3-12-google_api_availability branch from 8d6c60b to 88b3002 Compare November 30, 2026 09:05
@rickdijk
rickdijk marked this pull request as ready for review November 30, 2026 09:59
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.

1 participant