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
6
votes
1 answer

AWS Cognito auto login even after delete and reinstall the app

I recently created an AWS Mobile hub project with Cognito user pools, When I logged in it remembers the logged in user, once I delete the application (Without login out) and reinstall the application, It automatically login to the previous account,…
Poorna
  • 133
  • 2
  • 7
5
votes
1 answer

Will AWS Mobile SDK libraries go away due to Amplify?

Currently, the company I work for uses AWS libraries in multiple Android apps, AWS libraries…
5
votes
1 answer

AWS Amplify / iOS SDK tutorial missing steps

I am following this Getting Started guide for building an iOS app using the AWS Amplify CLI and the AWS SDK for iOS. And I had previously followed the steps in this Apple Getting Started guide for simply creating the basic framework for a Single…
motivus
  • 253
  • 4
  • 15
5
votes
0 answers

Using AWS Cognito and aws-ios-sdk v.2.4.16 with developer identities

I set up a lambda group of functions to do all my authentication. I connect from my app through the api gateway and then finally call GetOpenIdTokenForDeveloperIdentity(). This returns an identityId and token to my device through the gateway. Next I…
cdub
  • 24,555
  • 57
  • 174
  • 303
5
votes
1 answer

Using Amazon Cognito Developer Identities

I am following amazon documentation but it doesn't work as advertised. I have the latest sdk too. The self.identity = code below doesn't work because it is read only. @implementation DeveloperAuthenticatedIdentityProvider /* * Use the token method…
cdub
  • 24,555
  • 57
  • 174
  • 303
5
votes
1 answer

pod update results in "duplicate interface definition for class xxx" for all AWS SDK (El Capitan + XCode 7)

Just now, I updated my AWS SDK pods, which I regretted so much. I first saw this when pods were being updated: dyld: warning, LC_RPATH @executable_path/../../../../../../../SharedFrameworks in…
leonard
  • 2,337
  • 4
  • 22
  • 26
5
votes
3 answers

AWS iOS SDK Cognito Developer Authentication (Swift)

I am having a hard time figuring out how to return developer credentials provided by my server (via AWS) to my Example identity provider. It seems I need to do this synchronously within the refresh method on the ExampleIdentityProvider class. I'm…
northdig
  • 479
  • 1
  • 6
  • 18
4
votes
1 answer

Testing Cognito Authentication in iOS App

I have an iOS app with Cognito authentication implemented very similar to CognitoYourUserPoolsSample. Most important fragments are in SignInViewController.swift: When user taps Sign In, asynch task is added: var passwordAuthenticationCompletion:…
timbre timbre
  • 12,648
  • 10
  • 46
  • 77
4
votes
1 answer

What is the Swift 3 syntax for creating an AWSTask with a result?

Before Swift 3, my code for creating an AWSTask with a result was something like this: let results = ["resultOne", "resultTwo"] let task = AWSTask(result: results) But using Swift 3, I'm getting this error message from Xcode 8: Cannot convert…
Mark Mckelvie
  • 343
  • 4
  • 13
4
votes
1 answer

How to add a logins map to CredentialsProvider?

I have integrated my User Pools setup with the federated identity flow with the 9 steps from the relevant documentation. I'm following the documentation and using the enhanced auth flow. There is however an additional step which I cannot quite…
swennemen
  • 945
  • 1
  • 14
  • 24
4
votes
2 answers

aws dynamodb how to use object mapper with batch get in ios

I need to get ~50 items with their primary keys from dynamodb using ios sdk. i am able to get the items by AWSDynamoDB.defaultDynamoDB().batchGetItem but couldn't figure out if it is possible to use object mapper with the response. Unfortunately…
fmog
  • 186
  • 1
  • 6
3
votes
2 answers

AWS cognito login set AuthFlow to USER_PASSWORD_AUTH in iOS

I’m using AWS Cognito to perform login authentication. When login is successful we get below request body : Request body: >…
Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
3
votes
2 answers

AWS Cognito identityId changing for anonymous/guest users

I was happily using Cognito Sync with my pre-release app (iOS/Objective-C), with Facebook login. However, upon submitting for Apple App Store review, I was asked to remove Facebook login. I thought it would be straightforward - just changed the…
LNI
  • 2,935
  • 2
  • 21
  • 25
3
votes
1 answer

Video upload from iPhone device fails but works on Simulator perfectly ERROR:'Cannot read file'

I am trying to upload a video from iPhone device as: var uploadTask = self.session?.uploadTaskWithRequest(request, fromFile:NSURL(string: assetFilePath.path)!) This code works on simulator and gives a session task object which I can resume. But it…
Vivek Parihar
  • 2,318
  • 18
  • 18
3
votes
1 answer

AWSS3TransferManagerUploadRequest get response URL

I'm using the v2 AWS iOS SDK to upload my images to the server my code i strait forward NSString * uniqueIdentifier = [[NSUUID UUID]UUIDString]; AWSS3TransferManagerUploadRequest *uploadRequest = [AWSS3TransferManagerUploadRequest…
Janub
  • 1,594
  • 14
  • 26
1
2 3 4 5 6 7 8