Questions tagged [aws-ios]
14 questions
3
votes
1 answer
Error Running Amplify Push after Running Amplify Auth Update
I followed the instructions here to add authentication for my iOS app. I first ran amplify auth update, followed through all the steps, and then ran amplify push. However, amplify push failed with the following…

Sarah Guo
- 301
- 1
- 3
- 15
2
votes
2 answers
AWS Lambda - The role defined for the function cannot be assumed by Lambda
I am trying to access Lambda function using iOS Swift and here is my set up AWS Role
RoleName: ALLOW_LAMBDA_EXECUTE
With Policy access to AWS Lambda full access, AWS Lambda execute, AmazonCognitoDeveloperAuthenticatedIdentities
Trust…

Vasu Seshadri
- 31
- 1
- 2
2
votes
1 answer
Creating custom Roles and Policies
I am looking into using AWS-Cognito as a means to manage and authenticate users. I do not want to use aws api-gateway or any of their other services really. It seems though you can only create roles or policies if they are related to some other aws…

Trevor
- 321
- 2
- 7
- 21
2
votes
0 answers
AWS Cognito synchronize issue with AWSCognitoDataset iOS
Am getting this below error while syncing Facebook and GPlus login credentials in AWSCognitoDataset for iOS,
Task Response is :: AWSTask: 0x16018ce0; completed = YES; cancelled = NO; faulted = YES; result = (null)
Task Error is :: Error…

Madhavan
- 647
- 4
- 16
2
votes
0 answers
AmazonClientManager - Issue with resumeSessionWithCompletionHandler in AWSCognito GPlus Login iOS
Hi all am facing some problem with resumeSessionWithCompletionHandler in AmazonClientManager for GPlus AWSCognito login in iOS. But the same resume session works fine for Facebook Login. Can u please help me on this. This is the code I have used in…

Madhavan
- 647
- 4
- 16
1
vote
1 answer
Amazon Cognito + iOS Swift - Custom UI
I'm trying to setup Amazon Cognito with a custom UI I've set up in Swift for iOS. The built-in UI from the Amazon iOS SDK doesn't fit the look of the app, so I can't use it.
Anyone here have advice on how to use Amazon Cognito with a custom UI?…

Daniel Leung
- 13
- 5
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…

user10253792
- 21
- 3
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
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
how to facebook user authentic in AWSAmazon identity pool id
-(void)loginViewShowingLoggedInUser:(FBLoginView *)loginView
{
AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc]initWithRegionType:AWSRegionUSEast1 identityPoolId:@"us-east-1:xxxxxxxxxxxxxxx-ff6eaba0241e"…

Pankaj Sonava
- 519
- 4
- 20
1
vote
1 answer
aws ios sdk - Issue downloading images from s3
I am trying to download the images from my s3 bucket using iOS sdk (swift), but i am always getting access-denied error
Domain=com.amazonaws.AWSS3ErrorDomain Code=1 "(null)" UserInfo={HostId=asadadadadadad=, Message=Access Denied,…

RameshVel
- 64,778
- 30
- 169
- 213
1
vote
0 answers
AWS S3 : iOS SDK - AWSContentDownloadTypeIfNewerExists not working
I am using the AWS iOS SDK to download a file from S3.
The file is downloaded like this:
AWSContentManager *contentManager = [AWSContentManager sharedManager];
AWSContent *content = [contentManager contentWithKey:filename];
[content…

Zigglzworth
- 6,645
- 9
- 68
- 107
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
2 answers
iOS AWS API Gateway : Unauthenticated access is not supported for this identity pool
//setup service config
AWSServiceConfiguration *serviceConfiguration = [[AWSServiceConfiguration alloc] initWithRegion:CognitoIdentityUserPoolRegion credentialsProvider:nil];
//create a pool
AWSCognitoIdentityUserPoolConfiguration…

Lex Nguyen
- 401
- 11
- 23