Changes deviceDisplayName on pusher to use device model name
This commit is contained in:
parent
65c89638ab
commit
52171ef748
|
@ -66,14 +66,14 @@ class PushersManager @Inject constructor(
|
||||||
pushKey,
|
pushKey,
|
||||||
stringProvider.getString(R.string.pusher_app_id),
|
stringProvider.getString(R.string.pusher_app_id),
|
||||||
profileTag = DEFAULT_PUSHER_FILE_TAG + "_" + abs(activeSessionHolder.getActiveSession().myUserId.hashCode()),
|
profileTag = DEFAULT_PUSHER_FILE_TAG + "_" + abs(activeSessionHolder.getActiveSession().myUserId.hashCode()),
|
||||||
localeProvider.current().language,
|
lang = localeProvider.current().language,
|
||||||
appNameProvider.getAppName(),
|
appDisplayName = appNameProvider.getAppName(),
|
||||||
activeSessionHolder.getActiveSession().sessionParams.deviceId ?: "MOBILE",
|
deviceDisplayName = android.os.Build.MODEL,
|
||||||
gateway,
|
url = gateway,
|
||||||
enabled = true,
|
enabled = true,
|
||||||
deviceId = activeSessionHolder.getActiveSession().sessionParams.deviceId ?: "MOBILE",
|
deviceId = activeSessionHolder.getActiveSession().sessionParams.deviceId ?: "MOBILE",
|
||||||
append = false,
|
append = false,
|
||||||
withEventIdOnly = true
|
withEventIdOnly = true,
|
||||||
)
|
)
|
||||||
|
|
||||||
suspend fun registerEmailForPush(email: String) {
|
suspend fun registerEmailForPush(email: String) {
|
||||||
|
|
Loading…
Reference in New Issue