Align Android build with Flutter 3.35.7 toolchain
Summary
- resolve Flutter warnings about old Kotlin tooling by upgrading AGP 8.9.1 + Kotlin 2.1.0
- sync plugin/example Gradle wrapper to 8.12 and raise compile/target SDK to 36
- refresh coroutines + example app config to match current Flutter templates
Detail
@YkSix
While testing the impact of PR #133 in the Android demo project, I noticed that the latest version of Flutter showed several warnings. Our project's current Gradle and Kotlin versions will soon be unsupported, so I took the opportunity to update and modernize the toolchain.
These changes are now aligned the ones used within Flutter 3.35.7. This means users on the latest Flutter version should have no issues. However, merging this PR right away could cause compatibility problems for users still on older versions of Flutter due to toolchain differences.
For this reason, I suggest leaving this PR open for a while—until most users have migrated to the new Flutter version. Alternatively, we can merge it if we encounter issues that can't be fixed without upgrading.
Testing
- flutter run (example/)