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

Add Privacy manifest #2045

Merged
merged 3 commits into from
May 4, 2024
Merged

Conversation

ujeon
Copy link
Contributor

@ujeon ujeon commented Apr 16, 2024

Add Privacy Manifest for File timestamp APIs, .creationDate & .modificationDate

add privacy manifest time stamp apis usage
add resource bundles to include PrivacyInfo as resource
@saraff13
Copy link

@ujeon Do we only need Photos and Videos to be defined? I tried adding this privacy file but it didn't worked.

@Maker-Mark
Copy link

This could close #2040 FYI

@ujeon
Copy link
Contributor Author

ujeon commented Apr 18, 2024

@saraff13

Are there any additional policies needed besides the Photo and Video policy? (just in my opinion, Apple make us somewhat confusing 🥲)

I'm having trouble understanding why adding a Privacy file didn't work, but could you mean there's an issue with the PDF generated from the archive?

@saraff13
Copy link

saraff13 commented Apr 18, 2024

@saraff13

Are there any additional policies needed besides the Photo and Video policy? (just in my opinion, Apple make us somewhat confusing 🥲)

I'm having trouble understanding why adding a Privacy file didn't work, but could you mean there's an issue with the PDF generated from the archive?

  1. In library setup we add NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription. So we should add all privacy changes related to Photo, Video, and Audio as well.

  2. Yes, privacy report generated from archieve is giving error related to TOCropViewController that is being used as a dependency inside of RNImageCropPicker.

@ujeon
Copy link
Contributor Author

ujeon commented Apr 18, 2024

@saraff13
Are there any additional policies needed besides the Photo and Video policy? (just in my opinion, Apple make us somewhat confusing 🥲)
I'm having trouble understanding why adding a Privacy file didn't work, but could you mean there's an issue with the PDF generated from the archive?

  1. In library setup we add NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription. So we should add all privacy changes related to Photo, Video, and Audio as well.
  2. Yes, privacy report generated from archieve is giving error related to TOCropViewController that is being used as a dependency inside of RNImageCropPicker.
  1. Do you have any reference for that? I have not recognized for that.

  2. Thanks, I've set the minimum TOCropViewController version to 2.7.0, which supports the privacy manifest. However, there seems to be an issue with TOCropViewController's privacy manifest (or something else).. I will open issue for that on TOCropViewController

@saraff13
Copy link

saraff13 commented Apr 18, 2024

@saraff13
Are there any additional policies needed besides the Photo and Video policy? (just in my opinion, Apple make us somewhat confusing 🥲)
I'm having trouble understanding why adding a Privacy file didn't work, but could you mean there's an issue with the PDF generated from the archive?

  1. In library setup we add NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription. So we should add all privacy changes related to Photo, Video, and Audio as well.
  2. Yes, privacy report generated from archieve is giving error related to TOCropViewController that is being used as a dependency inside of RNImageCropPicker.
  1. Do you have any reference for that? I have not recognized for that.
  2. Thanks, I've set the minimum TOCropViewController version to 2.7.0, which supports the privacy manifest. However, there seems to be an issue with TOCropViewController's privacy manifest (or something else).. I will open issue for that on TOCropViewController
  1. Sorry, I couldn't find any reference. I was just checking possibility of failures.
  2. They have recently merged the fix in Privacy Manifest file. I think we will get a release soon. Once there is a release from TOCropViewController, This library will automatically pickup the latest version.

@saraff13
Copy link

@ujeon TOCropViewController version 2.7.3 is released.

TOCropViewController v2.7.3 supports privacy manifest
@ujeon ujeon force-pushed the chore/apple-privacy-manifest branch from 2c3e0a5 to 1e4bf65 Compare April 23, 2024 07:17
@ujeon
Copy link
Contributor Author

ujeon commented Apr 23, 2024

@saraff13 Thanks 👍 I did update min sdk to 2.7.3

Sorry, I couldn't find any reference. I was just checking possibility of failures.

I have worked based on required api scanner's "text-based scanner" and following the scanner's result, two required API .creationDate & .modificationDate are used.

(it just my opinion) This library requires NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription, but it does not mean required apis are used. so I think that adding privacy manifest for just .creationDate & .modificationDate

@ujeon ujeon marked this pull request as ready for review April 24, 2024 08:42
@Maker-Mark
Copy link

@ivpusic can we get this merged and released?

@mateusdegobi
Copy link

@ivpusic can we get this merged and released?

please, I'm waiting for it

@ivpusic ivpusic merged commit 66984a2 into ivpusic:master May 4, 2024
@ivpusic
Copy link
Owner

ivpusic commented May 4, 2024

new version just relased. thanks for PR!

github-merge-queue bot referenced this pull request in valora-inc/wallet Jul 23, 2024
#5607)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-image-crop-picker](https://togithub.com/ivpusic/react-native-image-crop-picker)
| [`^0.40.3` ->
`^0.41.2`](https://renovatebot.com/diffs/npm/react-native-image-crop-picker/0.40.3/0.41.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-image-crop-picker/0.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-image-crop-picker/0.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-image-crop-picker/0.40.3/0.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-image-crop-picker/0.40.3/0.41.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ivpusic/react-native-image-crop-picker
(react-native-image-crop-picker)</summary>

###
[`v0.41.2`](https://togithub.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.41.2)

[Compare
Source](https://togithub.com/ivpusic/react-native-image-crop-picker/compare/v0.41.1...v0.41.2)

#### What's Changed

- Fixes an issue that would cause the compiler to crash in Xcode 16
beta1 by [@&#8203;isnine](https://togithub.com/isnine) in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2068](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2068)

#### New Contributors

- [@&#8203;isnine](https://togithub.com/isnine) made their first
contribution in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2068](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2068)

**Full Changelog**:
ivpusic/react-native-image-crop-picker@v0.41.1...v0.41.2

###
[`v0.41.1`](https://togithub.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.41.1)

[Compare
Source](https://togithub.com/ivpusic/react-native-image-crop-picker/compare/v0.41.0...v0.41.1)

#### What's Changed

- URGENT: Updated RNImageCropPicker.podspec by
[@&#8203;ShivamKJJW](https://togithub.com/ShivamKJJW) in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2056](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2056)

#### New Contributors

- [@&#8203;ShivamKJJW](https://togithub.com/ShivamKJJW) made their first
contribution in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2056](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2056)

**Full Changelog**:
ivpusic/react-native-image-crop-picker@v0.41.0...v0.41.1

###
[`v0.41.0`](https://togithub.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.41.0)

[Compare
Source](https://togithub.com/ivpusic/react-native-image-crop-picker/compare/v0.40.3...v0.41.0)

#### What's Changed

- fix(ios): replace `UIGraphicsBeginImageContext` in Compression.m by
[@&#8203;remarkablemark](https://togithub.com/remarkablemark) in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2055](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2055)
- Add Privacy manifest by [@&#8203;ujeon](https://togithub.com/ujeon) in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2045](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2045)
- add Dutch (nl) as a translation for iOS by
[@&#8203;HostenMarijn](https://togithub.com/HostenMarijn) in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/1918](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/1918)

#### New Contributors

- [@&#8203;remarkablemark](https://togithub.com/remarkablemark) made
their first contribution in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2055](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2055)
- [@&#8203;ujeon](https://togithub.com/ujeon) made their first
contribution in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/2045](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/2045)
- [@&#8203;HostenMarijn](https://togithub.com/HostenMarijn) made their
first contribution in
[https://github.com/ivpusic/react-native-image-crop-picker/pull/1918](https://togithub.com/ivpusic/react-native-image-crop-picker/pull/1918)

**Full Changelog**:
ivpusic/react-native-image-crop-picker@v0.40.3...v0.41.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJucG0iLCJyZW5vdmF0ZSJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
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.

5 participants