From aa7e4a766ce6e8d7d5c39efd0092b1f5c50e3e1d Mon Sep 17 00:00:00 2001 From: mikemilla Date: Mon, 18 Nov 2024 14:01:31 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=204.6.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- android/src/main/java/com/courier/android/Courier.kt | 2 +- .../src/main/java/com/courier/android/modules/InboxModule.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 18a8daf..7f5be29 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ dependencyResolutionManagement { ```gradle dependencies { - implementation 'com.github.trycourier:courier-android:4.6.5' // Groovy - implementation("com.github.trycourier:courier-android:4.6.5") // Gradle.kts + implementation 'com.github.trycourier:courier-android:4.6.6' // Groovy + implementation("com.github.trycourier:courier-android:4.6.6") // Gradle.kts } ``` diff --git a/android/src/main/java/com/courier/android/Courier.kt b/android/src/main/java/com/courier/android/Courier.kt index 9c6c5cd..6b36140 100644 --- a/android/src/main/java/com/courier/android/Courier.kt +++ b/android/src/main/java/com/courier/android/Courier.kt @@ -71,7 +71,7 @@ class Courier private constructor(val context: Context) : Application.ActivityLi companion object { // Core - private const val VERSION = "4.6.5" + private const val VERSION = "4.6.6" var agent: CourierAgent = CourierAgent.NativeAndroid(VERSION) // Push diff --git a/android/src/main/java/com/courier/android/modules/InboxModule.kt b/android/src/main/java/com/courier/android/modules/InboxModule.kt index 4091157..4c0276d 100644 --- a/android/src/main/java/com/courier/android/modules/InboxModule.kt +++ b/android/src/main/java/com/courier/android/modules/InboxModule.kt @@ -516,7 +516,7 @@ var Courier.inboxPaginationLimit val Courier.inboxData get() = courierInboxData -val Courier.inboxMessages: List get() = inboxData?.feed?.messages ?: emptyList() +val Courier.feedMessages: List get() = inboxData?.feed?.messages ?: emptyList() val Courier.archivedMessages: List get() = inboxData?.archived?.messages ?: emptyList() /**