Skip to content

Commit

Permalink
Fix issue when saving sessions on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocollet committed Sep 27, 2018
1 parent 4d815ad commit 75e2fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snowplow/Session.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private let sessionFilename = "SnowplowSession.json"
#if os(tvOS)
private let sessionFileURL = URL(fileURLWithPath: "\(NSTemporaryDirectory())/\(sessionFilename)")
#else
private let sessionFileURL = URL(appFolder: .applicationSupport).appendingPathComponent(sessionFilename)
private let sessionFileURL = URL(appFolder: .caches).appendingPathComponent(sessionFilename)
#endif

public class Session {
Expand Down

0 comments on commit 75e2fc4

Please sign in to comment.