Questions tagged [aws-appsync-ios]

25 questions
1
vote
1 answer

AppSync Schema Scalar Type for Images

I am writing an iOS app which uses AppSync and DynamoDB as the BaaS. I need to pass an image (Binary) from the backend to the app via schema.graphql. However, based on this…
Sarah Guo
  • 301
  • 1
  • 3
  • 15
1
vote
1 answer

Enabling cache for AWS AppSync Client iOS Swift

I am using AWS AppSync for creating my iOS application. I want to leverage the offline mutation as well as query caching provided by AppSync. But when I am turning my internet off, I am not getting any response. Rather its showing an error as "The…
Kanhai Agarwal
  • 135
  • 1
  • 11
1
vote
1 answer

Is it possible to prepolulate an AWS AppSync iOS client?

We’re looking at using AWS AppSync for our next mobile project because of its offline capabilities. Using AppSync is it possible to release a mobile app (iOS / Android) with the mobile app database prepopulated with content? This is to avoid a…
0
votes
1 answer

Recording Data Updated, Deleted to AWS DynamoDB via AWS AppSync has a problems?

I’m using AWS AppSync for developping iOS App by Swift. And so I record Data to AWS DynamoDB. I can use GraphQL Operarion 「Create~~Mutation」「Update~~Mutation」「Delete~~Mutation」 so I can confirm Data created, updated, deleted. To be accurate, Data…
0
votes
1 answer

iOS AWS Appsync Fetch callback never called

Hello I have a app that uses AWS AppSync as the backend. and have an issue that appears randomly on multiple devices, that the fetch requests callback never called and the app ui is blocked by an activity indicator that should be hidden by the…
0
votes
1 answer

How to specify the fields I want to fetch in a GraphQLQuery

I am trying to use AWS AppSync on an iOS project. I have successfully setup the framework on the project and now I want to start doing queries. To do that I am using the GraphQLQuery objects generated on the API.swift by amplify cli. Thing with…
Enrique Bermúdez
  • 1,740
  • 2
  • 11
  • 25
0
votes
1 answer

Appsync: Subscribe to element in array

With respect to AWS AppSync Is there a way of subscribing to an element in an array , eg: onSendMessage(recipientIds:[myID,otherPotentiallyRandomAndUnknownIds]) { } I have tried simply adding the element I'm looking for, however it doesn't trigger…
John
  • 2,410
  • 1
  • 19
  • 33
0
votes
0 answers

How to filter graphql results where sort key is in an array of strings

Application: AWS AppSync Database: DynamoDB Auth: Cognito Partition Key: Id Sort Key: Id Goal: Return a collection of records where the sort key matches one of the values in an array of strings. The partition key and sort key are used to organize…
0
votes
1 answer

Proper integration of AWS AppSync with Laravel?

Anyone successfully integrated AWS AppSync with Laravel? I am new to AWS AppSync but good experience with laravel. I am trying to implement an offline-app feature in my mobile app and the mobile API part is what Laravel handles. I looked into AWS…
0
votes
0 answers

Does AppSync Subscription Work When User is No Longer in View Controller or when App is Background

I am reading this sample app, and noticed that the call for subscriptions happens in viewDidLoad(). This raises the following question: 1) Is the user subscribed to event comments only when he/she is in that particular view controller? In other…
Sarah Guo
  • 301
  • 1
  • 3
  • 15
1
2