plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: Fully support Flutter 3.22 and dart 3.4( atleast upgrade gradle and other dependecies)

Open fisforfaheem opened this issue 1 year ago • 10 comments

Plugin

share_plus

Use case

help needed

Proposal

Upgrade for flutter 3.22 and see what can be done

fisforfaheem avatar May 22 '24 17:05 fisforfaheem

Can you specify which compile errors are you seeing?

miquelbeltran avatar May 23 '24 06:05 miquelbeltran

Hi @miquelbeltran

I have the same problem. The compile error is:

Screenshot 2024-05-23 alle 12 57 28 PM

I try to remove your package, and without your package the app running correctly. Please fix this error, because it's blocking

biaarno8 avatar May 23 '24 10:05 biaarno8

Hi @miquelbeltran

I have the same problem. The compile error is:

Screenshot 2024-05-23 alle 12 57 28 PM

I try to remove your package, and without your package the app running correctly. Please fix this error, because it's blocking

image

That has been discussed already in this repository, please use the search function.

miquelbeltran avatar May 23 '24 11:05 miquelbeltran

Thank you @miquelbeltran

biaarno8 avatar May 23 '24 11:05 biaarno8

What was the solution? Kindly reference add to that discussion

On Thu, May 23, 2024, 4:08 PM biaarno8 @.***> wrote:

Thank you @miquelbeltran https://github.com/miquelbeltran

— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/plus_plugins/issues/2956#issuecomment-2126838355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSEUBLIXTTEI3QMZT4LZDXE3XAVCNFSM6AAAAABIEEFQIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWHAZTQMZVGU . You are receiving this because you authored the thread.Message ID: @.***>

fisforfaheem avatar May 23 '24 12:05 fisforfaheem

What was the solution? Kindly reference add to that discussion

The issue is that packages require Java 17 (jumped from Java 11). This version of Java is shipped with the latest Android Studio, so upgrading Android Studio would be enough to fix the issue.

We also listed the package requirements at the top of the README.md files of each package.

Running flutter doctor -v should show the Java version used as well.

miquelbeltran avatar May 23 '24 14:05 miquelbeltran

this comes with latest ANDROID STUDIO and FLUTTER 3.22 but still get error

✓] Android Studio (version 2023.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

fisforfaheem avatar May 23 '24 16:05 fisforfaheem

Hello, I also encountered the same problem. Did you solve it?

liangzaifankun avatar May 25 '24 08:05 liangzaifankun

Could anyone provide a sample project with the compilation issue?

miquelbeltran avatar May 27 '24 09:05 miquelbeltran

I've pinned some information regarding compilation issues here: https://github.com/fluttercommunity/plus_plugins/issues/2965

Also, I'd please ask you to fill the following issue form we just created for compile issues: https://github.com/fluttercommunity/plus_plugins/issues/new?assignees=&labels=compile%2Ctriage&projects=&template=COMPILATION.yaml&title=%5BCompile%5D%3A+

miquelbeltran avatar May 27 '24 11:05 miquelbeltran

Closing as the answer is already provided in the issue mentioned above.

vbuberen avatar Jul 08 '24 05:07 vbuberen