24 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
25
views
Amplify Flutter + Cognito Identity Pool works via AWS CLI but fails in app ("No identity pool registered for this account")
I’m integrating AWS IoT Core with a Flutter app that already uses Amplify Auth (Cognito User Pool).
To allow IoT connections, I added a Cognito Identity Pool section to my amplifyconfiguration.dart (...
1
vote
0
answers
93
views
Persist Session and Tokens After OAuth2 Sign-in Using Amplify Flutter
I'm developing a mobile app where users can log in through two methods: direct username/password login via Cognito Sign-In and OAuth2 sign-in with a third-party system.
For OAuth2 login, I redirect ...
0
votes
1
answer
149
views
Amplify.Api.get issue in Flutter Web
I'm asking this question in a few places in hope someone with more clues than me can help :-)
I am having a problem using the AdminQueries function in my flutter app when running in web.
This is my ...
1
vote
0
answers
221
views
amplify_flutter dependency breaks build
I'm completely new to flutter and all the concepts behind building android apps. So I thought I'd follow the budget_tracker tutorial: https://docs.amplify.aws/flutter/start/getting-started/setup/
...
1
vote
1
answer
238
views
How to Retrieve Device Key for ConfirmDevice API with Cognito Amplify in Flutter
I'm working on a Flutter project where Cognito Amplify is handling authentication. I'm trying to implement a feature that requires me to call the confirmDevice API, but I'm facing an issue regarding ...
0
votes
2
answers
86
views
Extract value of an element from object instance
Here is my code to get the current users phone number.
Future<void> getCurrentUser() async {
try {
AuthUser user = await Amplify.Auth.getCurrentUser();
print(user.signInDetails)...
0
votes
1
answer
946
views
Unable to sync after Amplify.Datastore.clear()
I have a home page that does the initial datastore sync in the init() function. There are QueryPredicates that are based on a variable that can change (on a different page).
So basically, after I ...
1
vote
0
answers
128
views
Amplify Flutter returns null when creating a manyToMany item
I am making a chat application which has two tables like below:
type User @model @auth(rules: [{ allow: public, operations: [create, read], provider: iam }]) {
id: ID!
# relation
rooms: [...
1
vote
0
answers
218
views
Unable to update appClientId locally in Flutter using AWS Amplify
I am using AWS Amplify for Flutter. I generated many configurations using the CLI and pushed them to AWS using amplify push. For some reason, I had to delete the App client created using Amplify after ...
1
vote
0
answers
256
views
Login with different user using amplify_auth_cognito for flutter
When using
await Amplify.Auth.signInWithWebUI(provider: AuthProvider.google);
to sign in and
await Amplify.Auth.signOut();
to sign out,
If I sign in, the very first time I am prompted to select a ...
0
votes
1
answer
215
views
File downloaded from Amplify Storage is empty in iOS
downloadFile seems to work fine (there is no errors) but when readAsString called content is empty.
Same code works in Android. What might be the difference causing this to happen in iOS?
Using ...
0
votes
1
answer
1k
views
Querying Many-To-Many Relationships in AWS Amplify
I have two models in my graphql schema and the one I am trying to query on, Sessions, has two @belongsTo directives (read on a forum this matters). I can successfully save these models and view them ...
1
vote
3
answers
532
views
LateError (LateInitializationError: Field 'customTypeSchemas' has not been initialized.) Amplify Plugins Error
I am trying to connect Amplify Api to my project and keep getting an error that reads LateError (LateInitializationError: Field 'customTypeSchemas' has not been initialized.) (Screenshot of the error ...
6
votes
1
answer
4k
views
Flutter Amplify Cognito, no tokens using fetchAuthSession
I'm trying to implement authentication in my Flutter app using Cognito. I'm authenticating against an existing userPool which I've been successfully using for the past year in my React app.
However, ...
4
votes
0
answers
818
views
Subscription error for <Type>: GraphQLResponse.Error while Syncing Models from Datastore
I have several models defined in my schema.graphql file. One of which is:
type QuizCategory @model {
id: ID!
QuizCategoryName: String!
QuizCategoryDescription: String!
QuizCategoryThumbnailUrl:...