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

feat(apple): add app privacy manifest support #2002

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Apr 29, 2024

Description

Add app privacy manifest support.

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

Modify privacy manifest via app.json e.g.:

diff --git a/example/app.json b/example/app.json
index 3b8992e..6271cdc 100644
--- a/example/app.json
+++ b/example/app.json
@@ -13,6 +13,12 @@
       "presentationStyle": "modal"
     }
   ],
+  "ios": {
+    "privacyManifest": {
+      "NSPrivacyTrackingDomains": ["test"],
+      "NSPrivacyAccessedAPITypes": ["test"]
+    }
+  },
   "resources": {
     "android": [
       "dist/res",

Run pod install and verify that a privacy manifest is generated with the expected content. You can verify the content either by opening the workspace in Xcode, or by inspecting node_modules/.generated/<platform>/PrivacyInfo.xcprivacy.

@github-actions github-actions bot added platform: Android This affects Android platform: iOS This affects iOS platform: macOS This affects macOS platform: Windows This affects Windows platform: visionOS labels Apr 29, 2024
@tido64 tido64 added this to the Single-app Mode milestone Apr 29, 2024
@github-actions github-actions bot removed platform: Android This affects Android platform: Windows This affects Windows labels Apr 30, 2024
@tido64 tido64 merged commit 9f26369 into trunk Apr 30, 2024
30 checks passed
@tido64 tido64 deleted the tido/ios-privacy-manifest branch April 30, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants