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 authored and roninopf committed Oct 28, 2020
1 parent 4d687ba commit fadbe7c
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 fadbe7c

Please sign in to comment.