Commit d8a4fc25 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update userAgent String.

parent 8252d7d1
...@@ -27,7 +27,7 @@ class RocketChatClientFactory @Inject constructor( ...@@ -27,7 +27,7 @@ class RocketChatClientFactory @Inject constructor(
val client = RocketChatClient.create { val client = RocketChatClient.create {
httpClient = okHttpClient httpClient = okHttpClient
restUrl = url restUrl = url
userAgent = "RC Mobile; Android (${Build.VERSION.RELEASE}); v(${BuildConfig.VERSION_NAME}) ((${BuildConfig.VERSION_CODE}))" userAgent = "RC Mobile; Android ${Build.VERSION.RELEASE}; v${BuildConfig.VERSION_NAME} (${BuildConfig.VERSION_CODE})"
tokenRepository = repository tokenRepository = repository
platformLogger = logger platformLogger = logger
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment