Skip to content

Commit

Permalink
Make enableOfflineMode internal for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
tapashmajumder committed Oct 20, 2020
1 parent c8b2863 commit d294a00
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions swift-sdk/IterableConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,13 @@ public class IterableConfig: NSObject {
/// an expiration date field in it
public var expiringAuthTokenRefreshPeriod: TimeInterval = 60.0

/// If set to true, events will be queued locally when network is offline.
/// When the network is online again, the queued events will be sent to our backend.
public var enableOfflineMode = false

/// These are internal. Do not change
internal var apiEndpoint = Endpoint.api
internal var linksEndpoint = Endpoint.links

/// If set to true, events will be queued locally when network is offline.
/// When the network is online again, the queued events will be sent to our backend.
/// This is currently an experimental feature.
/// Please *DO NOT* enable this option without talking to your customer service rep.
internal var enableOfflineMode = false
}

0 comments on commit d294a00

Please sign in to comment.