Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
b0726934
Commit
b0726934
authored
Mar 22, 2019
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes the message actions menu order and add some analytics
parent
6242a5a4
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
350 additions
and
176 deletions
+350
-176
Analytics.kt
app/src/main/java/chat/rocket/android/analytics/Analytics.kt
+54
-0
AnalyticsManager.kt
...in/java/chat/rocket/android/analytics/AnalyticsManager.kt
+64
-0
BaseViewHolder.kt
...va/chat/rocket/android/chatroom/adapter/BaseViewHolder.kt
+4
-4
ChatRoomAdapter.kt
...a/chat/rocket/android/chatroom/adapter/ChatRoomAdapter.kt
+58
-40
ChatRoomFragment.kt
.../java/chat/rocket/android/chatroom/ui/ChatRoomFragment.kt
+6
-5
UiModelMapper.kt
...ava/chat/rocket/android/chatroom/uimodel/UiModelMapper.kt
+1
-1
message_actions.xml
app/src/main/res/menu/message_actions.xml
+26
-29
strings.xml
app/src/main/res/values-de/strings.xml
+6
-6
strings.xml
app/src/main/res/values-es/strings.xml
+6
-6
strings.xml
app/src/main/res/values-fa/strings.xml
+6
-6
strings.xml
app/src/main/res/values-fr/strings.xml
+6
-6
strings.xml
app/src/main/res/values-hi-rIN/strings.xml
+6
-6
strings.xml
app/src/main/res/values-it/strings.xml
+6
-6
strings.xml
app/src/main/res/values-ja/strings.xml
+6
-6
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+6
-6
strings.xml
app/src/main/res/values-pt-rPT/strings.xml
+6
-6
strings.xml
app/src/main/res/values-ru-rRU/strings.xml
+6
-6
strings.xml
app/src/main/res/values-tr/strings.xml
+8
-9
strings.xml
app/src/main/res/values-uk/strings.xml
+7
-9
strings.xml
app/src/main/res/values-zh-rCN/strings.xml
+6
-6
strings.xml
app/src/main/res/values-zh-rTW/strings.xml
+6
-6
strings.xml
app/src/main/res/values/strings.xml
+6
-6
AnswersAnalytics.kt
...ay/java/chat/rocket/android/analytics/AnswersAnalytics.kt
+22
-1
GoogleAnalyticsForFirebase.kt
...at/rocket/android/analytics/GoogleAnalyticsForFirebase.kt
+22
-0
No files found.
app/src/main/java/chat/rocket/android/analytics/Analytics.kt
View file @
b0726934
...
...
@@ -80,4 +80,58 @@ interface Analytics {
*/
fun
logVideoConference
(
event
:
SubscriptionTypeEvent
,
serverUrl
:
String
)
{}
/**
* Logs the add reaction message action.
*/
fun
logMessageActionAddReaction
()
{}
/**
* Logs the replay message action.
*/
fun
logMessageActionReply
()
{}
/**
* Logs the quote message action.
*/
fun
logMessageActionQuote
()
{}
/**
* Logs the permalink message action.
*/
fun
logMessageActionPermalink
()
{}
/**
* Logs the copy message action.
*/
fun
logMessageActionCopy
()
{}
/**
* Logs the edit message action.
*/
fun
logMessageActionEdit
()
{}
/**
* Logs the info message action.
*/
fun
logMessageActionInfo
()
{}
/**
* Logs the star message action.
*/
fun
logMessageActionStar
()
{}
/**
* Logs the pin message action.
*/
fun
logMessageActionPin
()
{}
/**
* Logs the report message action.
*/
fun
logMessageActionReport
()
{}
/**
* Logs the delete message action.
*/
fun
logMessageActionDelete
()
{}
}
app/src/main/java/chat/rocket/android/analytics/AnalyticsManager.kt
View file @
b0726934
...
...
@@ -83,5 +83,69 @@ class AnalyticsManager @Inject constructor(
}
}
fun
logMessageActionAddReaction
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionAddReaction
()
}
}
}
fun
logMessageActionReply
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionReply
()
}
}
}
fun
logMessageActionQuote
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionQuote
()
}
}
}
fun
logMessageActionPermalink
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionPermalink
()
}
}
}
fun
logMessageActionCopy
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionCopy
()
}
}
}
fun
logMessageActionEdit
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionEdit
()
}
}
}
fun
logMessageActionInfo
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionInfo
()
}
}
}
fun
logMessageActionStar
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionStar
()
}
}
}
fun
logMessageActionPin
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionPin
()
}
}
}
fun
logMessageActionReport
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionReport
()
}
}
}
fun
logMessageActionDelete
()
{
if
(
analyticsTrackingInteractor
.
get
())
{
analytics
.
forEach
{
it
.
logMessageActionDelete
()
}
}
}
}
app/src/main/java/chat/rocket/android/chatroom/adapter/BaseViewHolder.kt
View file @
b0726934
...
...
@@ -92,14 +92,14 @@ abstract class BaseViewHolder<T : BaseUiModel<*>>(
data
?.
let
{
vm
->
vm
.
message
.
let
{
val
menuItems
=
view
.
context
.
inflate
(
R
.
menu
.
message_actions
).
toList
()
menuItems
.
find
{
it
.
itemId
==
R
.
id
.
action_
message_
unpin
}
?.
apply
{
setTitle
(
if
(
it
.
pinned
)
R
.
string
.
action_
msg_unpin
else
R
.
string
.
action_msg
_pin
)
menuItems
.
find
{
it
.
itemId
==
R
.
id
.
action_unpin
}
?.
apply
{
setTitle
(
if
(
it
.
pinned
)
R
.
string
.
action_
unpin
else
R
.
string
.
action
_pin
)
isChecked
=
it
.
pinned
}
menuItems
.
find
{
it
.
itemId
==
R
.
id
.
action_
message_
star
}
?.
apply
{
menuItems
.
find
{
it
.
itemId
==
R
.
id
.
action_star
}
?.
apply
{
val
isStarred
=
it
.
starred
?.
isNotEmpty
()
?:
false
setTitle
(
if
(
isStarred
)
R
.
string
.
action_
msg_unstar
else
R
.
string
.
action_msg
_star
)
setTitle
(
if
(
isStarred
)
R
.
string
.
action_
unstar
else
R
.
string
.
action
_star
)
isChecked
=
isStarred
}
view
.
context
?.
let
{
...
...
app/src/main/java/chat/rocket/android/chatroom/adapter/ChatRoomAdapter.kt
View file @
b0726934
...
...
@@ -5,6 +5,7 @@ import android.view.View
import
android.view.ViewGroup
import
androidx.recyclerview.widget.RecyclerView
import
chat.rocket.android.R
import
chat.rocket.android.analytics.AnalyticsManager
import
chat.rocket.android.chatroom.presentation.ChatRoomNavigator
import
chat.rocket.android.chatroom.uimodel.AttachmentUiModel
import
chat.rocket.android.chatroom.uimodel.BaseUiModel
...
...
@@ -29,7 +30,8 @@ class ChatRoomAdapter(
private
val
actionSelectListener
:
OnActionSelected
?
=
null
,
private
val
enableActions
:
Boolean
=
true
,
private
val
reactionListener
:
EmojiReactionListener
?
=
null
,
private
val
navigator
:
ChatRoomNavigator
?
=
null
private
val
navigator
:
ChatRoomNavigator
?
=
null
,
private
val
analyticsManager
:
AnalyticsManager
?
=
null
)
:
RecyclerView
.
Adapter
<
BaseViewHolder
<*>>()
{
private
val
dataSet
=
ArrayList
<
BaseUiModel
<*>>()
...
...
@@ -239,47 +241,63 @@ class ChatRoomAdapter(
override
fun
isActionsEnabled
():
Boolean
=
enableActions
override
fun
onActionSelected
(
item
:
MenuItem
,
message
:
Message
)
{
message
.
apply
{
when
(
item
.
itemId
)
{
R
.
id
.
action_message_info
->
{
actionSelectListener
?.
showMessageInfo
(
id
)
}
R
.
id
.
action_message_reply
->
{
if
(
roomName
!=
null
&&
roomType
!=
null
)
{
actionSelectListener
?.
citeMessage
(
roomName
,
roomType
,
id
,
true
)
if
(
analyticsManager
!=
null
&&
roomName
!=
null
&&
roomType
!=
null
&&
actionSelectListener
!=
null
)
{
with
(
message
)
{
when
(
item
.
itemId
)
{
R
.
id
.
action_info
->
{
actionSelectListener
.
showMessageInfo
(
id
)
analyticsManager
.
logMessageActionInfo
()
}
}
R
.
id
.
action_message_quote
->
{
if
(
roomName
!=
null
&&
roomType
!=
null
)
{
actionSelectListener
?.
citeMessage
(
roomName
,
roomType
,
id
,
false
)
R
.
id
.
action_reply
->
{
actionSelectListener
.
citeMessage
(
roomName
,
roomType
,
id
,
true
)
analyticsManager
.
logMessageActionReply
()
}
R
.
id
.
action_quote
->
{
actionSelectListener
.
citeMessage
(
roomName
,
roomType
,
id
,
false
)
analyticsManager
.
logMessageActionQuote
()
}
R
.
id
.
action_copy
->
{
actionSelectListener
.
copyMessage
(
id
)
analyticsManager
.
logMessageActionCopy
()
}
R
.
id
.
action_edit
->
{
actionSelectListener
.
editMessage
(
roomId
,
id
,
this
.
message
)
analyticsManager
.
logMessageActionEdit
()
}
R
.
id
.
action_star
->
{
actionSelectListener
.
toggleStar
(
id
,
!
item
.
isChecked
)
analyticsManager
.
logMessageActionStar
()
}
R
.
id
.
action_pin
->
{
actionSelectListener
.
togglePin
(
id
,
!
item
.
isChecked
)
analyticsManager
.
logMessageActionPin
()
}
R
.
id
.
action_delete
->
{
actionSelectListener
.
deleteMessage
(
roomId
,
id
)
analyticsManager
.
logMessageActionDelete
()
}
R
.
id
.
action_add_reaction
->
{
actionSelectListener
.
showReactions
(
id
)
analyticsManager
.
logMessageActionAddReaction
()
}
R
.
id
.
action_permalink
->
{
actionSelectListener
.
copyPermalink
(
id
)
analyticsManager
.
logMessageActionPermalink
()
}
R
.
id
.
action_report
->
{
actionSelectListener
.
reportMessage
(
id
)
analyticsManager
.
logMessageActionReport
()
}
}
R
.
id
.
action_message_copy
->
{
actionSelectListener
?.
copyMessage
(
id
)
}
R
.
id
.
action_message_edit
->
{
actionSelectListener
?.
editMessage
(
roomId
,
id
,
message
.
message
)
}
R
.
id
.
action_message_star
->
{
actionSelectListener
?.
toggleStar
(
id
,
!
item
.
isChecked
)
}
R
.
id
.
action_message_unpin
->
{
actionSelectListener
?.
togglePin
(
id
,
!
item
.
isChecked
)
}
R
.
id
.
action_message_delete
->
{
actionSelectListener
?.
deleteMessage
(
roomId
,
id
)
}
R
.
id
.
action_menu_msg_react
->
{
actionSelectListener
?.
showReactions
(
id
)
}
R
.
id
.
action_message_permalink
->
{
actionSelectListener
?.
copyPermalink
(
id
)
}
R
.
id
.
action_message_report
->
{
actionSelectListener
?.
reportMessage
(
id
)
}
else
->
{
TODO
(
"Not implemented"
)
}
}
}
...
...
app/src/main/java/chat/rocket/android/chatroom/ui/ChatRoomFragment.kt
View file @
b0726934
...
...
@@ -284,12 +284,13 @@ class ChatRoomFragment : Fragment(), ChatRoomView, EmojiKeyboardListener, EmojiR
?:
requireNotNull
(
arguments
)
{
"no arguments supplied when the fragment was instantiated"
}
adapter
=
ChatRoomAdapter
(
chatRoomId
,
chatRoomType
,
chatRoomName
,
this
,
roomId
=
chatRoomId
,
roomType
=
chatRoomType
,
roomName
=
chatRoomName
,
actionSelectListener
=
this
,
reactionListener
=
this
,
navigator
=
navigator
navigator
=
navigator
,
analyticsManager
=
analyticsManager
)
}
...
...
app/src/main/java/chat/rocket/android/chatroom/uimodel/UiModelMapper.kt
View file @
b0726934
...
...
@@ -204,7 +204,7 @@ class UiModelMapper @Inject constructor(
private
fun
mapVisibleActions
(
viewModel
:
BaseUiModel
<
*
>)
{
if
(!
settings
.
messageReadReceiptStoreUsers
())
{
viewModel
.
menuItemsToHide
.
add
(
R
.
id
.
action_
message_
info
)
viewModel
.
menuItemsToHide
.
add
(
R
.
id
.
action_info
)
}
}
...
...
app/src/main/res/menu/message_actions.xml
View file @
b0726934
...
...
@@ -2,60 +2,57 @@
<menu
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:id=
"@+id/action_message_info"
android:icon=
"@drawable/ic_action_message_info_outline_24dp"
android:title=
"@string/action_msg_info"
/>
<item
android:id=
"@+id/action_message_reply"
android:icon=
"@drawable/ic_action_message_reply_24dp"
android:title=
"@string/action_msg_reply"
/>
<item
android:id=
"@+id/action_message_edit"
android:icon=
"@drawable/ic_action_message_edit_24dp"
android:title=
"@string/action_msg_edit"
/>
<item
android:id=
"@+id/action_menu_msg_react"
android:id=
"@+id/action_add_reaction"
android:icon=
"@drawable/ic_add_reaction"
android:title=
"@string/action_msg_add_reaction"
/>
<item
android:id=
"@+id/action_
message_permalink
"
android:icon=
"@drawable/ic_action_message_
link
_24dp"
android:title=
"@string/action_msg_
copy_permalink
"
/>
android:id=
"@+id/action_
reply
"
android:icon=
"@drawable/ic_action_message_
reply
_24dp"
android:title=
"@string/action_msg_
reply
"
/>
<item
android:id=
"@+id/action_
message_
quote"
android:id=
"@+id/action_quote"
android:icon=
"@drawable/ic_action_message_quote_24dp"
android:title=
"@string/action_msg_quote"
/>
<item
android:id=
"@+id/action_message_copy"
android:id=
"@+id/action_permalink"
android:icon=
"@drawable/ic_action_message_link_24dp"
android:title=
"@string/action_msg_permalink"
/>
<item
android:id=
"@+id/action_copy"
android:icon=
"@drawable/ic_action_message_copy_24dp"
android:title=
"@string/action_msg_copy"
/>
<!--<item-->
<!--android:id="@+id/action_menu_msg_share"-->
<!--andrtextIconicon="@drawable/ic_share_black_24px"-->
<!--android:title="@string/action_msg_share" />-->
<item
android:id=
"@+id/action_edit"
android:icon=
"@drawable/ic_action_message_edit_24dp"
android:title=
"@string/action_msg_edit"
/>
<item
android:id=
"@+id/action_info"
android:icon=
"@drawable/ic_action_message_info_outline_24dp"
android:title=
"@string/action_info"
/>
<item
android:id=
"@+id/action_
message_
star"
android:id=
"@+id/action_star"
android:icon=
"@drawable/ic_action_message_star_24dp"
android:title=
"@string/action_
msg_
star"
/>
android:title=
"@string/action_star"
/>
<item
android:id=
"@+id/action_
message_un
pin"
android:id=
"@+id/action_pin"
android:icon=
"@drawable/ic_action_message_pin_24dp"
android:title=
"@string/action_
msg_
pin"
/>
android:title=
"@string/action_pin"
/>
<item
android:id=
"@+id/action_
message_
report"
android:id=
"@+id/action_report"
android:icon=
"@drawable/ic_action_message_report_24dp"
android:title=
"@string/action_msg_report"
/>
<item
android:id=
"@+id/action_
message_
delete"
android:id=
"@+id/action_delete"
android:icon=
"@drawable/ic_action_message_delete_24dp"
android:title=
"@string/action_msg_delete"
/>
</menu>
\ No newline at end of file
app/src/main/res/values-de/strings.xml
View file @
b0726934
...
...
@@ -225,19 +225,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Antworten
</string>
<string
name=
"action_
msg_info"
>
Nachrichten Info
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Bearbeiten
</string>
<string
name=
"action_msg_copy"
>
Kopieren
</string>
<string
name=
"action_msg_quote"
>
Zitieren
</string>
<string
name=
"action_msg_delete"
>
Löschen
</string>
<string
name=
"action_
msg_pin"
>
Nachricht anheften
</string
>
<string
name=
"action_
msg_unpin"
>
Nachricht nicht mehr anheften
</string
>
<string
name=
"action_
msg_star"
>
Nachricht favorisieren
</string
>
<string
name=
"action_
msg_unstar"
>
Nachricht nicht mehr favorisieren
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Teilen
</string>
<string
name=
"action_title_editing"
>
Nachricht bearbeiten
</string>
<string
name=
"action_msg_add_reaction"
>
Reaktion hinzufügen
</string>
<string
name=
"action_msg_
copy_permalink"
>
Permalink kopieren
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_report"
>
Bericht
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-es/strings.xml
View file @
b0726934
...
...
@@ -214,19 +214,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Respuesta
</string>
<string
name=
"action_
msg_info"
>
Información del mensaje
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Editar
</string>
<string
name=
"action_msg_copy"
>
Copiar
</string>
<string
name=
"action_msg_quote"
>
Citar
</string>
<string
name=
"action_msg_delete"
>
Borrar
</string>
<string
name=
"action_
msg_pin"
>
Fijar mensaje
</string
>
<string
name=
"action_
msg_unpin"
>
Soltar mensaje
</string
>
<string
name=
"action_
msg_star"
>
Star mensaje
</string
>
<string
name=
"action_
msg_unstar"
>
Unstar mensaje
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Compartir
</string>
<string
name=
"action_title_editing"
>
Edición de mensaje
</string>
<string
name=
"action_msg_add_reaction"
>
Añadir una reacción
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copiar permalink
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO Add translation --
>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
...
...
app/src/main/res/values-fa/strings.xml
View file @
b0726934
...
...
@@ -219,19 +219,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
جواب
</string>
<string
name=
"action_
msg_info"
>
مشخصات پیام
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
ویرایش
</string>
<string
name=
"action_msg_copy"
>
کپی
</string>
<string
name=
"action_msg_quote"
>
نقل قول
</string>
<string
name=
"action_msg_delete"
>
حذف
</string>
<string
name=
"action_
msg_pin"
>
سوزن کردن پیام
</string
>
<string
name=
"action_
msg_unpin"
>
از سوزن دراوردن پیام
</string
>
<string
name=
"action_
msg_star"
>
ستارهدار کردن پیام
</string
>
<string
name=
"action_
msg_unstar"
>
از ستاره دراوردن پیام
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
اشتراک
</string>
<string
name=
"action_title_editing"
>
ویرایش پیام
</string>
<string
name=
"action_msg_add_reaction"
>
اضافه کردن واکنش
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copy p
ermalink
</string>
<!-- TODO Add translation -->
<string
name=
"action_msg_
permalink"
>
P
ermalink
</string>
<!-- TODO Add translation -->
<string
name=
"action_msg_report"
>
گزارش
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-fr/strings.xml
View file @
b0726934
...
...
@@ -217,19 +217,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Répondre
</string>
<string
name=
"action_
msg_info"
>
Informations sur le message
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Modifier
</string>
<string
name=
"action_msg_copy"
>
Copier
</string>
<string
name=
"action_msg_quote"
>
Citation
</string>
<string
name=
"action_msg_delete"
>
Effacer
</string>
<string
name=
"action_
msg_pin"
>
Épingler message
</string
>
<string
name=
"action_
msg_unpin"
>
Ne plus épingler message
</string
>
<string
name=
"action_
msg_star"
>
Ajouter aux Favoris
</string
>
<string
name=
"action_
msg_unstar"
>
Retirer des favoris
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Partager
</string>
<string
name=
"action_title_editing"
>
Modification du message
</string>
<string
name=
"action_msg_add_reaction"
>
Ajouter une réaction
</string>
<string
name=
"action_msg_
copy_permalink"
>
copie permalien
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_report"
>
rapport
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-hi-rIN/strings.xml
View file @
b0726934
...
...
@@ -220,19 +220,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
जवाब दें
</string>
<string
name=
"action_
msg_info"
>
संदेश जानकारी
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
संपादन करें
</string>
<string
name=
"action_msg_copy"
>
कॉपी
</string>
<string
name=
"action_msg_quote"
>
उद्धरण
</string>
<string
name=
"action_msg_delete"
>
मिटायें
</string>
<string
name=
"action_
msg_pin"
>
संदेश को पिन करें
</string
>
<string
name=
"action_
msg_unpin"
>
संदेश को पिन से हटाएँ
</string
>
<string
name=
"action_
msg_star"
>
संदेश को स्टार करें
</string
>
<string
name=
"action_
msg_unstar"
>
सन्देश अतारांकित करें
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
शेयर करें
</string>
<string
name=
"action_title_editing"
>
संपादन संदेश
</string>
<string
name=
"action_msg_add_reaction"
>
प्रतिक्रिया जोड़ें
</string>
<string
name=
"action_msg_
copy_permalink"
>
परमालिंक कॉपी करें
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation --
>
<string
name=
"action_msg_report"
>
रिपोर्ट
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-it/strings.xml
View file @
b0726934
...
...
@@ -216,19 +216,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Rispondi
</string>
<string
name=
"action_
msg_info"
>
Informazioni messaggio
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Modifica
</string>
<string
name=
"action_msg_copy"
>
Copia
</string>
<string
name=
"action_msg_quote"
>
Citazione
</string>
<string
name=
"action_msg_delete"
>
Cancella
</string>
<string
name=
"action_
msg_pin"
>
Messaggio importante
</string
>
<string
name=
"action_
msg_unpin"
>
Messaggio normale
</string
>
<string
name=
"action_
msg_star"
>
Messaggio preferito
</string
>
<string
name=
"action_
msg_unstar"
>
Messaggio normale
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Condividi
</string>
<string
name=
"action_title_editing"
>
Modifica messaggio
</string>
<string
name=
"action_msg_add_reaction"
>
Aggiungi reazione
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copia permalink
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_report"
>
Resoconto
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-ja/strings.xml
View file @
b0726934
...
...
@@ -219,19 +219,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
返信
</string>
<string
name=
"action_
msg_info"
>
メッセージ情報
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
編集
</string>
<string
name=
"action_msg_copy"
>
コピー
</string>
<string
name=
"action_msg_quote"
>
引用
</string>
<string
name=
"action_msg_delete"
>
削除
</string>
<string
name=
"action_
msg_pin"
>
ピン留めする
</string
>
<string
name=
"action_
msg_unpin"
>
ピン留を外す
</string
>
<string
name=
"action_
msg_star"
>
スターをつける
</string
>
<string
name=
"action_
msg_unstar"
>
スターを外す
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Share
</string>
<string
name=
"action_title_editing"
>
メッセージの編集
</string>
<string
name=
"action_msg_add_reaction"
>
リアクションする
</string>
<string
name=
"action_msg_
copy_permalink"
>
パーマリンクのコピー
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_report"
>
Report
</string>
<!-- TODO - Add proper translation -->
<!-- Permission messages -->
...
...
app/src/main/res/values-pt-rBR/strings.xml
View file @
b0726934
...
...
@@ -219,19 +219,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Responder
</string>
<string
name=
"action_
msg_info"
>
Informações da mensagem
</string>
<string
name=
"action_
info"
>
Informação
</string>
<string
name=
"action_msg_edit"
>
Editar
</string>
<string
name=
"action_msg_copy"
>
Copiar
</string>
<string
name=
"action_msg_quote"
>
Citar
</string>
<string
name=
"action_msg_delete"
>
Remover
</string>
<string
name=
"action_
msg_pin"
>
Fixar mensagem
</string>
<string
name=
"action_
msg_unpin"
>
Desfixar mensagem
</string>
<string
name=
"action_
msg_star"
>
Marcar como favorita
</string>
<string
name=
"action_
msg_unstar"
>
Desmarcar como favorita
</string>
<string
name=
"action_
pin"
>
Fixar
</string>
<string
name=
"action_
unpin"
>
Desfixar
</string>
<string
name=
"action_
star"
>
Favoritar
</string>
<string
name=
"action_
unstar"
>
Desfavoritar
</string>
<string
name=
"action_msg_share"
>
Compartilhar
</string>
<string
name=
"action_title_editing"
>
Editando mensagem
</string>
<string
name=
"action_msg_add_reaction"
>
Adicionar reação
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copiar permalink
</string>
<string
name=
"action_msg_
permalink"
>
Link permanente
</string>
<string
name=
"action_msg_report"
>
Reportar
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-pt-rPT/strings.xml
View file @
b0726934
...
...
@@ -216,19 +216,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Responder
</string>
<string
name=
"action_
msg_info"
>
Informação da mensagem
</string>
<string
name=
"action_
info"
>
Informação
</string>
<string
name=
"action_msg_edit"
>
Editar
</string>
<string
name=
"action_msg_copy"
>
Copiar
</string>
<string
name=
"action_msg_quote"
>
Citar
</string>
<string
name=
"action_msg_delete"
>
Apagar
</string>
<string
name=
"action_
msg_pin"
>
Afixar mensagem
</string>
<string
name=
"action_
msg_unpin"
>
Desafixar mensagem
</string>
<string
name=
"action_
msg_star"
>
Dar um estrela
</string
>
<string
name=
"action_
msg_unstar"
>
Remover estrela
</string
>
<string
name=
"action_
pin"
>
Afixar
</string>
<string
name=
"action_
unpin"
>
Desafixar
</string>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Partilhar
</string>
<string
name=
"action_title_editing"
>
A editar mensagem
</string>
<string
name=
"action_msg_add_reaction"
>
Adicionar reacção
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copiar l
ink permanente
</string>
<string
name=
"action_msg_
permalink"
>
L
ink permanente
</string>
<string
name=
"action_msg_report"
>
Relatar
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-ru-rRU/strings.xml
View file @
b0726934
...
...
@@ -216,19 +216,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Ответить
</string>
<string
name=
"action_
msg_info"
>
Информация о прочтении
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Редактировать
</string>
<string
name=
"action_msg_copy"
>
Копировать
</string>
<string
name=
"action_msg_quote"
>
Цитировать
</string>
<string
name=
"action_msg_delete"
>
Удалить
</string>
<string
name=
"action_
msg_pin"
>
Закрепить сообщение
</string
>
<string
name=
"action_
msg_unpin"
>
Открепить сообщение
</string
>
<string
name=
"action_
msg_star"
>
В избранное
</string
>
<string
name=
"action_
msg_unstar"
>
Из избранного
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Поделиться
</string>
<string
name=
"action_title_editing"
>
Редактирование сообщения
</string>
<string
name=
"action_msg_add_reaction"
>
Отреагировать
</string>
<string
name=
"action_msg_
copy_permalink"
>
Копировать ссылку
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation --
>
<string
name=
"action_msg_report"
>
Пожаловаться
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-tr/strings.xml
View file @
b0726934
...
...
@@ -219,22 +219,21 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Kaydet
</string>
<string
name=
"action_
msg_info"
>
Mesaj bilgisi
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Dzenle
</string>
<string
name=
"action_msg_copy"
>
Kopyala
</string>
<string
name=
"action_msg_quote"
>
Alıntıla
</string>
<string
name=
"action_msg_delete"
>
Sil
</string>
<string
name=
"action_
msg_pin"
>
Mesajı Sabitle
</string
>
<string
name=
"action_
msg_unpin"
>
Mesajı Sabitleme
</string
>
<string
name=
"action_
msg_star"
>
Mesajı Yıldızla
</string
>
<string
name=
"action_
msg_unstar"
>
Mesajı Yıldızlama
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Paylaş
</string>
<string
name=
"action_title_editing"
>
Mesaj Düzenleniyor
</string>
<string
name=
"action_msg_add_reaction"
>
Tepki Ekle
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<string
name=
"action_msg_permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- TODO - Add proper translation -->
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Düzenlemeye izin verilmiyor
</string>
...
...
app/src/main/res/values-uk/strings.xml
View file @
b0726934
...
...
@@ -215,22 +215,20 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Відповісти
</string>
<string
name=
"action_
msg_info"
>
Інформація про прочитання
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
Відредагувати
</string>
<string
name=
"action_msg_copy"
>
Скопіювати
</string>
<string
name=
"action_msg_quote"
>
Цитувати
</string>
<string
name=
"action_msg_delete"
>
Видалити
</string>
<string
name=
"action_
msg_pin"
>
Зафіксувати повідомлення
</string
>
<string
name=
"action_
msg_unpin"
>
Відмінити фіксацію повідомлення
</string
>
<string
name=
"action_
msg_star"
>
До обраного
</string
>
<string
name=
"action_
msg_unstar"
>
Видалити з обраного
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
Поділитися
</string>
<string
name=
"action_title_editing"
>
Редагування повідомлення
</string>
<string
name=
"action_msg_add_reaction"
>
Відреагувати
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<string
name=
"action_msg_permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- TODO - Add proper translation -->
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Редагування заборонено
</string>
...
...
app/src/main/res/values-zh-rCN/strings.xml
View file @
b0726934
...
...
@@ -216,19 +216,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
回复
</string>
<string
name=
"action_
msg_info"
>
消息通知
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
编辑
</string>
<string
name=
"action_msg_copy"
>
拷贝
</string>
<string
name=
"action_msg_quote"
>
引用
</string>
<string
name=
"action_msg_delete"
>
删除
</string>
<string
name=
"action_
msg_pin"
>
固定消息
</string
>
<string
name=
"action_
msg_unpin"
>
取消固定
</string
>
<string
name=
"action_
msg_star"
>
标记消息
</string
>
<string
name=
"action_
msg_unstar"
>
取消标记
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
分享消息
</string>
<string
name=
"action_title_editing"
>
编辑消息
</string>
<string
name=
"action_msg_add_reaction"
>
增加操作
</string>
<string
name=
"action_msg_
copy_permalink"
>
拷贝永久链接
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation --
>
<string
name=
"action_msg_report"
>
报告
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values-zh-rTW/strings.xml
View file @
b0726934
...
...
@@ -216,19 +216,19 @@
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
回覆
</string>
<string
name=
"action_
msg_info"
>
訊息通知
</string
>
<string
name=
"action_
info"
>
Info
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_edit"
>
編輯
</string>
<string
name=
"action_msg_copy"
>
複製
</string>
<string
name=
"action_msg_quote"
>
引用
</string>
<string
name=
"action_msg_delete"
>
刪除
</string>
<string
name=
"action_
msg_pin"
>
釘選訊息
</string
>
<string
name=
"action_
msg_unpin"
>
取消釘選訊息
</string
>
<string
name=
"action_
msg_star"
>
標註訊息
</string
>
<string
name=
"action_
msg_unstar"
>
取消標註訊息
</string
>
<string
name=
"action_
pin"
>
Pin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unpin"
>
Unpin
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
star"
>
Star
</string>
<!-- TODO Add translation --
>
<string
name=
"action_
unstar"
>
Unstar
</string>
<!-- TODO Add translation --
>
<string
name=
"action_msg_share"
>
分享訊息
</string>
<string
name=
"action_title_editing"
>
編輯訊息
</string>
<string
name=
"action_msg_add_reaction"
>
增加操作
</string>
<string
name=
"action_msg_
copy_permalink"
>
複製永久連結
</string
>
<string
name=
"action_msg_
permalink"
>
Permalink
</string>
<!-- TODO - Add proper translation --
>
<string
name=
"action_msg_report"
>
回報
</string>
<!-- Permission messages -->
...
...
app/src/main/res/values/strings.xml
View file @
b0726934
...
...
@@ -232,19 +232,19 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<!-- Message actions -->
<string
name=
"action_msg_reply"
>
Reply
</string>
<string
name=
"action_
msg_info"
>
Message i
nfo
</string>
<string
name=
"action_
info"
>
I
nfo
</string>
<string
name=
"action_msg_edit"
>
Edit
</string>
<string
name=
"action_msg_copy"
>
Copy
</string>
<string
name=
"action_msg_quote"
>
Quote
</string>
<string
name=
"action_msg_delete"
>
Delete
</string>
<string
name=
"action_
msg_pin"
>
Pin Message
</string>
<string
name=
"action_
msg_unpin"
>
Unpin Message
</string>
<string
name=
"action_
msg_star"
>
Star Message
</string>
<string
name=
"action_
msg_unstar"
>
Unstar Message
</string>
<string
name=
"action_
pin"
>
Pin
</string>
<string
name=
"action_
unpin"
>
Unpin
</string>
<string
name=
"action_
star"
>
Star
</string>
<string
name=
"action_
unstar"
>
Unstar
</string>
<string
name=
"action_msg_share"
>
Share
</string>
<string
name=
"action_title_editing"
>
Editing Message
</string>
<string
name=
"action_msg_add_reaction"
>
Add reaction
</string>
<string
name=
"action_msg_
copy_permalink"
>
Copy p
ermalink
</string>
<string
name=
"action_msg_
permalink"
>
P
ermalink
</string>
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
...
...
app/src/play/java/chat/rocket/android/analytics/AnswersAnalytics.kt
View file @
b0726934
...
...
@@ -35,7 +35,7 @@ class AnswersAnalytics : Analytics {
override
fun
logMessageSent
(
event
:
SubscriptionTypeEvent
,
serverUrl
:
String
)
=
Answers
.
getInstance
()
.
logCustom
(
CustomEvent
(
"message_sent"
)
CustomEvent
(
"message_
action
sent"
)
.
putCustomAttribute
(
"subscription_type"
,
event
.
subscriptionTypeName
)
.
putCustomAttribute
(
"server"
,
serverUrl
)
)
...
...
@@ -83,4 +83,25 @@ class AnswersAnalytics : Analytics {
.
putCustomAttribute
(
"server"
,
serverUrl
)
)
override
fun
logMessageActionAddReaction
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_add_reaction"
))
override
fun
logMessageActionReply
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_reply"
))
override
fun
logMessageActionQuote
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_quote"
))
override
fun
logMessageActionPermalink
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_permalink"
))
override
fun
logMessageActionCopy
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_copy"
))
override
fun
logMessageActionEdit
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_edit"
))
override
fun
logMessageActionInfo
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_info"
))
override
fun
logMessageActionStar
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_star"
))
override
fun
logMessageActionPin
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_pin"
))
override
fun
logMessageActionReport
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_report"
))
override
fun
logMessageActionDelete
()
=
Answers
.
getInstance
().
logCustom
(
CustomEvent
(
"message_action_delete"
))
}
app/src/play/java/chat/rocket/android/analytics/GoogleAnalyticsForFirebase.kt
View file @
b0726934
...
...
@@ -72,4 +72,26 @@ class GoogleAnalyticsForFirebase @Inject constructor(val context: Context) :
putString
(
"server"
,
serverUrl
)
})
}
override
fun
logMessageActionAddReaction
()
=
firebaseAnalytics
.
logEvent
(
"message_action_add_reaction"
,
null
)
override
fun
logMessageActionReply
()
=
firebaseAnalytics
.
logEvent
(
"message_action_reply"
,
null
)
override
fun
logMessageActionQuote
()
=
firebaseAnalytics
.
logEvent
(
"message_action_quote"
,
null
)
override
fun
logMessageActionPermalink
()
=
firebaseAnalytics
.
logEvent
(
"message_action_permalink"
,
null
)
override
fun
logMessageActionCopy
()
=
firebaseAnalytics
.
logEvent
(
"message_action_copy"
,
null
)
override
fun
logMessageActionEdit
()
=
firebaseAnalytics
.
logEvent
(
"message_action_edit"
,
null
)
override
fun
logMessageActionInfo
()
=
firebaseAnalytics
.
logEvent
(
"message_action_info"
,
null
)
override
fun
logMessageActionStar
()
=
firebaseAnalytics
.
logEvent
(
"message_action_star"
,
null
)
override
fun
logMessageActionPin
()
=
firebaseAnalytics
.
logEvent
(
"message_action_pin"
,
null
)
override
fun
logMessageActionReport
()
=
firebaseAnalytics
.
logEvent
(
"message_action_report"
,
null
)
override
fun
logMessageActionDelete
()
=
firebaseAnalytics
.
logEvent
(
"message_action_delete"
,
null
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment