Skip to content

OAuth for Google and Apple on all platforms #2673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@
android:scheme="https"
android:pathPattern="/apps/.*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="omi" />
</intent-filter>
</activity>

<!-- Don't delete the meta-data below.
Expand Down
91 changes: 29 additions & 62 deletions app/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
PODS:
- app_links (0.0.2):
- Flutter
- AppAuth (1.7.6):
- AppAuth/Core (= 1.7.6)
- AppAuth/ExternalUserAgent (= 1.7.6)
- AppAuth/Core (1.7.6)
- AppAuth/ExternalUserAgent (1.7.6):
- AppAuth/Core
- audio_session (0.0.1):
- Flutter
- awesome_notifications (0.10.0):
Expand Down Expand Up @@ -125,24 +119,16 @@ PODS:
- flutter_sound_core (9.28.0)
- flutter_timezone (0.0.1):
- Flutter
- flutter_web_auth_2 (5.0.0-alpha.2):
- Flutter
- frame_sdk (0.0.2):
- Flutter
- geolocator_apple (1.2.0):
- Flutter
- FlutterMacOS
- google_sign_in_all_platforms_mobile (0.0.1):
- Flutter
- google_sign_in_ios (0.0.1):
- Flutter
- FlutterMacOS
- GoogleSignIn (~> 7.0.0)
- GoogleDataTransport (10.1.0):
- nanopb (~> 3.30910.0)
- PromisesObjC (~> 2.4)
- GoogleSignIn (7.0.0):
- AppAuth (~> 1.5)
- GTMAppAuth (< 3.0, >= 1.3)
- GTMSessionFetcher/Core (< 4.0, >= 1.1)
- GoogleUtilities/AppDelegateSwizzler (8.1.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
Expand All @@ -167,9 +153,6 @@ PODS:
- GoogleUtilities/UserDefaults (8.1.0):
- GoogleUtilities/Logger
- GoogleUtilities/Privacy
- GTMAppAuth (2.0.0):
- AppAuth/Core (~> 1.6)
- GTMSessionFetcher/Core (< 4.0, >= 1.5)
- GTMSessionFetcher/Core (3.5.0)
- image_picker_ios (0.0.1):
- Flutter
Expand Down Expand Up @@ -240,8 +223,6 @@ PODS:
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sign_in_with_apple (0.0.1):
- Flutter
- sqflite_darwin (0.0.4):
- Flutter
- FlutterMacOS
Expand Down Expand Up @@ -275,10 +256,9 @@ DEPENDENCIES:
- flutter_silero_vad (from `.symlinks/plugins/flutter_silero_vad/ios`)
- flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)
- flutter_timezone (from `.symlinks/plugins/flutter_timezone/ios`)
- flutter_web_auth_2 (from `.symlinks/plugins/flutter_web_auth_2/ios`)
- frame_sdk (from `.symlinks/plugins/frame_sdk/ios`)
- geolocator_apple (from `.symlinks/plugins/geolocator_apple/darwin`)
- google_sign_in_all_platforms_mobile (from `.symlinks/plugins/google_sign_in_all_platforms_mobile/ios`)
- google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- instabug_flutter (from `.symlinks/plugins/instabug_flutter/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
Expand All @@ -295,14 +275,12 @@ DEPENDENCIES:
- posthog_flutter (from `.symlinks/plugins/posthog_flutter/ios`)
- share_plus (from `.symlinks/plugins/share_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)

SPEC REPOS:
trunk:
- AppAuth
- DKImagePickerController
- DKPhotoGallery
- Firebase
Expand All @@ -316,9 +294,7 @@ SPEC REPOS:
- FirebaseMessaging
- flutter_sound_core
- GoogleDataTransport
- GoogleSignIn
- GoogleUtilities
- GTMAppAuth
- GTMSessionFetcher
- Instabug
- Intercom
Expand Down Expand Up @@ -377,14 +353,12 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_sound/ios"
flutter_timezone:
:path: ".symlinks/plugins/flutter_timezone/ios"
flutter_web_auth_2:
:path: ".symlinks/plugins/flutter_web_auth_2/ios"
frame_sdk:
:path: ".symlinks/plugins/frame_sdk/ios"
geolocator_apple:
:path: ".symlinks/plugins/geolocator_apple/darwin"
google_sign_in_all_platforms_mobile:
:path: ".symlinks/plugins/google_sign_in_all_platforms_mobile/ios"
google_sign_in_ios:
:path: ".symlinks/plugins/google_sign_in_ios/darwin"
image_picker_ios:
:path: ".symlinks/plugins/image_picker_ios/ios"
instabug_flutter:
Expand Down Expand Up @@ -417,8 +391,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/share_plus/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sign_in_with_apple:
:path: ".symlinks/plugins/sign_in_with_apple/ios"
sqflite_darwin:
:path: ".symlinks/plugins/sqflite_darwin/darwin"
url_launcher_ios:
Expand All @@ -427,20 +399,19 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/webview_flutter_wkwebview/darwin"

SPEC CHECKSUMS:
app_links: f3e17e4ee5e357b39d8b95290a9b2c299fca71c6
AppAuth: d4f13a8fe0baf391b2108511793e4b479691fb73
audio_session: 19e9480dbdd4e5f6c4543826b2e8b0e4ab6145fe
awesome_notifications: dd5518ff1c80be03d4f1c40f04da9d9cc2a37af5
awesome_notifications_core: d02eed89738fa362d56cbd372850e9adcd2c6bef
connectivity_plus: 2a701ffec2c0ae28a48cf7540e279787e77c447d
device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d
app_links: 76b66b60cc809390ca1ad69bfd66b998d2387ac7
audio_session: 9bb7f6c970f21241b19f5a3658097ae459681ba0
awesome_notifications: 0f432b28098d193920b11a44cfa9d2d9313a3888
awesome_notifications_core: 429c28df8746780a474de177e5acde33af87da63
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
file_picker: b159e0c068aef54932bb15dc9fd1571818edaf49
file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be
Firebase: 1fe1c0a7d9aaea32efe01fbea5f0ebd8d70e53a2
firebase_auth: 3f532201cbdc7cd6dfc3bfa89affc0c294111e20
firebase_core: 432718558359a8c08762151b5f49bb0f093eb6e0
firebase_messaging: 3b99522baf7480dfb4b7683d2b34e842d577c362
firebase_auth: 83bf106e5ac670dd3a0af27a86be6cba16a85723
firebase_core: 2d4534e7b489907dcede540c835b48981d890943
firebase_messaging: 75bc93a4df25faccad67f6662ae872ac9ae69b64
FirebaseAppCheckInterop: a92ba81d0ee3c4cddb1a2e52c668ea51dc63c3ae
FirebaseAuth: c4146bdfdc87329f9962babd24dae89373f49a32
FirebaseAuthInterop: e25b58ecb90f3285085fa2118861a3c9dfdc62ad
Expand All @@ -450,25 +421,22 @@ SPEC CHECKSUMS:
FirebaseInstallations: 9980995bdd06ec8081dfb6ab364162bdd64245c3
FirebaseMessaging: 2b9f56aa4ed286e1f0ce2ee1d413aabb8f9f5cb9
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_archive: cb3e0219e555897ba4b36f166baa1eca394890b9
flutter_background_service_ios: e30e0d3ee69e4cee66272d0c78eacd48c2e94aac
flutter_blue_plus: 4837da7d00cf5d441fdd6635b3a57f936778ea96
flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817
flutter_native_splash: f71420956eb811e6d310720fee915f1d42852e7a
flutter_silero_vad: bcad5bcce50bd7f63b772ad3f46f9ce1995dd833
flutter_sound: 82aba29055d6feba684d08906e0623217b87bcd3
flutter_archive: ad8edfd7f7d1bb12058d05424ba93e27d9930efe
flutter_background_service_ios: 00d31bdff7b4bfe06d32375df358abe0329cf87e
flutter_blue_plus: e5808fc4e5ebc58bb911635f8fdaf5e2b4da2754
flutter_foreground_task: a159d2c2173b33699ddb3e6c2a067045d7cebb89
flutter_native_splash: 6cad9122ea0fad137d23137dd14b937f3e90b145
flutter_silero_vad: 623c22e30420ae174857926385670b9f6e52e4b9
flutter_sound: b9236a5875299aaa4cef1690afd2f01d52a3f890
flutter_sound_core: 427465f72d07ab8c3edbe8ffdde709ddacd3763c
flutter_timezone: ee50ce7786b5fde27e2fe5375bbc8c9661ffc13f
flutter_web_auth_2: c35a99b4799ad94b0dc140880f406cf59a4af866
frame_sdk: 4d4df786d828557bf57e05f6f1856613896cc9db
geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e
google_sign_in_all_platforms_mobile: e0378d33ac45af48bea7420dfb886832a5cf0731
google_sign_in_ios: 39f46834c156be9a4dfef914258e0145b7117725
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
GoogleSignIn: b232380cf495a429b8095d3178a8d5855b42e842
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
GTMAppAuth: 99fb010047ba3973b7026e45393f51f27ab965ae
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
Instabug: 97a4e694731f46bbc02dbe49ab29cc552c5e2f41
instabug_flutter: 0a2d35be020c80b2b63bd8337a94a3f2ffe65bc0
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
Expand All @@ -481,9 +449,9 @@ SPEC CHECKSUMS:
map_launcher: fe43bda6720bb73c12fcc1bdd86123ff49a4d4d6
mcumgr_flutter: 8c4a598cb1b4d10a9adbc0f13288334297185506
Mixpanel-swift: 7b26468fc0e2e521104e51d65c4bbf7cab8162f8
mixpanel_flutter: c2bb8345c90bef15512a1b812ec800b52f8614b6
mixpanel_flutter: a0b6b937035899cd01951735ad5f87718b2ffee5
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
nordic_dfu: 963e2e4e6afb04e515ff43c546e6f8abf3e04ed5
nordic_dfu: e4fb6f461f4a290b28ea4b1dfb69071665cdfa3e
onnxruntime-c: e87399683ec19e3b812e13c6692882609a802b86
onnxruntime-objc: 57ae8f83779a4c32731065d50d02d042af581114
opus_flutter_ios: f16ed3599997ced564ad44509e87003159a86def
Expand All @@ -497,15 +465,14 @@ SPEC CHECKSUMS:
SDWebImage: f29024626962457f3470184232766516dee8dfea
share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
sign_in_with_apple: c5dcc141574c8c54d5ac99dd2163c0c72ad22418
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
SwiftCBOR: ce5354ec8b660da2d6fc754462881119dbe1f963
SwiftProtobuf: b7aa08087e2ab6d162862d143020091254095f69
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
webview_flutter_wkwebview: a4af96a051138e28e29f60101d094683b9f82188
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2
ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c

PODFILE CHECKSUM: 0ff3dedbc65a62aff6be5119a19cb4fd9e15742d

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
10 changes: 1 addition & 9 deletions app/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 60;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -302,14 +302,10 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
Expand Down Expand Up @@ -394,14 +390,10 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
Expand Down
10 changes: 10 additions & 0 deletions app/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
<string>$(GOOGLE_REVERSE_CLIENT_ID)</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>omi.auth</string>
<key>CFBundleURLSchemes</key>
<array>
<string>omi</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
Expand Down
Loading