Skip to content

Sending the result twice causes an error #18

@najeira

Description

@najeira

What did you do?

Not reproducible, but seems to send error twice under some conditions.
In rare cases, errors are measured in our app crash records.

What did you expect?

https://github.com/line/flutter_line_sdk/blob/master/android/src/main/kotlin/com/linecorp/flutter_line_sdk/LineSdkWrapper.kt#L119

Here, since the method has not returned, the error will be sent again after this. loginResult = null and return true seem necessary after the line.

Metadata

Metadata

Assignees

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