Changes deviceDisplayName on pusher to use device model name

This commit is contained in:
ericdecanini 2022-09-23 09:36:53 -04:00
parent 65c89638ab
commit 52171ef748
1 changed files with 5 additions and 5 deletions

View File

@ -66,14 +66,14 @@ class PushersManager @Inject constructor(
pushKey,
stringProvider.getString(R.string.pusher_app_id),
profileTag = DEFAULT_PUSHER_FILE_TAG + "_" + abs(activeSessionHolder.getActiveSession().myUserId.hashCode()),
localeProvider.current().language,
appNameProvider.getAppName(),
activeSessionHolder.getActiveSession().sessionParams.deviceId ?: "MOBILE",
gateway,
lang = localeProvider.current().language,
appDisplayName = appNameProvider.getAppName(),
deviceDisplayName = android.os.Build.MODEL,
url = gateway,
enabled = true,
deviceId = activeSessionHolder.getActiveSession().sessionParams.deviceId ?: "MOBILE",
append = false,
withEventIdOnly = true
withEventIdOnly = true,
)
suspend fun registerEmailForPush(email: String) {