Skip to content

Commit

Permalink
The AWS Mobile SDK for iOS v2 Developer Preview 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yosuke Matsuda committed Jul 18, 2014
1 parent 5c216fa commit b92ec00
Show file tree
Hide file tree
Showing 67 changed files with 542 additions and 1,251 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ AWS*.framework
credentials.json
Pods
Podfile.lock
Documentation
2 changes: 1 addition & 1 deletion AWSCore/Authentication/AWSCredentialsProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, AWSCognitoLoginProviderKey) {
/**
* Refreshes the locally stored credentials. The SDK automatically calls this method when necessary, and you do not need to call this method manually.
*
* @return <#return value description#>
* @return BFTask
*/
- (BFTask *)refresh;

Expand Down
4 changes: 3 additions & 1 deletion AWSCore/Authentication/AWSSignature.m
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ + (NSString *)getV2StringToSign:(NSMutableURLRequest *)request canonicalizedQuer

@end

#pragma mark - AWSSignatureV2BodySigner
#pragma mark - AWSSignatureV2Signer

@interface AWSSignatureV2Signer()

Expand Down Expand Up @@ -587,6 +587,8 @@ @interface AWSS3ChunkedEncodingInputStream()

@implementation AWSS3ChunkedEncodingInputStream

@synthesize delegate = _delegate;

- (instancetype)initWithInputStream:(NSInputStream *)stream
date:(NSDate *)date
scope:(NSString *)scope
Expand Down
3 changes: 2 additions & 1 deletion AWSCore/CognitoIdentityService/AWSCognitoIdentityService.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ - (AZNetworkingRetryType)shouldRetry:(uint32_t)currentRetryCount
data:data
error:error];
if(retryType == AZNetworkingRetryTypeShouldNotRetry
&& [error.domain isEqualToString:AWSCognitoIdentityServiceErrorDomain]) {
&& [error.domain isEqualToString:AWSCognitoIdentityServiceErrorDomain]
&& currentRetryCount < self.maxRetryCount) {
switch (error.code) {
case AWSCognitoIdentityServiceErrorIncompleteSignature:
case AWSCognitoIdentityServiceErrorInvalidClientTokenId:
Expand Down
3 changes: 2 additions & 1 deletion AWSCore/EventRecorderService/AWSEventRecorderService.m
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ - (AZNetworkingRetryType)shouldRetry:(uint32_t)currentRetryCount
data:data
error:error];
if(retryType == AZNetworkingRetryTypeShouldNotRetry
&& [error.domain isEqualToString:AWSEventRecorderServiceErrorDomain]) {
&& [error.domain isEqualToString:AWSEventRecorderServiceErrorDomain]
&& currentRetryCount < self.maxRetryCount) {
switch (error.code) {
case AWSEventRecorderServiceErrorIncompleteSignature:
case AWSEventRecorderServiceErrorInvalidClientTokenId:
Expand Down
115 changes: 0 additions & 115 deletions AWSCore/MobileAnalytics/ThirdParty/reachability/AIReachability.h

This file was deleted.

Loading

0 comments on commit b92ec00

Please sign in to comment.