about summary refs log tree commit diff
path: root/app.config.js
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-05-06 13:47:55 -0700
committerGitHub <noreply@github.com>2024-05-06 21:47:55 +0100
commitb4015d10d18e12908f1a739bd994c195479f17f1 (patch)
tree0084982d4960a6f0492670a39a047eafc32ccda4 /app.config.js
parent99f3f10fe7890186b3c970cbd00981a1ccefc098 (diff)
downloadvoidsky-b4015d10d18e12908f1a739bd994c195479f17f1.tar.zst
Add PrivacyManifest info to comply with new App Store guidelines (#3784)
* add necessary privacy reasons

* bump expo to support creation of the manifest
Diffstat (limited to 'app.config.js')
-rw-r--r--app.config.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/app.config.js b/app.config.js
index 528c8436f..b1fe33667 100644
--- a/app.config.js
+++ b/app.config.js
@@ -91,6 +91,28 @@ module.exports = function (config) {
         entitlements: {
           'com.apple.security.application-groups': 'group.app.bsky',
         },
+        privacyManifests: {
+          NSPrivacyAccessedAPITypes: [
+            {
+              NSPrivacyAccessedAPIType:
+                'NSPrivacyAccessedAPICategoryFileTimestamp',
+              NSPrivacyAccessedAPITypeReasons: ['C617.1', '3B52.1', '0A2A.1'],
+            },
+            {
+              NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryDiskSpace',
+              NSPrivacyAccessedAPITypeReasons: ['E174.1', '85F4.1'],
+            },
+            {
+              NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryBootTime',
+              NSPrivacyAccessedAPITypeReasons: ['35F9.1'],
+            },
+            {
+              NSPrivacyAccessedAPIType:
+                'NSPrivacyAccessedAPICategoryUserDefaults',
+              NSPrivacyAccessedAPITypeReasons: ['CA92.1'],
+            },
+          ],
+        },
       },
       androidStatusBar: {
         barStyle: 'light-content',