Skip to content

Commit

Permalink
Merge pull request #22 from at-internet/develop
Browse files Browse the repository at this point in the history
v3.0.10
  • Loading branch information
alexey-troshkov authored Mar 11, 2024
2 parents 2d4ec43 + 560ab3a commit c6c65b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PianoAnalytics-AppExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PianoAnalytics-AppExtension'
s.version = '3.0.9'
s.version = '3.0.10'
s.summary = 'Piano Analytics solution for extension Apple devices'
s.homepage = 'https://github.com/at-internet/piano-analytics-apple'
s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics'
Expand Down
2 changes: 1 addition & 1 deletion PianoAnalytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PianoAnalytics'
s.version = '3.0.9'
s.version = '3.0.10'
s.summary = 'Piano Analytics library for Apple devices'
s.homepage = 'https://github.com/at-internet/piano-analytics-apple'
s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics'
Expand Down
4 changes: 4 additions & 0 deletions Sources/PianoAnalytics/Steps/StorageStep.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ final class StorageStep: Step {

private final func readData() -> [String: BuiltModel] {
let fileManager = FileManager.default
#if os(tvOS)
let url = fileManager.urls(for: .cachesDirectory, in: .userDomainMask)[0]
#else
let url = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
#endif
var storedData = [String: BuiltModel]()

do {
Expand Down

0 comments on commit c6c65b8

Please sign in to comment.