Back to Diary

Implemented Supabase auth with Google and Apple Sign-In

Implementation
8 sessions3 commits#auth #supabase #google-signin #apple-signin #testflight #android-build

Development Diary - January 2, 2026

📋Daily Summary

Major authentication milestone. Implemented full Supabase auth stack with Google and Apple Sign-In support for iOS, Android, and web. Configured Apple Developer OAuth settings, generated JWT client secrets, and set up TestFlight for iOS testing. Built Android preview builds and researched analytics tracking strategy with GA4.


🕐Work Sessions

Session 1: App Store Submission (12:42 AM - 8:27 PM)

Focus: TestFlight and App Distribution

Activities:

  • Worked through TestFlight approval process
  • Rebuilt app with auth implementation (version 1.1.1)
  • Troubleshot iPad device detection for local testing
  • Explored options for sharing test builds with non-technical users
  • Resolved "ready to submit" status issues

Key Prompts:

  • "I forgot to add auth to the app. should i go over the process again?"
  • "is there any way i can test the app on my iOS device without Apple approval?"
  • "how can i share the file with people who want to try the app on their iphone?"

Session 2: Session Cleanup (12:44 AM)

Focus: Context management


Session 3: Auth Implementation (12:45 AM - 9:02 AM)

Focus: Supabase Auth Stack

Activities:

  • Implemented cross-platform auth (Android, iOS, web)
  • Configured Google OAuth credentials in Google Cloud Console
  • Set up Apple Sign-In with Service ID and Key ID
  • Generated JWT client secret for Apple OAuth
  • Connected Supabase MCP and ran schema
  • Configured redirect URLs and domains
  • Tested Google Sign-In (success) and Apple Sign-In (success)
  • Built iOS dev build for testing

Key Prompts:

  • "let's implement auth for the app considering we need to support Android, iOS, and web"
  • "where can i find Client ID/Secret from Google Cloud Console"
  • "how do I set up Apple OAuth"
  • "test google sign in again"
  • "apple sign in worked, what's next"

Session 4: App Testing (8:57 AM - 9:12 AM)

Focus: Verification

Activities:

  • Started app and verified functionality
  • Ran tests to check auth integration

Session 5: Editor Bug Fix (9:03 AM - 9:49 AM)

Focus: Checklist/Bullet Regression

Activities:

  • Investigated checklist/bullet line change issue
  • Identified regression from previous working state

Key Prompts:

  • "when entered in checklist or bullet mode, line changes within checklist or bullet instead of creating a new line"

Session 6: UI Polish and Builds (9:13 AM - 7:40 PM)

Focus: Toast Styling and Android Builds

Activities:

  • Centered Add Labels toast with teal brand colors
  • Built Android preview, production, and testing builds
  • Troubleshot builds missing auth implementation

Key Prompts:

  • "place the Add labels toast at the center of screen"
  • "build an Android app for preview"
  • "this latest version didn't pickup auth we just implemented"

Session 7: Monetization Planning (9:50 AM)

Focus: Documentation

Activities:

  • Started work on monetization strategy document

Session 8: Analytics Research (7:42 PM - 11:13 PM)

Focus: Tracking Implementation Planning

Activities:

  • Researched analytics tracking for world-class apps
  • Explored GA4/GTM as cost-effective alternative to paid monitoring
  • Documented analytics implementation plan

Key Prompts:

  • "help me come up with the right tracking for both iOS and Android"
  • "I don't want to use paid service for monitoring just yet. any way I can use GA4/GTM for this?"

🏷️Categorized Work

Implementation

  • Supabase auth with Google and Apple Sign-In (15 files, 3,396 lines)
  • Auth service, sync service, and migration service
  • Auth store and callback handling
  • Sign in with Apple TestFlight setup (14 files)
  • Centered label suggestion toast with brand colors
  • Comprehensive unit tests for auth flow

Documentation

  • AUTH-CONFIGURATION.md with setup instructions
  • Updated PRIVACY_POLICY.md
  • Analytics implementation plan

Research

  • App Store submission process
  • GA4/GTM analytics for mobile apps

📸Screenshots

No screenshots captured for this session


💡Insights & Learnings

Decision: Used Supabase for auth to support all platforms (iOS, Android, web) with single backend.

Learning: Apple Sign-In requires JWT client secret generation with specific Service ID and Key ID configuration.

Decision: Starting with GA4/GTM for analytics before committing to paid monitoring services.


📊Statistics

🕐
8
Sessions
📝
3
Commits
📁
30
Files Changed
4,133
Lines Added
653
Lines Deleted
🏷️
Implementation
Primary Category

🎯Tomorrow's Focus

  • Complete TestFlight approval
  • Test auth on all platforms
  • Begin analytics implementation

Generated with ToonNotes Development Diary