flutter_macos_video_player icon indicating copy to clipboard operation
flutter_macos_video_player copied to clipboard

ObjC code should not use "FLT" prefix

Open stuartmorgan opened this issue 2 years ago • 3 comments

The FLT prefix is the prefix used by code written and published by the Flutter project. Your code should use its own prefix, per Apple's naming conventions, to prevent collisions with Flutter code (which would cause undefined behavior at runtime).

stuartmorgan avatar Jun 10 '22 14:06 stuartmorgan

@stuartmorgan alrighty, where can I remove that?

ollyde avatar Jun 10 '22 14:06 ollyde

You'll need to register your own Dart implementation of the platform interface (similar to this one), switch to your own Pigeon definition that doesn't use "FLT" as a prefix, and rename the main ObjC plugin class.

stuartmorgan avatar Jun 10 '22 14:06 stuartmorgan

@stuartmorgan it's holiday in Europe now, so we will be away until mid-august. If you need it changed more urgently because Flutter is finally introducing videos let me know.

ollyde avatar Jun 23 '22 13:06 ollyde