Questions tagged [aws-sdk-ios]

Tag can be used for questions related to AWS SDK on iOS platform: programming question on either Swift or Objective-C, troubleshooting apps that use AWS on iOS, and so on.

The AWS Mobile SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.

112 questions
0
votes
1 answer

AWSS3TransferUtility: How to retry failed upload task after app restart

I want to retry previously failed S3 upload tasks after app restart. On app init, I call // register a transfer utility object asynchronously AWSS3TransferUtility.register( with: configuration!, transferUtilityConfiguration:…
rysv
  • 2,416
  • 7
  • 30
  • 48
0
votes
1 answer

How to obtain other user's profile using AWS iOS SDK

I am using AWS Amplify for iOS and I can get current logged in user's attributes such as names, email, etc. However, I also need to display name/profile picture of other users as well (in places such as posts, comments from the other user). I am not…
rysv
  • 2,416
  • 7
  • 30
  • 48
0
votes
1 answer

iOS: Calling AWSMobileClient initialize() makes getUserAttributes() not invoking callback

Here is a code snippet I am trying to get it work but without success so far. initialize() works fine but then getUserAttributes() is not triggering the callback. Not just getUserAttributes(), even other AWS calls such as getTokens() not triggering…
rysv
  • 2,416
  • 7
  • 30
  • 48
0
votes
1 answer

AWSMobileClientError Sign In Screen can't be showed due to AWSAuthUI Dependency Error

I'm trying to connect my apps to google sign in using AWS. But, the sign in screen can't be showed because AWS keep producing error like this : AWSAuthUI dependency is required to show the signIn screen. Please import the dependency before using…
0
votes
1 answer

URLSession AWS video upload with resigned URL really slow

I am using Pre-Signed url (generated from our server), to upload to S3 bucket. Using URLSession background session to upload from file to signed URL. What I have noticed is, if the video is bigger (more than 30 or 50 MB), the upload is really slow.…
0
votes
2 answers

How would I use AWS to fire code at a certain date and time?

What would be the easiest way to use AWS to fire code at a certain date and time? Is it possible to use AWS Lambda, or would I need to create a web service in EC2? I prefer to use Xcode for iOS and if necessary Java using Eclipse and the AWS Toolkit…
daniel
  • 1,446
  • 3
  • 29
  • 65
0
votes
1 answer

Fetching list of things in things group or things from AWS IoT

I need list of things in group or list of things from AWS with that I tried to find solution from AWSIoT Reference So i have used below code to get it. Previously i used to get it using normal API call from our backend service but i need fully use…
Shrikant K
  • 1,988
  • 2
  • 23
  • 34
0
votes
4 answers

Referencing AWS S3 bucket name programmatically instead of hardcoded

I'm working with AWS Amplify to develop an iOS application. I've added storage through S3 to host some assets and am trying to configure the application to download them. The only issue is that every example I see has the bucket name and path…
0
votes
1 answer

AWS IoT Core and Mobile SDK - Cache Capacity and Cache Control?

How does AWS IoT SDK for Things or for Mobile(Android/iOS) stores data to sync later when network is not present or device(Thing/Mobile) is not connected to internet. Is there a Storage Manager and Sync Manager concept while communicating between…
0
votes
1 answer

setting aws-lex request attributes with aws-sdk-ios

Is there a way to set request attributes with iOS SDK? I am using this on android: textInForAudioOut(java.lang.String text, java.util.Map sessionAttributes, java.util.Map
Ivan
  • 11
  • 2
0
votes
1 answer

AWS Amplify iOS SDK problem after adding REST API to Swift project

I'm having a problem after adding the AWS Amplify iOS SDK REST API to my project. I am unable to build my project due to 3 fatal compiler errors in one Amplify added file (*Client.swift under the generated-src folder), and I don't know what to do…
motivus
  • 253
  • 4
  • 15
0
votes
0 answers

Python Lambda response times out on swift app, but the function runs without a problem

I have a lambda function written in python that runs a signal processing algorithm with data provided by an iOS application. The iOS app invokes the function successfully, but after a while gets a time out error: Session task failed with error:…
Danf
  • 1,409
  • 2
  • 21
  • 39
0
votes
2 answers

How to subscribe multiple topics in "AWSIoT" iOS SDK?

I am using AWSIoT iOS SDK (version 2.6.0) in my current application. To subscribe the topic currently, we are using below method of SDK - (BOOL) subscribeToTopic:(NSString *)topic QoS:(AWSIoTMQTTQoS)qos …
iDev
  • 531
  • 1
  • 5
  • 15
0
votes
1 answer

AWS Cognito Identity Pool Documentation for iOS?

My question is similar to the one here. I created Sign Up/Sign In using AWSMobileClient and this part worked fine. However, when I tried to query AppSync using Cognito user pool identity I could not get any data returned. I assigned the correct…
0
votes
0 answers

AWS user pool and Google federated authentication

Hello Im currently authenticating users through a Cognito user pool. However I now need to add support to federated authentication thought Google as well. I using AWSCognitoIdentityInteractiveAuthenticationDelegate /…