Skip to content

Commit

Permalink
chore(ios): update podspec
Browse files Browse the repository at this point in the history
add resource bundles to include PrivacyInfo as resource
  • Loading branch information
ujeon committed Apr 16, 2024
1 parent 6e0fc5a commit a653528
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions react-native-image-picker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/react-native-image-picker/react-native-image-picker.git", :tag => "v#{s.version}" }
s.source_files = "ios/*.{h,m,mm}"

s.resource_bundles = {
'RNImagePickerPrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'],
}

s.frameworks = 'Photos','PhotosUI'

if defined?(install_modules_dependencies) != nil
Expand Down

0 comments on commit a653528

Please sign in to comment.