Skip to content

Commit 15258da

Browse files
authored
fix: bumps ios version and bumps api AuthProvider timeout (#1520)
1 parent 315353c commit 15258da

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

packages/amplify_api/android/src/main/kotlin/com/amazonaws/amplify/amplify_api/auth/FlutterAuthProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class FlutterAuthProviders(
3535
/**
3636
* Timeout on a single [getToken] call.
3737
*/
38-
const val getTokenTimeoutMillis = 2000L
38+
const val getTokenTimeoutMillis = 5000L
3939

4040
/**
4141
* Logger tag.

packages/amplify_api/ios/Classes/Auth/FlutterAuthProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class FlutterAuthProviders: APIAuthProviderFactory {
6464
}
6565
}
6666

67-
let timeout: DispatchTimeInterval = .seconds(2)
67+
let timeout: DispatchTimeInterval = .seconds(5)
6868
let waitResult = completer.wait(timeout: .now() + timeout)
6969
if waitResult == .timedOut {
7070
token = .failure(APIError.operationError(

packages/amplify_api/ios/amplify_api.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The API module for Amplify Flutter.
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.22.3'
21-
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.22.3'
20+
s.dependency 'Amplify', '1.23.0'
21+
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.23.0'
2222
s.dependency 'amplify_core'
2323
s.dependency 'SwiftLint'
2424
s.dependency 'SwiftFormat/CLI'

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.22.3'
19-
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.22.3'
18+
s.dependency 'Amplify', '1.23.0'
19+
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.23.0'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '13.0'
2222

packages/amplify_flutter/ios/amplify_flutter.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.22.3'
21-
s.dependency 'AWSPluginsCore', '1.22.3'
22-
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.22.3'
20+
s.dependency 'Amplify', '1.23.0'
21+
s.dependency 'AWSPluginsCore', '1.23.0'
22+
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.23.0'
2323
s.dependency 'amplify_core'
2424
s.dependency 'SwiftLint'
2525
s.dependency 'SwiftFormat/CLI'

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.22.3'
19-
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.22.3'
18+
s.dependency 'Amplify', '1.23.0'
19+
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.23.0'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '11.0'
2222

packages/auth/amplify_auth_cognito/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
"$(PROJECT_DIR)/Flutter",
377377
);
378378
INFOPLIST_FILE = Runner/Info.plist;
379-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
379+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
380380
LD_RUNPATH_SEARCH_PATHS = (
381381
"$(inherited)",
382382
"@executable_path/Frameworks",
@@ -513,7 +513,7 @@
513513
"$(PROJECT_DIR)/Flutter",
514514
);
515515
INFOPLIST_FILE = Runner/Info.plist;
516-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
516+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
517517
LD_RUNPATH_SEARCH_PATHS = (
518518
"$(inherited)",
519519
"@executable_path/Frameworks",
@@ -544,7 +544,7 @@
544544
"$(PROJECT_DIR)/Flutter",
545545
);
546546
INFOPLIST_FILE = Runner/Info.plist;
547-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
547+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
548548
LD_RUNPATH_SEARCH_PATHS = (
549549
"$(inherited)",
550550
"@executable_path/Frameworks",

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.22.3'
19-
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.22.3'
18+
s.dependency 'Amplify', '1.23.0'
19+
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.23.0'
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.22.3'
19-
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.22.3'
18+
s.dependency 'Amplify', '1.23.0'
19+
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.23.0'
2020
s.dependency 'amplify_core'
2121
s.platform = :ios, '11.0'
2222

0 commit comments

Comments
 (0)