Skip to content

Commit

Permalink
release 3.6.5 [skip ci] (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
5d authored Apr 23, 2024
1 parent a96e23b commit a1e79c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion AWSAppSync.podspec
Original file line number Diff line number Diff line change
@@ -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' }
Expand Down
10 changes: 5 additions & 5 deletions AWSAppSyncClient/AWSAppSyncHTTPNetworkTransport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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] = [:]

Expand Down Expand Up @@ -140,7 +140,7 @@ public class AWSAppSyncHTTPNetworkTransport: AWSNetworkTransport {
retryStrategy: retryStrategy
)
}

/// Creates a network transport with the specified server URL and session configuration.
///
/// - Parameters:
Expand Down Expand Up @@ -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)
}

Expand All @@ -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.
///
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion AWSAppSyncClient/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>3.6.4</string>
<string>3.6.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
```

Expand All @@ -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)

Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit a1e79c9

Please sign in to comment.