Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS][Privacy Manifest] Set up privacy manifest for React Native 0.71 #44281

Merged
merged 2 commits into from
Apr 26, 2024

Commits on Apr 26, 2024

  1. add privacy manifest to pod install

    Summary:
    Changelog: [iOS][Added]
    
    this creates the RN privacy manifest in the ios build step if user has not created one yet. the reasons have been added for the following APIs:
    
    NSPrivacyAccessedAPICategoryFileTimestamp
    - C617.1: We use fstat and stat in a few places in the C++ layer. We use these to read information about the JavaScript files in RN.
    
    NSPrivacyAccessedAPICategoryUserDefaults
    - CA92.1: We access NSUserDefaults in a few places.
    1) To store RTL preferences
    2) As part of caching server URLs for developer mode
    3) A generic native module that wraps NSUserDefaults
    
    NSPrivacyAccessedAPICategorySystemBootTime
    - 35F9.1: Best guess reason from RR API pulled in by boost
    
    Reviewed By: cipolleschi
    
    Differential Revision: D53687232
    
    fbshipit-source-id: 6dffb1a6013f8f29438a49752e47ed75c13f4a5c
    philIip authored and cipolleschi committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    7b803b2 View commit details
    Browse the repository at this point in the history
  2. add privacy manifest to hello world template

    Summary:
    Changelog: [iOS][Added]
    
    this change will be included in the RN CLI. so all new apps running the RN CLI to get created will get this manifest. the reasons have been added for the following APIs:
    
    NSPrivacyAccessedAPICategoryFileTimestamp
    - C617.1: We use fstat and stat in a few places in the C++ layer. We use these to read information about the JavaScript files in RN.
    
    NSPrivacyAccessedAPICategoryUserDefaults
    - CA92.1: We access NSUserDefaults in a few places.
    1) To store RTL preferences
    2) As part of caching server URLs for developer mode
    3) A generic native module that wraps NSUserDefaults
    
    NSPrivacyAccessedAPICategorySystemBootTime
    - 35F9.1: Best guess reason from RR API pulled in by boost
    
    Reviewed By: cipolleschi
    
    Differential Revision: D53682756
    
    fbshipit-source-id: 0426fe0002a3bc8b45ef24053ac4228c9f61eb85
    philIip authored and cipolleschi committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    796970e View commit details
    Browse the repository at this point in the history