Skip to content

Commit

Permalink
Merge pull request #81 from MyPureCloud/hotfix/explicitly_provide_pin…
Browse files Browse the repository at this point in the history
…g_interval_on_ios

Hotfix/explicitly provide ping interval on ios
  • Loading branch information
AfanasievAnton authored Aug 11, 2022
2 parents c846f1a + 3fe2348 commit 214de5f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.genesys.cloud.messenger.transport.core

import com.genesys.cloud.messenger.transport.network.DEFAULT_PING_INTERVAL_IN_SECONDS
import com.genesys.cloud.messenger.transport.network.DeploymentConfigUseCase
import com.genesys.cloud.messenger.transport.network.PlatformSocket
import com.genesys.cloud.messenger.transport.network.ReconnectionHandlerImpl
Expand All @@ -23,7 +24,7 @@ object MobileMessenger {
): MessagingClient {
val log = Log(configuration.logging, LogTag.MESSAGING_CLIENT)
val api = WebMessagingApi(configuration)
val webSocket = PlatformSocket(log.withTag(LogTag.WEBSOCKET), configuration.webSocketUrl)
val webSocket = PlatformSocket(log.withTag(LogTag.WEBSOCKET), configuration.webSocketUrl, DEFAULT_PING_INTERVAL_IN_SECONDS)
val token =
TokenStoreImpl(configuration.tokenStoreKey, log.withTag(LogTag.TOKEN_STORE)).token
val messageStore = MessageStore(token, log.withTag(LogTag.MESSAGE_STORE))
Expand Down

0 comments on commit 214de5f

Please sign in to comment.