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

chore(deps): patch react-native-fs with privacy manifest #5322

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

kathaypacific
Copy link
Collaborator

@kathaypacific kathaypacific commented Apr 24, 2024

Description

The react-native-fs project is no longer maintained, and I don't have faith that a new version with the changes we need will be published. It seems like the maintainer of the project has changed but he is now publishing a fork rather than publishing from this project (context https://github.com/itinance/react-native-fs/issues/1197). The fork has a lot of changes and it seems that most projects have not yet migrated to this fork (low downloads on npm). I don't want to make a decision now about which lib to migrate to and introduce more changes than necessary given the deadline for these privacy manifest changes. So this PR contains a patch that I made for the lib, and I used the same declared values as in the fork (I did also verify that the values seem reasonable).

Test plan

n/a

Related issues

Backwards compatibility

Y

Network scalability

If a new NetworkId and/or Network are added in the future, the changes in this PR will:

  • Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)

Copy link
Contributor

@bakoushin bakoushin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍀

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.09%. Comparing base (d99aa51) to head (abf7132).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5322   +/-   ##
=======================================
  Coverage   86.08%   86.09%           
=======================================
  Files         747      747           
  Lines       30671    30671           
  Branches     5313     5313           
=======================================
+ Hits        26403    26406    +3     
+ Misses       4036     4033    -3     
  Partials      232      232           

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d99aa51...abf7132. Read the comment docs.

@kathaypacific kathaypacific added this pull request to the merge queue Apr 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 24, 2024
@kathaypacific kathaypacific added this pull request to the merge queue Apr 25, 2024
Merged via the queue into main with commit a1e2edc Apr 25, 2024
19 checks passed
@kathaypacific kathaypacific deleted the kathy/patch-rn-fs branch April 25, 2024 08:24
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…5322)

### Description

The `react-native-fs` project is no longer maintained, and I don't have
faith that a new version with the changes we need will be published. It
seems like the maintainer of the project has changed but he is now
publishing a fork rather than publishing from this project (context
`https://github.com/itinance/react-native-fs/issues/1197`). The fork has
a lot of
[changes](itinance/react-native-fs@master...birdofpreyru:react-native-fs:master)
and it seems that most projects have _not_ yet migrated to this fork
([low downloads on
npm](https://www.npmjs.com/package/@dr.pogodin/react-native-fs)). I
don't want to make a decision now about which lib to migrate to and
introduce more changes than necessary given the deadline for these
privacy manifest changes. So this PR contains a patch that I made for
the lib, and I used the [same declared
values](https://github.com/birdofpreyru/react-native-fs/blob/master/ios/PrivacyInfo.xcprivacy)
as in the fork (I did also verify that the values seem reasonable).

### Test plan

n/a

### Related issues

- Related to RET-1058

### Backwards compatibility

Y

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [x] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants