Skip to content
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

[LEG-615] Add Info.plist file with privacy info.plist file and description to the Readme.md #20

Merged
merged 7 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ https://cocoapods.org/
**Step 4.** Make sure you always open **Xcode Workspace** instead of Xcode Project. You can do it by
using **open YourApp.xcworkspace** command in terminal.


## Installation (using the universal binary framework)

Alternatively you can use the pre-built universal binary framework. It's available for download with each release (since v0.4.2).
Expand Down Expand Up @@ -63,6 +64,8 @@ instead of
#import "FITAWebWidget.h"
...
```
**Step 4.** Review information provided in the `Info.plist` file placed in the Resource folder and include what is needed in your privacyInfo.xcprivacy file.

---

## Widget integration Procedure
Expand Down Expand Up @@ -533,3 +536,9 @@ If you wish to wait until reporting has finished, you can pass a callback functi
}]
```

### Privacy Information

The `Info.plist` file includes usage descriptions for the following data collected by the SDK:
- User input data such as height, weight, body shapes and fit preference
- User Id for Fit Finder profile creation and serving immediate recomendations
- Session identifiers for tracking usage within the app to connect Fit Finder usage with purchases and returns for better ML model performance
60 changes: 60 additions & 0 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>FitAnalytics</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>

<!-- FitAnalytics WebWidget SDK Configuration -->
<key>NSPrivacyCollectedDataTypeUserID</key>
<string>userId</string>
<key>FAWebWidgetSessionId</key>
<string>shopSessionId</string>
<key>FAWebWidgetWidgetType</key>
<string>POPUP</string>


<!--NEED CONFIRMATION!!!! Provide description for HTTP cookie usage -->
<key>NSHTTPCookieUsageDescription</key>
<string>We use cookies to enhance your shopping experience and provide personalized recommendations.</string>
ZahraMammadli marked this conversation as resolved.
Show resolved Hide resolved

<!-- Additional Keys for User Input -->
<key>NSUserTrackingUsageDescription</key>
<string>We collect height, weight, body shape and fit preference to provide personalized size recommendations.</string>
ZahraMammadli marked this conversation as resolved.
Show resolved Hide resolved
<key>NSUserTrackingPurchaseDescription</key>
<string>We collect purchase information to improve size recommendation ML models.</string>
<key>NSPrivacyShopSessionIDUsageDescription</key>
<string>We collect shop session IDs to be able to connect FF usage with purchase and returns to improve ML models.</string>
ZahraMammadli marked this conversation as resolved.
Show resolved Hide resolved

</dict>
</plist>