Files
Dhairyashil ShindeandGitHub fa53f54815 feat(companion): add configurable landing page (#27267)
* feat(companion): add configurable landing page feature

- Add useUserPreferences hook for persistent storage of landing page preference
- Add LandingPagePicker component for both iOS and Android/web platforms
- Update tabs index to redirect based on user preference
- Update bookings index to accept initial filter from URL params
- Add App Settings section in More screen with landing page selector
- Clear user preferences on logout for fresh state

* fix(companion): remove try-finally for React Compiler compatibility

* fix(companion): use router.replace for dynamic landing page redirect

Replace Redirect component with router.replace() to fix TypeScript
strict typing issue with expo-router's Href type for dynamic routes.

* fix(companion): use literal route strings for TypeScript strict typing

Use switch statement with literal route strings instead of dynamic
string variable to satisfy expo-router's strict Href type checking.

* working fix

* better css
2026-02-13 11:28:42 -03:00

120 lines
3.1 KiB
JSON

{
"expo": {
"name": "Calcom",
"slug": "calcom-companion",
"scheme": "calcom",
"version": "1.0.4",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": false,
"appleTeamId": "ADWKXDJV75",
"deploymentTarget": "18.0",
"bundleIdentifier": "com.cal.companion",
"userInterfaceStyle": "automatic",
"infoPlist": {
"ITSAppUsesNonExemptEncryption": false
},
"entitlements": {
"com.apple.developer.default-data-protection": "NSFileProtectionComplete",
"com.apple.security.application-groups": ["group.com.cal.companion"]
},
"icon": "./assets/cal-logo.icon"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"package": "com.calcom.companion",
"softwareKeyboardLayoutMode": "pan",
"usesCleartextTraffic": false,
"userInterfaceStyle": "automatic"
},
"web": {
"favicon": "./assets/favicon.png",
"bundler": "metro"
},
"extra": {
"eas": {
"projectId": "f5e97f6f-1e95-44ac-bfa4-f737ef90f198"
}
},
"owner": "calcoms-organization",
"plugins": [
"expo-router",
"expo-secure-store",
"expo-web-browser",
"expo-image",
[
"expo-splash-screen",
{
"backgroundColor": "#ffffff",
"image": "./assets/splash-icon.png",
"imageWidth": 200
}
],
[
"@react-native-community/datetimepicker",
{
"android": {
"datePicker": {
"colorAccent": {
"light": "#000000"
},
"textColorPrimary": {
"light": "#000000"
}
},
"timePicker": {
"background": {
"light": "#ffffff"
},
"numbersBackgroundColor": {
"light": "#ffffff"
},
"headerBackground": {
"light": "#000000"
},
"numbersSelectorColor": {
"light": "#000000"
}
}
}
}
],
"@bacons/apple-targets",
[
"react-native-android-widget",
{
"widgets": [
{
"name": "UpcomingBookingsWidget",
"label": "Upcoming Bookings",
"minWidth": "180dp",
"minHeight": "110dp",
"description": "View your upcoming Cal.com bookings",
"previewImage": "./assets/widget-preview.png",
"resizeMode": "horizontal|vertical",
"targetCellWidth": 3,
"targetCellHeight": 2
}
]
}
]
],
"experiments": {
"typedRoutes": true,
"reactCompiler": true
}
}
}