Fix iOS Google sign-in failing with multiple windows or scenes
Fixed iOS Google sign-in that was failing with GOOGLE_SIGN_IN_ERROR in apps with multiple windows or scenes by resolving the presenting view controller from the key window of the foreground-active scene, preventing overlays and other windows from breaking the sign-in flow.
Patch Changes
- Fix iOS Google sign-in failing with
GOOGLE_SIGN_IN_ERRORin apps with more than one window or scene. The presenting view controller is now resolved from the key window of the foreground-active scene instead of an arbitrary window, so overlays such as splash screens or windows created by other modules no longer break the sign-in flow. (#9505) by @wobsoriano
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
@clerk/expo-native-components package introduced
A new @clerk/expo-native-components package is now required for native components (AuthView, UserButton, UserProfileView). Install it before deploying over-the-air updates as errors occur at runtime; import native components from @clerk/expo/native-components and deprecate the old @clerk/expo/native import path.
@clerk/expo-native-components 0.1.0
Introduces @clerk/expo-native-components, a new required package for native components (AuthView, UserButton, UserProfileView). Import native components from @clerk/expo/native-components instead of the deprecated @clerk/expo/native, and install the new package before shipping over-the-air updates to avoid runtime errors.
@clerk/ui@1.40.1
Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.