Skip to content

Commit 871298f

Browse files
mikepitreclaude
andcommitted
refactor(expo-native): remove legacy client sync bridge
Remove configure, getClientToken, syncClientStateFromJs and the clerkNativeClientChanged event from the iOS and Android ClerkExpo module, along with the client observation loop and JS-sync suppression state that only served them. The JS engine now uses configureNative, getDeviceToken, setDeviceToken, refreshClient and clerkNativeClientInvalidated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent ec9a54c commit 871298f

6 files changed

Lines changed: 17 additions & 757 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

‎packages/expo-native/android/src/main/java/expo/modules/clerk/ClerkAuthViewModule.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ClerkAuthNativeView(context: Context, appContext: AppContext) : ClerkCompo
6464
private val onHostBack by EventDispatcher()
6565

6666
init {
67-
// At cold start, ClerkExpoModule.configure() may run before React's
67+
// At cold start, ClerkExpoModule.configureNative() may run before React's
6868
// host-resume sync, so this view's construction is a reliable second hook.
6969
activity?.let { Clerk.attachActivity(it) }
7070
}

0 commit comments

Comments
 (0)