AndriousSolutions / auth

Other
47 stars 14 forks source link

Error: Getter not found: 'Success'. #23

Closed deadsoul44 closed 3 years ago

deadsoul44 commented 3 years ago

I started to get this error although I did not update any dependency. Flutter clean did not work.

Running Gradle task 'assembleDebug'...
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/auth-7.3.0/lib/src/auth.dart:1009:50: Error: Getter not found: 'Success'.
        if (result.status == FacebookLoginStatus.Success) {
                                                 ^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/auth-7.3.0/lib/src/auth.dart:1012:57: Error: Getter not found: 'Cancel'.
        } else if (result.status == FacebookLoginStatus.Cancel) {
                                                        ^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/auth-7.3.0/lib/src/auth.dart:1015:57: Error: Getter not found: 'Error'.
        } else if (result.status == FacebookLoginStatus.Error) {
                                                        ^^^^^

FAILURE: Build failed with an exception.

This issue also happens on pub.dev in static analysis.

Andrious commented 3 years ago

Thanks,

I'll look into it now.

Andrious commented 3 years ago

Updated flutter_login_facebook: 0.4.2

Please, confirm it's now successful.

deadsoul44 commented 3 years ago

It works. Thank you.