Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUIApplication support (C#) #474

Open
JSUYA opened this issue Dec 14, 2022 · 3 comments
Open

NUIApplication support (C#) #474

JSUYA opened this issue Dec 14, 2022 · 3 comments
Labels
embedding Topics related to C++ and C# embeddings

Comments

@JSUYA
Copy link
Member

JSUYA commented Dec 14, 2022

flutter-tizen C# Application inherits CoreUIApplication and provides FlutterApplication.
Can this changed to NUIApplication?

Any idea?

@swift-kim
Copy link
Member

If you're sure that NUIApplication is supported on any Tizen device running Tizen 4.0 or above, I think we can safely change the class hierarchy of FlutterApplication without breaking existing apps.

@swift-kim swift-kim added the embedding Topics related to C++ and C# embeddings label Dec 14, 2022
@JSUYA
Copy link
Member Author

JSUYA commented May 25, 2023

Hi @swift-kim
I have re-check this issue to proceed with PatformView for NUI (C#).
When replacing NUIApplication, there are problems. If RendererType is EvasGL, NUIApplication cannot be used.

If replacing CoreUIApplication to NUIApplication...

  • The wearable profile only supports EvasGL renderer, so users can't make c# applications.
  • External outputs are only supported by EvasGL, so users using external outputs cannot make C# applications.

So we can choose either one to support this.

  1. Csharp only supports the EGL renderer type. C# applications do not use ElmSharp. If users want to create a wearable app or use an external output, they need to create a cpp application.
  2. Provide more options to the create command. (For example, --tizen-language + csharp_nui option or new option --tizen-ui-framework {nui, elm})
    And we can abstract the functionality of FlutterApplication class and add more templates using FlutterNUIApplication class using NUIApplication.

I can't think of a better way. If you have any good ideas or comments, please share. what do you think?

@JSUYA
Copy link
Member Author

JSUYA commented May 25, 2023

#484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embedding Topics related to C++ and C# embeddings
Projects
None yet
Development

No branches or pull requests

2 participants