juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
901 stars 518 forks source link

Unable to do google sign-in on ios device after adding the mobile_scanner in the pubspec.yaml #1246

Open WaliHassanKhan opened 1 day ago

WaliHassanKhan commented 1 day ago

https://github.com/user-attachments/assets/9bfaa9e9-0ec3-4b9b-b942-6337a3448a94

Anyone knows whats going on here?

This is running fine on android. But not on IOS.

WaliHassanKhan commented 18 hours ago

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

navaronbracke commented 7 hours ago

What version of mobile_scanner and google_sign_in are you using? Can you provide your flutter doctor -v output? Do you see any logs in the console?

WaliHassanKhan commented 7 hours ago

` flutter doctor -v [✓] Flutter (Channel stable, 3.24.3, on macOS 14.5 23F79 darwin-arm64, locale en-US) • Flutter version 3.24.3 on channel stable at /Users/walihassankhan/Documents/Flutter_SDK/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/walihassankhan/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16A242d • CocoaPods version 1.16.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.95.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.100.0

[✓] Connected device (6 available) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 15 (API 35) (emulator) • iPhone (mobile) • 00008120-0001645C1A28C01E • ios • iOS 17.5.1 21F90 • iPhone 16 Pro (mobile) • BDEE2F92-BE40-4128-8DCE-5B14AE59C3FB • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.86

[✓] Network resources • All expected network resources are available.

• No issues found! `

google_sign_in: ^6.2.2 mobile_scanner: ^6.0.2

No logs show up.

navaronbracke commented 5 hours ago

If you run your app from XCode, do you see anything in the XCode terminal?