convex-swift subscriptions do not work when the convex client is authenticated
Environment:
ConvexMobile Swift client version: 0.5.5 VersionInfo.swift:3
Authentication provider: Clerk
Platform: iOS
Convex Backend version: 1.24.1
Issue Details:
1. Authentication Flow: Using ConvexClientWithAuth with a custom ClerkProvider that implements the AuthProvider protocol
2. Problem: When I call convexClient.login() before setting up subscriptions, the subscriptions never receive values and the Convex functions are never executed on the backend
3. Current Coordination: I'm monitoring the authState publisher and only setting up subscriptions after receiving .authenticated state
Logs:
Here is a deepwiki link that shows my conversation with devin about the problem: https://deepwiki.com/search/why-would-my-subscriptions-not_17ec9c2a-d968-4acf-9e51-9a78f374cfdc
Would appreciate any help with this, been banging my head against it for a couple days now and happy to provide
