Questions tagged [flutteramplify]

17 questions
5
votes
1 answer

AWS Amplify Flutter's auth signup function is not working when deployed via Android APK

I'm using the signup function of AWS' Amplify Auth in my Flutter app. The function is working fine when I run the code in Android Studio and test it on an emulator/phone. I'm able to add a new user to Cognito and verify the user. But when I build…
4
votes
0 answers

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

I wanted to use gradle version 7.5.1 in order to add aws to my flutter project. But it has been constantly showing me an error since I tried to change the gradle version. At first I got warnings in vs code that jdk 19 will not work with higher…
3
votes
1 answer

AWS FlutterAmplify using DataStore

How can we get the User Conversations with a query. Ideal would be to do a query to the user table and get all the user conversations loaded. example: final user = await Amplify.DataStore.query(User.classType, where:…
alecellis1985
  • 131
  • 2
  • 15
2
votes
1 answer

Data is showing only after hot reload

I'm new to flutter and amplify. I'm trying to do an app using flutter and amplify as backend. I want to retrieve data from three datastore table at once and put them in to a List>. I can read data from the List but the data…
giselle99
  • 21
  • 1
1
vote
0 answers

aws amplify create user after auth in flutter

please i am stuck with my auth flow in flutter after my confirm registration with aws amplify . The idea is to create a user exactly after the user has completed his registration by retrieving the userid and creating a user with the id but it keeps…
1
vote
0 answers

Tried to get a plugin before it was configured. Make sure you call Amplify.configure() first

I am trying to use AWS Amplify's AmplifyStorageS3,AmplifyAPI and AmplifyAuthCognito with my flutter app. I follow the documentation and everything is working fine but some time app crashes on Android 10 with following error Fatal Exception:…
Ahmad Raza
  • 758
  • 7
  • 26
1
vote
2 answers

Flutter build fails due to Amplify_core

I recently upgraded my flutter application to Android V2, and also made my code null safe. Now when I try to run my code I get the below build error: e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\amplify_core-…
1
vote
1 answer

Flutter Amplify DataStore plugin has not been added to Amplify

All of the sudden I am getting the error DataStore plugin has not been added to Amplify, recoverySuggestion: Add DataStore plugin to Amplify and call configure before calling DataStore related APIs to rule out any of the work I was doing on that…
Bram
  • 2,515
  • 6
  • 36
  • 58
1
vote
2 answers

How to pass ACL properties to flutter amplify while uploading file to S3?

Or How to upload an image to s3 with public access by Flutter Amplify? In my current flutter project, I can't pass ACL:public-read property while uploading files to S3 using amplify. And because of this, whenever I'm uploading a new file to s3, I…
Ravi Sevta
  • 2,817
  • 21
  • 37
1
vote
1 answer

The method 'Amplify' isn't defined for the type '_MyAppState'. -FlutterAmplify

I've just started learning AWS Amplify and followed the step given in https://aws.amazon.com/getting-started/hands-on/build-flutter-app-amplify/module-two/ to initialize Amplify in my flutter project. But I'm getting The method 'Amplify' isn't…
gauravd2196
  • 185
  • 1
  • 11
1
vote
0 answers

Flutter AWS Cognito app in release mode crashes on Android

I have created a Flutter application that uses amplify_auth_cognito and amplify_core packages for authentication. In debug mode, the app works fine without any issues. The iOS version works fine as well, even when installed from the…
zilijonas
  • 3,285
  • 3
  • 26
  • 49
0
votes
0 answers

Upload a file to a different aws s3 bucket in flutter

In my Flutter app I use Amazon S3 to store my videos and images. I use amplify_flutter package to upload files. After following the official documentation of AWS Amplify, I created a bucket to upload videos and this bucket is refrenced in…
sm_sayedi
  • 326
  • 2
  • 17
0
votes
0 answers

How to get total number of records to be synced in Flutter Amplify Datastore

Is there are good way to find out what the total number of records to be synced will be before the records are actually synced via the datastore? This is refering to at the start of time when I am going to sync the datastore with what's in the cloud…
Adam T
  • 11
  • 2
0
votes
1 answer

How to convert Amplify.DataStore.observeQuery into stream with async* that can be used in Bloc

I'm trying to convert Amplify.DataStore.observeQuery into a stream in repository class. The expected return type is Stream>.
0
votes
1 answer

How to generate queries and mutation string export from schema.graphql

I am building a flutter application and using amplify_flutter 0.2.1 and amplify v5.1.0 , when I pull the project from the Amplify-admin UI it generates a graphQL schema schema.graphql which is useless at front-end because in order to fetch or …
HackRx
  • 198
  • 2
  • 14
1
2