From ebf1711c2b051d01a60dced94c2f5124d27e678a Mon Sep 17 00:00:00 2001 From: Bretton Date: Tue, 2 Dec 2025 15:25:14 -0800 Subject: [PATCH] feat: update OAuth config for private-use URI scheme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch from development callback URL to proper atproto-compliant private-use URI scheme (RFC 8252): - Scheme: social.coves:/callback (single slash per spec) - Works on both Android and iOS without Universal Links complexity Platform changes: - Android: Update CallbackActivity intent filter scheme - iOS: Update CFBundleURLSchemes in Info.plist - Remove taskAffinity from MainActivity (not needed) Dependencies: - Add flutter_web_auth_2 for browser-based OAuth - Remove atproto_oauth_flutter path dependency (to be deleted) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- android/app/src/main/AndroidManifest.xml | 7 +-- ios/Runner/Info.plist | 2 +- lib/config/oauth_config.dart | 73 ++++++------------------ pubspec.lock | 17 +----- pubspec.yaml | 4 +- 5 files changed, 22 insertions(+), 81 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 443574d..65c8d4f 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,7 +9,6 @@ android:name=".MainActivity" android:exported="true" android:launchMode="singleTop" - android:taskAffinity="" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" @@ -30,7 +29,7 @@ - + @@ -38,9 +37,7 @@ - - - +