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

Feature Request: Implement Observables for HybridWebView in .NET MAUI #39

Open
HelloooJoe opened this issue Jan 18, 2024 · 1 comment
Open

Comments

@HelloooJoe
Copy link

I am currently working with .NET MAUI, specifically utilizing the HybridWebView component for a project. Through my experience, I've identified an area that could significantly enhance its functionality and usability for developers.

Feature Request:

I would like to propose the introduction of Observables for the HybridWebView component. This feature would enable developers to call HybridWebView.SendRawMessageToDotNet(message) and either wait for a response or subscribe to an Observable that would notify them when a response is received.

Use Case and Benefits:

  • Asynchronous Communication: This feature would facilitate asynchronous communication between the WebView and the .NET backend. It allows for more dynamic and responsive interactions within the application.

  • Improved Data Handling: By using Observables, developers can efficiently handle streams of data or events, especially useful in scenarios where the data is continuously updated or changes over time.

  • Enhanced Responsiveness: Applications can react to messages or data received in real-time, improving the user experience by providing immediate feedback or updates.

  • Simplification of Complex Flows: It can simplify the handling of complex communication flows between the web content and the .NET code, making the codebase cleaner and more maintainable.

  • Alignment with Reactive Programming Paradigms: As Reactive Programming is becoming increasingly popular, this feature would align well with current development trends and practices.

I believe the inclusion of this feature would greatly benefit the .NET MAUI community, offering enhanced flexibility and capabilities for those working with HybridWebView.

Thank you for considering this feature request. I am looking forward to any feedback or discussion regarding its potential implementation.

@HelloooJoe
Copy link
Author

@Eilon wake up, man. Either allow more contributors or pay more attention to this repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant