Questions tagged [aws-appsync-ios]
25 questions
14
votes
1 answer
AWS Appsync $ctx vs $context in resolvers
I understand that context is what ever name you define in your Lambda functions but when it comes to Appsync resolvers I'm a bit confused. I've seen both $ctx and $context being used in AppSync resolvers including in AWS docs. Some of AWS's own code…

user3376065
- 1,137
- 1
- 13
- 31
7
votes
1 answer
How to set AWS Appsync request timeout limit || AWSAppSync Client not giving callback
I'm using AWS Appsync for the current App I'm developing and facing a serious issue that is Whenever I fire queries in Appsync client, when there is slow internet connection the request never end with a callback. I checked over internet there is…

tryKuldeepTanwar
- 3,490
- 2
- 19
- 49
6
votes
1 answer
Process for uploading image to s3 with AWS Appsync || iOS image uploading with Appsync
I'm working on a new project that requires uploading attachments in the form of images. I'm using DynamoDB and AppSync API's to insert and retrieve data from database. As we are new to the AppSync and all the amazon services and database we are…

tryKuldeepTanwar
- 3,490
- 2
- 19
- 49
3
votes
3 answers
DataStoreError: The operation couldn’t be completed. (SQLite.Result error 0.)
I am using AWS Appsync, AWS datastore, Aws Cognito, Aws API. When I am trying to save data on AWS Datastore it gives me this error
DataStoreError: The operation couldn’t be completed. (SQLite.Result error 0.).
let msg = Message.init(....)
//where…

Mandhata Singh
- 41
- 6
2
votes
0 answers
What does ConnectionProviderError means in Amplify AppSync in Flutter SDK
We are using Flutter SDK for Amplify AppSync for using Real Time Subscription.
https://pub.dev/packages/amplify_api
Sometime we receive error on AppSync subscription. As mentioned below
Error thrown ApiException(message: Subscription item event…

raphire
- 198
- 9
2
votes
1 answer
How to do versioning of the AWS AppSync Schema
I have a usecase where I need to update the schema of the AWS AppSync. Since my app users will be having different versions of the app, the schema which needs to be used will be different for different versions.
Is there a way to do versioning of…

Kanhai Agarwal
- 135
- 1
- 11
2
votes
1 answer
AWSAppSync and AWSMobileClient incompatible
I am trying to install AWSAppSync and AWSMobileClient to my ios app.
When I want to use pod install.
I have tried to use only AWSAppSync or AWSMobileClient. They are fine when used alone but they don't work in the same pod file. I also tried…

nameless
- 21
- 1
1
vote
1 answer
The service configuration is `nil`. You need to configure `Info.plist` or set `defaultServiceConfiguration` before using this method
I'm trying to connect an existing AppSync API to my iOS app.
To perform this, I followed the instructions on this page: https://docs.amplify.aws/cli/graphql-transformer/codegen#ios-usage, but instead of performing:
amplify add api
amplify push
I…

Ido Naveh
- 2,442
- 3
- 26
- 57
1
vote
1 answer
AppSync Events Starter App comments pagination
I'm following this iOS sample app to integrate AppSync.
I'm trying to paginate comments of an individual event. I don't know how to pass field parameters to comments field of the Event type. Introspection doesn't bring any valuable leads.
This is…

EralpB
- 1,621
- 4
- 23
- 36
1
vote
2 answers
aws graphql @connection not returning an array as expected?
I have a graphql model as follows (a user can have many posts 1:m)
type User @model {
id: ID!
fullName: String!
emailAddress: String!
posts: [Post] @connection(name: "UserPostConnection")
}
type Post @model {
id: ID!
text: String!
…

mickeysox
- 159
- 2
- 14
1
vote
1 answer
iOS AWS AppSync 401 IAM + Cognito
Hello I am using AWS AppSync as the backend graphQL db.
I am using Cognito to manage login, users and authentication.
I am using IAM to manage identity rules, and guest users.
here is my inilization code:
let appSyncConfig = try…

Ala'a Al Hallaq
- 455
- 5
- 11
1
vote
0 answers
Automatically Choose Create/Update Query on AWS AppSync in Swift
The user can create and edit his profile with TextFields:
Username
Nickname
Biography
When the user presses the "Save" button, the app saves this data on AWS AppSync. If this is the first time the user enters this data the app should call…

Maruta
- 1,063
- 11
- 24
1
vote
1 answer
How to handle data offline Sync with AWS AppSync?
I have set up an IOS app with DataSource as "HTTP endpoint".
I can fetch all users and auto store in mysqli DB and this data is available offline.
I have also tried the subscriptions to mutations which also works fine.
Now my question is how do I…

Rameez Rami
- 5,322
- 2
- 29
- 36
1
vote
1 answer
Getting "Software caused connection abort" in AppSync
I have a simple GraphQl query that works fine all the time when I call it Except in on case when I minimize my app and receive the push and when I open the app by tapping on the push I fire a AppSync query sometimes it works and sometime I receive…

tryKuldeepTanwar
- 3,490
- 2
- 19
- 49
1
vote
1 answer
How to write JOIN in graphQL or get result from multiple types - AWS App sync iOS
I am using AWS AppSync for a chat app in one of the my applications. We are able to do setup and basic query successfully.
In one of the case I need to write a customized GraphQL query so that I can have additional data using reference of one type…

Tarun Seera
- 4,212
- 4
- 27
- 41