Skip to content

Commit 4e4e25f

Browse files
committed
release v3.0.1
1 parent 4aa312f commit 4e4e25f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+269
-61
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Engage Digital Messaging - Android master #
22

3+
## Engage Digital Messaging - Android 3.0.1 (October 5th, 2023) ##
4+
- Feature: add support for message deletion. RD-27258
5+
36
## Engage Digital Messaging - Android 3.0.0 (August 30th, 2023) ##
47
- BREAKING CHANGE: Migrate SDK to AndroidX. RD-25847 RD-26687
58
- Minor: bump `minSdk` to **API 19** (was **API 16**). RD-25847

Customization.md

Lines changed: 80 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,45 @@ Programmatically: set `Customization.videoCallRequestButtonTintColor` property.
141141
<img src="https://i.postimg.cc/XJfmhMZT/video-Call-Request-Button-Tint-Color.png"/>
142142
</p>
143143

144+
### deletedMessageBackgroundColor
145+
Color applied to the background of a message that was deleted by its author.
146+
147+
Color must be in hex format, e.g. `007AFF` or `#007AFF`.
148+
149+
Xml attribute name: rc\_deleted\_message\_background\_color
150+
151+
Programmatically: set `Customization.deletedMessageBackgroundColor` property.
152+
153+
<p align="center">
154+
<img src="https://i.postimg.cc/CKj3MgJL/deleted-Message-Background-Color.png"/>
155+
</p>
156+
157+
### deletedMessageTextColor
158+
Color applied to the text of a message that was deleted by its author.
159+
160+
Color must be in hex format, e.g. `007AFF` or `#007AFF`.
161+
162+
Xml attribute name: rc\_deleted\_message\_text\_color
163+
164+
Programmatically: set `Customization.deletedMessageTextColor` property.
165+
166+
<p align="center">
167+
<img src="https://i.postimg.cc/7L3ZFj2S/deleted-Message-Text-Color.png"/>
168+
</p>
169+
170+
### selectedMessageCellBackgroundColor
171+
Color applied to the background of a selected message's cell.
172+
173+
Color must be in hex format, e.g. `007AFF` or `#007AFF`.
174+
175+
Xml attribute name: rc\_selected\_message\_cell\_background\_color
176+
177+
Programmatically: set `Customization.selectedMessageCellBackgroundColor` property.
178+
179+
<p align="center">
180+
<img src="https://i.postimg.cc/sfw4FNPF/selected-Message-Cell-Background-Color.png"/>
181+
</p>
182+
144183

145184
### videoCallRequestedStatusMessageTextColor
146185
Color applied to the status message text when a video call is requested.
@@ -650,40 +689,40 @@ Programmatically: set `Customization.navigationBarItemTintColor` property
650689

651690
- For the back item tint color customization, you can use this code into your application (it will be applied for all activities)
652691

653-
```
654-
Drawable backItem = getResources().getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha);
655-
backItem.setColorFilter(your_color, PorterDuff.Mode.SRC_IN);
656-
getSupportActionBar().setHomeAsUpIndicator(backItem);
657-
```
692+
```java
693+
Drawable backItem = getResources().getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha);
694+
backItem.setColorFilter(your_color, PorterDuff.Mode.SRC_IN);
695+
getSupportActionBar().setHomeAsUpIndicator(backItem);
696+
```
658697

659698
- You can directly apply a custom theme if it's supported without using `Customization.navigationBarItemTintColor` and `Customization.navigationBarTitleColor`
660699

661700
1. Add this code to your custom theme in **themes.xml**
662701

663-
<item name="android:drawableTint">your_navigation_bar_item_tint_color</item>
664-
<item name="toolbarStyle">@style/toolbar.titleTextStyle</item>
665-
<item name="android:textColor">your_navigation_bar_Title_color</item>
666-
<style name="toolbar.titleTextStyle" parent="@style/Widget.AppCompat.Toolbar" />
702+
<item name="android:drawableTint">your_navigation_bar_item_tint_color</item>
703+
<item name="toolbarStyle">@style/toolbar.titleTextStyle</item>
704+
<item name="android:textColor">your_navigation_bar_Title_color</item>
705+
<style name="toolbar.titleTextStyle" parent="@style/Widget.AppCompat.Toolbar" />
667706

668707
2. Apply your custom theme to the activity in **AndroidManifest.xml**
669708

670-
* For ChatActivity
709+
* For ChatActivity
671710

672-
```
673-
<activity android:name="com.dimelo.dimelosdk.main.ChatActivity"
711+
```xml
712+
<activity android:name="com.dimelo.dimelosdk.main.ChatActivity"
674713
tools:replace="android:theme"
675714
android:theme="@style/your_theme">
676-
</activity>
677-
```
715+
</activity>
716+
```
678717

679-
* For AttachmentActivity
718+
* For AttachmentActivity
680719

681-
```
682-
<activity android:name="com.dimelo.dimelosdk.main.AttachmentActivity"
720+
```xml
721+
<activity android:name="com.dimelo.dimelosdk.main.AttachmentActivity"
683722
tools:replace="android:theme"
684723
android:theme="@style/your_theme">
685-
</activity>
686-
```
724+
</activity>
725+
```
687726

688727
- You should use `tools:replace="android:theme"` to replace the default Dimelo theme
689728

@@ -1118,6 +1157,17 @@ Xml attribute name: None
11181157
<img src="https://i.postimg.cc/zfDVDgvT/video-Call-Requested-Status-Message-Text-Font.png"/>
11191158
</p>
11201159

1160+
### deletedMessageTextFont
1161+
Font applied to to a message that was deleted by its author.
1162+
1163+
Programmatically: set `Customization.deletedMessageTextFont` property
1164+
1165+
Xml attribute name: None
1166+
1167+
<p align="center">
1168+
<img src="https://i.postimg.cc/Nj714CjP/deleted-Message-Text-Font.png"/>
1169+
</p>
1170+
11211171
### agent Name color
11221172
Text color for agent's name.
11231173

@@ -1453,6 +1503,17 @@ Xml attribute name: dimen/rc_video_call_requested_status_message_text_size
14531503
<img src="https://i.postimg.cc/qBCJcLC1/video-Call-Requested-Status-Message-Text-Size.png"/>
14541504
</p>
14551505

1506+
### deletedMessageTextSize
1507+
Text size applied to a message that was deleted by its author.
1508+
1509+
Programmatically: set `Customization.deletedMessageTextSize` property
1510+
1511+
Xml attribute name: dimen/rc_deleted_message_text_size
1512+
1513+
<p align="center">
1514+
<img src="https://i.postimg.cc/4yNq2mDH/deleted-Message-Text-Size.png"/>
1515+
</p>
1516+
14561517
### threadsListCompanyMessageTitleTextSize
14571518
Text size used for the company message title that is displayed in the threads list.
14581519

JavaDoc/allclasses-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="script.js"></script>
14-
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="all-classes-index-page">

JavaDoc/allpackages-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="script.js"></script>
14-
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="all-packages-index-page">

JavaDoc/com/dimelo/dimelosdk/main/Chat.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">
@@ -137,6 +137,13 @@ <h2>Method Summary</h2>
137137
<div class="table-header col-first">Modifier and Type</div>
138138
<div class="table-header col-second">Method</div>
139139
<div class="table-header col-last">Description</div>
140+
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
141+
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#changeFooterVisibility(android.view.View,boolean)" class="member-name-link">changeFooterVisibility</a><wbr>(android.view.View&nbsp;context,
142+
boolean&nbsp;isVisible)</code></div>
143+
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
144+
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div>
145+
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#footerIsVisibile()" class="member-name-link">footerIsVisibile</a>()</code></div>
146+
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
140147
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div>
141148
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAutomaticNewThread()" class="member-name-link">getAutomaticNewThread</a>()</code></div>
142149
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
@@ -209,6 +216,10 @@ <h2>Method Summary</h2>
209216
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
210217
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUserVisibleHint(boolean)" class="member-name-link">setUserVisibleHint</a><wbr>(boolean&nbsp;isVisibleToUser)</code></div>
211218
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
219+
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
220+
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#showDialog(DataManager.DeleteMessageViewUpdaterCallback,Message)" class="member-name-link">showDialog</a><wbr>(DataManager.DeleteMessageViewUpdaterCallback&nbsp;deleteMessageCallback,
221+
Message&nbsp;message)</code></div>
222+
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
212223
</div>
213224
</div>
214225
</div>
@@ -323,6 +334,12 @@ <h3>onCompleted</h3>
323334
</section>
324335
</li>
325336
<li>
337+
<section class="detail" id="footerIsVisibile()">
338+
<h3>footerIsVisibile</h3>
339+
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></span>&nbsp;<span class="element-name">footerIsVisibile</span>()</div>
340+
</section>
341+
</li>
342+
<li>
326343
<section class="detail" id="onCreate(android.os.Bundle)">
327344
<h3>onCreate</h3>
328345
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">onCreate</span><wbr><span class="parameters">(android.os.Bundle&nbsp;savedInstanceState)</span></div>
@@ -368,6 +385,21 @@ <h3>onViewCreated</h3>
368385
</section>
369386
</li>
370387
<li>
388+
<section class="detail" id="changeFooterVisibility(android.view.View,boolean)">
389+
<h3>changeFooterVisibility</h3>
390+
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">changeFooterVisibility</span><wbr><span class="parameters">(android.view.View&nbsp;context,
391+
boolean&nbsp;isVisible)</span></div>
392+
</section>
393+
</li>
394+
<li>
395+
<section class="detail" id="showDialog(DataManager.DeleteMessageViewUpdaterCallback,Message)">
396+
<h3>showDialog</h3>
397+
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">showDialog</span><wbr><span class="parameters">(@NonNull
398+
DataManager.DeleteMessageViewUpdaterCallback&nbsp;deleteMessageCallback,
399+
Message&nbsp;message)</span></div>
400+
</section>
401+
</li>
402+
<li>
371403
<section class="detail" id="onBackPressed()">
372404
<h3>onBackPressed</h3>
373405
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">onBackPressed</span>()</div>

JavaDoc/com/dimelo/dimelosdk/main/Dimelo.BasicNotificationDisplayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

JavaDoc/com/dimelo/dimelosdk/main/Dimelo.DimeloListener.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

JavaDoc/com/dimelo/dimelosdk/main/Dimelo.NotificationDisplayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

JavaDoc/com/dimelo/dimelosdk/main/Dimelo.OnActivitySetupAppearanceListener.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

JavaDoc/com/dimelo/dimelosdk/main/Dimelo.RC_WEB_VIEW_SIZE.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../../script.js"></script>
14-
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

0 commit comments

Comments
 (0)