Skip to content

Commit

Permalink
Merge pull request #2149 from bugsnag/PLAT-12116/react-native-privacy…
Browse files Browse the repository at this point in the history
…-manifest

[PLAT-12116] React native privacy manifest
  • Loading branch information
gingerbenw committed Jun 4, 2024
2 parents 80f95b4 + 2392de5 commit fa40761
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Added

- (react-native) Add privacy manifest resource bundle to podspec [#2149](https://github.com/bugsnag/bugsnag-js/pull/2149)

### Changed

- (plugin-react) Modified the polynomial regular expression to remove the ambiguity [#2135](https://github.com/bugsnag/bugsnag-js/pull/2135)
Expand Down
7 changes: 5 additions & 2 deletions packages/react-native/BugsnagReactNative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ Pod::Spec.new do |s|
s.source_files = "ios/BugsnagReactNative/**/*.{h,mm,m}",
"ios/vendor/bugsnag-cocoa/**/*.{h,mm,m,cpp,c}",
s.public_header_files = "ios/vendor/bugsnag-cocoa/{#{bugsnag_cocoa_public_header_files.join(',')}}"
s.header_dir = 'Bugsnag'
s.header_dir = "Bugsnag"
s.requires_arc = true
s.resource_bundles = {
"Bugsnag" => ["ios/vendor/bugsnag-cocoa/Bugsnag/resources/PrivacyInfo.xcprivacy"],
}

if ENV['RCT_NEW_ARCH_ENABLED'] == "1"
if ENV["RCT_NEW_ARCH_ENABLED"] == "1"
install_modules_dependencies(s)
else
s.dependency "React-Core"
Expand Down

0 comments on commit fa40761

Please sign in to comment.