Skip to content

Method reauthenticateWithCredential fails #52

Open
@v-ishchuk

Description

@v-ishchuk

Hi,

I am attempting to re-authenticate a user using the reauthenticateWithCredential(AuthCredential credential) method. While the method operates correctly, it fails in the method:

when attempting to return a result to the caller with the exception:

Illegal argument in isolate message: object is unsendable - Library:'package:rxdart/src/subjects/behavior_subject.dart' Class: BehaviorSubject (see restrictions listed at SendPort.send() documentation for more information)
<- _updates in Instance of 'FirebaseUserImpl' (from package:firebase_dart/src/auth/impl/user.dart)
<- operationTypeSignIn in Instance of 'UserCredentialImpl' (from package:firebase_dart/src/auth/impl/auth.dart)
<- Instance of 'ValueResult' (from package:async/src/result/value.dart)

flutter doctor -v

[✓] Flutter (Channel stable, 3.19.1, on macOS 12.6 21G115 darwin-x64, locale en-UA)
• Flutter version 3.19.1 on channel stable at /Users/...
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision abb292a07e (3 days ago), 2024-02-20 14:35:05 -0800
• Engine revision 04817c99c9
• Dart version 3.3.0
• DevTools version 2.31.1

UPD: seems this issue relates to this comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions