Add PrivacyManifest info to comply with new App Store guidelines (#3784)

* add necessary privacy reasons

* bump expo to support creation of the manifest
zio/stable
Hailey 2024-05-06 13:47:55 -07:00 committed by GitHub
parent 99f3f10fe7
commit b4015d10d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 78 additions and 68 deletions

View File

@ -91,6 +91,28 @@ module.exports = function (config) {
entitlements: { entitlements: {
'com.apple.security.application-groups': 'group.app.bsky', '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: { androidStatusBar: {
barStyle: 'light-content', barStyle: 'light-content',

View File

@ -109,7 +109,7 @@
"email-validator": "^2.0.4", "email-validator": "^2.0.4",
"emoji-mart": "^5.5.2", "emoji-mart": "^5.5.2",
"eventemitter3": "^5.0.1", "eventemitter3": "^5.0.1",
"expo": "^50.0.8", "expo": "^50.0.17",
"expo-application": "^5.8.3", "expo-application": "^5.8.3",
"expo-build-properties": "^0.11.1", "expo-build-properties": "^0.11.1",
"expo-camera": "~14.0.4", "expo-camera": "~14.0.4",

122
yarn.lock
View File

@ -2958,15 +2958,15 @@
mv "~2" mv "~2"
safe-json-stringify "~1" safe-json-stringify "~1"
"@expo/cli@0.17.8": "@expo/cli@0.17.10":
version "0.17.8" version "0.17.10"
resolved "https://registry.yarnpkg.com/@expo/cli/-/cli-0.17.8.tgz#4abe0d8c604b73a6e1d0a10f34e993cbf1cbad42" resolved "https://registry.yarnpkg.com/@expo/cli/-/cli-0.17.10.tgz#7dd5e2b4a01f5d29698c431729a19878fbd806f5"
integrity sha512-yfkoghCltbGPDbRI71Qu3puInjXx4wO82+uhW82qbWLvosfIN7ep5Gr0Lq54liJpvlUG6M0IXM1GiGqcCyP12w== integrity sha512-Jw2wY+lsavP9GRqwwLqF/SvB7w2GZ4sWBMcBKTZ8F0lWjwmLGAUt4WYquf20agdmnY/oZUHvWNkrz/t3SflhnA==
dependencies: dependencies:
"@babel/runtime" "^7.20.0" "@babel/runtime" "^7.20.0"
"@expo/code-signing-certificates" "0.0.5" "@expo/code-signing-certificates" "0.0.5"
"@expo/config" "~8.5.0" "@expo/config" "~8.5.0"
"@expo/config-plugins" "~7.8.0" "@expo/config-plugins" "~7.9.0"
"@expo/devcert" "^1.0.0" "@expo/devcert" "^1.0.0"
"@expo/env" "~0.2.2" "@expo/env" "~0.2.2"
"@expo/image-utils" "^0.4.0" "@expo/image-utils" "^0.4.0"
@ -2975,7 +2975,7 @@
"@expo/osascript" "^2.0.31" "@expo/osascript" "^2.0.31"
"@expo/package-manager" "^1.1.1" "@expo/package-manager" "^1.1.1"
"@expo/plist" "^0.1.0" "@expo/plist" "^0.1.0"
"@expo/prebuild-config" "6.7.4" "@expo/prebuild-config" "6.8.1"
"@expo/rudder-sdk-node" "1.1.1" "@expo/rudder-sdk-node" "1.1.1"
"@expo/spawn-async" "1.5.0" "@expo/spawn-async" "1.5.0"
"@expo/xcpretty" "^4.3.0" "@expo/xcpretty" "^4.3.0"
@ -3070,10 +3070,10 @@
xcode "^3.0.1" xcode "^3.0.1"
xml2js "0.6.0" xml2js "0.6.0"
"@expo/config-plugins@7.8.4": "@expo/config-plugins@7.9.1", "@expo/config-plugins@~7.9.0":
version "7.8.4" version "7.9.1"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.8.4.tgz#533b5d536c1dc8b5544d64878b51bda28f2e1a1f" resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.9.1.tgz#fe4f7e4f9d4e87f2dcf2344ffdc59eb466dd5d2e"
integrity sha512-hv03HYxb/5kX8Gxv/BTI8TLc9L06WzqAfHRRXdbar4zkLcP2oTzvsLEF4/L/TIpD3rsnYa0KU42d0gWRxzPCJg== integrity sha512-ICt6Jed1J0tPYMQrJ8K5Qusgih2I6pZ2PU4VSvxsN3T4n97L13XpYV1vyq1Uc/HMl3UhOwldipmgpEbCfeDqsQ==
dependencies: dependencies:
"@expo/config-types" "^50.0.0-alpha.1" "@expo/config-types" "^50.0.0-alpha.1"
"@expo/fingerprint" "^0.6.0" "@expo/fingerprint" "^0.6.0"
@ -3114,29 +3114,6 @@
xcode "^3.0.1" xcode "^3.0.1"
xml2js "0.4.23" xml2js "0.4.23"
"@expo/config-plugins@~7.8.2":
version "7.8.2"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.8.2.tgz#c00ce93c4d6c2cb9e345ed9cd56ceeea05ab8ddb"
integrity sha512-XM2eXA5EvcpmXFCui48+bVy8GTskYSjPf2yC+LliYv8PDcedu7+pdgmbnvH4eZCyHfTMO8/UiF+w8e5WgOEj5A==
dependencies:
"@expo/config-types" "^50.0.0-alpha.1"
"@expo/fingerprint" "^0.6.0"
"@expo/json-file" "~8.3.0"
"@expo/plist" "^0.1.0"
"@expo/sdk-runtime-versions" "^1.0.0"
"@react-native/normalize-color" "^2.0.0"
chalk "^4.1.2"
debug "^4.3.1"
find-up "~5.0.0"
getenv "^1.0.0"
glob "7.1.6"
resolve-from "^5.0.0"
semver "^7.5.3"
slash "^3.0.0"
slugify "^1.6.6"
xcode "^3.0.1"
xml2js "0.6.0"
"@expo/config-types@^47.0.0": "@expo/config-types@^47.0.0":
version "47.0.0" version "47.0.0"
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-47.0.0.tgz#99eeabe0bba7a776e0f252b78beb0c574692c38d" resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-47.0.0.tgz#99eeabe0bba7a776e0f252b78beb0c574692c38d"
@ -3147,13 +3124,13 @@
resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-50.0.0.tgz#b534d3ec997ec60f8af24f6ad56244c8afc71a0b" resolved "https://registry.yarnpkg.com/@expo/config-types/-/config-types-50.0.0.tgz#b534d3ec997ec60f8af24f6ad56244c8afc71a0b"
integrity sha512-0kkhIwXRT6EdFDwn+zTg9R2MZIAEYGn1MVkyRohAd+C9cXOb5RA8WLQi7vuxKF9m1SMtNAUrf0pO+ENK0+/KSw== integrity sha512-0kkhIwXRT6EdFDwn+zTg9R2MZIAEYGn1MVkyRohAd+C9cXOb5RA8WLQi7vuxKF9m1SMtNAUrf0pO+ENK0+/KSw==
"@expo/config@8.5.4": "@expo/config@8.5.6":
version "8.5.4" version "8.5.6"
resolved "https://registry.yarnpkg.com/@expo/config/-/config-8.5.4.tgz#bb5eb06caa36e4e35dc8c7647fae63e147b830ca" resolved "https://registry.yarnpkg.com/@expo/config/-/config-8.5.6.tgz#e37ba437a1718ed4629e1dd130a7aace25312b89"
integrity sha512-ggOLJPHGzJSJHVBC1LzwXwR6qUn8Mw7hkc5zEKRIdhFRuIQ6s2FE4eOvP87LrNfDF7eZGa6tJQYsiHSmZKG+8Q== integrity sha512-wF5awSg6MNn1cb1lIgjnhOn5ov2TEUTnkAVCsOl0QqDwcP+YIerteSFwjn9V52UZvg58L+LKxpCuGbw5IHavbg==
dependencies: dependencies:
"@babel/code-frame" "~7.10.4" "@babel/code-frame" "~7.10.4"
"@expo/config-plugins" "~7.8.2" "@expo/config-plugins" "~7.9.0"
"@expo/config-types" "^50.0.0" "@expo/config-types" "^50.0.0"
"@expo/json-file" "^8.2.37" "@expo/json-file" "^8.2.37"
getenv "^1.0.0" getenv "^1.0.0"
@ -3318,10 +3295,10 @@
json5 "^2.2.2" json5 "^2.2.2"
write-file-atomic "^2.3.0" write-file-atomic "^2.3.0"
"@expo/metro-config@0.17.6": "@expo/metro-config@0.17.7":
version "0.17.6" version "0.17.7"
resolved "https://registry.yarnpkg.com/@expo/metro-config/-/metro-config-0.17.6.tgz#f1f4ef056aa357c1dba3841de465f5d319f17216" resolved "https://registry.yarnpkg.com/@expo/metro-config/-/metro-config-0.17.7.tgz#c877a9558f3b97447cc9cf382971403834d84b46"
integrity sha512-WaC1C+sLX/Wa7irwUigLhng3ckmXIEQefZczB8DfYmleV6uhfWWo2kz/HijFBpV7FKs2cW6u8J/aBQpFkxlcqg== integrity sha512-3vAdinAjMeRwdhGWWLX6PziZdAPvnyJ6KVYqnJErHHqH0cA6dgAENT3Vq6PEM1H2HgczKr2d5yG9AMgwy848ow==
dependencies: dependencies:
"@babel/core" "^7.20.0" "@babel/core" "^7.20.0"
"@babel/generator" "^7.20.5" "@babel/generator" "^7.20.5"
@ -3445,6 +3422,22 @@
semver "7.5.3" semver "7.5.3"
xml2js "0.6.0" xml2js "0.6.0"
"@expo/prebuild-config@6.8.1":
version "6.8.1"
resolved "https://registry.yarnpkg.com/@expo/prebuild-config/-/prebuild-config-6.8.1.tgz#5d562b1d6b2e5e4727a3c61acf1a4ed6117b94d8"
integrity sha512-ptK9e0dcj1eYlAWV+fG+QkuAWcLAT1AmtEbj++tn7ZjEj8+LkXRM73LCOEGaF0Er8i8ZWNnaVsgGW4vjgP5ZsA==
dependencies:
"@expo/config" "~8.5.0"
"@expo/config-plugins" "~7.9.0"
"@expo/config-types" "^50.0.0-alpha.1"
"@expo/image-utils" "^0.4.0"
"@expo/json-file" "^8.2.37"
debug "^4.3.1"
fs-extra "^9.0.0"
resolve-from "^5.0.0"
semver "7.5.3"
xml2js "0.6.0"
"@expo/rudder-sdk-node@1.1.1": "@expo/rudder-sdk-node@1.1.1":
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/@expo/rudder-sdk-node/-/rudder-sdk-node-1.1.1.tgz#6aa575f346833eb6290282118766d4919c808c6a" resolved "https://registry.yarnpkg.com/@expo/rudder-sdk-node/-/rudder-sdk-node-1.1.1.tgz#6aa575f346833eb6290282118766d4919c808c6a"
@ -8965,10 +8958,10 @@ babel-preset-expo@^10.0.0:
babel-plugin-react-native-web "~0.18.10" babel-plugin-react-native-web "~0.18.10"
react-refresh "0.14.0" react-refresh "0.14.0"
babel-preset-expo@~10.0.1: babel-preset-expo@~10.0.2:
version "10.0.1" version "10.0.2"
resolved "https://registry.yarnpkg.com/babel-preset-expo/-/babel-preset-expo-10.0.1.tgz#a0e7ad0119f46e58cb3f0738c3ca0c6e97b69c11" resolved "https://registry.yarnpkg.com/babel-preset-expo/-/babel-preset-expo-10.0.2.tgz#5aae992b8c85dce6cf98334c9991d3052c567950"
integrity sha512-uWIGmLfbP3dS5+8nesxaW6mQs41d4iP7X82ZwRdisB/wAhKQmuJM9Y1jQe4006uNYkw6Phf2TT03ykLVro7KuQ== integrity sha512-hg06qdSTK7MjKmFXSiq6cFoIbI3n3uT8a3NI2EZoISWhu+tedCj4DQduwi+3adFuRuYvAwECI0IYn/5iGh5zWQ==
dependencies: dependencies:
"@babel/plugin-proposal-decorators" "^7.12.9" "@babel/plugin-proposal-decorators" "^7.12.9"
"@babel/plugin-transform-export-namespace-from" "^7.22.11" "@babel/plugin-transform-export-namespace-from" "^7.22.11"
@ -11876,7 +11869,7 @@ expo-eas-client@~0.11.0:
resolved "https://registry.yarnpkg.com/expo-eas-client/-/expo-eas-client-0.11.0.tgz#0f25aa497849cade7ebef55c0631093a87e58b07" resolved "https://registry.yarnpkg.com/expo-eas-client/-/expo-eas-client-0.11.0.tgz#0f25aa497849cade7ebef55c0631093a87e58b07"
integrity sha512-99W0MUGe3U4/MY1E9UeJ4uKNI39mN8/sOGA0Le8XC47MTbwbLoVegHR3C5y2fXLwLn7EpfNxAn5nlxYjY3gD2A== integrity sha512-99W0MUGe3U4/MY1E9UeJ4uKNI39mN8/sOGA0Le8XC47MTbwbLoVegHR3C5y2fXLwLn7EpfNxAn5nlxYjY3gD2A==
expo-file-system@^16.0.9: expo-file-system@^16.0.9, expo-file-system@~16.0.9:
version "16.0.9" version "16.0.9"
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-16.0.9.tgz#cbd6c4b228b60a6b6c71fd1b91fe57299fb24da7" resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-16.0.9.tgz#cbd6c4b228b60a6b6c71fd1b91fe57299fb24da7"
integrity sha512-3gRPvKVv7/Y7AdD9eHMIdfg5YbUn2zbwKofjsloTI5sEC57SLUFJtbLvUCz9Pk63DaSQ7WIE1JM0EASyvuPbuw== integrity sha512-3gRPvKVv7/Y7AdD9eHMIdfg5YbUn2zbwKofjsloTI5sEC57SLUFJtbLvUCz9Pk63DaSQ7WIE1JM0EASyvuPbuw==
@ -11886,11 +11879,6 @@ expo-file-system@~16.0.0:
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-16.0.1.tgz#326b7c2f6e53e1a0eaafc9769578aafb3f9c9f43" resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-16.0.1.tgz#326b7c2f6e53e1a0eaafc9769578aafb3f9c9f43"
integrity sha512-/U6ufN2wRPgg4m2a9sqbL3dThqQsysT022qulEXWnUTmNaqnzYSk9ihjDWqoqjXLi9slQLsyok5t6CNzhM7HPw== integrity sha512-/U6ufN2wRPgg4m2a9sqbL3dThqQsysT022qulEXWnUTmNaqnzYSk9ihjDWqoqjXLi9slQLsyok5t6CNzhM7HPw==
expo-file-system@~16.0.8:
version "16.0.8"
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-16.0.8.tgz#13c79a8e06e42a8e76e9297df6920597a011d989"
integrity sha512-yDbVT0TUKd7ewQjaY5THum2VRFx2n/biskGhkUmLh3ai21xjIVtaeIzHXyv9ir537eVgt4ReqDNWi7jcXjdUcA==
expo-font@~11.10.3: expo-font@~11.10.3:
version "11.10.3" version "11.10.3"
resolved "https://registry.yarnpkg.com/expo-font/-/expo-font-11.10.3.tgz#a3115ebda8e09bd7cb8052619a4bbe606f0c17f4" resolved "https://registry.yarnpkg.com/expo-font/-/expo-font-11.10.3.tgz#a3115ebda8e09bd7cb8052619a4bbe606f0c17f4"
@ -11984,10 +11972,10 @@ expo-modules-autolinking@1.10.3:
find-up "^5.0.0" find-up "^5.0.0"
fs-extra "^9.1.0" fs-extra "^9.1.0"
expo-modules-core@1.11.12: expo-modules-core@1.11.13:
version "1.11.12" version "1.11.13"
resolved "https://registry.yarnpkg.com/expo-modules-core/-/expo-modules-core-1.11.12.tgz#d5c7b3ed7ab57d4fb6885a0d8e10287dcf1ffe5f" resolved "https://registry.yarnpkg.com/expo-modules-core/-/expo-modules-core-1.11.13.tgz#a8e63ad844e966dce78dea40b50839af6c3bc518"
integrity sha512-/e8g4kis0pFLer7C0PLyx98AfmztIM6gU9jLkYnB1pU9JAfQf904XEi3bmszO7uoteBQwSL6FLp1m3TePKhDaA== integrity sha512-2H5qrGUvmLzmJNPDOnovH1Pfk5H/S/V0BifBmOQyDc9aUh9LaDwkqnChZGIXv8ZHDW8JRlUW0QqyWxTggkbw1A==
dependencies: dependencies:
invariant "^2.2.4" invariant "^2.2.4"
@ -12090,24 +12078,24 @@ expo-web-browser@~12.8.2:
compare-urls "^2.0.0" compare-urls "^2.0.0"
url "^0.11.0" url "^0.11.0"
expo@^50.0.8: expo@^50.0.17:
version "50.0.14" version "50.0.17"
resolved "https://registry.yarnpkg.com/expo/-/expo-50.0.14.tgz#ddcae86aa0ba8d1be3da9ad1bdda23fa539dc97d" resolved "https://registry.yarnpkg.com/expo/-/expo-50.0.17.tgz#ab0998d7e7c18e8d12efd9091f9688978b0e89ed"
integrity sha512-yLPdxCMVAbmeEIpzzyAuJ79wvr6ToDDtQmuLDMAgWtjqP8x3CGddXxUe07PpKEQgzwJabdHvCLP5Bv94wMFIjQ== integrity sha512-eD8Nh10BgVwecU7EVyogx7X314ajxVpJdFwkXhi341AD61S2WPX31NMHW82XGXas6dbDjdbgtaOMo5H/vylB7Q==
dependencies: dependencies:
"@babel/runtime" "^7.20.0" "@babel/runtime" "^7.20.0"
"@expo/cli" "0.17.8" "@expo/cli" "0.17.10"
"@expo/config" "8.5.4" "@expo/config" "8.5.6"
"@expo/config-plugins" "7.8.4" "@expo/config-plugins" "7.9.1"
"@expo/metro-config" "0.17.6" "@expo/metro-config" "0.17.7"
"@expo/vector-icons" "^14.0.0" "@expo/vector-icons" "^14.0.0"
babel-preset-expo "~10.0.1" babel-preset-expo "~10.0.2"
expo-asset "~9.0.2" expo-asset "~9.0.2"
expo-file-system "~16.0.8" expo-file-system "~16.0.9"
expo-font "~11.10.3" expo-font "~11.10.3"
expo-keep-awake "~12.8.2" expo-keep-awake "~12.8.2"
expo-modules-autolinking "1.10.3" expo-modules-autolinking "1.10.3"
expo-modules-core "1.11.12" expo-modules-core "1.11.13"
fbemitter "^3.0.0" fbemitter "^3.0.0"
whatwg-url-without-unicode "8.0.0-3" whatwg-url-without-unicode "8.0.0-3"