Skip to content

Commit a3bf719

Browse files
authored
chore(datastore): Amplify Swift version bump to 1.30.4 (#3328)
1 parent 9e3cd19 commit a3bf719

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed

packages/amplify/amplify_flutter_ios/ios/amplify_flutter_ios.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Pod::Spec.new do |s|
1717
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
1818
s.source_files = 'Classes/**/*'
1919
s.dependency 'Flutter'
20-
s.dependency 'Amplify', '1.29.1'
21-
s.dependency 'AWSPluginsCore', '1.29.1'
22-
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.29.1'
20+
s.dependency 'Amplify', '1.30.4'
21+
s.dependency 'AWSPluginsCore', '1.30.4'
22+
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.30.4'
2323
s.dependency 'amplify_core'
2424
s.dependency 'SwiftLint', '0.48.0'
2525
s.dependency 'SwiftFormat/CLI'

packages/amplify_datastore/ios/Classes/types/model/FlutterModelSchema.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import Flutter
1717
import Foundation
1818
import Amplify
19+
import AWSPluginsCore
1920

2021
struct FlutterModelSchema {
2122
let name: String
@@ -110,3 +111,11 @@ struct FlutterModelSchema {
110111
return (fields, name)
111112
}
112113
}
114+
115+
// This enables custom selection set behavior within Amplify-Swift v1.
116+
// Which allows models to be decoded when created on Android and received to iOS
117+
extension FlutterModelSchema: SubscriptionSelectionSetBehavior {
118+
public var includePrimaryKeysOnly: Bool {
119+
return true
120+
}
121+
}

packages/amplify_datastore/ios/amplify_datastore.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The DataStore module for Amplify Flutter.
1515
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Amplify', '1.29.1'
19-
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.29.1'
18+
s.dependency 'Amplify', '1.30.4'
19+
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.30.4'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '13.0'
2222

packages/analytics/amplify_analytics_pinpoint_ios/ios/amplify_analytics_pinpoint_ios.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ This code is the iOS part of the Amplify Flutter Pinpoint Analytics Plugin. The
1515
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Amplify', '1.29.1'
19-
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.29.1'
18+
s.dependency 'Amplify', '1.30.4'
19+
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.30.4'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '11.0'
2222

packages/api/amplify_api_ios/ios/amplify_api_ios.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The API module for Amplify Flutter.
1515
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Amplify', '1.29.1'
19-
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.29.1'
18+
s.dependency 'Amplify', '1.30.4'
19+
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.30.4'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '11.0'
2222

packages/auth/amplify_auth_cognito_ios/ios/amplify_auth_cognito_ios.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
1515
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Amplify', '1.29.1'
19-
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.29.1'
18+
s.dependency 'Amplify', '1.30.4'
19+
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.30.4'
2020
s.dependency 'ObjectMapper'
2121
s.dependency 'amplify_core'
2222
s.platform = :ios, '11.0'

packages/storage/amplify_storage_s3_ios/ios/amplify_storage_s3_ios.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
1515
s.source = { :path => '.' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Amplify', '1.29.1'
19-
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.29.1'
18+
s.dependency 'Amplify', '1.30.4'
19+
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.30.4'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '11.0'
2222

0 commit comments

Comments
 (0)