Flutter's default targetSdk and the Google Play floor: what warnahead 0.2 reads
Google Play has required new apps and app updates to target API 36 since August 31, 2026; the extension Google offered on request ran until November 1, 2026. If your app is a Flutter app that keeps the line of Flutter's Android template, targetSdk = flutter.targetSdkVersion , the number that decides this is not in your repository at all: the target API level is whatever the Flutter SDK on the…
Google Play began requiring new apps and app updates to target API 36 since August 31, 2026, with an extension offered until November 1, 2026. Flutter apps that use the default targetSdk value of Flutter's Android template do not have this API level specified in their repository. A CLI and GitHub Action called warnahead addresses this by reading mobile app repositories to determine which platform deadlines apply to them.
Up to version 0.1, warnahead reported Unknown for every Flutter app with the default targetSdk value because it could not determine which Flutter version would build the app. Version 0.2 now includes this detection, as well as other mobile checks, which are referred to as "deeper mobile" checks.
warnahead identifies the Flutter version used to build the Android app by looking for an .fvmrc file, an older fvm_config.json file, or a CI job that pins a Flutter version. If neither is found, the result remains Unknown, with the reason being "no .fvmrc or Android build in CI pins a Flutter version." CI jobs following the stable channel also result in Unknown, as stable moves with every Flutter release.
Additionally, if the Flutter releases have different default targetSdk values, or if the README points to F-Droid or GitHub Releases for the Android build rather than Google Play, the result will be Unknown.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to