amazon-mobile-analytics

Configuring Amazon Mobile Analytics and AWS Cognito in my iOS app raise some exception linked with IAM

╄→гoц情女王★ 提交于 2019-12-13 01:32:04
问题 Here is the error I get: AWSiOSSDKv2 [Error] AWSMobileAnalyticsDefaultDeliveryClient.m line:282 | -[AWSMobileAnalyticsDefaultDeliveryClient submitEvents:andUpdatePolicies:] | Unable to successfully deliver events to server. Response code: 0. Error Message: Error Domain=com.amazonaws.AWSCognitoIdentityErrorDomain Code=6 The operation couldn’t be completed. I have AuthRole in IAM with the following policy: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [

cognito - Access to Identity is forbidden

拈花ヽ惹草 提交于 2019-12-10 17:45:32
问题 I am trying to understand amazon cognito and trying list contents of S3 folder after login through facebook. Face book login works fine. When I tap test button (cmdTestS3Tapped) it throws the following error. I included AmazonClientManager.h,AmazonClientManager.m and Constants.h to the project from examples amazon provided. The constants are given as belllow. Can anybody help me to resolve the issue. #define AWSAccountID @"MyAccountID" #define CognitoPoolID @"us-east-1:xxxxxxxx-xxxx-xxxx-xxxx

Using Amazon Mobile Analytics without configuring Amazon Cognito

为君一笑 提交于 2019-12-06 03:28:18
Compared to competing analytics services, Amazon Mobile Analytics appear to require many more configuration and integration steps. For example, in Flurry Analytics, the setup is pretty simple: [Flurry startSession:@"<app-id>"]; [Flurry logEvent:@"<event-name>"]; // Optionally, set the userID [Flurry setUserID:@"userid"]; I was hoping the equivalent in Amazon Mobile Analytics would be something like this for unauthenticated users: [AWSLogger defaultLogger].logLevel = AWSLogLevelVerbose; AWSMobileAnalytics* analytics = [AWSMobileAnalytics mobileAnalyticsForAppId:@"<app-id>"]; id