You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app currently cannot be built/run without tweaks when using a fresh Flutter install (Version 3.16 or higher).
To reproduce
Install a fresh version of Flutter (3.16 or higher)
Clone the repository
Run flutter run
See error
Because localsend_app depends on flutter_localizations from sdk which depends on path 1.9.0,
path 1.9.0 is required.
So, because localsend_app depends on path 1.8.3, version solving failed.
Expected behavior
To reduce development friction, dependencies should be up to date to match current stable Flutter versions.
Updating to path: 1.9.0 fixes the first issue. But there also is a dependency issue with the wechat_assets_picker package:
Launching lib/main.dart on Linux in debug mode...
ERROR: ../../../../.pub-cache/hosted/pub.dev/photo_manager-2.8.2/lib/src/internal/image_provider.dart:71:5: Error: Type 'DecoderCallback' not found.
ERROR: DecoderCallback decode, // ignore: deprecated_member_use
ERROR: ^^^^^^^^^^^^^^^
ERROR: ../../../../.pub-cache/hosted/pub.dev/photo_manager-2.8.2/lib/src/internal/image_provider.dart:96:5: Error: Type 'DecoderCallback' not found.
ERROR: DecoderCallback decode, // ignore: deprecated_member_use
ERROR: ^^^^^^^^^^^^^^^
ERROR: ../../../../.pub-cache/hosted/pub.dev/photo_manager-2.8.2/lib/src/internal/image_provider.dart:71:5: Error: 'DecoderCallback' isn't a type.
ERROR: DecoderCallback decode, // ignore: deprecated_member_use
ERROR: ^^^^^^^^^^^^^^^
ERROR: ../../../../.pub-cache/hosted/pub.dev/photo_manager-2.8.2/lib/src/internal/image_provider.dart:96:5: Error: 'DecoderCallback' isn't a type.
ERROR: DecoderCallback decode, // ignore: deprecated_member_use
ERROR: ^^^^^^^^^^^^^^^
ERROR: Target kernel_snapshot failed: Exception
Building Linux application...
Error: Build process failed
Upgrading to wechat_assets_picker: ^9.0.3 fixes that issue but drops support for Flutter 3.13 or under.
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
If this issue is agreed upon, I already have a PR ready (#1278).
The text was updated successfully, but these errors were encountered:
Describe the bug
The app currently cannot be built/run without tweaks when using a fresh Flutter install (Version 3.16 or higher).
To reproduce
flutter run
Expected behavior
To reduce development friction, dependencies should be up to date to match current stable Flutter versions.
Updating to
path: 1.9.0
fixes the first issue. But there also is a dependency issue with thewechat_assets_picker
package:Upgrading to
wechat_assets_picker: ^9.0.3
fixes that issue but drops support for Flutter 3.13 or under.Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
If this issue is agreed upon, I already have a PR ready (#1278).
The text was updated successfully, but these errors were encountered: