Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): iOS home screen widgets render instead of a containerBackground error #6464

Closedjakeleventhal(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/6464/headopened View on GitHub

Showing 16 changed files with 11 additions and 1 deletion (loading 14).

x
0 of 16 viewed, 16 left
6 additions and 1 deletionapps/mobile/src/features/agent-awareness/agentLiveActivity.ios.tsModified
View file
@@ -1,4 +1,9 @@
-import AgentActivity, { type AgentActivityProps } from "../../widgets/AgentActivity";
+import AgentActivity, {
+ publishAgentActivityWidget,
+ type AgentActivityProps,
+} from "../../widgets/AgentActivity";
+​
+export { publishAgentActivityWidget };
​
export function getAgentLiveActivities() {
return AgentActivity.getInstances();
5 additions and 0 deletionsapps/mobile/src/features/agent-awareness/agentLiveActivity.tsModified
View file
@@ -10,3 +10,8 @@
): LiveActivity<AgentActivityProps> | null {
return null;
+​
+/** Home-screen widgets only exist on iOS. */
+export function publishAgentActivityWidget(_props: AgentActivityProps): boolean {
+ return false;
+}
apps/mobile/src/features/agent-awareness/liveWidgetActivity.test.tsAdded
View file
Loading the diff
apps/mobile/src/features/agent-awareness/liveWidgetActivity.tsAdded
View file
Loading the diff