Files
jake b8f3468283 fix(native): add Apple privacy manifest and fix Sentry metro config
- Add `privacyManifests` to `app.json` declaring crash/performance/diagnostic data collection (unlinked, non-tracking, app functionality only) and required API access reasons for UserDefaults, SystemBootTime, and FileTimestamp
- Switch metro config from `withSentryConfig` wrapper to `getSentryExpoConfig` (Sentry's recommended Expo integration) and remove redundant `withSentryConfig` wrapping
2026-03-24 13:39:00 -04:00

193 lines
5.8 KiB
JSON

{
"expo": {
"name": "Sofa",
"slug": "sofa",
"owner": "jakejarvis",
"scheme": "sofa",
"orientation": "portrait",
"userInterfaceStyle": "dark",
"ios": {
"config": {
"usesNonExemptEncryption": false
},
"icon": "./assets/images/sofa.icon",
"bundleIdentifier": "com.jakejarvis.sofa",
"appleTeamId": "B5ZWKBCUTU",
"privacyManifests": {
"NSPrivacyCollectedDataTypes": [
{
"NSPrivacyCollectedDataType": "NSPrivacyCollectedDataTypeCrashData",
"NSPrivacyCollectedDataTypeLinked": false,
"NSPrivacyCollectedDataTypeTracking": false,
"NSPrivacyCollectedDataTypePurposes": [
"NSPrivacyCollectedDataTypePurposeAppFunctionality"
]
},
{
"NSPrivacyCollectedDataType": "NSPrivacyCollectedDataTypePerformanceData",
"NSPrivacyCollectedDataTypeLinked": false,
"NSPrivacyCollectedDataTypeTracking": false,
"NSPrivacyCollectedDataTypePurposes": [
"NSPrivacyCollectedDataTypePurposeAppFunctionality"
]
},
{
"NSPrivacyCollectedDataType": "NSPrivacyCollectedDataTypeOtherDiagnosticData",
"NSPrivacyCollectedDataTypeLinked": false,
"NSPrivacyCollectedDataTypeTracking": false,
"NSPrivacyCollectedDataTypePurposes": [
"NSPrivacyCollectedDataTypePurposeAppFunctionality"
]
}
],
"NSPrivacyAccessedAPITypes": [
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryUserDefaults",
"NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategorySystemBootTime",
"NSPrivacyAccessedAPITypeReasons": ["35F9.1"]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryFileTimestamp",
"NSPrivacyAccessedAPITypeReasons": ["C617.1"]
}
]
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/android-icon-foreground.png",
"backgroundImage": "./assets/images/android-icon-background.png",
"monochromeImage": "./assets/images/android-icon-monochrome.png"
},
"package": "com.jakejarvis.sofa"
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"deploymentTarget": "16.2"
}
}
],
"expo-router",
"expo-secure-store",
[
"expo-font",
{
"ios": {
"fonts": [
"./assets/fonts/DM_Sans/DMSans-Regular.ttf",
"./assets/fonts/DM_Sans/DMSans-Medium.ttf",
"./assets/fonts/DM_Sans/DMSans-SemiBold.ttf",
"./assets/fonts/DM_Sans/DMSans-Bold.ttf",
"./assets/fonts/DM_Serif_Display/DMSerifDisplay-Regular.ttf",
"./assets/fonts/Geist_Mono/GeistMono-Regular.ttf"
]
},
"android": {
"fonts": [
{
"fontFamily": "DM Sans",
"fontDefinitions": [
{
"path": "./assets/fonts/DM_Sans/DMSans-Regular.ttf",
"weight": 400
},
{
"path": "./assets/fonts/DM_Sans/DMSans-Medium.ttf",
"weight": 500
},
{
"path": "./assets/fonts/DM_Sans/DMSans-SemiBold.ttf",
"weight": 600
},
{
"path": "./assets/fonts/DM_Sans/DMSans-Bold.ttf",
"weight": 700
}
]
},
{
"fontFamily": "DM Serif Display",
"fontDefinitions": [
{
"path": "./assets/fonts/DM_Serif_Display/DMSerifDisplay-Regular.ttf",
"weight": 400
}
]
},
{
"fontFamily": "Geist Mono",
"fontDefinitions": [
{
"path": "./assets/fonts/Geist_Mono/GeistMono-Regular.ttf",
"weight": 400
}
]
}
]
}
}
],
[
"expo-splash-screen",
{
"backgroundColor": "#101010",
"image": "./assets/images/splash-icon.png",
"imageWidth": 200
}
],
"expo-system-ui",
"expo-web-browser",
[
"expo-image-picker",
{
"microphonePermission": false
}
],
"expo-localization",
[
"expo-widgets",
{
"groupIdentifier": "group.com.jakejarvis.sofa",
"bundleIdentifier": "com.jakejarvis.sofa.ExpoWidgetsTarget",
"widgets": [
{
"name": "ContinueWatching",
"displayName": "Continue Watching",
"description": "Your in-progress TV shows and movies",
"supportedFamilies": ["systemSmall"]
},
{
"name": "Upcoming",
"displayName": "Upcoming",
"description": "Upcoming episodes and movie releases",
"supportedFamilies": ["systemSmall"]
}
]
}
],
[
"@sentry/react-native/expo",
{
"organization": "jarvis-0a",
"project": "sofa-native"
}
]
],
"experiments": {
"typedRoutes": true,
"reactCompiler": true
},
"extra": {
"eas": {
"projectId": "a9f021eb-f58d-49af-b291-d72f7dc34051"
}
}
}
}