Skip to content

Commit 8e4b7fb

Browse files
philIipfacebook-github-bot
authored andcommitted
add privacy manifest to react native glog
Summary: Changelog: [Internal] add this to the framework's resource bundle from the audit there was a callsite to fstat in our forked copy of glog, so use C617.1. callsites: - glog/src/logging.cc current problem with this method is that the required reasons are not currently be aggregated during app store review, so those need to live in the app's. but go ahead and add it here for now, i think apple will try to fix it. Reviewed By: cipolleschi Differential Revision: D55625116 fbshipit-source-id: b10ea2dad2238cc85b5fe30df56269a5808a35b5
1 parent 11def80 commit 8e4b7fb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/react-native/third-party-podspecs/glog.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Pod::Spec.new do |spec|
2929
'src/base/*.h'
3030
spec.exclude_files = "src/windows/**/*"
3131
spec.compiler_flags = '-Wno-shorten-64-to-32'
32+
spec.resource_bundles = {'glog_privacy' => 'glog/PrivacyInfo.xcprivacy'}
3233

3334
spec.pod_target_xcconfig = {
3435
"USE_HEADERMAP" => "NO",
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
</array>
16+
<key>NSPrivacyCollectedDataTypes</key>
17+
<array/>
18+
<key>NSPrivacyTracking</key>
19+
<false/>
20+
</dict>
21+
</plist>

0 commit comments

Comments
 (0)