-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Unable to do google sign-in on ios device after adding the mobile_scanner in the pubspec.yaml #1246
Comments
Google sign in is working fine on the android device. It seems that there might be a a conflicting package. I would be happy to setup a video call to discuss this |
What version of |
` flutter doctor -v [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.95.3) [✓] Connected device (6 available) [✓] Network resources • No issues found! google_sign_in: ^6.2.2 No logs show up. |
If you run your app from XCode, do you see anything in the XCode terminal? |
it doesn't produce any error in the xcode terminal when i click on the sign in button. Btw this issue also exists for the google_mlkit_barcode_scanning: ^0.13.0 package. |
not getting anything on the web inspector either iphone.debug.mov |
I think the iOS 18 simulator is having issues with pods that exclude the arm64 architecture. You can try using a simulator running iOS 17 or earlier. |
If this is related to arm64, can you verify if this works with https://pub.dev/packages/mobile_scanner/versions/7.0.0-beta.3 ? Version 7 restores compatibility with arm64 simulators. |
Yes, it works fine with the version 7 on iOS 18 simulator |
@WaliHassanKhan can you verify if https://pub.dev/packages/mobile_scanner/versions/7.0.0-beta.3 works for you, per #1246 (comment) |
it is working fine on mobile_scanner: ^7.0.0-beta.4 |
Hmm, then I wouldn't know what is causing this out of the top of my head. |
@navaronbracke this is because of the See related issues See the comment: flutter/flutter#79641 (comment) |
@hls-app Thanks for that info! @WaliHassanKhan Version 6.0.2 dropped arm64 support for the Simulator, since MLKit 7.0.0 didn't support it. You probably want to use version 7.0.0-beta.6 then, or stick with 6.0.2 for now, but then you won't be able to use the iOS Simulator. |
Screen.Recording.2024-11-24.at.10.08.19.PM.mov
Anyone knows whats going on here?
This is running fine on android. But not on IOS.
The text was updated successfully, but these errors were encountered: