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
1
vote
1 answer

Issue using AWS Comprehend iOS

I'm pretty sure I set up my IAM role appropriately (I literally attached the ComprehendFullAccess policy to the role) and the Cognito Pool was also setup appropriately (I know this because I'm also using Rekognition and it works with the IAM Role…
capivara
  • 13
  • 4
1
vote
1 answer

Cognito isSignedIn latency issue after successful login

In an iOS application using AWS Cognito. Inside the didCompleteStepWithError(_ error: Error?) method, I'm having trouble with the isSignedIn property which is not immediately true after a successful login. When I immediately check…
Running Turtle
  • 12,360
  • 20
  • 55
  • 73
1
vote
1 answer

AWS Mobile Hub Google Authentication iOS

I'm trying to implement AWS Mobile Hub in iOS. I see my Identity ID on Identity Browser when clicked "Sign in with Google" button. There is not problem here. Then I want to access GIDGoogleUser. I initialized GIDGoogleUser but I cannot access user…
yusufonderd
  • 3,237
  • 4
  • 21
  • 34
1
vote
1 answer

Using aws ios iot sdk for our own mqtt server in ios

We used AWS iOS IoT SDK with ssl configuration. We followed https://github.com/awslabs/aws-sdk-ios-samples/tree/master/IoT-Sample/Swift as a reference. Here our server end point will be of format https://xxxxxxxxxx.iot..amazonaws.com We imported…
Sanyasirao Mopada
  • 943
  • 12
  • 31
1
vote
1 answer

Query AWS Dynamo Db Data base using an Array

I'm trying to build an app using AWS Dynamo Db, I wanted to query or scan my database, however I'm able to scan the database using just one parameter, but I'm unable to query the database using an array. For example, I have a table user details in…
Arnvfx
  • 61
  • 4
  • 10
1
vote
1 answer

AWS Cognito iOS. Unauthenticated error after logout

I'm using AWS Cognito, integrated with iOS app through MobileHub to login via Facebook. Everything works fine until I logout of existing identity and try to login with another FB account (or even with the same). In this case I get this error, every…
1
vote
1 answer

AWS SES sending mail with attachement using Amazon iOS SDK

Does anyone know how to send a mail with an attachment using Amazon SES with the iOS SDK.
Ganesh
  • 524
  • 1
  • 4
  • 16
1
vote
1 answer

API gateway and Oauth authentication for unauthenticated cognito

Our mobile application uses unauthenticated cognito flow to authorize devices. We use Oauth authentication for our backend which expects a bearer token. to get this bearer token, instead of saving clientid/secret on the client we are planning to…
PGA
  • 11
  • 2
1
vote
1 answer

AWS Lambda Swift 3 Error

Error: ERROR HERE: Optional(Error Domain=com.amazonaws.AWSJSONBuilderErrorDomain Code=4 "serialized object is neither a valid json Object nor NSData object: " UserInfo={NSLocalizedDescription=serialized object is neither a valid json Object nor…
user2977578
  • 413
  • 5
  • 19
1
vote
1 answer

DynamoDB get item count

This code returns the whole set of items, where I need only the count of it. Is it possible to get only the count of the items for this index? AWSDynamoDBObjectMapper *objectMapper = [AWSDynamoDBObjectMapper…
1
vote
0 answers

AWS SDK upgrading to 2.4.0 the AWSAbstractCognitoIdentityProvider is no longer available

I have update pod file with pod 'AWSiOSSDKv2'. There is AWSAbstractCognitoIdentityProvider is deprecated in update version Of AWSiOSSDKv2. So my custom class for IdentityProvider is not working as previously. I am googling since last 2-3 day but…
Yagnesh Dobariya
  • 2,241
  • 19
  • 29
1
vote
0 answers

iOS AWS SDK AWSCognitoIdentityProviderModel.h compile error

I've been working with Amazon Web Services iOS SDK and came across an interesting compile error due to a line in the SDK. In AWSCognitoIdentityProviderModel.h the error appears at the line: @property (nonatomic, strong) NSNumber * _Nullable…
1
vote
1 answer

Convert PEM Response to PCKS12 Data in Swift

We are using AWS iOS SDK for an IoT project in our company. It is a simple application for now. User logs in to our system and tries to connect to the AWS IoT service.…
sonerd
  • 13
  • 2
1
vote
0 answers

Swift - Uploading file to S3 in background

Within my Swift app, I am able to upload an image to my S3 bucket through the AWS SDK. Right now, I have to wait until the file has successfully uploaded before dismissing the view. let transferManager =…
Katie H
  • 2,283
  • 5
  • 30
  • 51
1
vote
1 answer

AWS S3 and Bolts data type issue (Swift 2.0)

All of the tutorials I have found regarding uploading images to AWS S3 Buckets involve using the Bolts frameworks. However, now that I am personally trying to follow these tutorials I am getting the compile time error: Cannot convert value of type…
Frodgers
  • 95
  • 2
  • 12