Skip to content

Commit

Permalink
Changed: reverted logic for shouldSyncWithBackendFirst and shouldUseJ…
Browse files Browse the repository at this point in the history
…sonUrlSchemeSyncFormat to version 5.0.3 and set them to true (#13)
  • Loading branch information
ardian4 committed May 23, 2024
1 parent e604a7e commit 52924e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TSMobileAnalytics/TSMobileAnalytics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public final class TSMobileAnalytics {
self.keychainAccessGroup = keychainAccessGroup
self.additionals = additionals

self.shouldSyncWithBackendFirst = additionals[Keys.shouldSyncWithBackendFirst] == StringBool.true.rawValue
self.shouldUseJsonUrlSchemeSyncFormat = additionals[Keys.shouldUseJsonUrlSchemeSyncFormat] == StringBool.true.rawValue
self.shouldSyncWithBackendFirst = additionals[Keys.shouldSyncWithBackendFirst] ?? "true" == StringBool.true.rawValue
self.shouldUseJsonUrlSchemeSyncFormat = additionals[Keys.shouldUseJsonUrlSchemeSyncFormat] ?? "true" == StringBool.true.rawValue

SDKIntegrationValidator.validate(applicationName: applicationName, cpid: cpid)

Expand Down

0 comments on commit 52924e5

Please sign in to comment.