diff --git a/AWSAppSync.podspec b/AWSAppSync.podspec
index b8b6e6cd..1419756a 100644
--- a/AWSAppSync.podspec
+++ b/AWSAppSync.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAppSync'
- s.version = '3.6.4'
+ s.version = '3.6.5'
s.author = 'AWS'
s.homepage = 'http://aws.amazon.com/mobile/sdk'
s.license = { :type => 'Amazon Software License', :file => 'LICENSE' }
diff --git a/AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift b/AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift
index 5888ec3b..988062cb 100644
--- a/AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift
+++ b/AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift
@@ -39,7 +39,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
private let authProvider: AppSyncAuthProvider
private let sendOperationIdentifiers: Bool
private var retryStrategy: AWSAppSyncRetryStrategy
-
+
private let activeTimersQueue = DispatchQueue(label: "AWSAppSyncHTTPNetworkTransport.activeTimers")
private var activeTimers: [String: DispatchSourceTimer] = [:]
@@ -140,7 +140,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
retryStrategy: retryStrategy
)
}
-
+
/// Creates a network transport with the specified server URL and session configuration.
///
/// - Parameters:
@@ -191,7 +191,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
request.httpMethod = "POST"
request.setValue(NSDate().aws_stringValue(AWSDateISO8601DateFormat2), forHTTPHeaderField: "X-Amz-Date")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
- request.setValue("aws-sdk-ios/3.6.4 AppSyncClient", forHTTPHeaderField: "User-Agent")
+ request.setValue("aws-sdk-ios/3.6.5 AppSyncClient", forHTTPHeaderField: "User-Agent")
addDeviceId(request: &request)
}
@@ -205,7 +205,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
break
}
}
-
+
/// Returns `deviceId` for the specified key from the keychain.
/// If the key does not exist in keychain, a `deviceId` is generated, stored and returned.
///
@@ -374,7 +374,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
mutableRequest.setValue(provider.getLatestAuthToken(), forHTTPHeaderField: "authorization")
completionHandler(.success(()))
}
-
+
case .awsLambda(let provider):
guard let asyncProvider = provider as? AWSLambdaAuthProviderAsync else {
mutableRequest.setValue(provider.getLatestAuthToken(), forHTTPHeaderField: "authorization")
diff --git a/AWSAppSyncClient/Info.plist b/AWSAppSyncClient/Info.plist
index 12a53ea6..edad0b3e 100644
--- a/AWSAppSyncClient/Info.plist
+++ b/AWSAppSyncClient/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.6.4
+ 3.6.5
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/README.md b/README.md
index 64008d3b..b5ed64df 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ The AWS AppSync SDK for iOS enables you to access your AWS AppSync backend and p
1. Add the following line to your Podfile:
```ruby
- pod 'AWSAppSync', '~> 3.6.4'
+ pod 'AWSAppSync', '~> 3.6.5'
```
Example:
@@ -59,7 +59,7 @@ The AWS AppSync SDK for iOS enables you to access your AWS AppSync backend and p
use_frameworks!
# Pods for EventsApp
- pod 'AWSAppSync', '~> 3.6.4'
+ pod 'AWSAppSync', '~> 3.6.5'
end
```
@@ -84,18 +84,18 @@ Carthage supports XCFrameworks in Xcode 12 or above. Follow the steps below to c
```
3. Then run the following command:
-
+
$ carthage update --use-xcframeworks
4. On your application targets’ General settings tab, in the Embedded Binaries section, drag and drop each xcframework you want to use from the Carthage/Build folder on disk.
> Note: If you are using XCFrameworks (i.e., either Carthage or Dynamic Frameworks), the module `AWSMobileClient` is named as `AWSMobileClientXCF` to work around a [Swift issue](https://bugs.swift.org/browse/SR-11704). To use `AWSMobileClient`, import it as:
-
+
import AWSMobileClientXCF
and use it your app code without the `XCF` suffix.
- AWSMobileClient.default.initialize()
+ AWSMobileClient.default.initialize()
##### Frameworks with "fat libraries" (not recommended)
@@ -205,7 +205,7 @@ You can get the backend setup by following the steps below:
- `AppSyncMultiAuthAPIKey`
1. Create another CloudFormation Stack following step 1-6 above with `API Key` as the Auth type (we'll change that later)
1. Create a Lambda function using the template provided in this project at `AWSAppSyncIntegrationTests/ConsoleResources/appsync-lambda-authorize
-r.js`
+r.js`
1. Once the stack is complete click on the __Outputs__ tab
1. Copy the appropriate values to the test configuration file `AppSyncIntegrationTests/appsync_test_credentials.json`:
- `AppSyncEndpointAPIKeyLambda`