1. 07 Dec, 2023 2 commits
    • Camille Simon's avatar
      [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) · 1fa54ea9
      Camille Simon authored
      Updates Gradle version for Flutter project templates and integration tests to at least 7.6.3 (changed all of those with versions below it) to fix security vulnerability.
      
      Part of fix for https://github.com/flutter/flutter/issues/138336.
      1fa54ea9
    • Daco Harkes's avatar
      Native assets support for Android (#135148) · 6ad75553
      Daco Harkes authored
      Support for FFI calls with `@Native external` functions through Native assets on Android. This enables bundling native code without any build-system boilerplate code.
      
      For more info see:
      
      * https://github.com/flutter/flutter/issues/129757
      
      ### Implementation details for Android.
      
      Mainly follows the design of the previous PRs.
      
      For Android, we detect the compilers inside the NDK inside SDK.
      
      And bundling of the assets is done by the flutter.groovy file.
      
      The `minSdkVersion` is propagated from the flutter.groovy file as well.
      
      The NDK is not part of `flutter doctor`, and users can omit it if no native assets have to be build.
      However, if any native assets must be built, flutter throws a tool exit if the NDK is not installed.
      
      Add 2 app is not part of this PR yet, instead `flutter build aar` will tool exit if there are any native assets.
      6ad75553
  2. 06 Dec, 2023 1 commit
  3. 04 Dec, 2023 1 commit
  4. 30 Nov, 2023 1 commit
  5. 29 Nov, 2023 1 commit
  6. 27 Nov, 2023 1 commit
  7. 21 Nov, 2023 1 commit
  8. 16 Nov, 2023 1 commit
  9. 14 Nov, 2023 1 commit
  10. 09 Nov, 2023 2 commits
  11. 08 Nov, 2023 1 commit
  12. 03 Nov, 2023 1 commit
  13. 02 Nov, 2023 3 commits
  14. 01 Nov, 2023 1 commit
  15. 12 Oct, 2023 1 commit
  16. 11 Oct, 2023 1 commit
  17. 20 Sep, 2023 1 commit
    • Camille Simon's avatar
      [Android] Add Java/AGP/Gradle incompatibility warning to `flutter create` (#131444) · 594ff98a
      Camille Simon authored
      Adds warning to `flutter create` command that checks if detected Java version is compatible with the template AGP and template Gradle versions. If a developer is building for Android and their Java version is incompatible with either the AGP or Gradle versions that Flutter currently supports by default for new Flutter projects, then
      
      - a warning will show noting the incompatibility and
      - steps will be shown to fix the issue, the recommended option being to configure a new compatible Java version given that Flutter knows we can support the template Gradle/AGP versions and updating them manually may be risky (feedback on this approach would be greatly appreciated!)
      
      Given that the template AGP and Gradle versions are compatible, this PR assumes that the detected Java version may only conflict with one of the template AGP or Gradle versions because:
       - the minimum Java version for a given AGP version is less than the maximum Java version compatible for the minimum Gradle version required for that AGP version (too low a Java version will fail AGP compatibility test, but not Gradle compatibility).
      - the maximum Java version compatible with minimum Gradle version for a given AGP version is higher than minimum Java version required for that AGP version (too high a Java version will fail Gradle compatibility test, but not AGP compatibility test).
      
      Fixes https://github.com/flutter/flutter/issues/130515 in the sense that `flutter create foo`; `cd foo`; `flutter run` should always be successful.
      594ff98a
  18. 12 Sep, 2023 1 commit
  19. 24 Aug, 2023 1 commit
  20. 18 Aug, 2023 1 commit
    • chunhtai's avatar
      Updates app link gradle tasks and remove vm services (#131805) · 61242fa1
      chunhtai authored
      1. Remove vm service registration
      2. combine print<variant>ApplicationId and print<variant>AppLinkDomain into one task dump<variant>AppLinkSettings, which dump all the data in a json file
      
      The deeplink validation tool will be a static app in devtool instead of regular app. A Static app doesn't require a running app; therefore, we can't call these API through vmservices. I decided to convert these API into flutter analyzer command, which will be done in a separate PR https://github.com/flutter/flutter/pull/131009.
      
      The reason these print tasks are converted into file dumps is to reduce the amount of data encoding and decoding. Instead of passing data through stdout, the devtool can read the files generated by gradle tasks instead.
      61242fa1
  21. 16 Aug, 2023 1 commit
  22. 15 Aug, 2023 1 commit
  23. 14 Jul, 2023 1 commit
  24. 21 Jun, 2023 1 commit
  25. 07 Jun, 2023 2 commits
  26. 01 Jun, 2023 2 commits
  27. 26 May, 2023 1 commit
  28. 20 May, 2023 1 commit
  29. 19 May, 2023 1 commit
  30. 15 May, 2023 1 commit
  31. 11 May, 2023 2 commits
  32. 05 May, 2023 1 commit
  33. 03 May, 2023 1 commit