Skip to content

Commit

Permalink
chore: bump amplify-android dep to 2.1.0 (#2557)
Browse files Browse the repository at this point in the history
- fixes customer issue: #2193
  • Loading branch information
fjnoyp committed Jan 11, 2023
1 parent bdb192a commit 5713ceb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/amplify/amplify_flutter_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ android {
}

dependencies {
implementation 'com.amplifyframework:core:2.0.0'
implementation 'com.amplifyframework:core:2.1.0'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'

Expand All @@ -80,6 +80,6 @@ dependencies {
testImplementation 'androidx.test:core:1.4.0'
testImplementation 'org.robolectric:robolectric:4.5.1'
testImplementation 'com.google.code.gson:gson:2.8.9'
testImplementation 'com.amplifyframework:aws-auth-cognito:2.0.0'
testImplementation 'com.amplifyframework:aws-auth-cognito:2.1.0'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0'
}
4 changes: 2 additions & 2 deletions packages/amplify_datastore/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ dependencies {

api amplifyFlutter

implementation "com.amplifyframework:aws-datastore:2.0.0"
implementation "com.amplifyframework:aws-api-appsync:2.0.0"
implementation "com.amplifyframework:aws-datastore:2.1.0"
implementation "com.amplifyframework:aws-api-appsync:2.1.0"

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:4.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class AmplifyDataStoreHubTest {
var metadataMap: HashMap<String, Any>
val modelMap: HashMap<String, Any> = element["model"] as HashMap<String, Any>
val serializedData: HashMap<String, Any> = modelMap["serializedData"] as HashMap<String, Any>
val modelMetadata = ModelMetadata(modelMap["id"] as String, null, null, null, "Post")
val modelMetadata = ModelMetadata(modelMap["id"] as String, null, null, null)
val modelData = mapOf(
"id" to serializedData["id"] as String,
"title" to serializedData["title"] as String,
Expand Down Expand Up @@ -136,7 +136,6 @@ class AmplifyDataStoreHubTest {
metadataMap["_deleted"] as Boolean,
metadataMap["_version"] as Int,
time,
"Post"
)
val modelData = mapOf(
"id" to serializedData["id"] as String,
Expand Down
4 changes: 2 additions & 2 deletions packages/api/amplify_api_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ android {
dependencies {
api amplifyFlutter

implementation "com.amplifyframework:aws-api:2.0.0"
implementation "com.amplifyframework:aws-api-appsync:2.0.0"
implementation "com.amplifyframework:aws-api:2.1.0"
implementation "com.amplifyframework:aws-api-appsync:2.1.0"

// Do not update before migration of plugin to Dart.
//noinspection GradleDependency
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ android {
dependencies {
api amplifyFlutter

implementation 'com.amplifyframework:aws-auth-cognito:2.0.0'
implementation 'com.amplifyframework:aws-auth-cognito:2.1.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
implementation 'androidx.browser:browser:1.4.0'

Expand Down

0 comments on commit 5713ceb

Please sign in to comment.