From 3273e7a0fbbce82f4ce6cacbcdb7b6d6848f6c1b Mon Sep 17 00:00:00 2001 From: JustZvan Date: Mon, 6 Apr 2026 15:32:51 +0200 Subject: feat: gallery scanning preferences --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 48dd63f..9f3bd8a 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,21 @@ Join our community of developers creating universal apps. - [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute. - [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions. + +## Google Auth Setup + +This app uses Google ID tokens from Expo Auth Session and sends them to backend endpoint `/signin/google`. + +Set these values in Expo config under `expo.extra` in `app.json` (or override with environment variables): + +- `GOOGLE_IOS_CLIENT_ID` or `EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID` +- `GOOGLE_ANDROID_CLIENT_ID` or `EXPO_PUBLIC_GOOGLE_ANDROID_CLIENT_ID` +- `GOOGLE_WEB_CLIENT_ID` or `EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID` (used for Expo Go / web-based auth session) + +Notes: + +- Use OAuth client IDs from Google Cloud Console. +- Ensure IDs match this app: + - Android package: `sh.lajo.buddyforparents` + - iOS bundle ID: `sh.lajo.buddyforparents` +- The frontend sends `idToken` to backend, and backend handles both existing-user sign-in and automatic account creation. -- cgit v1.2.3