Skip to content

[CP] Handle privatecommand messages that pass no data #114462

@absar

Description

@absar

issue_link

#113973

Commit Hash

a832a72

Target

stable

pr_link

#114461

Impacted Users

Android devices where privatecommand messages pass no data

Impact Description

Tapping TextFormField throws _CastError was thrown during method call TextInputClient.performPrivateCommand type 'Null' is not a subtype of type 'Map<String, dynamic>'. It is thrown every time user taps in a text field, which floods crashlytics with crash logs.

Workaround

No workaround on stable branch Flutter 3.3, the only fix is to downgrade to Flutter 3.0.x

Risk

low

Test Coverage

yes

Validation Steps

Check #113973

Metadata

Metadata

Assignees

Labels

cp: approvedApproved cherry-pick requestcp: merge-to-stableCherry-picks that should be merged to stablecp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions