Skip to content

Flutter MethodChannel for Obj-C should support NSData as an argument type #17449

@alanrussian

Description

@alanrussian

NSData is the type that's most frequently used in Obj-C for representing binary data; however, the Flutter plugin expects you to wrap NSData in FlutterStandardTypedData. Since that API is not type safe and NSData is what's typically used, I've accidentally checked in code using NSData instead of FlutterStandardTypedData twice now. Can the method channel for Obj-C support NSData directly?

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions