Iterable / swift-sdk

Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
https://iterable.com/
MIT License
86 stars 71 forks source link

[MOB - 6106] - Use Application Directory #626

Closed Ayyanchira closed 1 year ago

Ayyanchira commented 1 year ago

🔹 Jira Ticket(s)

✏️ Description

Use Application Support Directory instead of Default document directory to store files required by SDK so that the files is not visible to user in Files App.

File is stored by the SDK in document directory provided by FileManager as shown here.

Looks like (References #, # and #) :
Some apps can have their default Filemanager access the directory which can be visible to FIles App. Hence using applicationSupportDirectory so the file stays under Library/Application Support directory which is hidden from users.