Skip to content

Instantly share code, notes, and snippets.

@catalinmiron
Created April 16, 2024 20:36
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save catalinmiron/d2cabb835088d0342bc48030464ee615 to your computer and use it in GitHub Desktop.
Save catalinmiron/d2cabb835088d0342bc48030464ee615 to your computer and use it in GitHub Desktop.
Expo app.json Apple Privacy Manifest

About

The privacy details that you may need to add for Apple Privacy Manifest.

This config plugin it's already available from expo >=50.0.17 (Part of this PR by aleqsio)

Tip

Read more about Privacy Manifest File from Apple docs


AnimateReactNative.com - Premium and Custom React Native animations.
AnimateReactNative.com - Premium and Custom React Native animations

For more information, visit: https://www.animatereactnative.com

{
"expo": {
"scheme": "your_scheme",
...
"plugins": [...],
"ios": {
...
"privacyManifests": {
"NSPrivacyAccessedAPITypes": [
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryFileTimestamp",
"NSPrivacyAccessedAPITypeReasons": [
"C617.1"
]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategorySystemBootTime",
"NSPrivacyAccessedAPITypeReasons": [
"35F9.1"
]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryDiskSpace",
"NSPrivacyAccessedAPITypeReasons": [
"E174.1"
]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryUserDefaults",
"NSPrivacyAccessedAPITypeReasons": [
"CA92.1"
]
}
]
}
},
"android": {
...
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment