-
Notifications
You must be signed in to change notification settings - Fork 258
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
Unable to build my flutter app after package updation #5800
Comments
Hi @poojakansal , thank you for taking the time to raise this issue and I'm sorry you are facing it. We are currently working on updating our drift dependency which may resolve this issue, I will update you when that is in |
Thank you for your response! Could you please suggest a workaround or an alternative solution to implement the storage functionality? I need to address this urgently as the app is being prepared for Play Store submission. |
Hi @poojakansal , I will attempt to reproduce the given configuration and get back to you with a possible solution |
Hello, @poojakansal I facing same issue. Did you found any workaround ? |
Yes I am able to run code by overriding web package rather than drift. Actually I am using firebase as well, so the major confliction was web version. dependencies: dependency_overrides: |
Interesting, so you kept drift the same as what comes with our most recent release? |
yes, I kept the drift version same with recent version
…On Tue, Jan 21, 2025, 9:18 AM Ekjot ***@***.***> wrote:
Interesting, so you kept drift the same as what comes with our most recent
release?
—
Reply to this email directly, view it on GitHub
<#5800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHZZF4EB7TCQC2WY7U5DPEL2LW7RBAVCNFSM6AAAAABVCKJC4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGYYDAMJYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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: