Skip to content

Commit

Permalink
The AWS Mobile SDK for iOS 2.7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Nov 13, 2018
1 parent e7f47a3 commit c467f04
Show file tree
Hide file tree
Showing 135 changed files with 1,487 additions and 221 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
name: install github-release
command: brew install github-release
- run:
name: Build Cathage
name: Build Carthage
command: carthage build --no-skip-current

- run:
name: Create Cathage Archive
name: Create Carthage Archive
command: bash CreateCarthageArchive.sh

- run:
Expand Down Expand Up @@ -70,6 +70,7 @@ jobs:
- run:
name: copy documents
command: |
git config --local user.name "AWS"
git checkout gh-pages
cp -R docs/html/* docs/reference/
Expand Down
4 changes: 2 additions & 2 deletions AWSAPIGateway.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'AWSAPIGateway'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'

s.source_files = 'AWSAPIGateway/*.{h,m}'
end
2 changes: 1 addition & 1 deletion AWSAPIGateway/AWSAPIGatewayClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

static NSString *const AWSAPIGatewayAPIKeyHeader = @"x-api-key";

NSString *const AWSAPIGatewaySDKVersion = @"2.7.0";
NSString *const AWSAPIGatewaySDKVersion = @"2.7.1";

static int defaultChunkSize = 1024;

Expand Down
2 changes: 1 addition & 1 deletion AWSAPIGateway/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
12 changes: 6 additions & 6 deletions AWSAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuth'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -14,23 +14,23 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.subspec 'Core' do |authcore|
authcore.dependency 'AWSAuthCore', '2.7.0'
authcore.dependency 'AWSAuthCore', '2.7.1'
end

s.subspec 'FacebookSignIn' do |facebook|
facebook.dependency 'AWSFacebookSignIn', '2.7.0'
facebook.dependency 'AWSFacebookSignIn', '2.7.1'
end

s.subspec 'GoogleSignIn' do |google|
google.dependency 'AWSGoogleSignIn', '2.7.0'
google.dependency 'AWSGoogleSignIn', '2.7.1'
end

s.subspec 'UserPoolsSignIn' do |up|
up.dependency 'AWSUserPoolsSignIn', '2.7.0'
up.dependency 'AWSUserPoolsSignIn', '2.7.1'
end

s.subspec 'UI' do |ui|
ui.dependency 'AWSAuthUI', '2.7.0'
ui.dependency 'AWSAuthUI', '2.7.1'
end

end
4 changes: 2 additions & 2 deletions AWSAuthCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuthCore'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.source_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.{h,m}'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.h'
end
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthCore/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthUI/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSFacebookSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSGoogleSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSMobileClient/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSUserPoolsSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions AWSAuthUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuthUI'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,8 +12,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSAuthCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.dependency 'AWSAuthCore', '2.7.1'
s.source_files = 'AWSAuthSDK/Sources/AWSAuthUI/*.{h,m}', 'AWSAuthSDK/Sources/AWSAuthUI/**/*.{h,m}', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSTableInputCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableDelegate.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSUserPoolsUIHelper.h'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUI.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUIViewController.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUIConfiguration.h'
s.private_header_files = 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableCell.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSSignInViewController.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSTableInputCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableDelegate.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSUserPoolsUIHelper.h'
Expand Down
4 changes: 2 additions & 2 deletions AWSAutoScaling.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAutoScaling'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,6 +12,6 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.source_files = 'AWSAutoScaling/*.{h,m}'
end
2 changes: 1 addition & 1 deletion AWSAutoScaling/AWSAutoScalingService.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#import "AWSAutoScalingResources.h"

static NSString *const AWSInfoAutoScaling = @"AutoScaling";
NSString *const AWSAutoScalingSDKVersion = @"2.7.0";
NSString *const AWSAutoScalingSDKVersion = @"2.7.1";


@interface AWSAutoScalingResponseSerializer : AWSXMLResponseSerializer
Expand Down
2 changes: 1 addition & 1 deletion AWSAutoScaling/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions AWSCloudWatch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSCloudWatch'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,6 +12,6 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.source_files = 'AWSCloudWatch/*.{h,m}'
end
2 changes: 1 addition & 1 deletion AWSCloudWatch/AWSCloudWatchService.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#import "AWSCloudWatchResources.h"

static NSString *const AWSInfoCloudWatch = @"CloudWatch";
NSString *const AWSCloudWatchSDKVersion = @"2.7.0";
NSString *const AWSCloudWatchSDKVersion = @"2.7.1";


@interface AWSCloudWatchResponseSerializer : AWSXMLResponseSerializer
Expand Down
2 changes: 1 addition & 1 deletion AWSCloudWatch/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions AWSCognito.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSCognito'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Cognito SDK for iOS'

s.description = 'Amazon Cognito offers multi device data synchronization with offline access'
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
:tag => s.version}
s.requires_arc = true
s.library = 'sqlite3'
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.source_files = 'AWSCognito/*.{h,m}', 'AWSCognito/**/*.{h,m}'
s.public_header_files = 'AWSCognito/*.h', 'AWSCognito/CognitoSync/*.h'
s.private_header_files = 'AWSCognito/Fabric/*.h', 'AWSCognito/Internal/*.h'
Expand Down
2 changes: 1 addition & 1 deletion AWSCognito/AWSCognitoService.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#import "Fabric+FABKits.h"

static NSString *const AWSInfoCognito = @"Cognito";
NSString *const AWSCognitoSDKVersion = @"2.7.0";
NSString *const AWSCognitoSDKVersion = @"2.7.1";

NSString *const AWSCognitoDidStartSynchronizeNotification = @"com.amazon.cognito.AWSCognitoDidStartSynchronizeNotification";
NSString *const AWSCognitoDidEndSynchronizeNotification = @"com.amazon.cognito.AWSCognitoDidEndSynchronizeNotification";
Expand Down
2 changes: 1 addition & 1 deletion AWSCognito/CognitoSync/AWSCognitoSyncService.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#import "AWSCognitoSyncResources.h"

static NSString *const AWSInfoCognitoSync = @"CognitoSync";
NSString *const AWSCognitoSyncSDKVersion = @"2.7.0";
NSString *const AWSCognitoSyncSDKVersion = @"2.7.1";


@interface AWSCognitoSyncResponseSerializer : AWSJSONResponseSerializer
Expand Down
2 changes: 1 addition & 1 deletion AWSCognito/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSCognitoAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSCognitoAuth'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Cognito Auth SDK for iOS'

s.description = 'Amazon Cognito Auth enables sign up and authentication of your end users via a hosted UI'
Expand Down
2 changes: 1 addition & 1 deletion AWSCognitoAuth/AWSCognitoAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ @interface AWSCognitoAuth()

@implementation AWSCognitoAuth

NSString *const AWSCognitoAuthSDKVersion = @"2.7.0";
NSString *const AWSCognitoAuthSDKVersion = @"2.7.1";


static NSMutableDictionary *_instanceDictionary = nil;
Expand Down
2 changes: 1 addition & 1 deletion AWSCognitoAuth/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.7.0</string>
<string>2.7.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions AWSCognitoIdentityProvider.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSCognitoIdentityProvider'
s.version = '2.7.0'
s.version = '2.7.1'
s.summary = 'Amazon Cognito Identity Provider SDK for iOS (Beta)'

s.description = 'Amazon Cognito Identity Provider enables sign up and authentication of your end users'
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
:tag => s.version}
s.requires_arc = true
s.frameworks = 'Security', 'UIKit'
s.dependency 'AWSCore', '2.7.0'
s.dependency 'AWSCore', '2.7.1'
s.dependency 'AWSCognitoIdentityProviderASF', '1.0.1'

s.source_files = 'AWSCognitoIdentityProvider/**/*.{h,m,c}'
Expand Down
12 changes: 10 additions & 2 deletions AWSCognitoIdentityProvider/AWSCognitoIdentityUser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2014-2017 Amazon.com,
// Copyright 2014-2018 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
Expand Down Expand Up @@ -271,8 +271,16 @@ NS_ASSUME_NONNULL_BEGIN

/**
A NSDictionary of claims in this token.
@deprecated This property is incorrectly typed as a [String : String], but
claim values may be of several different type.
*/
@property (nonatomic, readonly) NSDictionary<NSString *, NSString*> * claims DEPRECATED_MSG_ATTRIBUTE("Use `tokenClaims` instead.");

/**
A Dictionary of claims in this token
*/
@property (nonatomic, readonly) NSDictionary<NSString *, NSString*> * claims;
@property (nonatomic, readonly) NSDictionary<NSString *, id> * tokenClaims;

@end

Expand Down
7 changes: 6 additions & 1 deletion AWSCognitoIdentityProvider/AWSCognitoIdentityUser.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2014-2017 Amazon.com,
// Copyright 2014-2018 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
Expand Down Expand Up @@ -1478,6 +1478,10 @@ -(instancetype) initWithToken:(NSString *)token {
}

-(NSDictionary<NSString *, NSString*> *) claims {
return [self tokenClaims];
}

-(NSDictionary<NSString *, id> *) tokenClaims {
NSDictionary * result = nil;
NSArray *pieces = [self.tokenString componentsSeparatedByString:@"."];
if(pieces.count > 2){
Expand All @@ -1499,6 +1503,7 @@ -(instancetype) initWithToken:(NSString *)token {
}
return result;
}

@end

@implementation AWSCognitoIdentityUserSettings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#import "AWSCognitoIdentityProviderResources.h"

static NSString *const AWSInfoCognitoIdentityProvider = @"CognitoIdentityProvider";
NSString *const AWSCognitoIdentityProviderSDKVersion = @"2.7.0";
NSString *const AWSCognitoIdentityProviderSDKVersion = @"2.7.1";


@interface AWSCognitoIdentityProviderResponseSerializer : AWSJSONResponseSerializer
Expand Down
Loading

0 comments on commit c467f04

Please sign in to comment.