Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Plugin not properly compatible with desugar version 1.2.* (Android 33) #66

Closed
kerk12 opened this issue Nov 7, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@kerk12
Copy link

kerk12 commented Nov 7, 2022

Describe the bug
I've recently tried to develop an app that utilizes your plugin. The plugin works great on an emulator w. Android 31, no compatibility issues there. The issue arises with Android 33 based emulators. I'm using the flutter_local_notification plugin which utilizes desugar. The latest desugar version (1.2.2), which is fully compatible w. Android 33 is incompatible with this plugin, as this plugin uses an older Gradle version.

Log:

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_background' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

To Reproduce
Create a new project that utilizes both this plugin and flutter_local_notifications. Try to run it in an Android 33-based device. It should crash when the app starts. Also, when upgrading Gradle, it should not be able to be compiled.

Expected behavior
The plugin should be able to be compiled on the latest Gradle version.

@kerk12 kerk12 added the bug Something isn't working label Nov 7, 2022
@kerk12
Copy link
Author

kerk12 commented Nov 7, 2022

This is directly related to #65.

@kingstertime
Copy link

fix please

@JulianAssmann
Copy link
Owner

@kingstertime @kerk12 #65 should be fixed in the latest release (1.2.0). Can you confirm this issue is resolved as well, so I can close it?

Repository owner locked and limited conversation to collaborators Jan 19, 2023
Repository owner unlocked this conversation Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants