From fef0da7fa5d4274c560fa96ceab1c1343082a5c1 Mon Sep 17 00:00:00 2001 From: jo-elimu <1451036+jo-elimu@users.noreply.github.com> Date: Thu, 26 Oct 2023 14:21:24 +0700 Subject: [PATCH 1/3] chore: release 3.1.17 --- app/build.gradle | 2 +- utils/build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2c5f523..932484a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 24 targetSdkVersion 32 versionCode 3001017 - versionName "3.1.17-SNAPSHOT" + versionName "3.1.17" setProperty("archivesBaseName", "${applicationId}-${versionCode}") testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { diff --git a/utils/build.gradle b/utils/build.gradle index a0e67a3..e4d8b94 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { minSdkVersion 24 targetSdkVersion 32 - versionName "3.1.17-SNAPSHOT" + versionName "3.1.17" setProperty("archivesBaseName", "utils-${versionName}") } @@ -36,7 +36,7 @@ publishing { utils(MavenPublication) { groupId 'ai.elimu.analytics' artifactId 'utils' - version '3.1.17-SNAPSHOT' + version '3.1.17' artifact("${buildDir}/outputs/aar/utils-${version}-release.aar") } } From 448dc09be9eaf59810f43c4c6a2babd1509faaab Mon Sep 17 00:00:00 2001 From: jo-elimu <1451036+jo-elimu@users.noreply.github.com> Date: Thu, 26 Oct 2023 18:08:56 +0700 Subject: [PATCH 2/3] chore: 3.1.18-SNAPSHOT --- app/build.gradle | 4 ++-- utils/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 932484a..c03dde1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "ai.elimu.analytics" minSdkVersion 24 targetSdkVersion 32 - versionCode 3001017 - versionName "3.1.17" + versionCode 3001018 + versionName "3.1.18-SNAPSHOT" setProperty("archivesBaseName", "${applicationId}-${versionCode}") testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { diff --git a/utils/build.gradle b/utils/build.gradle index e4d8b94..504454e 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { minSdkVersion 24 targetSdkVersion 32 - versionName "3.1.17" + versionName "3.1.18-SNAPSHOT" setProperty("archivesBaseName", "utils-${versionName}") } @@ -36,7 +36,7 @@ publishing { utils(MavenPublication) { groupId 'ai.elimu.analytics' artifactId 'utils' - version '3.1.17' + version '3.1.18-SNAPSHOT' artifact("${buildDir}/outputs/aar/utils-${version}-release.aar") } } From f4e4c3f3ab92242eec4c1824c295377cd9e9c6a3 Mon Sep 17 00:00:00 2001 From: jo-elimu <1451036+jo-elimu@users.noreply.github.com> Date: Thu, 2 Nov 2023 12:55:42 +0700 Subject: [PATCH 3/3] chore: Upgrade to model-2.0.62 closes #133 --- app/build.gradle | 2 +- utils/build.gradle | 2 +- .../java/ai/elimu/analytics/utils/LearningEventUtil.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c03dde1..47ee145 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,7 +40,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.github.elimu-ai:model:model-2.0.53' // See https://jitpack.io/#elimu-ai/model + implementation 'com.github.elimu-ai:model:model-2.0.62' // See https://jitpack.io/#elimu-ai/model implementation 'com.jakewharton.timber:timber:5.0.1' implementation 'com.google.android.material:material:1.5.0' diff --git a/utils/build.gradle b/utils/build.gradle index 504454e..c42509d 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -25,7 +25,7 @@ android { } dependencies { - implementation 'com.github.elimu-ai:model:model-2.0.53' // See https://jitpack.io/#elimu-ai/model + implementation 'com.github.elimu-ai:model:model-2.0.62' // See https://jitpack.io/#elimu-ai/model testImplementation 'junit:junit:4.13.2' } diff --git a/utils/src/main/java/ai/elimu/analytics/utils/LearningEventUtil.java b/utils/src/main/java/ai/elimu/analytics/utils/LearningEventUtil.java index 08566c7..6e363e4 100644 --- a/utils/src/main/java/ai/elimu/analytics/utils/LearningEventUtil.java +++ b/utils/src/main/java/ai/elimu/analytics/utils/LearningEventUtil.java @@ -8,7 +8,7 @@ import ai.elimu.model.v2.enums.analytics.LearningEventType; import ai.elimu.model.v2.gson.content.LetterGson; -import ai.elimu.model.v2.gson.content.LetterSoundCorrespondenceGson; +import ai.elimu.model.v2.gson.content.LetterSoundGson; import ai.elimu.model.v2.gson.content.SoundGson; import ai.elimu.model.v2.gson.content.StoryBookGson; import ai.elimu.model.v2.gson.content.WordGson; @@ -38,11 +38,11 @@ public static void reportLetterLearningEvent(LetterGson letterGson, LearningEven } /** - * @param letterSoundGson The letter sound that the student is learning. + * @param letterSoundGson The letter-sound correspondence that the student is learning. * @param context Needed to fetch the {@code packageName} of the application where the learning event occurred. * @param analyticsApplicationId The package name of the analytics application that will receive the Intent and store the event. */ - public static void reportLetterSoundLearningEvent(LetterSoundCorrespondenceGson letterSoundGson, Context context, String analyticsApplicationId) { + public static void reportLetterSoundLearningEvent(LetterSoundGson letterSoundGson, Context context, String analyticsApplicationId) { Log.i(LearningEventUtil.class.getName(),"reportLetterSoundLearningEvent"); Intent broadcastIntent = new Intent();