Skip to content

Conversation

@crmado
Copy link

@crmado crmado commented Mar 28, 2025

Problem Description

When using the latest Flutter and Gradle versions, the original plugin has the following issues:

  1. Compilation failed, kotlin_version property not found
  2. The package attribute in AndroidManifest.xml is deprecated
  3. Inconsistent Java and Kotlin compatibility versions

Solution
This PR makes the following changes:

  1. Update Kotlin version from 1.7.10 to 2.1.0
  2. Update Gradle version from 5.1.1 to 8.5
  3. Update Android Gradle plugin version from 4.1.3 to 8.2.2
  4. Update Java compatibility from 1.8 to 17
  5. Remove the package attribute in AndroidManifest.xml and use namespace in build.gradle instead
  6. Update the collection dependency version in pubspec.yaml

test

It has been tested on Android 13 devices and the example app can be compiled and run normally.

thomassth and others added 11 commits December 29, 2021 22:46
* parseRecurrenceRuleString() when else fix.

* Fixed failing test (dart analyze).

* Bumped version and updated changelog.

---------

Co-authored-by: Shreyas S <[email protected]>
Co-authored-by: Julius Bredemeyer <[email protected]>
* packages cleanup

* changelog

* flutter_timezone
…am#519)

* Request FullAccess on iOS17+ (builttoroam#497)

* fix: request FullAccess on iOS17 or later

* update iOS integration description

* fix: iOS build test & Android build test

* feat: update xcode-version

* update changelog and pubspec

* fix ci

---------

Co-authored-by: MIYANARI Junki <[email protected]>
Add ashwani commit adding namespace to the release version for compatibility whit AGP 8.0+
* fix github actions

* another script

* permissions

* use env-var instead

* reposition keys

* typo

* v4.3.3pre

* v4.3.3-20240801

* tag change

* fix pipeline runs

* remove broken job

* update kotlin versions

* update kotlin versions
Copy link
Contributor

@IVLIVS-III IVLIVS-III left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all compiled output, i.e. all files from example/android/app/.cxx

@crmado
Copy link
Author

crmado commented Mar 28, 2025

@IVLIVS-III I have removed all the edit output files in example/android/app/.cxx directory, please see the latest commit. Thank you for your review and suggestions!

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.

5 participants