Open YankoSoulisimo opened 3 months ago
6.1.1 removed the Flutter embedding V1, but it does not look like this is the issue here.
Could you please try the preview release @ https://pub.dev/packages/sign_in_with_apple/versions/6.1.2-beta1?
It should only fix a warning and not be a required update, but maybe you're lucky and this'll fix your issue :)
Hello, I have been using the sign_in_with_apple plugin for quite a long time. Recently I updated from version 6.1.0 to 6.1.1. After, when running on Android I get:
e: file:///Users/xxx/.pub-cache/hosted/pub.dev/sign_in_with_apple-6.1.1/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt:19:5 Conflicting declarations: val TAG: String e: file:///Users/xxx/.pub-cache/hosted/pub.dev/sign_in_with_apple-6.1.1/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt:146:13 Overload resolution ambiguity between candidates: val TAG: String val TAG: String e: file:///Users/xxx/.pub-cache/hosted/pub.dev/sign_in_with_apple-6.1.1/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt:154:13 Overload resolution ambiguity between candidates: val TAG: String val TAG: String
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':sign_in_with_apple:compileDebugKotlin'.
I don't seem to be able to fix this problem - I tried cleaning cache, pub-cache, removing pubspec.lock and running pub get again. The only way for me to have my app work again is to downgrade to 6.1.0. Any ideas why that might be? Or go and manually remove the:
val TAG = "SignInWithApple" and replace the two TAG usages with the string "SignInWithApple" directly.