Files
sofa/apps/native/app.json
T
jake 923651a7ae refactor(native): bundle fonts locally and replace @expo-google-fonts packages
Replace the three `@expo-google-fonts` npm dependencies (dm-sans, dm-serif-display, geist-mono) with locally vendored TTF files under `assets/fonts/`. Update `app.json` font paths accordingly and consolidate the four separate DM Sans Android font-family entries into a single `"DM Sans"` family with multiple weight definitions. Rename font family identifiers throughout components and `global.css` to match the simplified names (`DM Sans`, `DM Serif Display`, `Geist Mono`).
2026-03-16 12:02:14 -04:00

130 lines
3.5 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"
},
"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-router",
{
"root": "./src/app"
}
],
[
"expo-secure-store",
{
"configureAndroidBackup": true
}
],
[
"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-image-picker",
{
"microphonePermission": false
}
],
["expo-localization"],
[
"expo-tracking-transparency",
{
"userTrackingPermission": "This identifier will be used to measure app performance and improve your experience."
}
]
],
"experiments": {
"typedRoutes": true,
"reactCompiler": true
},
"extra": {
"eas": {
"projectId": "a9f021eb-f58d-49af-b291-d72f7dc34051"
}
}
}
}