Skip to content

Commit

Permalink
fix: bumps ios version and bumps api AuthProvider timeout (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
haverchuck committed Apr 12, 2022
1 parent 315353c commit 15258da
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FlutterAuthProviders(
/**
* Timeout on a single [getToken] call.
*/
const val getTokenTimeoutMillis = 2000L
const val getTokenTimeoutMillis = 5000L

/**
* Logger tag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class FlutterAuthProviders: APIAuthProviderFactory {
}
}

let timeout: DispatchTimeInterval = .seconds(2)
let timeout: DispatchTimeInterval = .seconds(5)
let waitResult = completer.wait(timeout: .now() + timeout)
if waitResult == .timedOut {
token = .failure(APIError.operationError(
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify_api/ios/amplify_api.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The API module for Amplify Flutter.
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '1.23.0'
s.dependency 'amplify_core'
s.dependency 'SwiftLint'
s.dependency 'SwiftFormat/CLI'
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify_datastore/ios/amplify_datastore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The DataStore module for Amplify Flutter.
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AmplifyPlugins/AWSDataStorePlugin', '1.23.0'
s.dependency 'amplify_core'
s.platform = :ios, '13.0'

Expand Down
6 changes: 3 additions & 3 deletions packages/amplify_flutter/ios/amplify_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AWSPluginsCore', '1.22.3'
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AWSPluginsCore', '1.23.0'
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.23.0'
s.dependency 'amplify_core'
s.dependency 'SwiftLint'
s.dependency 'SwiftFormat/CLI'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ This code is the iOS part of the Amplify Flutter Pinpoint Analytics Plugin. The
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '1.23.0'
s.dependency 'amplify_core'
s.platform = :ios, '11.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -513,7 +513,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -544,7 +544,7 @@
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AmplifyPlugins/AWSCognitoAuthPlugin', '1.23.0'
s.dependency 'ObjectMapper'
s.dependency 'amplify_core'
s.platform = :ios, '11.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Amplify', '1.22.3'
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.22.3'
s.dependency 'Amplify', '1.23.0'
s.dependency 'AmplifyPlugins/AWSS3StoragePlugin', '1.23.0'
s.dependency 'amplify_core'
s.platform = :ios, '11.0'

Expand Down

0 comments on commit 15258da

Please sign in to comment.