Skip to content

Remove FlutterView (NUIFlutterView) embedding support#789

Open
JSUYA wants to merge 6 commits into
flutter-tizen:masterfrom
JSUYA:remove_flutter_view
Open

Remove FlutterView (NUIFlutterView) embedding support#789
JSUYA wants to merge 6 commits into
flutter-tizen:masterfrom
JSUYA:remove_flutter_view

Conversation

@JSUYA

@JSUYA JSUYA commented Jul 10, 2026

Copy link
Copy Markdown
Member

Drop the NUIFlutterView API that hosted a Flutter screen inside a NUI app. It tracks the embedder-side removal of
FlutterDesktopViewCreateFromImageView, whose Dali dependency keeps breaking against new Tizen versions and adds instability.

  • Delete NUIFlutterView.cs
  • Remove the FlutterDesktopViewCreateFromImageView and FlutterDesktopViewCreateFromElmParent.
  • Drop the now-dangling NUIFlutterView.cs Compile Remove item from the csproj

#788
flutter-tizen/embedder#184

JSUYA added 2 commits July 10, 2026 17:09
Drop the NUIFlutterView API that hosted a Flutter screen inside a NUI
app. It tracks the embedder-side removal of
FlutterDesktopViewCreateFromImageView, whose Dali dependency keeps
breaking against new Tizen versions and adds instability.

- Delete NUIFlutterView.cs
- Remove the FlutterDesktopViewCreateFromImageView P/Invoke from
  Interop.cs (FlutterDesktopViewProperties is kept; still used by the
  EFL FlutterDesktopViewCreateFromElmParent path)
- Drop the now-dangling NUIFlutterView.cs Compile Remove item from the
  csproj
FlutterDesktopViewCreateFromElmParent (embed Flutter into an EFL
Elementary parent) is the deprecated EFL embedding path. The embedder
no longer exports the symbol (nm -D on the built flutter_tizen.so
confirms it is absent), and nothing in flutter-tizen calls it, so the
P/Invoke declaration was dangling dead code.

- Remove the FlutterDesktopViewCreateFromElmParent P/Invoke
- Remove the now-unused FlutterDesktopViewProperties marshalling struct
  (its only remaining reference was the ElmParent declaration; the
  NUIFlutterView user was already removed)

Interop is an internal class, so these are not part of the public
Tizen.Flutter.Embedding API surface; no external NuGet consumer breaks.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the NUIFlutterView class along with its associated interop structures and native method bindings, including FlutterDesktopViewProperties, FlutterDesktopViewCreateFromElmParent, and FlutterDesktopViewCreateFromImageView. It also cleans up the project file by removing the conditional compilation reference to the deleted NUIFlutterView.cs file. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

JSUYA added 3 commits July 10, 2026 18:34
The view-control interop entries were only used by the removed
NUIFlutterView. Their native symbols are being removed from the embedder
too, so drop the now-dangling P/Invoke declarations:
FlutterDesktopViewOnKeyEvent, OnPointerEvent, Resize, SetFocus,
IsFocused, GetNativeHandle. Interop is internal, so no public API breaks.
@JSUYA

JSUYA commented Jul 15, 2026

Copy link
Copy Markdown
Member Author

This patch is currently pending for a while to verify changes from DALi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants