-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ensure event data is sandboxed per app for all platforms #113
fix: ensure event data is sandboxed per app for all platforms #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lg, wonder if we could have a simple unit test for this function
@bgiori added you incase there are any concerns on this affecting Experiment integration |
Thanks @qingzhuozhen, I meant this to be a draft PR for early feedback. In process of adding tests now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Justin. GLTM and love the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one, thanks @justin-fiedler!
# [1.2.0](v1.1.0...v1.2.0) (2024-02-05) ### Bug Fixes * ensure event data is sandboxed per app for all platforms ([#113](#113)) ([72da9f8](72da9f8)) * should track coarse location by default ([#110](#110)) ([2aab265](2aab265)) ### Features * add privacy manifest for ios 17 ([#109](#109)) ([cf0ca47](cf0ca47))
🎉 This PR is included in version 1.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary
com.amplitude.AmpliTunes
.Switch to- Removed until we can write migration logic (thanks @tcldr for calling out in Persistent Storage uses caches/document directory #104, Use Application Support Directory for Persistent Storage #105)applicationSupportDirectory
for most app storage to follow storage best practicesiOS - App Sandbox On (always)
Create
amplitude
directory in application specific/Library/Application Support
file:///Users/justin/Library/Developer/CoreSimulator/Devices/AA0CFF70-35A4-4D85-AB9A-C27A8DBF94D7/data/Containers/Data/Application/06213CC5-0BE3-4822-BF6A-44C711467CB7/Library/Application%20Support/amplitude/amplitude-swift-identify-default_instance.events.index
macOs - App Sandbox Off
Create
amplitude/<bundleId>
directory in shared/Library/Application Support
file:///Users/justin/Library/Application%20Support/amplitude/com.amplitude.Amplitude.AmplitudeSwiftUIExample/amplitude-swift-identify-default_instance.events.index
macOs - App Sandbox On
Create
amplitude
directory in application specific/Library/Containers/<bundleId>/.../Application Support
file:///Users/justin/Library/Containers/com.amplitude.Amplitude.AmplitudeSwiftUIExample/Data/Library/Application%20Support/amplitude/amplitude-swift-identify-default_instance.events.index
Testing
To toggle app sandbox in XCode for macOS
Checklist