You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge in MML/infobip-mobile-messaging-android from mtokar-MCA-4193_contextual_data_new_strategy to master
Squashed commit of the following:
commit 96c3470c87f177006daff8c9a640c397286fc89a
Author: Matus Tokar <mtokar@infobip.com>
Date: Wed Dec 18 12:32:34 2024 +0100
review fixes
commit 108a6ff51e9e024cab318a1e79c602e6923fc0ac
Author: Matus Tokar <mtokar@infobip.com>
Date: Sun Dec 15 17:40:10 2024 +0100
new context data strategy
Copy file name to clipboardexpand all lines: infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/InAppChatImpl.java
Copy file name to clipboardexpand all lines: infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/core/InAppChatClient.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -39,13 +39,13 @@ public interface InAppChatClient {
39
39
voidsetLanguage(Localelocale);
40
40
41
41
/**
42
-
* Send contextual metadata of conversation and a InAppChatMultiThreadFlag flag
42
+
* Send contextual metadata of conversation and a MultithreadStrategy flag
43
43
*
44
44
* @param data contextual data in the form of JSON string
45
45
* @param multiThreadFlag multithread strategy flag
Copy file name to clipboardexpand all lines: infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/core/InAppChatClientImpl.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ public void setLanguage(Locale locale) {
resultListener.onResult(newResult<>(MobileMessagingError.createFrom(newIllegalArgumentException("Could not send contextual data. Data is null or empty."))));
Copy file name to clipboardexpand all lines: infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/view/InAppChatFragment.kt
Copy file name to clipboardexpand all lines: infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/view/InAppChatView.kt
+20-3
Original file line number
Diff line number
Diff line change
@@ -247,13 +247,30 @@ class InAppChatView @JvmOverloads constructor(
247
247
*
248
248
* Every function invocation will overwrite the previous contextual data.
249
249
*
250
-
* @param data contextual data in the form of JSON string
250
+
* @param data contextual data in the form of JSON string
251
251
* @param allMultiThreadStrategy multithread strategy flag, true -> ALL, false -> ACTIVE
252
252
* @see [InAppChatView.EventsListener.onChatLoaded] to detect if chat is loaded
0 commit comments