aboutyou / dart_packages

Dart and Flutter plugins maintained and used by @ABOUTYOU
222 stars 150 forks source link

Cannot find symbol ... sign_in_with_apple.SignInWithApplePlugin() #420

Open carpentierchloe opened 7 months ago

carpentierchloe commented 7 months ago

I am getting this error when I try to build an appbundle : flutterEngine.getPlugins().add(new com.aboutyou.dart_packages.sign_in_with_apple.SignInWithApplePlugin());

I already did :

sign_in_with_apple: ^6.1.0

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale fr-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] Connected device (3 available) [✓] Network resources

luanbatistadev commented 6 months ago

Same problem here: mobile/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:169: error: cannot find symbol [ ] flutterEngine.getPlugins().add(new com.aboutyou.dart_packages.sign_in_with_apple.SignInWithApplePlugin()); [ ] ^ [ ] symbol: class SignInWithApplePlugin [ ] location: package com.aboutyou.dart_packages.sign_in_with_apple [ ] 1 error

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale pt-BR) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] VS Code (version 1.88.0) [✓] Connected device (4 available) [✓] Network resources

at version 5.0.0, 6.0.0, 6.1.0

luanbatistadev commented 6 months ago

For me it worked again with the following steps: fix the version at 6.1.0 sign_in_with_apple: 6.1.0 and run flutter clean rm pubspec.lock flutter pub get

at api 33 tiramisu android 13 @carpentierchloe

ElvistLui commented 6 months ago

Same problem but only in debug mode. Run successful in release mode. It's really confusing

lbinscheck commented 6 months ago

flutter clean && flutter pub get was enough for me

bearlysophisticated commented 5 months ago

flutter clean && flutter pub get was enough for me

For me too

SunilKividor commented 4 months ago

I am getting - SignInWithAppleAuthorizationException(AuthorizationErrorCode.unknown, The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.))

Can anyone help with this ?