Skip to content

Commit

Permalink
chore: bump amplify android to 2.12.0 (#3612)
Browse files Browse the repository at this point in the history
* chore: bump amplify android to 2.12.0

* chore: update example build.gradle

* chore: increase ds sync timeout to 10 minutes
  • Loading branch information
Jordan-Nelson authored and dnys1 committed Aug 30, 2023
1 parent 36ee2f0 commit c583514
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/amplify_datastore/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ dependencies {
// Support for Java 8 features
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'

implementation 'com.amplifyframework:aws-auth-cognito:2.11.2'
implementation "com.amplifyframework:aws-api:2.11.2"
implementation "com.amplifyframework:aws-datastore:2.11.2"
implementation "com.amplifyframework:aws-api-appsync:2.11.2"
implementation 'com.amplifyframework:aws-auth-cognito:2.12.0'
implementation "com.amplifyframework:aws-api:2.12.0"
implementation "com.amplifyframework:aws-datastore:2.12.0"
implementation "com.amplifyframework:aws-api-appsync:2.12.0"
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'

Expand Down
2 changes: 1 addition & 1 deletion packages/amplify_datastore/example/android/build.gradle

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'package:amplify_flutter/amplify_flutter.dart';

const ENABLE_CLOUD_SYNC =
bool.fromEnvironment('ENABLE_CLOUD_SYNC', defaultValue: false);
const DATASTORE_READY_EVENT_TIMEOUT = const Duration(minutes: 2);
const DATASTORE_READY_EVENT_TIMEOUT = const Duration(minutes: 10);
const DELAY_TO_START_DATASTORE = const Duration(milliseconds: 500);
const DELAY_TO_CLEAR_DATASTORE = const Duration(seconds: 2);
const DELAY_FOR_OBSERVE = const Duration(milliseconds: 100);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ android {
dependencies {
api "com.google.firebase:firebase-messaging:23.2.0"
// Import support library for Amplify push utils
implementation 'com.amplifyframework:aws-push-notifications-pinpoint-common:2.11.2'
implementation 'com.amplifyframework:aws-push-notifications-pinpoint-common:2.12.0'
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
implementation project(path: ':flutter_plugin_android_lifecycle')
implementation 'androidx.test:core-ktx:1.5.0'
Expand Down

0 comments on commit c583514

Please sign in to comment.