fix(ios): register Google Sign-In URL scheme to prevent launch crash

Merge duplicate CFBundleURLTypes entries in Info.plist so the Google
reversed-client-ID scheme and the donetick deep-link scheme coexist.
The second entry was overriding the first, causing GIDSignIn to throw
NSInvalidArgumentException for a missing URL scheme.
This commit is contained in:
Mo Tarbin
2026-07-16 19:40:34 -04:00
parent b77365e60f
commit 885427fa85
3 changed files with 13 additions and 17 deletions

View File

@@ -701,10 +701,7 @@ const LoginView = () => {
sx={{ mt: 3, mb: 2 }}
onClick={async () => {
try {
// Clear any cached session so the account picker shows
await SocialLogin.logout({ provider: 'google' }).catch(
() => {},
)
const user = await SocialLogin.login({
provider: 'google',
options: { scopes: ['profile', 'email', 'openid'] },