-
Notifications
You must be signed in to change notification settings - Fork 48
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
HybridWebView not only access local SPA's but on the internet too! #16
Comments
That looks very cool! I'll keep this issue open in case it's something to consider for this project. |
When developing an app, it often requires interaction between the backend server, web server, and app client, which can accelerate the development process. Therefore, I believe it is necessary to load the web on the network. This way, in the future, certain content can be updated without app updates when certain requirements change |
Being able to specify a URL instead of local files would be a big bonus for me. This would not only allow for deploying UI changes without publishing a new app build but for a developer experience you could then get hot-reload for the UI when debugging on device. I know I that I will get hot-reload in the browser but I won't be able to call into MAUI this way. |
Maybe something like this: |
From: dotnet/maui#12009 (reply in thread)
My use case is a SPA application in Vue (Static SPA) that we made hybrid for desktop(browser) and mobile.
This application is deployed on a simple public web server http://example.com/spa/index.html
We saw that it is very interesting because the end user can have the update automatically without having to update the app (just refreshing the webview).
It's similar to your React example but it's hosted on the web.
The need to have the interaction between C# and Javascript is necessary for "Native Menu" calling the spa menu when clicked, downloading files and other nice functions.
We already have an example of this in production with an app made in reactnative, but we want to migrate to MAUI and add more functionality to the app
I made a version that works with a fork from your project and some modifications. So its possible :)
The text was updated successfully, but these errors were encountered: