Skip to content

Commit 6b07155

Browse files
authored
Adds macOS privacy info (#4174)
1 parent e82ff9b commit 6b07155

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

samples/react-native-macos/macos/PrivacyInfo.xcprivacy

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,43 @@
3030
</dict>
3131
</array>
3232
<key>NSPrivacyCollectedDataTypes</key>
33-
<array/>
34-
<key>NSPrivacyTracking</key>
35-
<false/>
33+
<array>
34+
<dict>
35+
<key>NSPrivacyCollectedDataType</key>
36+
<string>NSPrivacyCollectedDataTypeCrashData</string>
37+
<key>NSPrivacyCollectedDataTypeLinked</key>
38+
<false/>
39+
<key>NSPrivacyCollectedDataTypePurposes</key>
40+
<array>
41+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
42+
</array>
43+
<key>NSPrivacyCollectedDataTypeTracking</key>
44+
<false/>
45+
</dict>
46+
<dict>
47+
<key>NSPrivacyCollectedDataType</key>
48+
<string>NSPrivacyCollectedDataTypePerformanceData</string>
49+
<key>NSPrivacyCollectedDataTypeLinked</key>
50+
<false/>
51+
<key>NSPrivacyCollectedDataTypePurposes</key>
52+
<array>
53+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
54+
</array>
55+
<key>NSPrivacyCollectedDataTypeTracking</key>
56+
<false/>
57+
</dict>
58+
<dict>
59+
<key>NSPrivacyCollectedDataType</key>
60+
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
61+
<key>NSPrivacyCollectedDataTypeLinked</key>
62+
<false/>
63+
<key>NSPrivacyCollectedDataTypePurposes</key>
64+
<array>
65+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
66+
</array>
67+
<key>NSPrivacyCollectedDataTypeTracking</key>
68+
<false/>
69+
</dict>
70+
</array>
3671
</dict>
3772
</plist>

samples/react-native-macos/macos/sentry-react-native-sample.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
514201522437B4B40078DB4F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 514201512437B4B40078DB4F /* Assets.xcassets */; };
1212
514201552437B4B40078DB4F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 514201532437B4B40078DB4F /* Main.storyboard */; };
1313
514201582437B4B40078DB4F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 514201572437B4B40078DB4F /* main.m */; };
14+
AE8260142CBE780A00EF9AA5 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = AE8260132CBE780A00EF9AA5 /* PrivacyInfo.xcprivacy */; };
1415
DAB0D6C9DC06D280469454B7 /* libPods-sentry-react-native-sample-macOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D4BEEA1BF36EEF89F92C460C /* libPods-sentry-react-native-sample-macOS.a */; };
1516
/* End PBXBuildFile section */
1617

@@ -26,6 +27,7 @@
2627
514201572437B4B40078DB4F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
2728
514201592437B4B40078DB4F /* sentry-react-native-sample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "sentry-react-native-sample.entitlements"; sourceTree = "<group>"; };
2829
666B98019E3E1C0B6E1BF713 /* Pods-sentry-react-native-sample-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-sentry-react-native-sample-macOS.debug.xcconfig"; path = "Target Support Files/Pods-sentry-react-native-sample-macOS/Pods-sentry-react-native-sample-macOS.debug.xcconfig"; sourceTree = "<group>"; };
30+
AE8260132CBE780A00EF9AA5 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = SOURCE_ROOT; };
2931
D4BEEA1BF36EEF89F92C460C /* libPods-sentry-react-native-sample-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-sentry-react-native-sample-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3032
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
3133
/* End PBXFileReference section */
@@ -77,6 +79,7 @@
7779
514201562437B4B40078DB4F /* Info.plist */,
7880
514201572437B4B40078DB4F /* main.m */,
7981
514201592437B4B40078DB4F /* sentry-react-native-sample.entitlements */,
82+
AE8260132CBE780A00EF9AA5 /* PrivacyInfo.xcprivacy */,
8083
);
8184
path = "sentry-react-native-sample-macOS";
8285
sourceTree = "<group>";
@@ -201,6 +204,7 @@
201204
isa = PBXResourcesBuildPhase;
202205
buildActionMask = 2147483647;
203206
files = (
207+
AE8260142CBE780A00EF9AA5 /* PrivacyInfo.xcprivacy in Resources */,
204208
514201522437B4B40078DB4F /* Assets.xcassets in Resources */,
205209
514201552437B4B40078DB4F /* Main.storyboard in Resources */,
206210
);

0 commit comments

Comments
 (0)