File tree Expand file tree Collapse file tree 4 files changed +30
-24
lines changed Expand file tree Collapse file tree 4 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
1717 s . source = { :git => package [ "repository" ] [ "url" ] , :tag => s . version }
1818 s . source_files = "ios/*.{h,mm}"
1919 # s.frameworks = <frameworks>
20- s . resource_bundles = { 'RNPermissions_PrivacyInfo' => 'ios/Resources/PrivacyInfo.xcprivacy' }
20+ # s.resource_bundles = <resource_bundles>
2121
2222 if ENV [ 'RCT_NEW_ARCH_ENABLED' ] == "1" then
2323 install_modules_dependencies ( s )
Original file line number Diff line number Diff line change 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 >NSPrivacyAccessedAPICategoryUserDefaults</string >
10+ <key >NSPrivacyAccessedAPITypeReasons</key >
11+ <array >
12+ <string >CA92.1</string >
13+ </array >
14+ </dict >
15+ </array >
16+ <key >NSPrivacyCollectedDataTypes</key >
17+ <array />
18+ <key >NSPrivacyTracking</key >
19+ <false />
20+ <key >NSPrivacyTrackingDomains</key >
21+ <array />
22+ </dict >
23+ </plist >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ def setup_permissions(config)
6767 podspec_content = podspec
6868 . gsub ( /(# *)?s\. source_files *=.*/ , "s.source_files = #{ source_files } " )
6969 . gsub ( /(# *)?s\. frameworks *=.*/ , "s.frameworks = #{ frameworks } " )
70+ . gsub (
71+ /(# *)?s\. resource_bundles *=.*/ ,
72+ directories . include? ( 'FaceID' ) ?
73+ "s.resource_bundles = { 'RNPermissionsPrivacyInfo' => 'ios/PrivacyInfo.xcprivacy' }" :
74+ '# s.resource_bundles = <resource_bundles>'
75+ )
7076
7177 File . write ( podspec_path , podspec_content )
7278end
You can’t perform that action at this time.
0 commit comments