Unable to build my flutter app after package updation #5800
Labels
pending-maintainer-response
Pending response from a maintainer of this repository
pending-triage
This issue is in the backlog of issues to triage
Description
Last year, I implemented AWS into my application, and everything was working fine. However, after updating the packages, I encountered several issues.
The first issue was related to Drift, as it conflicted with other packages. To resolve this, I override the dependency, but that led to additional issues.
Currently, I’m trying to access the existing AWS storage to retrieve and play audio files, but I’m running into challenges.
final storagePlugin = AmplifyStorageS3();
Usage of AmplifyStorageS3 throwing many errors which I mentioned below
AppData/Local/Pub/Cache/hosted/pub.dev/amplify_storage_s3_dart-0.4.7/lib/src/storage_s3_service/transfer/database/tables.drift.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named '$state'.
i0.ColumnOrderings get createdAt => $state.composableBuilder(
^^^^^^
AppData/Local/Pub/Cache/hosted/pub.dev/amplify_storage_s3_dart-0.4.7/lib/src/storage_s3_service/transfer/database/tables.drift.dart:384:15: Error: The getter '$state' isn't defined for the class '$$TransferRecordsTableOrderingComposer'.
pubspec.yaml
dependencies:
amplify_flutter: 2.5.0
amplify_auth_cognito: 2.5.0
amplify_storage_s3: ^2.5.0
drift: ^2.18.0
dependency_overrides:
drift: ^2.20.2
Categories
Steps to Reproduce
dependencies:
amplify_flutter: 2.5.0
amplify_auth_cognito: 2.5.0
amplify_storage_s3: ^2.5.0
drift: ^2.18.0
dependency_overrides:
drift: ^2.20.2
final storagePlugin = AmplifyStorageS3();
Screenshots
Platforms
Flutter Version
3.28.0-2.0.pre.38691
Amplify Flutter Version
2.5.0
Deployment Method
Amplify Gen 2
Schema
No response
The text was updated successfully, but these errors were encountered: