Skip to content

Commit e9c3d7e

Browse files
authored
feat: upgrade to sdk 55 canary (calcom#25810)
1 parent c218a0a commit e9c3d7e

6 files changed

Lines changed: 2654 additions & 16646 deletions

File tree

companion/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"projectId": "f5e97f6f-1e95-44ac-bfa4-f737ef90f198"
3939
}
4040
},
41-
"owner": "calcoms-organization"
41+
"owner": "calcoms-organization",
42+
"plugins": ["expo-router", "expo-secure-store", "expo-web-browser"]
4243
}
4344
}

companion/app/(tabs)/_layout.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Ionicons } from "@expo/vector-icons";
22
import { isLiquidGlassAvailable } from "expo-glass-effect";
33
import { Tabs } from "expo-router";
4-
import { NativeTabs, Icon, Label } from "expo-router/unstable-native-tabs";
4+
import { NativeTabs } from "expo-router/unstable-native-tabs";
55
import { Platform } from "react-native";
66

77
export default function TabLayout() {
@@ -13,23 +13,23 @@ export default function TabLayout() {
1313
return (
1414
<NativeTabs>
1515
<NativeTabs.Trigger name="event-types">
16-
<Icon sf="link" />
17-
<Label>Event Types</Label>
16+
<NativeTabs.Trigger.Icon sf="link" />
17+
<NativeTabs.Trigger.Label>Event Types</NativeTabs.Trigger.Label>
1818
</NativeTabs.Trigger>
1919

2020
<NativeTabs.Trigger name="bookings">
21-
<Icon sf="calendar" />
22-
<Label>Bookings</Label>
21+
<NativeTabs.Trigger.Icon sf="calendar" />
22+
<NativeTabs.Trigger.Label>Bookings</NativeTabs.Trigger.Label>
2323
</NativeTabs.Trigger>
2424

2525
<NativeTabs.Trigger name="availability">
26-
<Icon sf="clock" />
27-
<Label>Availability</Label>
26+
<NativeTabs.Trigger.Icon sf="clock" />
27+
<NativeTabs.Trigger.Label>Availability</NativeTabs.Trigger.Label>
2828
</NativeTabs.Trigger>
2929

3030
<NativeTabs.Trigger name="more">
31-
<Icon sf="ellipsis" />
32-
<Label>More</Label>
31+
<NativeTabs.Trigger.Icon sf="ellipsis" />
32+
<NativeTabs.Trigger.Label>More</NativeTabs.Trigger.Label>
3333
</NativeTabs.Trigger>
3434
</NativeTabs>
3535
);

companion/app/oauth/callback.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import React, { useEffect } from "react";
2-
import { View, Text, ActivityIndicator } from "react-native";
2+
import { View, Text, ActivityIndicator, Platform } from "react-native";
33
import { useRouter, useLocalSearchParams } from "expo-router";
44

55
export default function OAuthCallback() {
66
const router = useRouter();
77
const params = useLocalSearchParams();
88

99
useEffect(() => {
10+
if (Platform.OS !== "web") return;
11+
1012
// Extract code, state, and error parameters from URL
1113
const code = params.code as string;
1214
const state = params.state as string;

0 commit comments

Comments
 (0)