Skip to content

Commit b92ec00

Browse files
author
Yosuke Matsuda
committed
The AWS Mobile SDK for iOS v2 Developer Preview 3.
1 parent 5c216fa commit b92ec00

File tree

67 files changed

+542
-1251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+542
-1251
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ AWS*.framework
3232
credentials.json
3333
Pods
3434
Podfile.lock
35+
Documentation

AWSCore/Authentication/AWSCredentialsProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, AWSCognitoLoginProviderKey) {
134134
/**
135135
* Refreshes the locally stored credentials. The SDK automatically calls this method when necessary, and you do not need to call this method manually.
136136
*
137-
* @return <#return value description#>
137+
* @return BFTask
138138
*/
139139
- (BFTask *)refresh;
140140

AWSCore/Authentication/AWSSignature.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ + (NSString *)getV2StringToSign:(NSMutableURLRequest *)request canonicalizedQuer
486486

487487
@end
488488

489-
#pragma mark - AWSSignatureV2BodySigner
489+
#pragma mark - AWSSignatureV2Signer
490490

491491
@interface AWSSignatureV2Signer()
492492

@@ -587,6 +587,8 @@ @interface AWSS3ChunkedEncodingInputStream()
587587

588588
@implementation AWSS3ChunkedEncodingInputStream
589589

590+
@synthesize delegate = _delegate;
591+
590592
- (instancetype)initWithInputStream:(NSInputStream *)stream
591593
date:(NSDate *)date
592594
scope:(NSString *)scope

AWSCore/CognitoIdentityService/AWSCognitoIdentityService.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ - (AZNetworkingRetryType)shouldRetry:(uint32_t)currentRetryCount
104104
data:data
105105
error:error];
106106
if(retryType == AZNetworkingRetryTypeShouldNotRetry
107-
&& [error.domain isEqualToString:AWSCognitoIdentityServiceErrorDomain]) {
107+
&& [error.domain isEqualToString:AWSCognitoIdentityServiceErrorDomain]
108+
&& currentRetryCount < self.maxRetryCount) {
108109
switch (error.code) {
109110
case AWSCognitoIdentityServiceErrorIncompleteSignature:
110111
case AWSCognitoIdentityServiceErrorInvalidClientTokenId:

AWSCore/EventRecorderService/AWSEventRecorderService.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ - (AZNetworkingRetryType)shouldRetry:(uint32_t)currentRetryCount
146146
data:data
147147
error:error];
148148
if(retryType == AZNetworkingRetryTypeShouldNotRetry
149-
&& [error.domain isEqualToString:AWSEventRecorderServiceErrorDomain]) {
149+
&& [error.domain isEqualToString:AWSEventRecorderServiceErrorDomain]
150+
&& currentRetryCount < self.maxRetryCount) {
150151
switch (error.code) {
151152
case AWSEventRecorderServiceErrorIncompleteSignature:
152153
case AWSEventRecorderServiceErrorInvalidClientTokenId:

AWSCore/MobileAnalytics/ThirdParty/reachability/AIReachability.h

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)