fix(ios/mac): move existing privacy manifests into Resources
folder for proper detection
#3543
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes an issue that caused the App Store to reject a review due to missing privacy manifests for all Plus plugins, even if privacy manifests already existed (ITMS-91061: Missing privacy manifest). To fix this, the manifests were placed in the plugin's
Resources
folder so that they would be properly recognized by Apple's privacy manifest verification system.To resolve this, each plugin’s
PrivacyInfo.xcprivacy
file is now stored in a dedicatedResources
folder at the root of the plugin (e.g.,ios/Resources
ormacos/Resources
). The correspondings.resource_bundles
path in each.podspec
is updated to reflect this new location. This ensures the privacy manifests are properly detected, removing the “Missing privacy manifest” warning.Related Issues
Checklist
CHANGELOG.md
nor the plugin version inpubspec.yaml
files.flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
!
in the title as explained in Conventional Commits).